2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for systemtap 3.0.
5 # Report bugs to <systemtap@sourceware.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: systemtap@sourceware.org about your system, including
271 $0: any error possibly output before this message. Then
272 $0: install a modern shell, or manually run the script
273 $0: under such a shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
581 PACKAGE_NAME
='systemtap'
582 PACKAGE_TARNAME
='systemtap'
583 PACKAGE_VERSION
='3.0'
584 PACKAGE_STRING
='systemtap 3.0'
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
646 HAVE_MONITOR_LIBS_FALSE
647 HAVE_MONITOR_LIBS_TRUE
674 HAVE_LIBREADLINE_FALSE
675 HAVE_LIBREADLINE_TRUE
691 BUILD_PDFREFDOCS_FALSE
692 BUILD_PDFREFDOCS_TRUE
693 XMLTO_STRINGPARAM_FALSE
694 XMLTO_STRINGPARAM_TRUE
711 BUILD_TRANSLATOR_FALSE
712 BUILD_TRANSLATOR_TRUE
724 XGETTEXT_EXTRA_OPTIONS
732 GETTEXT_MACRO_VERSION
764 MAINTAINER_MODE_FALSE
778 INSTALL_STRIP_PROGRAM
832 program_transform_name
845 enable_option_checking
847 enable_maintainer_mode
848 enable_dependency_tracking
877 ac_precious_vars
='build_alias
907 ac_subdirs_all
='testsuite'
909 # Initialize some variables set by options.
911 ac_init_version
=false
912 ac_unrecognized_opts
=
914 # The variables have the same names as the options, with
915 # dashes changed to underlines.
923 program_transform_name
=s
,x
,x
,
931 # Installation directory options.
932 # These are left unexpanded so users can "make install exec_prefix=/foo"
933 # and all the variables that are supposed to be based on exec_prefix
934 # by default will actually change.
935 # Use braces instead of parens because sh, perl, etc. also accept them.
936 # (The list follows the same order as the GNU Coding Standards.)
937 bindir
='${exec_prefix}/bin'
938 sbindir
='${exec_prefix}/sbin'
939 libexecdir
='${exec_prefix}/libexec'
940 datarootdir
='${prefix}/share'
941 datadir
='${datarootdir}'
942 sysconfdir
='${prefix}/etc'
943 sharedstatedir
='${prefix}/com'
944 localstatedir
='${prefix}/var'
945 includedir
='${prefix}/include'
946 oldincludedir
='/usr/include'
947 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
948 infodir
='${datarootdir}/info'
953 libdir
='${exec_prefix}/lib'
954 localedir
='${datarootdir}/locale'
955 mandir
='${datarootdir}/man'
961 # If the previous option needs an argument, assign it.
962 if test -n "$ac_prev"; then
963 eval $ac_prev=\
$ac_option
969 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
974 # Accept the important Cygnus configure options, so we can diagnose typos.
976 case $ac_dashdash$ac_option in
980 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
982 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
985 -build |
--build |
--buil |
--bui |
--bu)
986 ac_prev
=build_alias
;;
987 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
988 build_alias
=$ac_optarg ;;
990 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
991 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
992 ac_prev
=cache_file
;;
993 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
994 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
995 cache_file
=$ac_optarg ;;
998 cache_file
=config.cache
;;
1000 -datadir |
--datadir |
--datadi |
--datad)
1002 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1003 datadir
=$ac_optarg ;;
1005 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1006 |
--dataroo |
--dataro |
--datar)
1007 ac_prev
=datarootdir
;;
1008 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1009 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1010 datarootdir
=$ac_optarg ;;
1012 -disable-* |
--disable-*)
1013 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1014 # Reject names that are not valid shell variable names.
1015 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1016 as_fn_error $?
"invalid feature name: $ac_useropt"
1017 ac_useropt_orig
=$ac_useropt
1018 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1019 case $ac_user_opts in
1021 "enable_
$ac_useropt"
1023 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1024 ac_unrecognized_sep
=', ';;
1026 eval enable_
$ac_useropt=no
;;
1028 -docdir |
--docdir |
--docdi |
--doc |
--do)
1030 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1031 docdir
=$ac_optarg ;;
1033 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1035 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1036 dvidir
=$ac_optarg ;;
1038 -enable-* |
--enable-*)
1039 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1042 as_fn_error $?
"invalid feature name: $ac_useropt"
1043 ac_useropt_orig
=$ac_useropt
1044 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045 case $ac_user_opts in
1047 "enable_
$ac_useropt"
1049 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1050 ac_unrecognized_sep
=', ';;
1052 eval enable_
$ac_useropt=\
$ac_optarg ;;
1054 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1055 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1056 |
--exec |
--exe |
--ex)
1057 ac_prev
=exec_prefix
;;
1058 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1059 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1060 |
--exec=* |
--exe=* |
--ex=*)
1061 exec_prefix
=$ac_optarg ;;
1063 -gas |
--gas |
--ga |
--g)
1064 # Obsolete; use --with-gas.
1067 -help |
--help |
--hel |
--he |
-h)
1068 ac_init_help
=long
;;
1069 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1070 ac_init_help
=recursive
;;
1071 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1072 ac_init_help
=short
;;
1074 -host |
--host |
--hos |
--ho)
1075 ac_prev
=host_alias
;;
1076 -host=* |
--host=* |
--hos=* |
--ho=*)
1077 host_alias
=$ac_optarg ;;
1079 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1081 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1083 htmldir
=$ac_optarg ;;
1085 -includedir |
--includedir |
--includedi |
--included |
--include \
1086 |
--includ |
--inclu |
--incl |
--inc)
1087 ac_prev
=includedir
;;
1088 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1089 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1090 includedir
=$ac_optarg ;;
1092 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1094 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1095 infodir
=$ac_optarg ;;
1097 -libdir |
--libdir |
--libdi |
--libd)
1099 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1100 libdir
=$ac_optarg ;;
1102 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1103 |
--libexe |
--libex |
--libe)
1104 ac_prev
=libexecdir
;;
1105 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1106 |
--libexe=* |
--libex=* |
--libe=*)
1107 libexecdir
=$ac_optarg ;;
1109 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1110 ac_prev
=localedir
;;
1111 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1112 localedir
=$ac_optarg ;;
1114 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1115 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1116 ac_prev
=localstatedir
;;
1117 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1118 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1119 localstatedir
=$ac_optarg ;;
1121 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1123 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1124 mandir
=$ac_optarg ;;
1126 -nfp |
--nfp |
--nf)
1127 # Obsolete; use --without-fp.
1130 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1131 |
--no-cr |
--no-c |
-n)
1134 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1135 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1138 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1139 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1140 |
--oldin |
--oldi |
--old |
--ol |
--o)
1141 ac_prev
=oldincludedir
;;
1142 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1143 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1144 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1145 oldincludedir
=$ac_optarg ;;
1147 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1149 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1150 prefix
=$ac_optarg ;;
1152 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1153 |
--program-pre |
--program-pr |
--program-p)
1154 ac_prev
=program_prefix
;;
1155 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1156 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1157 program_prefix
=$ac_optarg ;;
1159 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1160 |
--program-suf |
--program-su |
--program-s)
1161 ac_prev
=program_suffix
;;
1162 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1163 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1164 program_suffix
=$ac_optarg ;;
1166 -program-transform-name |
--program-transform-name \
1167 |
--program-transform-nam |
--program-transform-na \
1168 |
--program-transform-n |
--program-transform- \
1169 |
--program-transform |
--program-transfor \
1170 |
--program-transfo |
--program-transf \
1171 |
--program-trans |
--program-tran \
1172 |
--progr-tra |
--program-tr |
--program-t)
1173 ac_prev
=program_transform_name
;;
1174 -program-transform-name=* |
--program-transform-name=* \
1175 |
--program-transform-nam=* |
--program-transform-na=* \
1176 |
--program-transform-n=* |
--program-transform-=* \
1177 |
--program-transform=* |
--program-transfor=* \
1178 |
--program-transfo=* |
--program-transf=* \
1179 |
--program-trans=* |
--program-tran=* \
1180 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1181 program_transform_name
=$ac_optarg ;;
1183 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1185 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1186 pdfdir
=$ac_optarg ;;
1188 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1190 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1193 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1194 |
-silent |
--silent |
--silen |
--sile |
--sil)
1197 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1199 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1201 sbindir
=$ac_optarg ;;
1203 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1204 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1205 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1207 ac_prev
=sharedstatedir
;;
1208 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1209 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1210 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1212 sharedstatedir
=$ac_optarg ;;
1214 -site |
--site |
--sit)
1216 -site=* |
--site=* |
--sit=*)
1219 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1221 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1222 srcdir
=$ac_optarg ;;
1224 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1225 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1226 ac_prev
=sysconfdir
;;
1227 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1228 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1229 sysconfdir
=$ac_optarg ;;
1231 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1232 ac_prev
=target_alias
;;
1233 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1234 target_alias
=$ac_optarg ;;
1236 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1239 -version |
--version |
--versio |
--versi |
--vers |
-V)
1240 ac_init_version
=: ;;
1243 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1244 # Reject names that are not valid shell variable names.
1245 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1246 as_fn_error $?
"invalid package name: $ac_useropt"
1247 ac_useropt_orig
=$ac_useropt
1248 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1249 case $ac_user_opts in
1253 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1254 ac_unrecognized_sep
=', ';;
1256 eval with_
$ac_useropt=\
$ac_optarg ;;
1258 -without-* |
--without-*)
1259 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1260 # Reject names that are not valid shell variable names.
1261 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1262 as_fn_error $?
"invalid package name: $ac_useropt"
1263 ac_useropt_orig
=$ac_useropt
1264 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1265 case $ac_user_opts in
1269 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1270 ac_unrecognized_sep
=', ';;
1272 eval with_
$ac_useropt=no
;;
1275 # Obsolete; use --with-x.
1278 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1279 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1280 ac_prev
=x_includes
;;
1281 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1282 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1283 x_includes
=$ac_optarg ;;
1285 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1286 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1287 ac_prev
=x_libraries
;;
1288 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1289 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1290 x_libraries
=$ac_optarg ;;
1292 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1293 Try \`$0 --help' for more information"
1297 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1298 # Reject names that are not valid shell variable names.
1299 case $ac_envvar in #(
1300 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1301 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1303 eval $ac_envvar=\
$ac_optarg
1304 export $ac_envvar ;;
1307 # FIXME: should be removed in autoconf 3.0.
1308 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1309 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1310 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1311 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1317 if test -n "$ac_prev"; then
1318 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1319 as_fn_error $?
"missing argument to $ac_option"
1322 if test -n "$ac_unrecognized_opts"; then
1323 case $enable_option_checking in
1325 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1326 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1330 # Check all directory arguments for consistency.
1331 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1332 datadir sysconfdir sharedstatedir localstatedir includedir \
1333 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1334 libdir localedir mandir
1336 eval ac_val
=\$
$ac_var
1337 # Remove trailing slashes.
1340 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1341 eval $ac_var=\
$ac_val;;
1343 # Be sure to have absolute directory names.
1345 [\\/$
]* | ?
:[\\/]* ) continue;;
1346 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1348 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1351 # There might be people who depend on the old broken behavior: `$host'
1352 # used to hold the argument of --host etc.
1353 # FIXME: To remove some day.
1356 target
=$target_alias
1358 # FIXME: To remove some day.
1359 if test "x$host_alias" != x
; then
1360 if test "x$build_alias" = x
; then
1361 cross_compiling
=maybe
1362 elif test "x$build_alias" != "x$host_alias"; then
1368 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1370 test "$silent" = yes && exec 6>/dev
/null
1373 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1374 ac_ls_di
=`ls -di .` &&
1375 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1376 as_fn_error $?
"working directory cannot be determined"
1377 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1378 as_fn_error $?
"pwd does not report name of working directory"
1381 # Find the source files, if location was not specified.
1382 if test -z "$srcdir"; then
1383 ac_srcdir_defaulted
=yes
1384 # Try the directory containing this script, then the parent directory.
1385 ac_confdir
=`$as_dirname -- "$as_myself" ||
1386 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1387 X"$as_myself" : 'X\(//\)[^/]' \| \
1388 X"$as_myself" : 'X\(//\)$' \| \
1389 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1390 $as_echo X"$as_myself" |
1391 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1409 if test ! -r "$srcdir/$ac_unique_file"; then
1413 ac_srcdir_defaulted
=no
1415 if test ! -r "$srcdir/$ac_unique_file"; then
1416 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1417 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1419 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1421 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1423 # When building in place, set srcdir=.
1424 if test "$ac_abs_confdir" = "$ac_pwd"; then
1427 # Remove unnecessary trailing slashes from srcdir.
1428 # Double slashes in file names in object file debugging info
1429 # mess up M-x gdb in Emacs.
1431 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1433 for ac_var
in $ac_precious_vars; do
1434 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1435 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1436 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1437 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1441 # Report the --help message.
1443 if test "$ac_init_help" = "long"; then
1444 # Omit some internal or obsolete options to make the list less imposing.
1445 # This message is too long to be a string in the A/UX 3.1 sh.
1447 \`configure' configures systemtap 3.0 to adapt to many kinds of systems.
1449 Usage: $0 [OPTION]... [VAR=VALUE]...
1451 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1452 VAR=VALUE. See below for descriptions of some of the useful variables.
1454 Defaults for the options are specified in brackets.
1457 -h, --help display this help and exit
1458 --help=short display options specific to this package
1459 --help=recursive display the short help of all the included packages
1460 -V, --version display version information and exit
1461 -q, --quiet, --silent do not print \`checking ...' messages
1462 --cache-file=FILE cache test results in FILE [disabled]
1463 -C, --config-cache alias for \`--cache-file=config.cache'
1464 -n, --no-create do not create output files
1465 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1467 Installation directories:
1468 --prefix=PREFIX install architecture-independent files in PREFIX
1469 [$ac_default_prefix]
1470 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1473 By default, \`make install' will install all the files in
1474 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1475 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1476 for instance \`--prefix=\$HOME'.
1478 For better control, use the options below.
1480 Fine tuning of the installation directories:
1481 --bindir=DIR user executables [EPREFIX/bin]
1482 --sbindir=DIR system admin executables [EPREFIX/sbin]
1483 --libexecdir=DIR program executables [EPREFIX/libexec]
1484 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1485 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1486 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1487 --libdir=DIR object code libraries [EPREFIX/lib]
1488 --includedir=DIR C header files [PREFIX/include]
1489 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1490 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1491 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1492 --infodir=DIR info documentation [DATAROOTDIR/info]
1493 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1494 --mandir=DIR man documentation [DATAROOTDIR/man]
1495 --docdir=DIR documentation root [DATAROOTDIR/doc/systemtap]
1496 --htmldir=DIR html documentation [DOCDIR]
1497 --dvidir=DIR dvi documentation [DOCDIR]
1498 --pdfdir=DIR pdf documentation [DOCDIR]
1499 --psdir=DIR ps documentation [DOCDIR]
1505 --program-prefix=PREFIX prepend PREFIX to installed program names
1506 --program-suffix=SUFFIX append SUFFIX to installed program names
1507 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1510 --build=BUILD configure
for building on BUILD
[guessed
]
1511 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1512 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1516 if test -n "$ac_init_help"; then
1517 case $ac_init_help in
1518 short | recursive
) echo "Configuration of systemtap 3.0:";;
1523 --disable-option-checking ignore unrecognized
--enable/--with options
1524 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1525 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1526 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1527 --disable-silent-rules verbose build output
(undo
: "make V=0")
1528 --enable-maintainer-mode
1529 enable make rules and dependencies not useful
(and
1530 sometimes confusing
) to the casual installer
1531 --enable-dependency-tracking
1532 do not reject slow dependency extractors
1533 --disable-dependency-tracking
1534 speeds up one-time build
1535 --disable-largefile omit support
for large files
1536 --disable-nls do not use Native Language Support
1537 --disable-rpath do not hardcode runtime library paths
1538 --enable-prologues make -P prologue-searching default
1539 --disable-sdt-probes disable process.mark probes
in stap
, staprun
, stapio
1540 --disable-ssp disable gcc stack-protector
1541 --enable-pie enable position-independent-executable
1542 --enable-sqlite build with sqlite support
1543 --disable-translator build only runtime utilities
1544 --enable-crash[=DIRECTORY
]
1545 enable crash extension
(default is disabled
).
1546 Optional DIRECTORY is the path to the crash header
1547 file (needed
if installed
in a non-standard
1549 --enable-docs enable building documentation
(default on
if latex
1551 --enable-refdocs enable building reference documentation
(default on
1552 if xmlto etc. found and other documentation built
).
1553 --enable-server enable building of stap-server
(default on
if nss
1555 --enable-virt enable building of stapvirt support
(default on
if
1556 libvirt etc. found
).
1559 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1560 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1561 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1562 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1563 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1564 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1565 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1566 --without-nss Do not use NSS even
if present
1567 --with-dracutstap=DIR Install dracut module files
in DIR
1568 --without-avahi Do not use Avahi even
if present
1569 --with-rpm query rpm database
for missing debuginfos
1570 --with-python3 prefer
/usr
/bin
/python3
1571 --with-elfutils=DIRECTORY
1572 find elfutils
source code
in DIRECTORY
1573 --with-dyninst=DIRECTORY
1574 find dyninst headers
/libraries
in DIRECTORY
1575 --without-selinux Do not use libselinux even
if present
1576 --with-java=DIRECTORY Specify JDK directory to compile libHelperSDT.so
1577 against
(default is
/usr
/lib
/jvm
/java
)
1578 --with-extra-version=STRING
1579 Add STRING to stap
-V version
1581 Some influential environment variables
:
1582 CC C compiler
command
1583 CFLAGS C compiler flags
1584 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1585 nonstandard directory
<lib dir
>
1586 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1587 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1588 you have headers
in a nonstandard directory
<include dir
>
1590 CXX C
++ compiler
command
1591 CXXFLAGS C
++ compiler flags
1592 PKG_CONFIG path to pkg-config utility
1594 directories to add to pkg-config
's search path
1596 path overriding pkg-config's built-in search path
1597 nss_CFLAGS C compiler flags
for nss
, overriding pkg-config
1598 nss_LIBS linker flags
for nss
, overriding pkg-config
1600 C compiler flags
for avahi
, overriding pkg-config
1601 avahi_LIBS linker flags
for avahi
, overriding pkg-config
1602 CXXCPP C
++ preprocessor
1604 C compiler flags
for libvirt
, overriding pkg-config
1606 linker flags
for libvirt
, overriding pkg-config
1608 C compiler flags
for libxml2
, overriding pkg-config
1610 linker flags
for libxml2
, overriding pkg-config
1612 C compiler flags
for jsonc
, overriding pkg-config
1613 jsonc_LIBS linker flags
for jsonc
, overriding pkg-config
1615 C compiler flags
for ncurses
, overriding pkg-config
1617 linker flags
for ncurses
, overriding pkg-config
1619 C compiler flags
for selinux
, overriding pkg-config
1621 linker flags
for selinux
, overriding pkg-config
1623 Use these variables to override the choices made by
`configure' or to help
1624 it to find libraries and programs with nonstandard names/locations.
1626 Report bugs to <systemtap@sourceware.org>.
1631 if test "$ac_init_help" = "recursive"; then
1632 # If there are subdirs, report their specific --help.
1633 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1634 test -d "$ac_dir" ||
1635 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1640 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1642 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1643 # A ".." for each directory in $ac_dir_suffix.
1644 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1645 case $ac_top_builddir_sub in
1646 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1647 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1650 ac_abs_top_builddir=$ac_pwd
1651 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1652 # for backward compatibility:
1653 ac_top_builddir=$ac_top_build_prefix
1656 .) # We are building in place.
1658 ac_top_srcdir=$ac_top_builddir_sub
1659 ac_abs_top_srcdir=$ac_pwd ;;
1660 [\\/]* | ?:[\\/]* ) # Absolute name.
1661 ac_srcdir=$srcdir$ac_dir_suffix;
1662 ac_top_srcdir=$srcdir
1663 ac_abs_top_srcdir=$srcdir ;;
1665 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1666 ac_top_srcdir=$ac_top_build_prefix$srcdir
1667 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1669 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1671 cd "$ac_dir" || { ac_status=$?; continue; }
1672 # Check for guested configure.
1673 if test -f "$ac_srcdir/configure.gnu"; then
1675 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1676 elif test -f "$ac_srcdir/configure"; then
1678 $SHELL "$ac_srcdir/configure" --help=recursive
1680 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1682 cd "$ac_pwd" || { ac_status=$?; break; }
1686 test -n "$ac_init_help" && exit $ac_status
1687 if $ac_init_version; then
1689 systemtap configure 3.0
1690 generated by GNU Autoconf 2.69
1692 Copyright (C) 2012 Free Software Foundation, Inc.
1693 This configure script is free software; the Free Software Foundation
1694 gives unlimited permission to copy, distribute and modify it.
1699 ## ------------------------ ##
1700 ## Autoconf initialization. ##
1701 ## ------------------------ ##
1703 # ac_fn_c_try_compile LINENO
1704 # --------------------------
1705 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1706 ac_fn_c_try_compile ()
1708 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1709 rm -f conftest.$ac_objext
1710 if { { ac_try="$ac_compile"
1712 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1713 *) ac_try_echo
=$ac_try;;
1715 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1716 $as_echo "$ac_try_echo"; } >&5
1717 (eval "$ac_compile") 2>conftest.err
1719 if test -s conftest.err
; then
1720 grep -v '^ *+' conftest.err
>conftest.er1
1721 cat conftest.er1
>&5
1722 mv -f conftest.er1 conftest.err
1724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1725 test $ac_status = 0; } && {
1726 test -z "$ac_c_werror_flag" ||
1727 test ! -s conftest.err
1728 } && test -s conftest.
$ac_objext; then :
1731 $as_echo "$as_me: failed program was:" >&5
1732 sed 's/^/| /' conftest.
$ac_ext >&5
1736 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1737 as_fn_set_status
$ac_retval
1739 } # ac_fn_c_try_compile
1741 # ac_fn_c_try_cpp LINENO
1742 # ----------------------
1743 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1746 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1747 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1749 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1750 *) ac_try_echo=$ac_try;;
1752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1753 $as_echo "$ac_try_echo"; } >&5
1754 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1756 if test -s conftest.err; then
1757 grep -v '^ *+' conftest.err >conftest.er1
1758 cat conftest.er1 >&5
1759 mv -f conftest.er1 conftest.err
1761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1762 test $ac_status = 0; } > conftest.i && {
1763 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1764 test ! -s conftest.err
1768 $as_echo "$as_me: failed program was:" >&5
1769 sed 's/^/| /' conftest.$ac_ext >&5
1773 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1774 as_fn_set_status $ac_retval
1778 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1779 # -------------------------------------------------------
1780 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1781 # the include files in INCLUDES and setting the cache variable VAR
1783 ac_fn_c_check_header_mongrel ()
1785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1786 if eval \${$3+:} false; then :
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1788 $as_echo_n "checking for $2... " >&6; }
1789 if eval \${$3+:} false; then :
1790 $as_echo_n "(cached) " >&6
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1794 $as_echo "$ac_res" >&6; }
1796 # Is the header compilable?
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1798 $as_echo_n "checking $2 usability... " >&6; }
1799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1800 /* end confdefs.h. */
1804 if ac_fn_c_try_compile "$LINENO"; then :
1805 ac_header_compiler=yes
1807 ac_header_compiler=no
1809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1811 $as_echo "$ac_header_compiler" >&6; }
1813 # Is the header present?
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1815 $as_echo_n "checking $2 presence... " >&6; }
1816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1817 /* end confdefs.h. */
1820 if ac_fn_c_try_cpp "$LINENO"; then :
1821 ac_header_preproc=yes
1823 ac_header_preproc=no
1825 rm -f conftest.err conftest.i conftest.$ac_ext
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1827 $as_echo "$ac_header_preproc" >&6; }
1829 # So? What about this header?
1830 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1833 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1835 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1839 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1841 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1843 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1845 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1847 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1848 ( $as_echo "## --------------------------------------- ##
1849 ## Report this to systemtap@sourceware.org ##
1850 ## --------------------------------------- ##"
1851 ) | sed "s/^/$as_me: WARNING: /" >&2
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1855 $as_echo_n "checking for $2... " >&6; }
1856 if eval \${$3+:} false; then :
1857 $as_echo_n "(cached) " >&6
1859 eval "$3=\$ac_header_compiler"
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1863 $as_echo "$ac_res" >&6; }
1865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1867 } # ac_fn_c_check_header_mongrel
1869 # ac_fn_c_try_run LINENO
1870 # ----------------------
1871 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1872 # that executables *can* be run.
1875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1876 if { { ac_try="$ac_link"
1878 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1879 *) ac_try_echo
=$ac_try;;
1881 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1882 $as_echo "$ac_try_echo"; } >&5
1883 (eval "$ac_link") 2>&5
1885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1886 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1887 { { case "(($ac_try" in
1888 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1889 *) ac_try_echo=$ac_try;;
1891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1892 $as_echo "$ac_try_echo"; } >&5
1893 (eval "$ac_try") 2>&5
1895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1896 test $ac_status = 0; }; }; then :
1899 $as_echo "$as_me: program exited with status $ac_status" >&5
1900 $as_echo "$as_me: failed program was:" >&5
1901 sed 's/^/| /' conftest.$ac_ext >&5
1903 ac_retval=$ac_status
1905 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1906 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1907 as_fn_set_status $ac_retval
1911 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1912 # -------------------------------------------------------
1913 # Tests whether HEADER exists and can be compiled using the include files in
1914 # INCLUDES, setting the cache variable VAR accordingly.
1915 ac_fn_c_check_header_compile ()
1917 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1919 $as_echo_n "checking for $2... " >&6; }
1920 if eval \${$3+:} false; then :
1921 $as_echo_n "(cached) " >&6
1923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1924 /* end confdefs.h. */
1928 if ac_fn_c_try_compile "$LINENO"; then :
1933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1937 $as_echo "$ac_res" >&6; }
1938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1940 } # ac_fn_c_check_header_compile
1942 # ac_fn_cxx_try_compile LINENO
1943 # ----------------------------
1944 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1945 ac_fn_cxx_try_compile ()
1947 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1948 rm -f conftest.$ac_objext
1949 if { { ac_try="$ac_compile"
1951 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1952 *) ac_try_echo
=$ac_try;;
1954 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1955 $as_echo "$ac_try_echo"; } >&5
1956 (eval "$ac_compile") 2>conftest.err
1958 if test -s conftest.err
; then
1959 grep -v '^ *+' conftest.err
>conftest.er1
1960 cat conftest.er1
>&5
1961 mv -f conftest.er1 conftest.err
1963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1964 test $ac_status = 0; } && {
1965 test -z "$ac_cxx_werror_flag" ||
1966 test ! -s conftest.err
1967 } && test -s conftest.
$ac_objext; then :
1970 $as_echo "$as_me: failed program was:" >&5
1971 sed 's/^/| /' conftest.
$ac_ext >&5
1975 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1976 as_fn_set_status
$ac_retval
1978 } # ac_fn_cxx_try_compile
1980 # ac_fn_c_try_link LINENO
1981 # -----------------------
1982 # Try to link conftest.$ac_ext, and return whether this succeeded.
1985 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1986 rm -f conftest.
$ac_objext conftest
$ac_exeext
1987 if { { ac_try
="$ac_link"
1989 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1990 *) ac_try_echo=$ac_try;;
1992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1993 $as_echo "$ac_try_echo"; } >&5
1994 (eval "$ac_link") 2>conftest.err
1996 if test -s conftest.err; then
1997 grep -v '^ *+' conftest.err >conftest.er1
1998 cat conftest.er1 >&5
1999 mv -f conftest.er1 conftest.err
2001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2002 test $ac_status = 0; } && {
2003 test -z "$ac_c_werror_flag" ||
2004 test ! -s conftest.err
2005 } && test -s conftest$ac_exeext && {
2006 test "$cross_compiling" = yes ||
2007 test -x conftest$ac_exeext
2011 $as_echo "$as_me: failed program was:" >&5
2012 sed 's/^/| /' conftest.$ac_ext >&5
2016 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2017 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2018 # interfere with the next link command; also delete a directory that is
2019 # left behind by Apple's compiler. We do this before executing the actions.
2020 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2021 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2022 as_fn_set_status $ac_retval
2024 } # ac_fn_c_try_link
2026 # ac_fn_c_check_func LINENO FUNC VAR
2027 # ----------------------------------
2028 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2029 ac_fn_c_check_func ()
2031 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2033 $as_echo_n "checking for $2... " >&6; }
2034 if eval \${$3+:} false; then :
2035 $as_echo_n "(cached) " >&6
2037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2038 /* end confdefs.h. */
2039 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2041 #define $2 innocuous_$2
2043 /* System header to define __stub macros and hopefully few prototypes,
2044 which can conflict with char $2 (); below.
2045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2046 <limits.h> exists even on freestanding compilers. */
2049 # include <limits.h>
2051 # include <assert.h>
2056 /* Override any GCC internal prototype to avoid an error.
2057 Use char because int might match the return type of a GCC
2058 builtin and then its argument prototype would still apply. */
2063 /* The GNU C library defines this for functions which it implements
2064 to always fail with ENOSYS. Some functions are actually named
2065 something starting with __ and the normal name is an alias. */
2066 #if defined __stub_$2 || defined __stub___$2
2078 if ac_fn_c_try_link "$LINENO"; then :
2083 rm -f core conftest.err conftest.$ac_objext \
2084 conftest$ac_exeext conftest.$ac_ext
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2088 $as_echo "$ac_res" >&6; }
2089 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2091 } # ac_fn_c_check_func
2093 # ac_fn_cxx_try_cpp LINENO
2094 # ------------------------
2095 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2096 ac_fn_cxx_try_cpp ()
2098 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2099 if { { ac_try="$ac_cpp conftest.$ac_ext"
2101 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2102 *) ac_try_echo
=$ac_try;;
2104 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2105 $as_echo "$ac_try_echo"; } >&5
2106 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2108 if test -s conftest.err
; then
2109 grep -v '^ *+' conftest.err
>conftest.er1
2110 cat conftest.er1
>&5
2111 mv -f conftest.er1 conftest.err
2113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2114 test $ac_status = 0; } > conftest.i
&& {
2115 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2116 test ! -s conftest.err
2120 $as_echo "$as_me: failed program was:" >&5
2121 sed 's/^/| /' conftest.
$ac_ext >&5
2125 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2126 as_fn_set_status
$ac_retval
2128 } # ac_fn_cxx_try_cpp
2130 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2131 # ---------------------------------------------------------
2132 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2133 # the include files in INCLUDES and setting the cache variable VAR
2135 ac_fn_cxx_check_header_mongrel
()
2137 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2138 if eval \
${$3+:} false
; then :
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2140 $as_echo_n "checking for $2... " >&6; }
2141 if eval \
${$3+:} false
; then :
2142 $as_echo_n "(cached) " >&6
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2146 $as_echo "$ac_res" >&6; }
2148 # Is the header compilable?
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2150 $as_echo_n "checking $2 usability... " >&6; }
2151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2152 /* end confdefs.h. */
2156 if ac_fn_cxx_try_compile
"$LINENO"; then :
2157 ac_header_compiler
=yes
2159 ac_header_compiler
=no
2161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2163 $as_echo "$ac_header_compiler" >&6; }
2165 # Is the header present?
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2167 $as_echo_n "checking $2 presence... " >&6; }
2168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2169 /* end confdefs.h. */
2172 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2173 ac_header_preproc
=yes
2175 ac_header_preproc
=no
2177 rm -f conftest.err conftest.i conftest.
$ac_ext
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2179 $as_echo "$ac_header_preproc" >&6; }
2181 # So? What about this header?
2182 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2185 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2187 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2191 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2193 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2195 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2197 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2199 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2200 ( $as_echo "## --------------------------------------- ##
2201 ## Report this to systemtap@sourceware.org ##
2202 ## --------------------------------------- ##"
2203 ) |
sed "s/^/$as_me: WARNING: /" >&2
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2207 $as_echo_n "checking for $2... " >&6; }
2208 if eval \
${$3+:} false
; then :
2209 $as_echo_n "(cached) " >&6
2211 eval "$3=\$ac_header_compiler"
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2215 $as_echo "$ac_res" >&6; }
2217 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2219 } # ac_fn_cxx_check_header_mongrel
2220 cat >config.log
<<_ACEOF
2221 This file contains any messages produced by compilers while
2222 running configure, to aid debugging if configure makes a mistake.
2224 It was created by systemtap $as_me 3.0, which was
2225 generated by GNU Autoconf 2.69. Invocation command line was
2237 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2238 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2239 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2240 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2241 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2243 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2244 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2246 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2247 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2248 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2249 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2250 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2251 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2252 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2260 test -z "$as_dir" && as_dir
=.
2261 $as_echo "PATH: $as_dir"
2277 # Keep a trace of the command line.
2278 # Strip out --no-create and --no-recursion so they do not pile up.
2279 # Strip out --silent because we don't want to record it for future runs.
2280 # Also quote any args containing shell meta-characters.
2281 # Make two passes to allow for proper duplicate-argument suppression.
2285 ac_must_keep_next
=false
2291 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2292 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2293 |
-silent |
--silent |
--silen |
--sile |
--sil)
2296 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2299 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2301 as_fn_append ac_configure_args1
" '$ac_arg'"
2302 if test $ac_must_keep_next = true
; then
2303 ac_must_keep_next
=false
# Got value, back to normal.
2306 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2307 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2308 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2309 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2310 case "$ac_configure_args0 " in
2311 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2314 -* ) ac_must_keep_next
=true
;;
2317 as_fn_append ac_configure_args
" '$ac_arg'"
2322 { ac_configure_args0
=; unset ac_configure_args0
;}
2323 { ac_configure_args1
=; unset ac_configure_args1
;}
2325 # When interrupted or exit'd, cleanup temporary files, and complete
2326 # config.log. We remove comments because anyway the quotes in there
2327 # would cause problems or look ugly.
2328 # WARNING: Use '\'' to represent an apostrophe within the trap.
2329 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2330 trap 'exit_status=$?
2331 # Save into config.log some information that might help in debugging.
2335 $as_echo "## ---------------- ##
2336 ## Cache variables. ##
2337 ## ---------------- ##"
2339 # The following way of writing the cache mishandles newlines in values,
2341 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2342 eval ac_val=\$$ac_var
2346 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2347 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2350 _ | IFS | as_nl) ;; #(
2351 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2352 *) { eval $ac_var=; unset $ac_var;} ;;
2357 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2358 *${as_nl}ac_space=\ *)
2360 "s/'\''/'\''\\\\'\'''\''/g;
2361 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2364 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2371 $as_echo "## ----------------- ##
2372 ## Output variables. ##
2373 ## ----------------- ##"
2375 for ac_var in $ac_subst_vars
2377 eval ac_val=\$$ac_var
2379 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2381 $as_echo "$ac_var='\''$ac_val'\''"
2385 if test -n "$ac_subst_files"; then
2386 $as_echo "## ------------------- ##
2387 ## File substitutions. ##
2388 ## ------------------- ##"
2390 for ac_var
in $ac_subst_files
2392 eval ac_val
=\$
$ac_var
2394 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2396 $as_echo "$ac_var='\''$ac_val'\''"
2401 if test -s confdefs.h; then
2402 $as_echo "## ----------- ##
2409 test "$ac_signal" != 0 &&
2410 $as_echo "$as_me: caught signal $ac_signal"
2411 $as_echo "$as_me: exit $exit_status"
2413 rm -f core *.core core.conftest.* &&
2414 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2417 for ac_signal
in 1 2 13 15; do
2418 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2422 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2423 rm -f -r conftest
* confdefs.h
2425 $as_echo "/* confdefs.h */" > confdefs.h
2427 # Predefined preprocessor variables.
2429 cat >>confdefs.h
<<_ACEOF
2430 #define PACKAGE_NAME "$PACKAGE_NAME"
2433 cat >>confdefs.h
<<_ACEOF
2434 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2437 cat >>confdefs.h
<<_ACEOF
2438 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2441 cat >>confdefs.h
<<_ACEOF
2442 #define PACKAGE_STRING "$PACKAGE_STRING"
2445 cat >>confdefs.h
<<_ACEOF
2446 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2449 cat >>confdefs.h
<<_ACEOF
2450 #define PACKAGE_URL "$PACKAGE_URL"
2454 # Let the site file select an alternate cache file if it wants to.
2455 # Prefer an explicitly selected file to automatically selected ones.
2458 if test -n "$CONFIG_SITE"; then
2459 # We do not want a PATH search for config.site.
2460 case $CONFIG_SITE in #((
2461 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2462 */*) ac_site_file1
=$CONFIG_SITE;;
2463 *) ac_site_file1
=.
/$CONFIG_SITE;;
2465 elif test "x$prefix" != xNONE
; then
2466 ac_site_file1
=$prefix/share
/config.site
2467 ac_site_file2
=$prefix/etc
/config.site
2469 ac_site_file1
=$ac_default_prefix/share
/config.site
2470 ac_site_file2
=$ac_default_prefix/etc
/config.site
2472 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2474 test "x$ac_site_file" = xNONE
&& continue
2475 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2477 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2478 sed 's/^/| /' "$ac_site_file" >&5
2480 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2482 as_fn_error $?
"failed to load site script $ac_site_file
2483 See \`config.log' for more details" "$LINENO" 5; }
2487 if test -r "$cache_file"; then
2488 # Some versions of bash will fail to source /dev/null (special files
2489 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2490 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2492 $as_echo "$as_me: loading cache $cache_file" >&6;}
2494 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2495 *) .
"./$cache_file";;
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2500 $as_echo "$as_me: creating cache $cache_file" >&6;}
2504 gt_needs
="$gt_needs "
2505 # Check that the precious variables saved in the cache have kept the same
2507 ac_cache_corrupted
=false
2508 for ac_var
in $ac_precious_vars; do
2509 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2510 eval ac_new_set
=\
$ac_env_${ac_var}_set
2511 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2512 eval ac_new_val
=\
$ac_env_${ac_var}_value
2513 case $ac_old_set,$ac_new_set in
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2516 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2517 ac_cache_corrupted
=: ;;
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2520 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2521 ac_cache_corrupted
=: ;;
2524 if test "x$ac_old_val" != "x$ac_new_val"; then
2525 # differences in whitespace do not lead to failure.
2526 ac_old_val_w
=`echo x $ac_old_val`
2527 ac_new_val_w
=`echo x $ac_new_val`
2528 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2530 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2531 ac_cache_corrupted
=:
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2534 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2535 eval $ac_var=\
$ac_old_val
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2538 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2540 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2543 # Pass precious variables to config.status.
2544 if test "$ac_new_set" = set; then
2546 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2547 *) ac_arg
=$ac_var=$ac_new_val ;;
2549 case " $ac_configure_args " in
2550 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2551 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2555 if $ac_cache_corrupted; then
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2557 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2559 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2560 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2562 ## -------------------- ##
2563 ## Main body of script. ##
2564 ## -------------------- ##
2567 ac_cpp
='$CPP $CPPFLAGS'
2568 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2569 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2570 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2575 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2576 if test -f "$ac_dir/install-sh"; then
2578 ac_install_sh
="$ac_aux_dir/install-sh -c"
2580 elif test -f "$ac_dir/install.sh"; then
2582 ac_install_sh
="$ac_aux_dir/install.sh -c"
2584 elif test -f "$ac_dir/shtool"; then
2586 ac_install_sh
="$ac_aux_dir/shtool install -c"
2590 if test -z "$ac_aux_dir"; then
2591 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2594 # These three variables are undocumented and unsupported,
2595 # and are intended to be withdrawn in a future Autoconf release.
2596 # They can cause serious problems if a builder's source tree is in a directory
2597 # whose full name contains unusual characters.
2598 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2599 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2600 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2603 # Make sure we can run config.sub.
2604 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2605 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2608 $as_echo_n "checking build system type... " >&6; }
2609 if ${ac_cv_build+:} false
; then :
2610 $as_echo_n "(cached) " >&6
2612 ac_build_alias
=$build_alias
2613 test "x$ac_build_alias" = x
&&
2614 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2615 test "x$ac_build_alias" = x
&&
2616 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2617 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2618 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2622 $as_echo "$ac_cv_build" >&6; }
2623 case $ac_cv_build in
2625 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2628 ac_save_IFS
=$IFS; IFS
='-'
2634 # Remember, the first character of IFS is used to create $*,
2635 # except with old shells:
2638 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2642 $as_echo_n "checking host system type... " >&6; }
2643 if ${ac_cv_host+:} false
; then :
2644 $as_echo_n "(cached) " >&6
2646 if test "x$host_alias" = x
; then
2647 ac_cv_host
=$ac_cv_build
2649 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2650 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2655 $as_echo "$ac_cv_host" >&6; }
2658 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2661 ac_save_IFS
=$IFS; IFS
='-'
2667 # Remember, the first character of IFS is used to create $*,
2668 # except with old shells:
2671 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2675 $as_echo_n "checking target system type... " >&6; }
2676 if ${ac_cv_target+:} false
; then :
2677 $as_echo_n "(cached) " >&6
2679 if test "x$target_alias" = x
; then
2680 ac_cv_target
=$ac_cv_host
2682 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2683 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2688 $as_echo "$ac_cv_target" >&6; }
2689 case $ac_cv_target in
2691 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2693 target
=$ac_cv_target
2694 ac_save_IFS
=$IFS; IFS
='-'
2700 # Remember, the first character of IFS is used to create $*,
2701 # except with old shells:
2704 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2707 # The aliases save the names the user supplied, while $host etc.
2708 # will get canonicalized.
2709 test -n "$target_alias" &&
2710 test "$program_prefix$program_suffix$program_transform_name" = \
2712 program_prefix
=${target_alias}-
2715 am__api_version
='1.15'
2717 # Find a good install program. We prefer a C program (faster),
2718 # so one script is as good as another. But avoid the broken or
2719 # incompatible versions:
2720 # SysV /etc/install, /usr/sbin/install
2721 # SunOS /usr/etc/install
2722 # IRIX /sbin/install
2724 # AmigaOS /C/install, which installs bootblocks on floppy discs
2725 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2726 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2727 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2728 # OS/2's system install, which has a completely different semantic
2729 # ./install, which can be erroneously created by make from ./install.sh.
2730 # Reject install programs that cannot install multiple files.
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2732 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2733 if test -z "$INSTALL"; then
2734 if ${ac_cv_path_install+:} false
; then :
2735 $as_echo_n "(cached) " >&6
2737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2741 test -z "$as_dir" && as_dir
=.
2742 # Account for people who put trailing slashes in PATH elements.
2743 case $as_dir/ in #((
2744 .
/ | .
// |
/[cC
]/* | \
2745 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2746 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2749 # OSF1 and SCO ODT 3.0 have their own names for install.
2750 # Don't use installbsd from OSF since it installs stuff as root
2752 for ac_prog
in ginstall scoinst
install; do
2753 for ac_exec_ext
in '' $ac_executable_extensions; do
2754 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2755 if test $ac_prog = install &&
2756 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2757 # AIX install. It has an incompatible calling convention.
2759 elif test $ac_prog = install &&
2760 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2761 # program-specific install script used by HP pwplus--don't use.
2764 rm -rf conftest.one conftest.two conftest.dir
2765 echo one
> conftest.one
2766 echo two
> conftest.two
2768 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2769 test -s conftest.one
&& test -s conftest.two
&&
2770 test -s conftest.dir
/conftest.one
&&
2771 test -s conftest.dir
/conftest.two
2773 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2786 rm -rf conftest.one conftest.two conftest.dir
2789 if test "${ac_cv_path_install+set}" = set; then
2790 INSTALL
=$ac_cv_path_install
2792 # As a last resort, use the slow shell script. Don't cache a
2793 # value for INSTALL within a source directory, because that will
2794 # break other packages using the cache if that directory is
2795 # removed, or if the value is a relative name.
2796 INSTALL
=$ac_install_sh
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2800 $as_echo "$INSTALL" >&6; }
2802 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2803 # It thinks the first close brace ends the variable substitution.
2804 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2806 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2808 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2811 $as_echo_n "checking whether build environment is sane... " >&6; }
2812 # Reject unsafe characters in $srcdir or the absolute working directory
2813 # name. Accept space and tab only in the latter.
2817 *[\\\"\
#\$\&\'\`$am_lf]*)
2818 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2821 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2822 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2825 # Do 'set' in a subshell so we don't clobber the current shell's
2826 # arguments. Must try -L first in case configure is actually a
2827 # symlink; some systems play weird games with the mod time of symlinks
2828 # (eg FreeBSD returns the mod time of the symlink's containing
2832 for am_try
in 1 2; do
2833 echo "timestamp, slept: $am_has_slept" > conftest.
file
2834 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2835 if test "$*" = "X"; then
2837 set X
`ls -t "$srcdir/configure" conftest.file`
2839 if test "$*" != "X $srcdir/configure conftest.file" \
2840 && test "$*" != "X conftest.file $srcdir/configure"; then
2842 # If neither matched, then we have a broken ls. This can happen
2843 # if, for instance, CONFIG_SHELL is bash and it inherits a
2844 # broken ls alias from the environment. This has actually
2845 # happened. Such a system could not be considered "sane".
2846 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2847 alias in your environment" "$LINENO" 5
2849 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2856 test "$2" = conftest.
file
2862 as_fn_error $?
"newly created file is older than distributed files!
2863 Check your system clock" "$LINENO" 5
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2866 $as_echo "yes" >&6; }
2867 # If we didn't sleep, we still need to ensure time stamps of config.status and
2868 # generated files are strictly newer.
2870 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2877 test "$program_prefix" != NONE
&&
2878 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2879 # Use a double $ so make ignores it.
2880 test "$program_suffix" != NONE
&&
2881 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2882 # Double any \ or $.
2883 # By default was `s,x,x', remove it if useless.
2884 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2885 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2887 # Expand $ac_aux_dir to an absolute path.
2888 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2890 if test x
"${MISSING+set}" != xset
; then
2893 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2895 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2898 # Use eval to expand $SHELL
2899 if eval "$MISSING --is-lightweight"; then
2900 am_missing_run
="$MISSING "
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2904 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2907 if test x
"${install_sh+set}" != xset
; then
2910 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2912 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2916 # Installed binaries are usually stripped using 'strip' when the user
2917 # run "make install-strip". However 'strip' might not be the right
2918 # tool to use in cross-compilation environments, therefore Automake
2919 # will honor the 'STRIP' environment variable to overrule this program.
2920 if test "$cross_compiling" != no
; then
2921 if test -n "$ac_tool_prefix"; then
2922 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2923 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2925 $as_echo_n "checking for $ac_word... " >&6; }
2926 if ${ac_cv_prog_STRIP+:} false
; then :
2927 $as_echo_n "(cached) " >&6
2929 if test -n "$STRIP"; then
2930 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2936 test -z "$as_dir" && as_dir
=.
2937 for ac_exec_ext
in '' $ac_executable_extensions; do
2938 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2939 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2949 STRIP
=$ac_cv_prog_STRIP
2950 if test -n "$STRIP"; then
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2952 $as_echo "$STRIP" >&6; }
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2955 $as_echo "no" >&6; }
2960 if test -z "$ac_cv_prog_STRIP"; then
2962 # Extract the first word of "strip", so it can be a program name with args.
2963 set dummy strip
; ac_word
=$2
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2965 $as_echo_n "checking for $ac_word... " >&6; }
2966 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2967 $as_echo_n "(cached) " >&6
2969 if test -n "$ac_ct_STRIP"; then
2970 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2976 test -z "$as_dir" && as_dir
=.
2977 for ac_exec_ext
in '' $ac_executable_extensions; do
2978 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2979 ac_cv_prog_ac_ct_STRIP
="strip"
2980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2989 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2990 if test -n "$ac_ct_STRIP"; then
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2992 $as_echo "$ac_ct_STRIP" >&6; }
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2995 $as_echo "no" >&6; }
2998 if test "x$ac_ct_STRIP" = x
; then
3001 case $cross_compiling:$ac_tool_warned in
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3004 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3005 ac_tool_warned
=yes ;;
3010 STRIP
="$ac_cv_prog_STRIP"
3014 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3017 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3018 if test -z "$MKDIR_P"; then
3019 if ${ac_cv_path_mkdir+:} false
; then :
3020 $as_echo_n "(cached) " >&6
3022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3023 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3026 test -z "$as_dir" && as_dir
=.
3027 for ac_prog
in mkdir gmkdir
; do
3028 for ac_exec_ext
in '' $ac_executable_extensions; do
3029 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3030 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3031 'mkdir (GNU coreutils) '* | \
3032 'mkdir (coreutils) '* | \
3033 'mkdir (fileutils) '4.1*)
3034 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3044 test -d .
/--version && rmdir .
/--version
3045 if test "${ac_cv_path_mkdir+set}" = set; then
3046 MKDIR_P
="$ac_cv_path_mkdir -p"
3048 # As a last resort, use the slow shell script. Don't cache a
3049 # value for MKDIR_P within a source directory, because that will
3050 # break other packages using the cache if that directory is
3051 # removed, or if the value is a relative name.
3052 MKDIR_P
="$ac_install_sh -d"
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3056 $as_echo "$MKDIR_P" >&6; }
3058 for ac_prog
in gawk mawk nawk
awk
3060 # Extract the first word of "$ac_prog", so it can be a program name with args.
3061 set dummy
$ac_prog; ac_word
=$2
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3063 $as_echo_n "checking for $ac_word... " >&6; }
3064 if ${ac_cv_prog_AWK+:} false
; then :
3065 $as_echo_n "(cached) " >&6
3067 if test -n "$AWK"; then
3068 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3074 test -z "$as_dir" && as_dir
=.
3075 for ac_exec_ext
in '' $ac_executable_extensions; do
3076 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3077 ac_cv_prog_AWK
="$ac_prog"
3078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3088 if test -n "$AWK"; then
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3090 $as_echo "$AWK" >&6; }
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3093 $as_echo "no" >&6; }
3097 test -n "$AWK" && break
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3101 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3103 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3104 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3105 $as_echo_n "(cached) " >&6
3107 cat >conftest.
make <<\_ACEOF
3110 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3112 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3113 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3115 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3117 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3121 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3123 $as_echo "yes" >&6; }
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3127 $as_echo "no" >&6; }
3128 SET_MAKE
="MAKE=${MAKE-make}"
3131 rm -rf .tst
2>/dev
/null
3132 mkdir .tst
2>/dev
/null
3133 if test -d .tst
; then
3138 rmdir .tst
2>/dev
/null
3140 # Check whether --enable-silent-rules was given.
3141 if test "${enable_silent_rules+set}" = set; then :
3142 enableval
=$enable_silent_rules;
3145 case $enable_silent_rules in # (((
3146 yes) AM_DEFAULT_VERBOSITY
=0;;
3147 no
) AM_DEFAULT_VERBOSITY
=1;;
3148 *) AM_DEFAULT_VERBOSITY
=1;;
3150 am_make
=${MAKE-make}
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3152 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3153 if ${am_cv_make_support_nested_variables+:} false
; then :
3154 $as_echo_n "(cached) " >&6
3156 if $as_echo 'TRUE=$(BAR$(V))
3162 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3163 am_cv_make_support_nested_variables
=yes
3165 am_cv_make_support_nested_variables
=no
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3169 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3170 if test $am_cv_make_support_nested_variables = yes; then
3172 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3174 AM_V
=$AM_DEFAULT_VERBOSITY
3175 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3179 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3180 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3181 # is not polluted with repeated "-I."
3182 am__isrc
=' -I$(srcdir)'
3183 # test to see if srcdir already configured
3184 if test -f $srcdir/config.status
; then
3185 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3189 # test whether we have cygpath
3190 if test -z "$CYGPATH_W"; then
3191 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3192 CYGPATH_W
='cygpath -w'
3199 # Define the identity of the package.
3204 cat >>confdefs.h
<<_ACEOF
3205 #define PACKAGE "$PACKAGE"
3209 cat >>confdefs.h
<<_ACEOF
3210 #define VERSION "$VERSION"
3213 # Some tools Automake needs.
3215 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3218 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3221 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3224 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3227 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3229 # For better backward compatibility. To be removed once Automake 1.9.x
3230 # dies out for good. For more background, see:
3231 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3232 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3233 mkdir_p
='$(MKDIR_P)'
3235 # We need awk for the "check" target (and possibly the TAP driver). The
3236 # system "awk" is bad on some platforms.
3237 # Always define AMTAR for backward compatibility. Yes, it's still used
3238 # in the wild :-( We should find a proper way to deprecate it ...
3242 # We'll loop over all known methods to create a tar archive until one works.
3243 _am_tools
='gnutar pax cpio none'
3245 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3252 # POSIX will say in a future version that running "rm -f" with no argument
3253 # is OK; and we want to be able to make that assumption in our Makefile
3254 # recipes. So use an aggressive probe to check that the usage we want is
3255 # actually supported "in the wild" to an acceptable degree.
3256 # See automake bug#10828.
3257 # To make any issue more visible, cause the running configure to be aborted
3258 # by default if the 'rm' program in use doesn't match our expectations; the
3259 # user can still override this though.
3260 if rm -f && rm -fr && rm -rf; then : OK
; else
3264 Your 'rm' program seems unable to run without file operands specified
3265 on the command line, even when the '-f' option is present. This is contrary
3266 to the behaviour of most rm programs out there, and not conforming with
3267 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3269 Please tell bug-automake@gnu.org about your system, including the value
3270 of your $PATH and any error possibly output before this message. This
3271 can help us improve future automake versions.
3274 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3275 echo 'Configuration will proceed anyway, since you have set the' >&2
3276 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3280 Aborting the configuration process, to ensure you take notice of the issue.
3282 You can download and install GNU coreutils to get an 'rm' implementation
3283 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3285 If you want to complete the configuration process using your problematic
3286 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3287 to "yes", and re-run configure.
3290 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3296 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3297 # Check whether --enable-maintainer-mode was given.
3298 if test "${enable_maintainer_mode+set}" = set; then :
3299 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3301 USE_MAINTAINER_MODE
=no
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3305 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3306 if test $USE_MAINTAINER_MODE = yes; then
3307 MAINTAINER_MODE_TRUE
=
3308 MAINTAINER_MODE_FALSE
='#'
3310 MAINTAINER_MODE_TRUE
='#'
3311 MAINTAINER_MODE_FALSE
=
3314 MAINT
=$MAINTAINER_MODE_TRUE
3318 # Check whether --enable-silent-rules was given.
3319 if test "${enable_silent_rules+set}" = set; then :
3320 enableval
=$enable_silent_rules;
3323 case $enable_silent_rules in # (((
3324 yes) AM_DEFAULT_VERBOSITY
=0;;
3325 no
) AM_DEFAULT_VERBOSITY
=1;;
3326 *) AM_DEFAULT_VERBOSITY
=0;;
3328 am_make
=${MAKE-make}
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3330 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3331 if ${am_cv_make_support_nested_variables+:} false
; then :
3332 $as_echo_n "(cached) " >&6
3334 if $as_echo 'TRUE=$(BAR$(V))
3340 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3341 am_cv_make_support_nested_variables
=yes
3343 am_cv_make_support_nested_variables
=no
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3347 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3348 if test $am_cv_make_support_nested_variables = yes; then
3350 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3352 AM_V
=$AM_DEFAULT_VERBOSITY
3353 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3358 DEPDIR="${am__leading_dot}deps"
3360 ac_config_commands="$ac_config_commands depfiles"
3363 am_make=${MAKE-make}
3364 cat > confinc << 'END
'
3366 @echo this is the am__doit target
3369 # If we don't
find an include directive
, just comment out the code.
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3371 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3375 # First try GNU make style include.
3376 echo "include confinc" > confmf
3377 # Ignore all kinds of additional output from 'make'.
3378 case `$am_make -s -f confmf 2> /dev/null` in #(
3379 *the\ am__doit\ target
*)
3385 # Now try BSD make style include.
3386 if test "$am__include" = "#"; then
3387 echo '.include "confinc"' > confmf
3388 case `$am_make -s -f confmf 2> /dev/null` in #(
3389 *the\ am__doit\ target
*)
3390 am__include
=.include
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3399 $as_echo "$_am_result" >&6; }
3400 rm -f confinc confmf
3402 # Check whether --enable-dependency-tracking was given.
3403 if test "${enable_dependency_tracking+set}" = set; then :
3404 enableval
=$enable_dependency_tracking;
3407 if test "x$enable_dependency_tracking" != xno
; then
3408 am_depcomp
="$ac_aux_dir/depcomp"
3412 if test "x$enable_dependency_tracking" != xno; then
3422 ac_cpp
='$CPP $CPPFLAGS'
3423 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3424 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3425 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3426 if test -n "$ac_tool_prefix"; then
3427 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3428 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3430 $as_echo_n "checking for $ac_word... " >&6; }
3431 if ${ac_cv_prog_CC+:} false
; then :
3432 $as_echo_n "(cached) " >&6
3434 if test -n "$CC"; then
3435 ac_cv_prog_CC
="$CC" # Let the user override the test.
3437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3441 test -z "$as_dir" && as_dir
=.
3442 for ac_exec_ext
in '' $ac_executable_extensions; do
3443 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3444 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3455 if test -n "$CC"; then
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3457 $as_echo "$CC" >&6; }
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3460 $as_echo "no" >&6; }
3465 if test -z "$ac_cv_prog_CC"; then
3467 # Extract the first word of "gcc", so it can be a program name with args.
3468 set dummy gcc
; ac_word
=$2
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3470 $as_echo_n "checking for $ac_word... " >&6; }
3471 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3472 $as_echo_n "(cached) " >&6
3474 if test -n "$ac_ct_CC"; then
3475 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3481 test -z "$as_dir" && as_dir
=.
3482 for ac_exec_ext
in '' $ac_executable_extensions; do
3483 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3484 ac_cv_prog_ac_ct_CC
="gcc"
3485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3494 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3495 if test -n "$ac_ct_CC"; then
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3497 $as_echo "$ac_ct_CC" >&6; }
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3500 $as_echo "no" >&6; }
3503 if test "x$ac_ct_CC" = x
; then
3506 case $cross_compiling:$ac_tool_warned in
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3509 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3510 ac_tool_warned
=yes ;;
3518 if test -z "$CC"; then
3519 if test -n "$ac_tool_prefix"; then
3520 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3521 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3523 $as_echo_n "checking for $ac_word... " >&6; }
3524 if ${ac_cv_prog_CC+:} false
; then :
3525 $as_echo_n "(cached) " >&6
3527 if test -n "$CC"; then
3528 ac_cv_prog_CC
="$CC" # Let the user override the test.
3530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3534 test -z "$as_dir" && as_dir
=.
3535 for ac_exec_ext
in '' $ac_executable_extensions; do
3536 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3537 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3548 if test -n "$CC"; then
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3550 $as_echo "$CC" >&6; }
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3553 $as_echo "no" >&6; }
3559 if test -z "$CC"; then
3560 # Extract the first word of "cc", so it can be a program name with args.
3561 set dummy cc
; ac_word
=$2
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3563 $as_echo_n "checking for $ac_word... " >&6; }
3564 if ${ac_cv_prog_CC+:} false
; then :
3565 $as_echo_n "(cached) " >&6
3567 if test -n "$CC"; then
3568 ac_cv_prog_CC
="$CC" # Let the user override the test.
3571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3575 test -z "$as_dir" && as_dir
=.
3576 for ac_exec_ext
in '' $ac_executable_extensions; do
3577 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3578 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3579 ac_prog_rejected
=yes
3583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3590 if test $ac_prog_rejected = yes; then
3591 # We found a bogon in the path, so make sure we never use it.
3592 set dummy
$ac_cv_prog_CC
3594 if test $# != 0; then
3595 # We chose a different compiler from the bogus one.
3596 # However, it has the same basename, so the bogon will be chosen
3597 # first if we set CC to just the basename; use the full file name.
3599 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3605 if test -n "$CC"; then
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3607 $as_echo "$CC" >&6; }
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3610 $as_echo "no" >&6; }
3615 if test -z "$CC"; then
3616 if test -n "$ac_tool_prefix"; then
3617 for ac_prog
in cl.exe
3619 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3620 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3622 $as_echo_n "checking for $ac_word... " >&6; }
3623 if ${ac_cv_prog_CC+:} false
; then :
3624 $as_echo_n "(cached) " >&6
3626 if test -n "$CC"; then
3627 ac_cv_prog_CC
="$CC" # Let the user override the test.
3629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3633 test -z "$as_dir" && as_dir
=.
3634 for ac_exec_ext
in '' $ac_executable_extensions; do
3635 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3636 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3647 if test -n "$CC"; then
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3649 $as_echo "$CC" >&6; }
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3652 $as_echo "no" >&6; }
3656 test -n "$CC" && break
3659 if test -z "$CC"; then
3661 for ac_prog
in cl.exe
3663 # Extract the first word of "$ac_prog", so it can be a program name with args.
3664 set dummy
$ac_prog; ac_word
=$2
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3666 $as_echo_n "checking for $ac_word... " >&6; }
3667 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3668 $as_echo_n "(cached) " >&6
3670 if test -n "$ac_ct_CC"; then
3671 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3677 test -z "$as_dir" && as_dir
=.
3678 for ac_exec_ext
in '' $ac_executable_extensions; do
3679 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3680 ac_cv_prog_ac_ct_CC
="$ac_prog"
3681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3690 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3691 if test -n "$ac_ct_CC"; then
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3693 $as_echo "$ac_ct_CC" >&6; }
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3696 $as_echo "no" >&6; }
3700 test -n "$ac_ct_CC" && break
3703 if test "x$ac_ct_CC" = x
; then
3706 case $cross_compiling:$ac_tool_warned in
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3709 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3710 ac_tool_warned
=yes ;;
3719 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3721 as_fn_error $?
"no acceptable C compiler found in \$PATH
3722 See \`config.log' for more details" "$LINENO" 5; }
3724 # Provide some information about the compiler.
3725 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3728 for ac_option
in --version -v -V -qversion; do
3729 { { ac_try
="$ac_compiler $ac_option >&5"
3731 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3732 *) ac_try_echo=$ac_try;;
3734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3735 $as_echo "$ac_try_echo"; } >&5
3736 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3738 if test -s conftest.err; then
3740 ... rest of stderr output deleted ...
3741 10q' conftest.err >conftest.er1
3742 cat conftest.er1 >&5
3744 rm -f conftest.er1 conftest.err
3745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3746 test $ac_status = 0; }
3749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3750 /* end confdefs.h. */
3760 ac_clean_files_save=$ac_clean_files
3761 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3762 # Try to create an executable without -o first, disregard a.out.
3763 # It will help us diagnose broken compilers, and finding out an intuition
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3766 $as_echo_n "checking whether the C compiler works... " >&6; }
3767 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3769 # The possible output files:
3770 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3773 for ac_file in $ac_files
3776 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3777 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3782 if { { ac_try="$ac_link_default"
3784 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3785 *) ac_try_echo
=$ac_try;;
3787 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3788 $as_echo "$ac_try_echo"; } >&5
3789 (eval "$ac_link_default") 2>&5
3791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3792 test $ac_status = 0; }; then :
3793 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3794 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3795 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3796 # so that the user can short-circuit this test for compilers unknown to
3798 for ac_file
in $ac_files ''
3800 test -f "$ac_file" ||
continue
3802 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3805 # We found the default executable, but exeext='' is most
3809 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3811 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3813 # We set ac_cv_exeext here because the later test for it is not
3814 # safe: cross compilers may not add the suffix if given an `-o'
3815 # argument, so we may need to know it at that point already.
3816 # Even if this section looks crufty: it has the advantage of
3823 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3828 if test -z "$ac_file"; then :
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3830 $as_echo "no" >&6; }
3831 $as_echo "$as_me: failed program was:" >&5
3832 sed 's/^/| /' conftest.
$ac_ext >&5
3834 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3836 as_fn_error
77 "C compiler cannot create executables
3837 See \`config.log' for more details" "$LINENO" 5; }
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3840 $as_echo "yes" >&6; }
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3843 $as_echo_n "checking for C compiler default output file name... " >&6; }
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3845 $as_echo "$ac_file" >&6; }
3846 ac_exeext
=$ac_cv_exeext
3848 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3849 ac_clean_files
=$ac_clean_files_save
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3851 $as_echo_n "checking for suffix of executables... " >&6; }
3852 if { { ac_try
="$ac_link"
3854 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3855 *) ac_try_echo=$ac_try;;
3857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3858 $as_echo "$ac_try_echo"; } >&5
3859 (eval "$ac_link") 2>&5
3861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3862 test $ac_status = 0; }; then :
3863 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3864 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3865 # work properly (i.e., refer to `conftest.exe'), while it won't with
3867 for ac_file
in conftest.exe conftest conftest.
*; do
3868 test -f "$ac_file" ||
continue
3870 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3871 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3877 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3878 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3879 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3880 See \`config.log' for more details" "$LINENO" 5; }
3882 rm -f conftest conftest
$ac_cv_exeext
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3884 $as_echo "$ac_cv_exeext" >&6; }
3886 rm -f conftest.
$ac_ext
3887 EXEEXT
=$ac_cv_exeext
3889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3890 /* end confdefs.h. */
3895 FILE *f = fopen ("conftest.out", "w");
3896 return ferror (f) || fclose (f) != 0;
3902 ac_clean_files
="$ac_clean_files conftest.out"
3903 # Check that the compiler produces executables we can run. If not, either
3904 # the compiler is broken, or we cross compile.
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3906 $as_echo_n "checking whether we are cross compiling... " >&6; }
3907 if test "$cross_compiling" != yes; then
3908 { { ac_try
="$ac_link"
3910 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3911 *) ac_try_echo=$ac_try;;
3913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3914 $as_echo "$ac_try_echo"; } >&5
3915 (eval "$ac_link") 2>&5
3917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3918 test $ac_status = 0; }
3919 if { ac_try='./conftest$ac_cv_exeext'
3920 { { case "(($ac_try" in
3921 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3922 *) ac_try_echo
=$ac_try;;
3924 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3925 $as_echo "$ac_try_echo"; } >&5
3926 (eval "$ac_try") 2>&5
3928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3929 test $ac_status = 0; }; }; then
3932 if test "$cross_compiling" = maybe
; then
3935 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3936 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3937 as_fn_error $?
"cannot run C compiled programs.
3938 If you meant to cross compile, use \`--host'.
3939 See \`config.log' for more details" "$LINENO" 5; }
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3944 $as_echo "$cross_compiling" >&6; }
3946 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3947 ac_clean_files
=$ac_clean_files_save
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3949 $as_echo_n "checking for suffix of object files... " >&6; }
3950 if ${ac_cv_objext+:} false
; then :
3951 $as_echo_n "(cached) " >&6
3953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3954 /* end confdefs.h. */
3964 rm -f conftest.o conftest.obj
3965 if { { ac_try
="$ac_compile"
3967 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3968 *) ac_try_echo=$ac_try;;
3970 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3971 $as_echo "$ac_try_echo"; } >&5
3972 (eval "$ac_compile") 2>&5
3974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3975 test $ac_status = 0; }; then :
3976 for ac_file in conftest.o conftest.obj conftest.*; do
3977 test -f "$ac_file" || continue;
3979 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3980 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3985 $as_echo "$as_me: failed program was:" >&5
3986 sed 's/^/| /' conftest.$ac_ext >&5
3988 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3989 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3990 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3991 See \
`config.log' for more details" "$LINENO" 5; }
3993 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3996 $as_echo "$ac_cv_objext" >&6; }
3997 OBJEXT=$ac_cv_objext
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4000 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4001 if ${ac_cv_c_compiler_gnu+:} false; then :
4002 $as_echo_n "(cached) " >&6
4004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4005 /* end confdefs.h. */
4018 if ac_fn_c_try_compile "$LINENO"; then :
4023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4024 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4028 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4029 if test $ac_compiler_gnu = yes; then
4034 ac_test_CFLAGS=${CFLAGS+set}
4035 ac_save_CFLAGS=$CFLAGS
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4037 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4038 if ${ac_cv_prog_cc_g+:} false; then :
4039 $as_echo_n "(cached) " >&6
4041 ac_save_c_werror_flag=$ac_c_werror_flag
4042 ac_c_werror_flag=yes
4045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4046 /* end confdefs.h. */
4056 if ac_fn_c_try_compile "$LINENO"; then :
4060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4061 /* end confdefs.h. */
4071 if ac_fn_c_try_compile "$LINENO"; then :
4074 ac_c_werror_flag=$ac_save_c_werror_flag
4076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4077 /* end confdefs.h. */
4087 if ac_fn_c_try_compile "$LINENO"; then :
4090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4095 ac_c_werror_flag=$ac_save_c_werror_flag
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4098 $as_echo "$ac_cv_prog_cc_g" >&6; }
4099 if test "$ac_test_CFLAGS" = set; then
4100 CFLAGS=$ac_save_CFLAGS
4101 elif test $ac_cv_prog_cc_g = yes; then
4102 if test "$GCC" = yes; then
4108 if test "$GCC" = yes; then
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4115 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4116 if ${ac_cv_prog_cc_c89+:} false; then :
4117 $as_echo_n "(cached) " >&6
4119 ac_cv_prog_cc_c89=no
4121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4122 /* end confdefs.h. */
4126 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4127 struct buf { int x; };
4128 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4129 static char *e (p, i)
4135 static char *f (char * (*g) (char **, int), char **p, ...)
4140 s = g (p, va_arg (v,int));
4145 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4146 function prototypes and stuff, but not '\xHH' hex character constants.
4147 These don't provoke an error unfortunately, instead are silently treated
4148 as 'x'. The following induces an error, until -std is added to get
4149 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4150 array size at least. It's necessary to write '\x00'==0 to get something
4151 that's true only with -std. */
4152 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4154 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4155 inside strings and character constants. */
4157 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4159 int test (int i, double x);
4160 struct s1 {int (*f) (int a);};
4161 struct s2 {int (*f) (double a);};
4162 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4168 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4173 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4174 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4176 CC="$ac_save_CC $ac_arg"
4177 if ac_fn_c_try_compile "$LINENO"; then :
4178 ac_cv_prog_cc_c89=$ac_arg
4180 rm -f core conftest.err conftest.$ac_objext
4181 test "x$ac_cv_prog_cc_c89" != "xno" && break
4183 rm -f conftest.$ac_ext
4188 case "x$ac_cv_prog_cc_c89" in
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4191 $as_echo "none needed" >&6; } ;;
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4194 $as_echo "unsupported" >&6; } ;;
4196 CC="$CC $ac_cv_prog_cc_c89"
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4198 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4200 if test "x$ac_cv_prog_cc_c89" != xno; then :
4205 ac_cpp='$CPP $CPPFLAGS'
4206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4211 ac_cpp='$CPP $CPPFLAGS'
4212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4216 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4217 if ${am_cv_prog_cc_c_o+:} false; then :
4218 $as_echo_n "(cached) " >&6
4220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4221 /* end confdefs.h. */
4231 # Make sure it works both with $CC and with simple cc.
4232 # Following AC_PROG_CC_C_O, we do the test twice because some
4233 # compilers refuse to overwrite an existing .o file with -o,
4234 # though they will create one.
4235 am_cv_prog_cc_c_o=yes
4237 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4238 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241 (exit $ac_status); } \
4242 && test -f conftest2.$ac_objext; then
4245 am_cv_prog_cc_c_o=no
4249 rm -f core conftest*
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4253 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4254 if test "$am_cv_prog_cc_c_o" != yes; then
4255 # Losing compiler, so override with the script.
4256 # FIXME: It is wrong to rewrite CC.
4257 # But if we don't then we get into trouble of one sort or another.
4258 # A longer-term fix would be to have automake use am__CC in this case,
4259 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4260 CC="$am_aux_dir/compile $CC"
4263 ac_cpp='$CPP $CPPFLAGS'
4264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4269 depcc="$CC" am_compiler_list=
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4272 $as_echo_n "checking dependency style of $depcc... " >&6; }
4273 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4274 $as_echo_n "(cached) " >&6
4276 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4277 # We make a subdir and do the tests there. Otherwise we can end up
4278 # making bogus files that we don't know about and never remove. For
4279 # instance it was reported that on HP-UX the gcc test will end up
4280 # making a dummy file named 'D' -- because '-MD' means "put the output
4284 # Copy depcomp to subdir because otherwise we won't find it if we're
4285 # using a relative directory.
4286 cp "$am_depcomp" conftest.dir
4288 # We will build objects and dependencies in a subdirectory because
4289 # it helps to detect inapplicable dependency modes. For instance
4290 # both Tru64's cc and ICC support -MD to output dependencies as a
4291 # side effect of compilation, but ICC will put the dependencies in
4292 # the current directory while Tru64 will put them in the object
4296 am_cv_CC_dependencies_compiler_type=none
4297 if test "$am_compiler_list" = ""; then
4298 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4301 case " $depcc " in #(
4302 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4305 for depmode in $am_compiler_list; do
4306 # Setup a source with many dependencies, because some compilers
4307 # like to wrap large dependency lists on column 80 (with \), and
4308 # we should not choose a depcomp mode which is confused by this.
4310 # We need to recreate these files for each test, as the compiler may
4311 # overwrite some of them when testing with obscure command lines.
4312 # This happens at least with the AIX C compiler.
4314 for i in 1 2 3 4 5 6; do
4315 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4316 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4317 # Solaris 10 /bin/sh.
4318 echo '/* dummy */' > sub/conftst$i.h
4320 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4322 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4323 # mode. It turns out that the SunPro C++ compiler does not properly
4324 # handle '-M -o', and we need to detect this. Also, some Intel
4325 # versions had trouble with output in subdirs.
4326 am__obj=sub/conftest.${OBJEXT-o}
4327 am__minus_obj="-o $am__obj"
4330 # This depmode causes a compiler race in universal mode.
4331 test "$am__universal" = false || continue
4334 # After this tag, mechanisms are not by side-effect, so they'll
4335 # only be used when explicitly requested.
4336 if test "x$enable_dependency_tracking" = xyes; then
4342 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4343 # This compiler won't grok '-c -o', but also, the minuso test has
4344 # not run yet. These depmodes are late enough in the game, and
4345 # so weak that their functioning should not be impacted.
4346 am__obj=conftest.${OBJEXT-o}
4351 if depmode=$depmode \
4352 source=sub/conftest.c object=$am__obj \
4353 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4354 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4355 >/dev/null 2>conftest.err &&
4356 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4357 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4358 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4359 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4360 # icc doesn't choke on unknown options, it will just issue warnings
4361 # or remarks (even with -Werror). So we grep stderr for any message
4362 # that says an option was ignored or not supported.
4363 # When given -MP, icc 7.0 and 7.1 complain thusly:
4364 # icc: Command line warning: ignoring option '-M'; no argument required
4365 # The diagnosis changed in icc 8.0:
4366 # icc: Command line remark: option '-MP' not supported
4367 if (grep 'ignoring option' conftest.err ||
4368 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4369 am_cv_CC_dependencies_compiler_type=$depmode
4378 am_cv_CC_dependencies_compiler_type=none
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4383 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4384 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4387 test "x$enable_dependency_tracking" != xno \
4388 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4390 am__fastdepCC_FALSE='#'
4392 am__fastdepCC_TRUE='#'
4393 am__fastdepCC_FALSE=
4399 ac_cpp='$CPP $CPPFLAGS'
4400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4404 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4405 # On Suns, sometimes $CPP names a directory.
4406 if test -n "$CPP" && test -d "$CPP"; then
4409 if test -z "$CPP"; then
4410 if ${ac_cv_prog_CPP+:} false; then :
4411 $as_echo_n "(cached) " >&6
4413 # Double quotes because CPP needs to be expanded
4414 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4417 for ac_c_preproc_warn_flag in '' yes
4419 # Use a header file that comes with gcc, so configuring glibc
4420 # with a fresh cross-compiler works.
4421 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4422 # <limits.h> exists even on freestanding compilers.
4423 # On the NeXT, cc -E runs the code through the compiler's parser,
4424 # not just through cpp. "Syntax error" is here to catch this case.
4425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4426 /* end confdefs.h. */
4428 # include <limits.h>
4430 # include <assert.h>
4434 if ac_fn_c_try_cpp "$LINENO"; then :
4437 # Broken: fails on valid input.
4440 rm -f conftest.err conftest.i conftest.$ac_ext
4442 # OK, works on sane cases. Now check whether nonexistent headers
4443 # can be detected and how.
4444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4445 /* end confdefs.h. */
4446 #include <ac_nonexistent.h>
4448 if ac_fn_c_try_cpp "$LINENO"; then :
4449 # Broken: success on invalid input.
4452 # Passes both tests.
4456 rm -f conftest.err conftest.i conftest.$ac_ext
4459 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4460 rm -f conftest.i conftest.err conftest.
$ac_ext
4461 if $ac_preproc_ok; then :
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4474 $as_echo "$CPP" >&6; }
4476 for ac_c_preproc_warn_flag
in '' yes
4478 # Use a header file that comes with gcc, so configuring glibc
4479 # with a fresh cross-compiler works.
4480 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4481 # <limits.h> exists even on freestanding compilers.
4482 # On the NeXT, cc -E runs the code through the compiler's parser,
4483 # not just through cpp. "Syntax error" is here to catch this case.
4484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4485 /* end confdefs.h. */
4487 # include <limits.h>
4489 # include <assert.h>
4493 if ac_fn_c_try_cpp
"$LINENO"; then :
4496 # Broken: fails on valid input.
4499 rm -f conftest.err conftest.i conftest.
$ac_ext
4501 # OK, works on sane cases. Now check whether nonexistent headers
4502 # can be detected and how.
4503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4504 /* end confdefs.h. */
4505 #include <ac_nonexistent.h>
4507 if ac_fn_c_try_cpp
"$LINENO"; then :
4508 # Broken: success on invalid input.
4511 # Passes both tests.
4515 rm -f conftest.err conftest.i conftest.
$ac_ext
4518 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4519 rm -f conftest.i conftest.err conftest.
$ac_ext
4520 if $ac_preproc_ok; then :
4523 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4525 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4526 See \`config.log' for more details" "$LINENO" 5; }
4530 ac_cpp
='$CPP $CPPFLAGS'
4531 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4532 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4533 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4537 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4538 if ${ac_cv_path_GREP+:} false
; then :
4539 $as_echo_n "(cached) " >&6
4541 if test -z "$GREP"; then
4542 ac_path_GREP_found
=false
4543 # Loop through the user's path and test for each of PROGNAME-LIST
4544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4545 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4548 test -z "$as_dir" && as_dir
=.
4549 for ac_prog
in grep ggrep
; do
4550 for ac_exec_ext
in '' $ac_executable_extensions; do
4551 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4552 as_fn_executable_p
"$ac_path_GREP" ||
continue
4553 # Check for GNU ac_path_GREP and select it if it is found.
4554 # Check for GNU $ac_path_GREP
4555 case `"$ac_path_GREP" --version 2>&1` in
4557 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4560 $as_echo_n 0123456789 >"conftest.in"
4563 cat "conftest.in" "conftest.in" >"conftest.tmp"
4564 mv "conftest.tmp" "conftest.in"
4565 cp "conftest.in" "conftest.nl"
4566 $as_echo 'GREP' >> "conftest.nl"
4567 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4568 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4569 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4570 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4571 # Best one so far, save it but keep looking for a better one
4572 ac_cv_path_GREP
="$ac_path_GREP"
4573 ac_path_GREP_max
=$ac_count
4575 # 10*(2^10) chars as input seems more than enough
4576 test $ac_count -gt 10 && break
4578 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4581 $ac_path_GREP_found && break 3
4586 if test -z "$ac_cv_path_GREP"; then
4587 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4590 ac_cv_path_GREP
=$GREP
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4595 $as_echo "$ac_cv_path_GREP" >&6; }
4596 GREP
="$ac_cv_path_GREP"
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4600 $as_echo_n "checking for egrep... " >&6; }
4601 if ${ac_cv_path_EGREP+:} false
; then :
4602 $as_echo_n "(cached) " >&6
4604 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4605 then ac_cv_path_EGREP
="$GREP -E"
4607 if test -z "$EGREP"; then
4608 ac_path_EGREP_found
=false
4609 # Loop through the user's path and test for each of PROGNAME-LIST
4610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4611 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4614 test -z "$as_dir" && as_dir
=.
4615 for ac_prog
in egrep; do
4616 for ac_exec_ext
in '' $ac_executable_extensions; do
4617 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4618 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4619 # Check for GNU ac_path_EGREP and select it if it is found.
4620 # Check for GNU $ac_path_EGREP
4621 case `"$ac_path_EGREP" --version 2>&1` in
4623 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4626 $as_echo_n 0123456789 >"conftest.in"
4629 cat "conftest.in" "conftest.in" >"conftest.tmp"
4630 mv "conftest.tmp" "conftest.in"
4631 cp "conftest.in" "conftest.nl"
4632 $as_echo 'EGREP' >> "conftest.nl"
4633 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4634 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4635 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4636 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4637 # Best one so far, save it but keep looking for a better one
4638 ac_cv_path_EGREP
="$ac_path_EGREP"
4639 ac_path_EGREP_max
=$ac_count
4641 # 10*(2^10) chars as input seems more than enough
4642 test $ac_count -gt 10 && break
4644 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4647 $ac_path_EGREP_found && break 3
4652 if test -z "$ac_cv_path_EGREP"; then
4653 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4656 ac_cv_path_EGREP
=$EGREP
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4662 $as_echo "$ac_cv_path_EGREP" >&6; }
4663 EGREP
="$ac_cv_path_EGREP"
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4667 $as_echo_n "checking for ANSI C header files... " >&6; }
4668 if ${ac_cv_header_stdc+:} false
; then :
4669 $as_echo_n "(cached) " >&6
4671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4672 /* end confdefs.h. */
4686 if ac_fn_c_try_compile
"$LINENO"; then :
4687 ac_cv_header_stdc
=yes
4689 ac_cv_header_stdc
=no
4691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4693 if test $ac_cv_header_stdc = yes; then
4694 # SunOS 4.x string.h does not declare mem*, 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 "memchr" >/dev
/null
2>&1; then :
4704 ac_cv_header_stdc
=no
4710 if test $ac_cv_header_stdc = yes; then
4711 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4718 $EGREP "free" >/dev
/null
2>&1; then :
4721 ac_cv_header_stdc
=no
4727 if test $ac_cv_header_stdc = yes; then
4728 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4729 if test "$cross_compiling" = yes; then :
4732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4733 /* end confdefs.h. */
4736 #if ((' ' & 0x0FF) == 0x020)
4737 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4738 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4740 # define ISLOWER(c) \
4741 (('a' <= (c) && (c) <= 'i') \
4742 || ('j' <= (c) && (c) <= 'r') \
4743 || ('s' <= (c) && (c) <= 'z'))
4744 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4747 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4752 for (i = 0; i < 256; i++)
4753 if (XOR (islower (i), ISLOWER (i))
4754 || toupper (i) != TOUPPER (i))
4759 if ac_fn_c_try_run
"$LINENO"; then :
4762 ac_cv_header_stdc
=no
4764 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4765 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4771 $as_echo "$ac_cv_header_stdc" >&6; }
4772 if test $ac_cv_header_stdc = yes; then
4774 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4778 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4779 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4780 inttypes.h stdint.h unistd.h
4782 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4783 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4785 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4786 cat >>confdefs.h
<<_ACEOF
4787 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4796 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4797 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4804 if test "$MINIX" = yes; then
4806 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4809 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4812 $as_echo "#define _MINIX 1" >>confdefs.h
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4818 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4819 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4820 $as_echo_n "(cached) " >&6
4822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4823 /* end confdefs.h. */
4825 # define __EXTENSIONS__ 1
4826 $ac_includes_default
4835 if ac_fn_c_try_compile
"$LINENO"; then :
4836 ac_cv_safe_to_define___extensions__
=yes
4838 ac_cv_safe_to_define___extensions__
=no
4840 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4843 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4844 test $ac_cv_safe_to_define___extensions__ = yes &&
4845 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4847 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4849 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4851 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4853 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4859 $as_echo_n "checking whether ln -s works... " >&6; }
4861 if test "$LN_S" = "ln -s"; then
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4863 $as_echo "yes" >&6; }
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4866 $as_echo "no, using $LN_S" >&6; }
4870 ac_cpp
='$CPP $CPPFLAGS'
4871 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4872 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4873 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4874 if test -n "$ac_tool_prefix"; then
4875 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4876 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4878 $as_echo_n "checking for $ac_word... " >&6; }
4879 if ${ac_cv_prog_CC+:} false
; then :
4880 $as_echo_n "(cached) " >&6
4882 if test -n "$CC"; then
4883 ac_cv_prog_CC
="$CC" # Let the user override the test.
4885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4889 test -z "$as_dir" && as_dir
=.
4890 for ac_exec_ext
in '' $ac_executable_extensions; do
4891 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4892 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4903 if test -n "$CC"; then
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4905 $as_echo "$CC" >&6; }
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4908 $as_echo "no" >&6; }
4913 if test -z "$ac_cv_prog_CC"; then
4915 # Extract the first word of "gcc", so it can be a program name with args.
4916 set dummy gcc
; ac_word
=$2
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4918 $as_echo_n "checking for $ac_word... " >&6; }
4919 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4920 $as_echo_n "(cached) " >&6
4922 if test -n "$ac_ct_CC"; then
4923 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4929 test -z "$as_dir" && as_dir
=.
4930 for ac_exec_ext
in '' $ac_executable_extensions; do
4931 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4932 ac_cv_prog_ac_ct_CC
="gcc"
4933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4942 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4943 if test -n "$ac_ct_CC"; then
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4945 $as_echo "$ac_ct_CC" >&6; }
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4948 $as_echo "no" >&6; }
4951 if test "x$ac_ct_CC" = x
; then
4954 case $cross_compiling:$ac_tool_warned in
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4957 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4958 ac_tool_warned
=yes ;;
4966 if test -z "$CC"; then
4967 if test -n "$ac_tool_prefix"; then
4968 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4969 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4971 $as_echo_n "checking for $ac_word... " >&6; }
4972 if ${ac_cv_prog_CC+:} false
; then :
4973 $as_echo_n "(cached) " >&6
4975 if test -n "$CC"; then
4976 ac_cv_prog_CC
="$CC" # Let the user override the test.
4978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4982 test -z "$as_dir" && as_dir
=.
4983 for ac_exec_ext
in '' $ac_executable_extensions; do
4984 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4985 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4996 if test -n "$CC"; then
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4998 $as_echo "$CC" >&6; }
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5001 $as_echo "no" >&6; }
5007 if test -z "$CC"; then
5008 # Extract the first word of "cc", so it can be a program name with args.
5009 set dummy cc
; ac_word
=$2
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5011 $as_echo_n "checking for $ac_word... " >&6; }
5012 if ${ac_cv_prog_CC+:} false
; then :
5013 $as_echo_n "(cached) " >&6
5015 if test -n "$CC"; then
5016 ac_cv_prog_CC
="$CC" # Let the user override the test.
5019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5023 test -z "$as_dir" && as_dir
=.
5024 for ac_exec_ext
in '' $ac_executable_extensions; do
5025 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5026 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5027 ac_prog_rejected
=yes
5031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5038 if test $ac_prog_rejected = yes; then
5039 # We found a bogon in the path, so make sure we never use it.
5040 set dummy
$ac_cv_prog_CC
5042 if test $# != 0; then
5043 # We chose a different compiler from the bogus one.
5044 # However, it has the same basename, so the bogon will be chosen
5045 # first if we set CC to just the basename; use the full file name.
5047 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5053 if test -n "$CC"; then
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5055 $as_echo "$CC" >&6; }
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058 $as_echo "no" >&6; }
5063 if test -z "$CC"; then
5064 if test -n "$ac_tool_prefix"; then
5065 for ac_prog
in cl.exe
5067 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5068 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5070 $as_echo_n "checking for $ac_word... " >&6; }
5071 if ${ac_cv_prog_CC+:} false
; then :
5072 $as_echo_n "(cached) " >&6
5074 if test -n "$CC"; then
5075 ac_cv_prog_CC
="$CC" # Let the user override the test.
5077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5081 test -z "$as_dir" && as_dir
=.
5082 for ac_exec_ext
in '' $ac_executable_extensions; do
5083 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5084 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5095 if test -n "$CC"; then
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5097 $as_echo "$CC" >&6; }
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5100 $as_echo "no" >&6; }
5104 test -n "$CC" && break
5107 if test -z "$CC"; then
5109 for ac_prog
in cl.exe
5111 # Extract the first word of "$ac_prog", so it can be a program name with args.
5112 set dummy
$ac_prog; ac_word
=$2
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5114 $as_echo_n "checking for $ac_word... " >&6; }
5115 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5116 $as_echo_n "(cached) " >&6
5118 if test -n "$ac_ct_CC"; then
5119 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5125 test -z "$as_dir" && as_dir
=.
5126 for ac_exec_ext
in '' $ac_executable_extensions; do
5127 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5128 ac_cv_prog_ac_ct_CC
="$ac_prog"
5129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5138 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5139 if test -n "$ac_ct_CC"; then
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5141 $as_echo "$ac_ct_CC" >&6; }
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5144 $as_echo "no" >&6; }
5148 test -n "$ac_ct_CC" && break
5151 if test "x$ac_ct_CC" = x
; then
5154 case $cross_compiling:$ac_tool_warned in
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5158 ac_tool_warned
=yes ;;
5167 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5169 as_fn_error $?
"no acceptable C compiler found in \$PATH
5170 See \`config.log' for more details" "$LINENO" 5; }
5172 # Provide some information about the compiler.
5173 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5176 for ac_option
in --version -v -V -qversion; do
5177 { { ac_try
="$ac_compiler $ac_option >&5"
5179 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5180 *) ac_try_echo=$ac_try;;
5182 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5183 $as_echo "$ac_try_echo"; } >&5
5184 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5186 if test -s conftest.err; then
5188 ... rest of stderr output deleted ...
5189 10q' conftest.err >conftest.er1
5190 cat conftest.er1 >&5
5192 rm -f conftest.er1 conftest.err
5193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5194 test $ac_status = 0; }
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5198 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5199 if ${ac_cv_c_compiler_gnu+:} false; then :
5200 $as_echo_n "(cached) " >&6
5202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5203 /* end confdefs.h. */
5216 if ac_fn_c_try_compile "$LINENO"; then :
5221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5222 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5226 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5227 if test $ac_compiler_gnu = yes; then
5232 ac_test_CFLAGS=${CFLAGS+set}
5233 ac_save_CFLAGS=$CFLAGS
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5235 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5236 if ${ac_cv_prog_cc_g+:} false; then :
5237 $as_echo_n "(cached) " >&6
5239 ac_save_c_werror_flag=$ac_c_werror_flag
5240 ac_c_werror_flag=yes
5243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5244 /* end confdefs.h. */
5254 if ac_fn_c_try_compile "$LINENO"; then :
5258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5259 /* end confdefs.h. */
5269 if ac_fn_c_try_compile "$LINENO"; then :
5272 ac_c_werror_flag=$ac_save_c_werror_flag
5274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5275 /* end confdefs.h. */
5285 if ac_fn_c_try_compile "$LINENO"; then :
5288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5293 ac_c_werror_flag=$ac_save_c_werror_flag
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5296 $as_echo "$ac_cv_prog_cc_g" >&6; }
5297 if test "$ac_test_CFLAGS" = set; then
5298 CFLAGS=$ac_save_CFLAGS
5299 elif test $ac_cv_prog_cc_g = yes; then
5300 if test "$GCC" = yes; then
5306 if test "$GCC" = yes; then
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5313 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5314 if ${ac_cv_prog_cc_c89+:} false; then :
5315 $as_echo_n "(cached) " >&6
5317 ac_cv_prog_cc_c89=no
5319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5320 /* end confdefs.h. */
5324 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5325 struct buf { int x; };
5326 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5327 static char *e (p, i)
5333 static char *f (char * (*g) (char **, int), char **p, ...)
5338 s = g (p, va_arg (v,int));
5343 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5344 function prototypes and stuff, but not '\xHH' hex character constants.
5345 These don't provoke an error unfortunately, instead are silently treated
5346 as 'x'. The following induces an error, until -std is added to get
5347 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5348 array size at least. It's necessary to write '\x00'==0 to get something
5349 that's true only with -std. */
5350 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5352 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5353 inside strings and character constants. */
5355 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5357 int test (int i, double x);
5358 struct s1 {int (*f) (int a);};
5359 struct s2 {int (*f) (double a);};
5360 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5366 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5371 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5372 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5374 CC="$ac_save_CC $ac_arg"
5375 if ac_fn_c_try_compile "$LINENO"; then :
5376 ac_cv_prog_cc_c89=$ac_arg
5378 rm -f core conftest.err conftest.$ac_objext
5379 test "x$ac_cv_prog_cc_c89" != "xno" && break
5381 rm -f conftest.$ac_ext
5386 case "x$ac_cv_prog_cc_c89" in
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5389 $as_echo "none needed" >&6; } ;;
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5392 $as_echo "unsupported" >&6; } ;;
5394 CC="$CC $ac_cv_prog_cc_c89"
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5396 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5398 if test "x$ac_cv_prog_cc_c89" != xno; then :
5403 ac_cpp='$CPP $CPPFLAGS'
5404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5409 ac_cpp='$CPP $CPPFLAGS'
5410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5414 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5415 if ${am_cv_prog_cc_c_o+:} false; then :
5416 $as_echo_n "(cached) " >&6
5418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5419 /* end confdefs.h. */
5429 # Make sure it works both with $CC and with simple cc.
5430 # Following AC_PROG_CC_C_O, we do the test twice because some
5431 # compilers refuse to overwrite an existing .o file with -o,
5432 # though they will create one.
5433 am_cv_prog_cc_c_o=yes
5435 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5436 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439 (exit $ac_status); } \
5440 && test -f conftest2.$ac_objext; then
5443 am_cv_prog_cc_c_o=no
5447 rm -f core conftest*
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5451 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5452 if test "$am_cv_prog_cc_c_o" != yes; then
5453 # Losing compiler, so override with the script.
5454 # FIXME: It is wrong to rewrite CC.
5455 # But if we don't then we get into trouble of one sort or another.
5456 # A longer-term fix would be to have automake use am__CC in this case,
5457 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5458 CC="$am_aux_dir/compile $CC"
5461 ac_cpp='$CPP $CPPFLAGS'
5462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5467 depcc="$CC" am_compiler_list=
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5470 $as_echo_n "checking dependency style of $depcc... " >&6; }
5471 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5472 $as_echo_n "(cached) " >&6
5474 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5475 # We make a subdir and do the tests there. Otherwise we can end up
5476 # making bogus files that we don't know about and never remove. For
5477 # instance it was reported that on HP-UX the gcc test will end up
5478 # making a dummy file named 'D' -- because '-MD' means "put the output
5482 # Copy depcomp to subdir because otherwise we won't find it if we're
5483 # using a relative directory.
5484 cp "$am_depcomp" conftest.dir
5486 # We will build objects and dependencies in a subdirectory because
5487 # it helps to detect inapplicable dependency modes. For instance
5488 # both Tru64's cc and ICC support -MD to output dependencies as a
5489 # side effect of compilation, but ICC will put the dependencies in
5490 # the current directory while Tru64 will put them in the object
5494 am_cv_CC_dependencies_compiler_type=none
5495 if test "$am_compiler_list" = ""; then
5496 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5499 case " $depcc " in #(
5500 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5503 for depmode in $am_compiler_list; do
5504 # Setup a source with many dependencies, because some compilers
5505 # like to wrap large dependency lists on column 80 (with \), and
5506 # we should not choose a depcomp mode which is confused by this.
5508 # We need to recreate these files for each test, as the compiler may
5509 # overwrite some of them when testing with obscure command lines.
5510 # This happens at least with the AIX C compiler.
5512 for i in 1 2 3 4 5 6; do
5513 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5514 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5515 # Solaris 10 /bin/sh.
5516 echo '/* dummy */' > sub/conftst$i.h
5518 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5520 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5521 # mode. It turns out that the SunPro C++ compiler does not properly
5522 # handle '-M -o', and we need to detect this. Also, some Intel
5523 # versions had trouble with output in subdirs.
5524 am__obj=sub/conftest.${OBJEXT-o}
5525 am__minus_obj="-o $am__obj"
5528 # This depmode causes a compiler race in universal mode.
5529 test "$am__universal" = false || continue
5532 # After this tag, mechanisms are not by side-effect, so they'll
5533 # only be used when explicitly requested.
5534 if test "x$enable_dependency_tracking" = xyes; then
5540 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5541 # This compiler won't grok '-c -o', but also, the minuso test has
5542 # not run yet. These depmodes are late enough in the game, and
5543 # so weak that their functioning should not be impacted.
5544 am__obj=conftest.${OBJEXT-o}
5549 if depmode=$depmode \
5550 source=sub/conftest.c object=$am__obj \
5551 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5552 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5553 >/dev/null 2>conftest.err &&
5554 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5555 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5556 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5557 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5558 # icc doesn't choke on unknown options, it will just issue warnings
5559 # or remarks (even with -Werror). So we grep stderr for any message
5560 # that says an option was ignored or not supported.
5561 # When given -MP, icc 7.0 and 7.1 complain thusly:
5562 # icc: Command line warning: ignoring option '-M'; no argument required
5563 # The diagnosis changed in icc 8.0:
5564 # icc: Command line remark: option '-MP' not supported
5565 if (grep 'ignoring option' conftest.err ||
5566 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5567 am_cv_CC_dependencies_compiler_type=$depmode
5576 am_cv_CC_dependencies_compiler_type=none
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5581 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5582 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5585 test "x$enable_dependency_tracking" != xno \
5586 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5588 am__fastdepCC_FALSE='#'
5590 am__fastdepCC_TRUE='#'
5591 am__fastdepCC_FALSE=
5596 ac_cpp='$CXXCPP $CPPFLAGS'
5597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5600 if test -z "$CXX"; then
5601 if test -n "$CCC"; then
5604 if test -n "$ac_tool_prefix"; then
5605 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5607 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5608 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5610 $as_echo_n "checking for $ac_word... " >&6; }
5611 if ${ac_cv_prog_CXX+:} false; then :
5612 $as_echo_n "(cached) " >&6
5614 if test -n "$CXX"; then
5615 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5621 test -z "$as_dir" && as_dir=.
5622 for ac_exec_ext in '' $ac_executable_extensions; do
5623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5624 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5635 if test -n "$CXX"; then
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5637 $as_echo "$CXX" >&6; }
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5640 $as_echo "no" >&6; }
5644 test -n "$CXX" && break
5647 if test -z "$CXX"; then
5649 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5651 # Extract the first word of "$ac_prog", so it can be a program name with args.
5652 set dummy $ac_prog; ac_word=$2
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5654 $as_echo_n "checking for $ac_word... " >&6; }
5655 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5656 $as_echo_n "(cached) " >&6
5658 if test -n "$ac_ct_CXX"; then
5659 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5665 test -z "$as_dir" && as_dir=.
5666 for ac_exec_ext in '' $ac_executable_extensions; do
5667 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5668 ac_cv_prog_ac_ct_CXX="$ac_prog"
5669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5678 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5679 if test -n "$ac_ct_CXX"; then
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5681 $as_echo "$ac_ct_CXX" >&6; }
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5684 $as_echo "no" >&6; }
5688 test -n "$ac_ct_CXX" && break
5691 if test "x$ac_ct_CXX" = x; then
5694 case $cross_compiling:$ac_tool_warned in
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5698 ac_tool_warned=yes ;;
5706 # Provide some information about the compiler.
5707 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5710 for ac_option in --version -v -V -qversion; do
5711 { { ac_try="$ac_compiler $ac_option >&5"
5713 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5714 *) ac_try_echo
=$ac_try;;
5716 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5717 $as_echo "$ac_try_echo"; } >&5
5718 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5720 if test -s conftest.err
; then
5722 ... rest of stderr output deleted ...
5723 10q' conftest.err
>conftest.er1
5724 cat conftest.er1
>&5
5726 rm -f conftest.er1 conftest.err
5727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5728 test $ac_status = 0; }
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5732 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5733 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5734 $as_echo_n "(cached) " >&6
5736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5737 /* end confdefs.h. */
5750 if ac_fn_cxx_try_compile
"$LINENO"; then :
5755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5756 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5760 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5761 if test $ac_compiler_gnu = yes; then
5766 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5767 ac_save_CXXFLAGS
=$CXXFLAGS
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5769 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5770 if ${ac_cv_prog_cxx_g+:} false
; then :
5771 $as_echo_n "(cached) " >&6
5773 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5774 ac_cxx_werror_flag
=yes
5777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5778 /* end confdefs.h. */
5788 if ac_fn_cxx_try_compile
"$LINENO"; then :
5789 ac_cv_prog_cxx_g
=yes
5792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5793 /* end confdefs.h. */
5803 if ac_fn_cxx_try_compile
"$LINENO"; then :
5806 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5809 /* end confdefs.h. */
5819 if ac_fn_cxx_try_compile
"$LINENO"; then :
5820 ac_cv_prog_cxx_g
=yes
5822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5826 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5827 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5830 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5831 if test "$ac_test_CXXFLAGS" = set; then
5832 CXXFLAGS
=$ac_save_CXXFLAGS
5833 elif test $ac_cv_prog_cxx_g = yes; then
5834 if test "$GXX" = yes; then
5840 if test "$GXX" = yes; then
5847 ac_cpp
='$CPP $CPPFLAGS'
5848 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5849 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5850 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5852 depcc
="$CXX" am_compiler_list
=
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5855 $as_echo_n "checking dependency style of $depcc... " >&6; }
5856 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
5857 $as_echo_n "(cached) " >&6
5859 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5860 # We make a subdir and do the tests there. Otherwise we can end up
5861 # making bogus files that we don't know about and never remove. For
5862 # instance it was reported that on HP-UX the gcc test will end up
5863 # making a dummy file named 'D' -- because '-MD' means "put the output
5867 # Copy depcomp to subdir because otherwise we won't find it if we're
5868 # using a relative directory.
5869 cp "$am_depcomp" conftest.dir
5871 # We will build objects and dependencies in a subdirectory because
5872 # it helps to detect inapplicable dependency modes. For instance
5873 # both Tru64's cc and ICC support -MD to output dependencies as a
5874 # side effect of compilation, but ICC will put the dependencies in
5875 # the current directory while Tru64 will put them in the object
5879 am_cv_CXX_dependencies_compiler_type
=none
5880 if test "$am_compiler_list" = ""; then
5881 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5884 case " $depcc " in #(
5885 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5888 for depmode
in $am_compiler_list; do
5889 # Setup a source with many dependencies, because some compilers
5890 # like to wrap large dependency lists on column 80 (with \), and
5891 # we should not choose a depcomp mode which is confused by this.
5893 # We need to recreate these files for each test, as the compiler may
5894 # overwrite some of them when testing with obscure command lines.
5895 # This happens at least with the AIX C compiler.
5897 for i
in 1 2 3 4 5 6; do
5898 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5899 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5900 # Solaris 10 /bin/sh.
5901 echo '/* dummy */' > sub
/conftst
$i.h
5903 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5905 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5906 # mode. It turns out that the SunPro C++ compiler does not properly
5907 # handle '-M -o', and we need to detect this. Also, some Intel
5908 # versions had trouble with output in subdirs.
5909 am__obj
=sub
/conftest.
${OBJEXT-o}
5910 am__minus_obj
="-o $am__obj"
5913 # This depmode causes a compiler race in universal mode.
5914 test "$am__universal" = false ||
continue
5917 # After this tag, mechanisms are not by side-effect, so they'll
5918 # only be used when explicitly requested.
5919 if test "x$enable_dependency_tracking" = xyes
; then
5925 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5926 # This compiler won't grok '-c -o', but also, the minuso test has
5927 # not run yet. These depmodes are late enough in the game, and
5928 # so weak that their functioning should not be impacted.
5929 am__obj
=conftest.
${OBJEXT-o}
5934 if depmode
=$depmode \
5935 source=sub
/conftest.c object
=$am__obj \
5936 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5937 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5938 >/dev
/null
2>conftest.err
&&
5939 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5940 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5941 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5942 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5943 # icc doesn't choke on unknown options, it will just issue warnings
5944 # or remarks (even with -Werror). So we grep stderr for any message
5945 # that says an option was ignored or not supported.
5946 # When given -MP, icc 7.0 and 7.1 complain thusly:
5947 # icc: Command line warning: ignoring option '-M'; no argument required
5948 # The diagnosis changed in icc 8.0:
5949 # icc: Command line remark: option '-MP' not supported
5950 if (grep 'ignoring option' conftest.err ||
5951 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5952 am_cv_CXX_dependencies_compiler_type
=$depmode
5961 am_cv_CXX_dependencies_compiler_type
=none
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5966 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5967 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5970 test "x$enable_dependency_tracking" != xno \
5971 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5972 am__fastdepCXX_TRUE
=
5973 am__fastdepCXX_FALSE
='#'
5975 am__fastdepCXX_TRUE
='#'
5976 am__fastdepCXX_FALSE
=
5981 ac_cpp
='$CPP $CPPFLAGS'
5982 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5983 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5984 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5986 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5987 # On Suns, sometimes $CPP names a directory.
5988 if test -n "$CPP" && test -d "$CPP"; then
5991 if test -z "$CPP"; then
5992 if ${ac_cv_prog_CPP+:} false
; then :
5993 $as_echo_n "(cached) " >&6
5995 # Double quotes because CPP needs to be expanded
5996 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5999 for ac_c_preproc_warn_flag
in '' yes
6001 # Use a header file that comes with gcc, so configuring glibc
6002 # with a fresh cross-compiler works.
6003 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6004 # <limits.h> exists even on freestanding compilers.
6005 # On the NeXT, cc -E runs the code through the compiler's parser,
6006 # not just through cpp. "Syntax error" is here to catch this case.
6007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6008 /* end confdefs.h. */
6010 # include <limits.h>
6012 # include <assert.h>
6016 if ac_fn_c_try_cpp
"$LINENO"; then :
6019 # Broken: fails on valid input.
6022 rm -f conftest.err conftest.i conftest.
$ac_ext
6024 # OK, works on sane cases. Now check whether nonexistent headers
6025 # can be detected and how.
6026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6027 /* end confdefs.h. */
6028 #include <ac_nonexistent.h>
6030 if ac_fn_c_try_cpp
"$LINENO"; then :
6031 # Broken: success on invalid input.
6034 # Passes both tests.
6038 rm -f conftest.err conftest.i conftest.
$ac_ext
6041 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6042 rm -f conftest.i conftest.err conftest.
$ac_ext
6043 if $ac_preproc_ok; then :
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6056 $as_echo "$CPP" >&6; }
6058 for ac_c_preproc_warn_flag
in '' yes
6060 # Use a header file that comes with gcc, so configuring glibc
6061 # with a fresh cross-compiler works.
6062 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6063 # <limits.h> exists even on freestanding compilers.
6064 # On the NeXT, cc -E runs the code through the compiler's parser,
6065 # not just through cpp. "Syntax error" is here to catch this case.
6066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6067 /* end confdefs.h. */
6069 # include <limits.h>
6071 # include <assert.h>
6075 if ac_fn_c_try_cpp
"$LINENO"; then :
6078 # Broken: fails on valid input.
6081 rm -f conftest.err conftest.i conftest.
$ac_ext
6083 # OK, works on sane cases. Now check whether nonexistent headers
6084 # can be detected and how.
6085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6086 /* end confdefs.h. */
6087 #include <ac_nonexistent.h>
6089 if ac_fn_c_try_cpp
"$LINENO"; then :
6090 # Broken: success on invalid input.
6093 # Passes both tests.
6097 rm -f conftest.err conftest.i conftest.
$ac_ext
6100 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6101 rm -f conftest.i conftest.err conftest.
$ac_ext
6102 if $ac_preproc_ok; then :
6105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6107 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6108 See \`config.log' for more details" "$LINENO" 5; }
6112 ac_cpp
='$CPP $CPPFLAGS'
6113 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6114 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6115 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6118 ac_cpp
='$CPP $CPPFLAGS'
6119 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6120 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6121 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6122 if test -n "$ac_tool_prefix"; then
6123 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6124 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6126 $as_echo_n "checking for $ac_word... " >&6; }
6127 if ${ac_cv_prog_CC+:} false
; then :
6128 $as_echo_n "(cached) " >&6
6130 if test -n "$CC"; then
6131 ac_cv_prog_CC
="$CC" # Let the user override the test.
6133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6137 test -z "$as_dir" && as_dir
=.
6138 for ac_exec_ext
in '' $ac_executable_extensions; do
6139 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6140 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
6141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6151 if test -n "$CC"; then
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6153 $as_echo "$CC" >&6; }
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6156 $as_echo "no" >&6; }
6161 if test -z "$ac_cv_prog_CC"; then
6163 # Extract the first word of "gcc", so it can be a program name with args.
6164 set dummy gcc
; ac_word
=$2
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6166 $as_echo_n "checking for $ac_word... " >&6; }
6167 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
6168 $as_echo_n "(cached) " >&6
6170 if test -n "$ac_ct_CC"; then
6171 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
6173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6177 test -z "$as_dir" && as_dir
=.
6178 for ac_exec_ext
in '' $ac_executable_extensions; do
6179 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6180 ac_cv_prog_ac_ct_CC
="gcc"
6181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6190 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
6191 if test -n "$ac_ct_CC"; then
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
6193 $as_echo "$ac_ct_CC" >&6; }
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6196 $as_echo "no" >&6; }
6199 if test "x$ac_ct_CC" = x
; then
6202 case $cross_compiling:$ac_tool_warned in
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6206 ac_tool_warned
=yes ;;
6214 if test -z "$CC"; then
6215 if test -n "$ac_tool_prefix"; then
6216 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6217 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6219 $as_echo_n "checking for $ac_word... " >&6; }
6220 if ${ac_cv_prog_CC+:} false
; then :
6221 $as_echo_n "(cached) " >&6
6223 if test -n "$CC"; then
6224 ac_cv_prog_CC
="$CC" # Let the user override the test.
6226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6230 test -z "$as_dir" && as_dir
=.
6231 for ac_exec_ext
in '' $ac_executable_extensions; do
6232 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6233 ac_cv_prog_CC
="${ac_tool_prefix}cc"
6234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6244 if test -n "$CC"; then
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6246 $as_echo "$CC" >&6; }
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6249 $as_echo "no" >&6; }
6255 if test -z "$CC"; then
6256 # Extract the first word of "cc", so it can be a program name with args.
6257 set dummy cc
; ac_word
=$2
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6259 $as_echo_n "checking for $ac_word... " >&6; }
6260 if ${ac_cv_prog_CC+:} false
; then :
6261 $as_echo_n "(cached) " >&6
6263 if test -n "$CC"; then
6264 ac_cv_prog_CC
="$CC" # Let the user override the test.
6267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6271 test -z "$as_dir" && as_dir
=.
6272 for ac_exec_ext
in '' $ac_executable_extensions; do
6273 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6274 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6275 ac_prog_rejected
=yes
6279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6286 if test $ac_prog_rejected = yes; then
6287 # We found a bogon in the path, so make sure we never use it.
6288 set dummy
$ac_cv_prog_CC
6290 if test $# != 0; then
6291 # We chose a different compiler from the bogus one.
6292 # However, it has the same basename, so the bogon will be chosen
6293 # first if we set CC to just the basename; use the full file name.
6295 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
6301 if test -n "$CC"; then
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6303 $as_echo "$CC" >&6; }
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6306 $as_echo "no" >&6; }
6311 if test -z "$CC"; then
6312 if test -n "$ac_tool_prefix"; then
6313 for ac_prog
in cl.exe
6315 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6316 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6318 $as_echo_n "checking for $ac_word... " >&6; }
6319 if ${ac_cv_prog_CC+:} false
; then :
6320 $as_echo_n "(cached) " >&6
6322 if test -n "$CC"; then
6323 ac_cv_prog_CC
="$CC" # Let the user override the test.
6325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6329 test -z "$as_dir" && as_dir
=.
6330 for ac_exec_ext
in '' $ac_executable_extensions; do
6331 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6332 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
6333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6343 if test -n "$CC"; then
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6345 $as_echo "$CC" >&6; }
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6348 $as_echo "no" >&6; }
6352 test -n "$CC" && break
6355 if test -z "$CC"; then
6357 for ac_prog
in cl.exe
6359 # Extract the first word of "$ac_prog", so it can be a program name with args.
6360 set dummy
$ac_prog; ac_word
=$2
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6362 $as_echo_n "checking for $ac_word... " >&6; }
6363 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
6364 $as_echo_n "(cached) " >&6
6366 if test -n "$ac_ct_CC"; then
6367 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
6369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6373 test -z "$as_dir" && as_dir
=.
6374 for ac_exec_ext
in '' $ac_executable_extensions; do
6375 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6376 ac_cv_prog_ac_ct_CC
="$ac_prog"
6377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6386 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
6387 if test -n "$ac_ct_CC"; then
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
6389 $as_echo "$ac_ct_CC" >&6; }
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6392 $as_echo "no" >&6; }
6396 test -n "$ac_ct_CC" && break
6399 if test "x$ac_ct_CC" = x
; then
6402 case $cross_compiling:$ac_tool_warned in
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6406 ac_tool_warned
=yes ;;
6415 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6416 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6417 as_fn_error $?
"no acceptable C compiler found in \$PATH
6418 See \`config.log' for more details" "$LINENO" 5; }
6420 # Provide some information about the compiler.
6421 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
6424 for ac_option
in --version -v -V -qversion; do
6425 { { ac_try
="$ac_compiler $ac_option >&5"
6427 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6428 *) ac_try_echo=$ac_try;;
6430 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6431 $as_echo "$ac_try_echo"; } >&5
6432 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6434 if test -s conftest.err; then
6436 ... rest of stderr output deleted ...
6437 10q' conftest.err >conftest.er1
6438 cat conftest.er1 >&5
6440 rm -f conftest.er1 conftest.err
6441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6442 test $ac_status = 0; }
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
6446 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
6447 if ${ac_cv_c_compiler_gnu+:} false; then :
6448 $as_echo_n "(cached) " >&6
6450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6451 /* end confdefs.h. */
6464 if ac_fn_c_try_compile "$LINENO"; then :
6469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6470 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6474 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
6475 if test $ac_compiler_gnu = yes; then
6480 ac_test_CFLAGS=${CFLAGS+set}
6481 ac_save_CFLAGS=$CFLAGS
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6483 $as_echo_n "checking whether $CC accepts -g... " >&6; }
6484 if ${ac_cv_prog_cc_g+:} false; then :
6485 $as_echo_n "(cached) " >&6
6487 ac_save_c_werror_flag=$ac_c_werror_flag
6488 ac_c_werror_flag=yes
6491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6492 /* end confdefs.h. */
6502 if ac_fn_c_try_compile "$LINENO"; then :
6506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6507 /* end confdefs.h. */
6517 if ac_fn_c_try_compile "$LINENO"; then :
6520 ac_c_werror_flag=$ac_save_c_werror_flag
6522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6523 /* end confdefs.h. */
6533 if ac_fn_c_try_compile "$LINENO"; then :
6536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6541 ac_c_werror_flag=$ac_save_c_werror_flag
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6544 $as_echo "$ac_cv_prog_cc_g" >&6; }
6545 if test "$ac_test_CFLAGS" = set; then
6546 CFLAGS=$ac_save_CFLAGS
6547 elif test $ac_cv_prog_cc_g = yes; then
6548 if test "$GCC" = yes; then
6554 if test "$GCC" = yes; then
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6561 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6562 if ${ac_cv_prog_cc_c89+:} false; then :
6563 $as_echo_n "(cached) " >&6
6565 ac_cv_prog_cc_c89=no
6567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6568 /* end confdefs.h. */
6572 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6573 struct buf { int x; };
6574 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6575 static char *e (p, i)
6581 static char *f (char * (*g) (char **, int), char **p, ...)
6586 s = g (p, va_arg (v,int));
6591 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6592 function prototypes and stuff, but not '\xHH' hex character constants.
6593 These don't provoke an error unfortunately, instead are silently treated
6594 as 'x'. The following induces an error, until -std is added to get
6595 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6596 array size at least. It's necessary to write '\x00'==0 to get something
6597 that's true only with -std. */
6598 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6600 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6601 inside strings and character constants. */
6603 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6605 int test (int i, double x);
6606 struct s1 {int (*f) (int a);};
6607 struct s2 {int (*f) (double a);};
6608 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6614 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6619 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6620 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6622 CC="$ac_save_CC $ac_arg"
6623 if ac_fn_c_try_compile "$LINENO"; then :
6624 ac_cv_prog_cc_c89=$ac_arg
6626 rm -f core conftest.err conftest.$ac_objext
6627 test "x$ac_cv_prog_cc_c89" != "xno" && break
6629 rm -f conftest.$ac_ext
6634 case "x$ac_cv_prog_cc_c89" in
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6637 $as_echo "none needed" >&6; } ;;
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6640 $as_echo "unsupported" >&6; } ;;
6642 CC="$CC $ac_cv_prog_cc_c89"
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6644 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6646 if test "x$ac_cv_prog_cc_c89" != xno; then :
6651 ac_cpp='$CPP $CPPFLAGS'
6652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6657 ac_cpp='$CPP $CPPFLAGS'
6658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
6662 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
6663 if ${am_cv_prog_cc_c_o+:} false; then :
6664 $as_echo_n "(cached) " >&6
6666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6667 /* end confdefs.h. */
6677 # Make sure it works both with $CC and with simple cc.
6678 # Following AC_PROG_CC_C_O, we do the test twice because some
6679 # compilers refuse to overwrite an existing .o file with -o,
6680 # though they will create one.
6681 am_cv_prog_cc_c_o=yes
6683 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
6684 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); } \
6688 && test -f conftest2.$ac_objext; then
6691 am_cv_prog_cc_c_o=no
6695 rm -f core conftest*
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
6699 $as_echo "$am_cv_prog_cc_c_o" >&6; }
6700 if test "$am_cv_prog_cc_c_o" != yes; then
6701 # Losing compiler, so override with the script.
6702 # FIXME: It is wrong to rewrite CC.
6703 # But if we don't then we get into trouble of one sort or another.
6704 # A longer-term fix would be to have automake use am__CC in this case,
6705 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6706 CC="$am_aux_dir/compile $CC"
6709 ac_cpp='$CPP $CPPFLAGS'
6710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6715 depcc="$CC" am_compiler_list=
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6718 $as_echo_n "checking dependency style of $depcc... " >&6; }
6719 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
6720 $as_echo_n "(cached) " >&6
6722 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6723 # We make a subdir and do the tests there. Otherwise we can end up
6724 # making bogus files that we don't know about and never remove. For
6725 # instance it was reported that on HP-UX the gcc test will end up
6726 # making a dummy file named 'D' -- because '-MD' means "put the output
6730 # Copy depcomp to subdir because otherwise we won't find it if we're
6731 # using a relative directory.
6732 cp "$am_depcomp" conftest.dir
6734 # We will build objects and dependencies in a subdirectory because
6735 # it helps to detect inapplicable dependency modes. For instance
6736 # both Tru64's cc and ICC support -MD to output dependencies as a
6737 # side effect of compilation, but ICC will put the dependencies in
6738 # the current directory while Tru64 will put them in the object
6742 am_cv_CC_dependencies_compiler_type=none
6743 if test "$am_compiler_list" = ""; then
6744 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
6747 case " $depcc " in #(
6748 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6751 for depmode in $am_compiler_list; do
6752 # Setup a source with many dependencies, because some compilers
6753 # like to wrap large dependency lists on column 80 (with \), and
6754 # we should not choose a depcomp mode which is confused by this.
6756 # We need to recreate these files for each test, as the compiler may
6757 # overwrite some of them when testing with obscure command lines.
6758 # This happens at least with the AIX C compiler.
6760 for i in 1 2 3 4 5 6; do
6761 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6762 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6763 # Solaris 10 /bin/sh.
6764 echo '/* dummy */' > sub/conftst$i.h
6766 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6768 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6769 # mode. It turns out that the SunPro C++ compiler does not properly
6770 # handle '-M -o', and we need to detect this. Also, some Intel
6771 # versions had trouble with output in subdirs.
6772 am__obj=sub/conftest.${OBJEXT-o}
6773 am__minus_obj="-o $am__obj"
6776 # This depmode causes a compiler race in universal mode.
6777 test "$am__universal" = false || continue
6780 # After this tag, mechanisms are not by side-effect, so they'll
6781 # only be used when explicitly requested.
6782 if test "x$enable_dependency_tracking" = xyes; then
6788 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6789 # This compiler won't grok '-c -o', but also, the minuso test has
6790 # not run yet. These depmodes are late enough in the game, and
6791 # so weak that their functioning should not be impacted.
6792 am__obj=conftest.${OBJEXT-o}
6797 if depmode=$depmode \
6798 source=sub/conftest.c object=$am__obj \
6799 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6800 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6801 >/dev/null 2>conftest.err &&
6802 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6803 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6804 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6805 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6806 # icc doesn't choke on unknown options, it will just issue warnings
6807 # or remarks (even with -Werror). So we grep stderr for any message
6808 # that says an option was ignored or not supported.
6809 # When given -MP, icc 7.0 and 7.1 complain thusly:
6810 # icc: Command line warning: ignoring option '-M'; no argument required
6811 # The diagnosis changed in icc 8.0:
6812 # icc: Command line remark: option '-MP' not supported
6813 if (grep 'ignoring option' conftest.err ||
6814 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6815 am_cv_CC_dependencies_compiler_type=$depmode
6824 am_cv_CC_dependencies_compiler_type=none
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6829 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6830 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6833 test "x$enable_dependency_tracking" != xno \
6834 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6836 am__fastdepCC_FALSE='#'
6838 am__fastdepCC_TRUE='#'
6839 am__fastdepCC_FALSE=
6843 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
6846 if test -n "$ac_tool_prefix"; then
6847 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6848 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6850 $as_echo_n "checking for $ac_word... " >&6; }
6851 if ${ac_cv_prog_RANLIB+:} false; then :
6852 $as_echo_n "(cached) " >&6
6854 if test -n "$RANLIB"; then
6855 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6861 test -z "$as_dir" && as_dir=.
6862 for ac_exec_ext in '' $ac_executable_extensions; do
6863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6864 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6874 RANLIB=$ac_cv_prog_RANLIB
6875 if test -n "$RANLIB"; then
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6877 $as_echo "$RANLIB" >&6; }
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6880 $as_echo "no" >&6; }
6885 if test -z "$ac_cv_prog_RANLIB"; then
6886 ac_ct_RANLIB=$RANLIB
6887 # Extract the first word of "ranlib", so it can be a program name with args.
6888 set dummy ranlib; ac_word=$2
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6890 $as_echo_n "checking for $ac_word... " >&6; }
6891 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6892 $as_echo_n "(cached) " >&6
6894 if test -n "$ac_ct_RANLIB"; then
6895 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6901 test -z "$as_dir" && as_dir=.
6902 for ac_exec_ext in '' $ac_executable_extensions; do
6903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6904 ac_cv_prog_ac_ct_RANLIB="ranlib"
6905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6914 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6915 if test -n "$ac_ct_RANLIB"; then
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6917 $as_echo "$ac_ct_RANLIB" >&6; }
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6920 $as_echo "no" >&6; }
6923 if test "x$ac_ct_RANLIB" = x; then
6926 case $cross_compiling:$ac_tool_warned in
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6929 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6930 ac_tool_warned=yes ;;
6932 RANLIB=$ac_ct_RANLIB
6935 RANLIB="$ac_cv_prog_RANLIB"
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6942 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6944 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6945 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6946 $as_echo_n "(cached) " >&6
6948 cat >conftest.make <<\_ACEOF
6951 @echo '@@@%%%=$(MAKE)=@@@%%%'
6953 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6954 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6956 eval ac_cv_prog_make_${ac_make}_set=yes;;
6958 eval ac_cv_prog_make_${ac_make}_set=no;;
6962 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6964 $as_echo "yes" >&6; }
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6968 $as_echo "no" >&6; }
6969 SET_MAKE="MAKE=${MAKE-make}"
6974 # Check whether --enable-largefile was given.
6975 if test "${enable_largefile+set}" = set; then :
6976 enableval=$enable_largefile;
6979 if test "$enable_largefile" != no; then
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6982 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6983 if ${ac_cv_sys_largefile_CC+:} false; then :
6984 $as_echo_n "(cached) " >&6
6986 ac_cv_sys_largefile_CC=no
6987 if test "$GCC" != yes; then
6990 # IRIX 6.2 and later do not support large files by default,
6991 # so use the C compiler's -n32 option if that helps.
6992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6993 /* end confdefs.h. */
6994 #include <sys/types.h>
6995 /* Check that off_t can represent 2**63 - 1 correctly.
6996 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6997 since some C++ compilers masquerading as C compilers
6998 incorrectly reject 9223372036854775807. */
6999 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7000 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7001 && LARGE_OFF_T % 2147483647 == 1)
7011 if ac_fn_c_try_compile "$LINENO"; then :
7014 rm -f core conftest.err conftest.$ac_objext
7016 if ac_fn_c_try_compile "$LINENO"; then :
7017 ac_cv_sys_largefile_CC=' -n32'; break
7019 rm -f core conftest.err conftest.$ac_objext
7023 rm -f conftest.$ac_ext
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7027 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7028 if test "$ac_cv_sys_largefile_CC" != no; then
7029 CC=$CC$ac_cv_sys_largefile_CC
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7033 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7034 if ${ac_cv_sys_file_offset_bits+:} false; then :
7035 $as_echo_n "(cached) " >&6
7038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7039 /* end confdefs.h. */
7040 #include <sys/types.h>
7041 /* Check that off_t can represent 2**63 - 1 correctly.
7042 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7043 since some C++ compilers masquerading as C compilers
7044 incorrectly reject 9223372036854775807. */
7045 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7046 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7047 && LARGE_OFF_T % 2147483647 == 1)
7057 if ac_fn_c_try_compile "$LINENO"; then :
7058 ac_cv_sys_file_offset_bits=no; break
7060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7062 /* end confdefs.h. */
7063 #define _FILE_OFFSET_BITS 64
7064 #include <sys/types.h>
7065 /* Check that off_t can represent 2**63 - 1 correctly.
7066 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7067 since some C++ compilers masquerading as C compilers
7068 incorrectly reject 9223372036854775807. */
7069 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7070 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7071 && LARGE_OFF_T % 2147483647 == 1)
7081 if ac_fn_c_try_compile "$LINENO"; then :
7082 ac_cv_sys_file_offset_bits=64; break
7084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7085 ac_cv_sys_file_offset_bits=unknown
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7090 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7091 case $ac_cv_sys_file_offset_bits in #(
7094 cat >>confdefs.h <<_ACEOF
7095 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7100 if test $ac_cv_sys_file_offset_bits = unknown; then
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7102 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7103 if ${ac_cv_sys_large_files+:} false; then :
7104 $as_echo_n "(cached) " >&6
7107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7108 /* end confdefs.h. */
7109 #include <sys/types.h>
7110 /* Check that off_t can represent 2**63 - 1 correctly.
7111 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7112 since some C++ compilers masquerading as C compilers
7113 incorrectly reject 9223372036854775807. */
7114 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7115 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7116 && LARGE_OFF_T % 2147483647 == 1)
7126 if ac_fn_c_try_compile "$LINENO"; then :
7127 ac_cv_sys_large_files=no; break
7129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7131 /* end confdefs.h. */
7132 #define _LARGE_FILES 1
7133 #include <sys/types.h>
7134 /* Check that off_t can represent 2**63 - 1 correctly.
7135 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7136 since some C++ compilers masquerading as C compilers
7137 incorrectly reject 9223372036854775807. */
7138 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7139 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7140 && LARGE_OFF_T % 2147483647 == 1)
7150 if ac_fn_c_try_compile "$LINENO"; then :
7151 ac_cv_sys_large_files=1; break
7153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7154 ac_cv_sys_large_files=unknown
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7159 $as_echo "$ac_cv_sys_large_files" >&6; }
7160 case $ac_cv_sys_large_files in #(
7163 cat >>confdefs.h <<_ACEOF
7164 #define _LARGE_FILES $ac_cv_sys_large_files
7174 for ac_func in ppoll
7176 ac_fn_c_check_func "$LINENO" "ppoll" "ac_cv_func_ppoll"
7177 if test "x$ac_cv_func_ppoll" = xyes; then :
7178 cat >>confdefs.h <<_ACEOF
7179 #define HAVE_PPOLL 1
7185 for ac_func in openat
7187 ac_fn_c_check_func "$LINENO" "openat" "ac_cv_func_openat"
7188 if test "x$ac_cv_func_openat" = xyes; then :
7189 cat >>confdefs.h <<_ACEOF
7190 #define HAVE_OPENAT 1
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7197 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7198 if ${ac_cv_path_SED+:} false; then :
7199 $as_echo_n "(cached) " >&6
7201 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7202 for ac_i in 1 2 3 4 5 6 7; do
7203 ac_script="$ac_script$as_nl$ac_script"
7205 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7206 { ac_script=; unset ac_script;}
7207 if test -z "$SED"; then
7208 ac_path_SED_found=false
7209 # Loop through the user's path and test for each of PROGNAME-LIST
7210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7214 test -z "$as_dir" && as_dir=.
7215 for ac_prog in sed gsed; do
7216 for ac_exec_ext in '' $ac_executable_extensions; do
7217 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7218 as_fn_executable_p "$ac_path_SED" || continue
7219 # Check for GNU ac_path_SED and select it if it is found.
7220 # Check for GNU $ac_path_SED
7221 case `"$ac_path_SED" --version 2>&1` in
7223 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7226 $as_echo_n 0123456789 >"conftest.in"
7229 cat "conftest.in" "conftest.in" >"conftest.tmp"
7230 mv "conftest.tmp" "conftest.in"
7231 cp "conftest.in" "conftest.nl"
7232 $as_echo '' >> "conftest.nl"
7233 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7234 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7235 as_fn_arith $ac_count + 1 && ac_count=$as_val
7236 if test $ac_count -gt ${ac_path_SED_max-0}; then
7237 # Best one so far, save it but keep looking for a better one
7238 ac_cv_path_SED="$ac_path_SED"
7239 ac_path_SED_max=$ac_count
7241 # 10*(2^10) chars as input seems more than enough
7242 test $ac_count -gt 10 && break
7244 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7247 $ac_path_SED_found && break 3
7252 if test -z "$ac_cv_path_SED"; then
7253 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7261 $as_echo "$ac_cv_path_SED" >&6; }
7262 SED="$ac_cv_path_SED"
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
7267 $as_echo_n "checking whether NLS is requested... " >&6; }
7268 # Check whether --enable-nls was given.
7269 if test "${enable_nls+set}" = set; then :
7270 enableval=$enable_nls; USE_NLS=$enableval
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
7276 $as_echo "$USE_NLS" >&6; }
7281 GETTEXT_MACRO_VERSION=0.19
7286 # Prepare PATH_SEPARATOR.
7287 # The user is always right.
7288 if test "${PATH_SEPARATOR+set}" != set; then
7289 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
7290 # contains only /bin. Note that ksh looks also at the FPATH variable,
7291 # so we have to set that as well for the test.
7293 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
7294 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
7295 || PATH_SEPARATOR=';'
7299 # Find out how to test for executable files. Don't use a zero-byte file,
7300 # as systems may use methods other than mode bits to determine executability.
7301 cat >conf$$.file <<_ASEOF
7305 chmod +x conf$$.file
7306 if test -x conf$$.file >/dev/null 2>&1; then
7307 ac_executable_p="test -x"
7309 ac_executable_p="test -f"
7313 # Extract the first word of "msgfmt", so it can be a program name with args.
7314 set dummy msgfmt; ac_word=$2
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7316 $as_echo_n "checking for $ac_word... " >&6; }
7317 if ${ac_cv_path_MSGFMT+:} false; then :
7318 $as_echo_n "(cached) " >&6
7322 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
7325 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
7326 for ac_dir in $PATH; do
7328 test -z "$ac_dir" && ac_dir=.
7329 for ac_exec_ext in '' $ac_executable_extensions; do
7330 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7331 echo "$as_me: trying $ac_dir/$ac_word..." >&5
7332 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
7333 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
7334 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
7341 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
7345 MSGFMT="$ac_cv_path_MSGFMT"
7346 if test "$MSGFMT" != ":"; then
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7348 $as_echo "$MSGFMT" >&6; }
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7351 $as_echo "no" >&6; }
7354 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7355 set dummy gmsgfmt; ac_word=$2
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7357 $as_echo_n "checking for $ac_word... " >&6; }
7358 if ${ac_cv_path_GMSGFMT+:} false; then :
7359 $as_echo_n "(cached) " >&6
7363 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
7366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7370 test -z "$as_dir" && as_dir=.
7371 for ac_exec_ext in '' $ac_executable_extensions; do
7372 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7373 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7381 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
7385 GMSGFMT=$ac_cv_path_GMSGFMT
7386 if test -n "$GMSGFMT"; then
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
7388 $as_echo "$GMSGFMT" >&6; }
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7391 $as_echo "no" >&6; }
7396 case `$MSGFMT --version |
sed 1q |
sed -e 's,^[^0-9]*,,'` in
7397 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
7398 *) MSGFMT_015=$MSGFMT ;;
7401 case `$GMSGFMT --version |
sed 1q |
sed -e 's,^[^0-9]*,,'` in
7402 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
7403 *) GMSGFMT_015=$GMSGFMT ;;
7408 # Prepare PATH_SEPARATOR.
7409 # The user is always right.
7410 if test "${PATH_SEPARATOR+set}" != set; then
7411 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
7412 # contains only /bin. Note that ksh looks also at the FPATH variable,
7413 # so we have to set that as well for the test.
7415 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
7416 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
7417 || PATH_SEPARATOR=';'
7421 # Find out how to test for executable files. Don't use a zero-byte file,
7422 # as systems may use methods other than mode bits to determine executability.
7423 cat >conf$$.file <<_ASEOF
7427 chmod +x conf$$.file
7428 if test -x conf$$.file >/dev/null 2>&1; then
7429 ac_executable_p="test -x"
7431 ac_executable_p="test -f"
7435 # Extract the first word of "xgettext", so it can be a program name with args.
7436 set dummy xgettext; ac_word=$2
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7438 $as_echo_n "checking for $ac_word... " >&6; }
7439 if ${ac_cv_path_XGETTEXT+:} false; then :
7440 $as_echo_n "(cached) " >&6
7444 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
7447 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
7448 for ac_dir in $PATH; do
7450 test -z "$ac_dir" && ac_dir=.
7451 for ac_exec_ext in '' $ac_executable_extensions; do
7452 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7453 echo "$as_me: trying $ac_dir/$ac_word..." >&5
7454 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
7455 (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
7456 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
7463 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
7467 XGETTEXT="$ac_cv_path_XGETTEXT"
7468 if test "$XGETTEXT" != ":"; then
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
7470 $as_echo "$XGETTEXT" >&6; }
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7473 $as_echo "no" >&6; }
7478 case `$XGETTEXT --version |
sed 1q |
sed -e 's,^[^0-9]*,,'` in
7479 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
7480 *) XGETTEXT_015=$XGETTEXT ;;
7485 # Prepare PATH_SEPARATOR.
7486 # The user is always right.
7487 if test "${PATH_SEPARATOR+set}" != set; then
7488 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
7489 # contains only /bin. Note that ksh looks also at the FPATH variable,
7490 # so we have to set that as well for the test.
7492 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
7493 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
7494 || PATH_SEPARATOR=';'
7498 # Find out how to test for executable files. Don't use a zero-byte file,
7499 # as systems may use methods other than mode bits to determine executability.
7500 cat >conf$$.file <<_ASEOF
7504 chmod +x conf$$.file
7505 if test -x conf$$.file >/dev/null 2>&1; then
7506 ac_executable_p="test -x"
7508 ac_executable_p="test -f"
7512 # Extract the first word of "msgmerge", so it can be a program name with args.
7513 set dummy msgmerge; ac_word=$2
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7515 $as_echo_n "checking for $ac_word... " >&6; }
7516 if ${ac_cv_path_MSGMERGE+:} false; then :
7517 $as_echo_n "(cached) " >&6
7521 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
7524 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
7525 for ac_dir in $PATH; do
7527 test -z "$ac_dir" && ac_dir=.
7528 for ac_exec_ext in '' $ac_executable_extensions; do
7529 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7530 echo "$as_me: trying $ac_dir/$ac_word..." >&5
7531 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
7532 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
7539 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
7543 MSGMERGE="$ac_cv_path_MSGMERGE"
7544 if test "$MSGMERGE" != ":"; then
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
7546 $as_echo "$MSGMERGE" >&6; }
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7549 $as_echo "no" >&6; }
7553 test -n "$localedir" || localedir='${datadir}/locale'
7556 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
7559 ac_config_commands="$ac_config_commands po-directories"
7563 if test "X$prefix" = "XNONE"; then
7564 acl_final_prefix="$ac_default_prefix"
7566 acl_final_prefix="$prefix"
7568 if test "X$exec_prefix" = "XNONE"; then
7569 acl_final_exec_prefix='${prefix}'
7571 acl_final_exec_prefix="$exec_prefix"
7573 acl_save_prefix="$prefix"
7574 prefix="$acl_final_prefix"
7575 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
7576 prefix="$acl_save_prefix"
7580 # Check whether --with-gnu-ld was given.
7581 if test "${with_gnu_ld+set}" = set; then :
7582 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7587 # Prepare PATH_SEPARATOR.
7588 # The user is always right.
7589 if test "${PATH_SEPARATOR+set}" != set; then
7590 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
7591 # contains only /bin. Note that ksh looks also at the FPATH variable,
7592 # so we have to set that as well for the test.
7594 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
7595 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
7596 || PATH_SEPARATOR=';'
7601 if test "$GCC" = yes; then
7602 # Check if gcc -print-prog-name=ld gives a path.
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7604 $as_echo_n "checking for ld used by $CC... " >&6; }
7607 # gcc leaves a trailing carriage return which upsets mingw
7608 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
7610 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
7613 # Accept absolute paths.
7615 re_direlt='/[^/][^/]*/\.\./'
7616 # Canonicalize the pathname of ld
7617 ac_prog=`echo "$ac_prog"|
sed 's%\\\\%/%g'`
7618 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
7619 ac_prog=`echo $ac_prog|
sed "s%$re_direlt%/%"`
7621 test -z "$LD" && LD="$ac_prog"
7624 # If it fails, then pretend we aren't using GCC.
7628 # If it is relative, then search for the first ld in PATH.
7632 elif test "$with_gnu_ld" = yes; then
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7634 $as_echo_n "checking for GNU ld... " >&6; }
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7637 $as_echo_n "checking for non-GNU ld... " >&6; }
7639 if ${acl_cv_path_LD+:} false; then :
7640 $as_echo_n "(cached) " >&6
7642 if test -z "$LD"; then
7643 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7644 for ac_dir in $PATH; do
7646 test -z "$ac_dir" && ac_dir=.
7647 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7648 acl_cv_path_LD="$ac_dir/$ac_prog"
7649 # Check to see if the program is GNU ld. I'd rather use --version,
7650 # but apparently some variants of GNU ld only accept -v.
7651 # Break only if it was the GNU/non-GNU ld that we prefer.
7652 case `"$acl_cv_path_LD" -v 2>&1 </dev
/null
` in
7653 *GNU* | *'with BFD'*)
7654 test "$with_gnu_ld" != no && break
7657 test "$with_gnu_ld" != yes && break
7664 acl_cv_path_LD="$LD" # Let the user override the test with a path.
7668 LD="$acl_cv_path_LD"
7669 if test -n "$LD"; then
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7671 $as_echo "$LD" >&6; }
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7674 $as_echo "no" >&6; }
7676 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7678 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7679 if ${acl_cv_prog_gnu_ld+:} false; then :
7680 $as_echo_n "(cached) " >&6
7682 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7683 case `$LD -v 2>&1 </dev
/null
` in
7684 *GNU* | *'with BFD'*)
7685 acl_cv_prog_gnu_ld=yes
7688 acl_cv_prog_gnu_ld=no
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
7693 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
7694 with_gnu_ld=$acl_cv_prog_gnu_ld
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
7700 $as_echo_n "checking for shared library run path origin... " >&6; }
7701 if ${acl_cv_rpath+:} false; then :
7702 $as_echo_n "(cached) " >&6
7705 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
7706 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
7713 $as_echo "$acl_cv_rpath" >&6; }
7715 acl_libext="$acl_cv_libext"
7716 acl_shlibext="$acl_cv_shlibext"
7717 acl_libname_spec="$acl_cv_libname_spec"
7718 acl_library_names_spec="$acl_cv_library_names_spec"
7719 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
7720 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
7721 acl_hardcode_direct="$acl_cv_hardcode_direct"
7722 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
7723 # Check whether --enable-rpath was given.
7724 if test "${enable_rpath+set}" = set; then :
7725 enableval=$enable_rpath; :
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
7738 $as_echo_n "checking for 64-bit host... " >&6; }
7739 if ${gl_cv_solaris_64bit+:} false; then :
7740 $as_echo_n "(cached) " >&6
7742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7743 /* end confdefs.h. */
7750 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7751 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
7752 gl_cv_solaris_64bit=yes
7754 gl_cv_solaris_64bit=no
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
7761 $as_echo "$gl_cv_solaris_64bit" >&6; }
7762 if test $gl_cv_solaris_64bit = yes; then
7763 acl_libdirstem=lib/64
7765 sparc*) acl_libdirstem2=lib/sparcv9 ;;
7766 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
7771 searchpath=`(LC_ALL
=C
$CC -print-search-dirs) 2>/dev
/null |
sed -n -e 's,^libraries: ,,p' |
sed -e 's,^=,,'`
7772 if test -n "$searchpath"; then
7773 acl_save_IFS="${IFS= }"; IFS=":"
7774 for searchdir in $searchpath; do
7775 if test -d "$searchdir"; then
7776 case "$searchdir" in
7777 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
7779 # Better ignore directories of this form. They are misleading.
7781 *) searchdir=`cd "$searchdir" && pwd`
7782 case "$searchdir" in
7783 */lib64 ) acl_libdirstem=lib64 ;;
7792 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
7807 acl_save_prefix="$prefix"
7808 prefix="$acl_final_prefix"
7809 acl_save_exec_prefix="$exec_prefix"
7810 exec_prefix="$acl_final_exec_prefix"
7812 eval additional_includedir=\"$includedir\"
7813 eval additional_libdir=\"$libdir\"
7815 exec_prefix="$acl_save_exec_prefix"
7816 prefix="$acl_save_prefix"
7819 # Check whether --with-libiconv-prefix was given.
7820 if test "${with_libiconv_prefix+set}" = set; then :
7821 withval=$with_libiconv_prefix;
7822 if test "X$withval" = "Xno"; then
7825 if test "X$withval" = "X"; then
7827 acl_save_prefix="$prefix"
7828 prefix="$acl_final_prefix"
7829 acl_save_exec_prefix="$exec_prefix"
7830 exec_prefix="$acl_final_exec_prefix"
7832 eval additional_includedir=\"$includedir\"
7833 eval additional_libdir=\"$libdir\"
7835 exec_prefix="$acl_save_exec_prefix"
7836 prefix="$acl_save_prefix"
7839 additional_includedir="$withval/include"
7840 additional_libdir="$withval/$acl_libdirstem"
7841 if test "$acl_libdirstem2" != "$acl_libdirstem" \
7842 && ! test -d "$withval/$acl_libdirstem"; then
7843 additional_libdir="$withval/$acl_libdirstem2"
7857 names_already_handled=
7858 names_next_round='iconv '
7859 while test -n "$names_next_round"; do
7860 names_this_round="$names_next_round"
7862 for name in $names_this_round; do
7864 for n in $names_already_handled; do
7865 if test "$n" = "$name"; then
7870 if test -z "$already_handled"; then
7871 names_already_handled="$names_already_handled $name"
7872 uppername=`echo "$name" |
sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
7873 eval value=\"\$HAVE_LIB$uppername\"
7874 if test -n "$value"; then
7875 if test "$value" = yes; then
7876 eval value=\"\$LIB$uppername\"
7877 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
7878 eval value=\"\$LTLIB$uppername\"
7879 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
7888 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
7889 if test -n "$acl_shlibext"; then
7890 shrext=".$acl_shlibext" # typically: shrext=.so
7894 if test $use_additional = yes; then
7895 dir="$additional_libdir"
7896 if test -n "$acl_shlibext"; then
7897 if test -f "$dir/$libname$shrext"; then
7899 found_so="$dir/$libname$shrext"
7901 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
7902 ver=`(cd "$dir" && \
7903 for f
in "$libname$shrext".
*; do echo "$f"; done \
7904 |
sed -e "s,^$libname$shrext\\\\.,," \
7905 |
sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
7906 |
sed 1q
) 2>/dev
/null
`
7907 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
7909 found_so="$dir/$libname$shrext.$ver"
7912 eval library_names=\"$acl_library_names_spec\"
7913 for f in $library_names; do
7914 if test -f "$dir/$f"; then
7923 if test "X$found_dir" = "X"; then
7924 if test -f "$dir/$libname.$acl_libext"; then
7926 found_a="$dir/$libname.$acl_libext"
7929 if test "X$found_dir" != "X"; then
7930 if test -f "$dir/$libname.la"; then
7931 found_la="$dir/$libname.la"
7935 if test "X$found_dir" = "X"; then
7936 for x in $LDFLAGS $LTLIBICONV; do
7938 acl_save_prefix="$prefix"
7939 prefix="$acl_final_prefix"
7940 acl_save_exec_prefix="$exec_prefix"
7941 exec_prefix="$acl_final_exec_prefix"
7943 exec_prefix="$acl_save_exec_prefix"
7944 prefix="$acl_save_prefix"
7948 dir=`echo "X$x" |
sed -e 's/^X-L//'`
7949 if test -n "$acl_shlibext"; then
7950 if test -f "$dir/$libname$shrext"; then
7952 found_so="$dir/$libname$shrext"
7954 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
7955 ver=`(cd "$dir" && \
7956 for f
in "$libname$shrext".
*; do echo "$f"; done \
7957 |
sed -e "s,^$libname$shrext\\\\.,," \
7958 |
sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
7959 |
sed 1q
) 2>/dev
/null
`
7960 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
7962 found_so="$dir/$libname$shrext.$ver"
7965 eval library_names=\"$acl_library_names_spec\"
7966 for f in $library_names; do
7967 if test -f "$dir/$f"; then
7976 if test "X$found_dir" = "X"; then
7977 if test -f "$dir/$libname.$acl_libext"; then
7979 found_a="$dir/$libname.$acl_libext"
7982 if test "X$found_dir" != "X"; then
7983 if test -f "$dir/$libname.la"; then
7984 found_la="$dir/$libname.la"
7989 if test "X$found_dir" != "X"; then
7994 if test "X$found_dir" != "X"; then
7995 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
7996 if test "X$found_so" != "X"; then
7997 if test "$enable_rpath" = no \
7998 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
7999 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
8000 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
8003 for x in $ltrpathdirs; do
8004 if test "X$x" = "X$found_dir"; then
8009 if test -z "$haveit"; then
8010 ltrpathdirs="$ltrpathdirs $found_dir"
8012 if test "$acl_hardcode_direct" = yes; then
8013 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
8015 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
8016 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
8018 for x in $rpathdirs; do
8019 if test "X$x" = "X$found_dir"; then
8024 if test -z "$haveit"; then
8025 rpathdirs="$rpathdirs $found_dir"
8029 for x in $LDFLAGS $LIBICONV; do
8031 acl_save_prefix="$prefix"
8032 prefix="$acl_final_prefix"
8033 acl_save_exec_prefix="$exec_prefix"
8034 exec_prefix="$acl_final_exec_prefix"
8036 exec_prefix="$acl_save_exec_prefix"
8037 prefix="$acl_save_prefix"
8039 if test "X$x" = "X-L$found_dir"; then
8044 if test -z "$haveit"; then
8045 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
8047 if test "$acl_hardcode_minus_L" != no; then
8048 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
8050 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
8056 if test "X$found_a" != "X"; then
8057 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
8059 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
8062 additional_includedir=
8063 case "$found_dir" in
8064 */$acl_libdirstem | */$acl_libdirstem/)
8065 basedir=`echo "X$found_dir" |
sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
8066 if test "$name" = 'iconv'; then
8067 LIBICONV_PREFIX="$basedir"
8069 additional_includedir="$basedir/include"
8071 */$acl_libdirstem2 | */$acl_libdirstem2/)
8072 basedir=`echo "X$found_dir" |
sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
8073 if test "$name" = 'iconv'; then
8074 LIBICONV_PREFIX="$basedir"
8076 additional_includedir="$basedir/include"
8079 if test "X$additional_includedir" != "X"; then
8080 if test "X$additional_includedir" != "X/usr/include"; then
8082 if test "X$additional_includedir" = "X/usr/local/include"; then
8083 if test -n "$GCC"; then
8085 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
8089 if test -z "$haveit"; then
8090 for x in $CPPFLAGS $INCICONV; do
8092 acl_save_prefix="$prefix"
8093 prefix="$acl_final_prefix"
8094 acl_save_exec_prefix="$exec_prefix"
8095 exec_prefix="$acl_final_exec_prefix"
8097 exec_prefix="$acl_save_exec_prefix"
8098 prefix="$acl_save_prefix"
8100 if test "X$x" = "X-I$additional_includedir"; then
8105 if test -z "$haveit"; then
8106 if test -d "$additional_includedir"; then
8107 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
8113 if test -n "$found_la"; then
8114 save_libdir="$libdir"
8116 */* | *\\*) . "$found_la" ;;
8117 *) . "./$found_la" ;;
8119 libdir="$save_libdir"
8120 for dep in $dependency_libs; do
8123 additional_libdir=`echo "X$dep" |
sed -e 's/^X-L//'`
8124 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
8125 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
8127 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
8128 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
8129 if test -n "$GCC"; then
8131 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
8135 if test -z "$haveit"; then
8137 for x in $LDFLAGS $LIBICONV; do
8139 acl_save_prefix="$prefix"
8140 prefix="$acl_final_prefix"
8141 acl_save_exec_prefix="$exec_prefix"
8142 exec_prefix="$acl_final_exec_prefix"
8144 exec_prefix="$acl_save_exec_prefix"
8145 prefix="$acl_save_prefix"
8147 if test "X$x" = "X-L$additional_libdir"; then
8152 if test -z "$haveit"; then
8153 if test -d "$additional_libdir"; then
8154 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
8158 for x in $LDFLAGS $LTLIBICONV; do
8160 acl_save_prefix="$prefix"
8161 prefix="$acl_final_prefix"
8162 acl_save_exec_prefix="$exec_prefix"
8163 exec_prefix="$acl_final_exec_prefix"
8165 exec_prefix="$acl_save_exec_prefix"
8166 prefix="$acl_save_prefix"
8168 if test "X$x" = "X-L$additional_libdir"; then
8173 if test -z "$haveit"; then
8174 if test -d "$additional_libdir"; then
8175 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
8182 dir=`echo "X$dep" |
sed -e 's/^X-R//'`
8183 if test "$enable_rpath" != no; then
8185 for x in $rpathdirs; do
8186 if test "X$x" = "X$dir"; then
8191 if test -z "$haveit"; then
8192 rpathdirs="$rpathdirs $dir"
8195 for x in $ltrpathdirs; do
8196 if test "X$x" = "X$dir"; then
8201 if test -z "$haveit"; then
8202 ltrpathdirs="$ltrpathdirs $dir"
8207 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's/^X-l//'`
8210 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8213 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
8214 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
8220 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
8221 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
8227 if test "X$rpathdirs" != "X"; then
8228 if test -n "$acl_hardcode_libdir_separator"; then
8230 for found_dir in $rpathdirs; do
8231 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
8233 acl_save_libdir="$libdir"
8235 eval flag=\"$acl_hardcode_libdir_flag_spec\"
8236 libdir="$acl_save_libdir"
8237 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
8239 for found_dir in $rpathdirs; do
8240 acl_save_libdir="$libdir"
8242 eval flag=\"$acl_hardcode_libdir_flag_spec\"
8243 libdir="$acl_save_libdir"
8244 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
8248 if test "X$ltrpathdirs" != "X"; then
8249 for found_dir in $ltrpathdirs; do
8250 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
8285 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
8286 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
8287 $as_echo_n "(cached) " >&6
8289 gt_save_LIBS="$LIBS"
8290 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
8291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8292 /* end confdefs.h. */
8293 #include <CoreFoundation/CFPreferences.h>
8297 CFPreferencesCopyAppValue(NULL, NULL)
8302 if ac_fn_c_try_link "$LINENO"; then :
8303 gt_cv_func_CFPreferencesCopyAppValue=yes
8305 gt_cv_func_CFPreferencesCopyAppValue=no
8307 rm -f core conftest.err conftest.$ac_objext \
8308 conftest$ac_exeext conftest.$ac_ext
8309 LIBS="$gt_save_LIBS"
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
8312 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
8313 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
8315 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
8319 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
8320 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
8321 $as_echo_n "(cached) " >&6
8323 gt_save_LIBS="$LIBS"
8324 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
8325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8326 /* end confdefs.h. */
8327 #include <CoreFoundation/CFLocale.h>
8331 CFLocaleCopyCurrent();
8336 if ac_fn_c_try_link "$LINENO"; then :
8337 gt_cv_func_CFLocaleCopyCurrent=yes
8339 gt_cv_func_CFLocaleCopyCurrent=no
8341 rm -f core conftest.err conftest.$ac_objext \
8342 conftest$ac_exeext conftest.$ac_ext
8343 LIBS="$gt_save_LIBS"
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
8346 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
8347 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
8349 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
8353 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
8354 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
8366 case " $gt_needs " in
8367 *" need-formatstring-macros "*) gt_api_version=3 ;;
8368 *" need-ngettext "*) gt_api_version=2 ;;
8369 *) gt_api_version=1 ;;
8371 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
8372 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
8374 if test "$USE_NLS" = "yes"; then
8375 gt_use_preinstalled_gnugettext=no
8378 if test $gt_api_version -ge 3; then
8379 gt_revision_test_code='
8380 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
8381 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
8383 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
8386 gt_revision_test_code=
8388 if test $gt_api_version -ge 2; then
8389 gt_expression_test_code=' + * ngettext ("", "", 0)'
8391 gt_expression_test_code=
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
8395 $as_echo_n "checking for GNU gettext in libc... " >&6; }
8396 if eval \${$gt_func_gnugettext_libc+:} false; then :
8397 $as_echo_n "(cached) " >&6
8399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8400 /* end confdefs.h. */
8402 #include <libintl.h>
8403 $gt_revision_test_code
8404 extern int _nl_msg_cat_cntr;
8405 extern int *_nl_domain_bindings;
8411 bindtextdomain ("", "");
8412 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
8418 if ac_fn_c_try_link "$LINENO"; then :
8419 eval "$gt_func_gnugettext_libc=yes"
8421 eval "$gt_func_gnugettext_libc=no"
8423 rm -f core conftest.err conftest.$ac_objext \
8424 conftest$ac_exeext conftest.$ac_ext
8426 eval ac_res=\$$gt_func_gnugettext_libc
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8428 $as_echo "$ac_res" >&6; }
8430 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
8436 am_save_CPPFLAGS="$CPPFLAGS"
8438 for element in $INCICONV; do
8440 for x in $CPPFLAGS; do
8442 acl_save_prefix="$prefix"
8443 prefix="$acl_final_prefix"
8444 acl_save_exec_prefix="$exec_prefix"
8445 exec_prefix="$acl_final_exec_prefix"
8447 exec_prefix="$acl_save_exec_prefix"
8448 prefix="$acl_save_prefix"
8450 if test "X$x" = "X$element"; then
8455 if test -z "$haveit"; then
8456 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
8462 $as_echo_n "checking for iconv... " >&6; }
8463 if ${am_cv_func_iconv+:} false; then :
8464 $as_echo_n "(cached) " >&6
8467 am_cv_func_iconv="no, consider installing GNU libiconv"
8469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8470 /* end confdefs.h. */
8478 iconv_t cd = iconv_open("","");
8479 iconv(cd,NULL,NULL,NULL,NULL);
8485 if ac_fn_c_try_link "$LINENO"; then :
8486 am_cv_func_iconv=yes
8488 rm -f core conftest.err conftest.$ac_objext \
8489 conftest$ac_exeext conftest.$ac_ext
8490 if test "$am_cv_func_iconv" != yes; then
8491 am_save_LIBS="$LIBS"
8492 LIBS="$LIBS $LIBICONV"
8493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8494 /* end confdefs.h. */
8502 iconv_t cd = iconv_open("","");
8503 iconv(cd,NULL,NULL,NULL,NULL);
8509 if ac_fn_c_try_link "$LINENO"; then :
8511 am_cv_func_iconv=yes
8513 rm -f core conftest.err conftest.$ac_objext \
8514 conftest$ac_exeext conftest.$ac_ext
8515 LIBS="$am_save_LIBS"
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
8520 $as_echo "$am_cv_func_iconv" >&6; }
8521 if test "$am_cv_func_iconv" = yes; then
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
8523 $as_echo_n "checking for working iconv... " >&6; }
8524 if ${am_cv_func_iconv_works+:} false; then :
8525 $as_echo_n "(cached) " >&6
8528 am_save_LIBS="$LIBS"
8529 if test $am_cv_lib_iconv = yes; then
8530 LIBS="$LIBS $LIBICONV"
8532 am_cv_func_iconv_works=no
8533 for ac_iconv_const in '' 'const'; do
8534 if test "$cross_compiling" = yes; then :
8536 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
8537 *) am_cv_func_iconv_works="guessing yes" ;;
8540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8541 /* end confdefs.h. */
8547 # define ICONV_CONST $ac_iconv_const
8554 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
8557 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
8558 if (cd_utf8_to_88591 != (iconv_t)(-1))
8560 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
8562 ICONV_CONST char *inptr = input;
8563 size_t inbytesleft = strlen (input);
8565 size_t outbytesleft = sizeof (buf);
8566 size_t res = iconv (cd_utf8_to_88591,
8567 &inptr, &inbytesleft,
8568 &outptr, &outbytesleft);
8571 iconv_close (cd_utf8_to_88591);
8574 /* Test against Solaris 10 bug: Failures are not distinguishable from
8575 successful returns. */
8577 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
8578 if (cd_ascii_to_88591 != (iconv_t)(-1))
8580 static ICONV_CONST char input[] = "\263";
8582 ICONV_CONST char *inptr = input;
8583 size_t inbytesleft = strlen (input);
8585 size_t outbytesleft = sizeof (buf);
8586 size_t res = iconv (cd_ascii_to_88591,
8587 &inptr, &inbytesleft,
8588 &outptr, &outbytesleft);
8591 iconv_close (cd_ascii_to_88591);
8594 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
8596 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
8597 if (cd_88591_to_utf8 != (iconv_t)(-1))
8599 static ICONV_CONST char input[] = "\304";
8600 static char buf[2] = { (char)0xDE, (char)0xAD };
8601 ICONV_CONST char *inptr = input;
8602 size_t inbytesleft = 1;
8604 size_t outbytesleft = 1;
8605 size_t res = iconv (cd_88591_to_utf8,
8606 &inptr, &inbytesleft,
8607 &outptr, &outbytesleft);
8608 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
8610 iconv_close (cd_88591_to_utf8);
8613 #if 0 /* This bug could be worked around by the caller. */
8614 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
8616 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
8617 if (cd_88591_to_utf8 != (iconv_t)(-1))
8619 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
8621 ICONV_CONST char *inptr = input;
8622 size_t inbytesleft = strlen (input);
8624 size_t outbytesleft = sizeof (buf);
8625 size_t res = iconv (cd_88591_to_utf8,
8626 &inptr, &inbytesleft,
8627 &outptr, &outbytesleft);
8630 iconv_close (cd_88591_to_utf8);
8634 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
8636 if (/* Try standardized names. */
8637 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
8638 /* Try IRIX, OSF/1 names. */
8639 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
8640 /* Try AIX names. */
8641 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
8642 /* Try HP-UX names. */
8643 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
8651 if ac_fn_c_try_run "$LINENO"; then :
8652 am_cv_func_iconv_works=yes
8654 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8655 conftest.$ac_objext conftest.beam conftest.$ac_ext
8658 test "$am_cv_func_iconv_works" = no || break
8660 LIBS="$am_save_LIBS"
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
8664 $as_echo "$am_cv_func_iconv_works" >&6; }
8665 case "$am_cv_func_iconv_works" in
8666 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
8667 *) am_func_iconv=yes ;;
8670 am_func_iconv=no am_cv_lib_iconv=no
8672 if test "$am_func_iconv" = yes; then
8674 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
8677 if test "$am_cv_lib_iconv" = yes; then
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
8679 $as_echo_n "checking how to link with libiconv... " >&6; }
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
8681 $as_echo "$LIBICONV" >&6; }
8683 CPPFLAGS="$am_save_CPPFLAGS"
8700 acl_save_prefix="$prefix"
8701 prefix="$acl_final_prefix"
8702 acl_save_exec_prefix="$exec_prefix"
8703 exec_prefix="$acl_final_exec_prefix"
8705 eval additional_includedir=\"$includedir\"
8706 eval additional_libdir=\"$libdir\"
8708 exec_prefix="$acl_save_exec_prefix"
8709 prefix="$acl_save_prefix"
8712 # Check whether --with-libintl-prefix was given.
8713 if test "${with_libintl_prefix+set}" = set; then :
8714 withval=$with_libintl_prefix;
8715 if test "X$withval" = "Xno"; then
8718 if test "X$withval" = "X"; then
8720 acl_save_prefix="$prefix"
8721 prefix="$acl_final_prefix"
8722 acl_save_exec_prefix="$exec_prefix"
8723 exec_prefix="$acl_final_exec_prefix"
8725 eval additional_includedir=\"$includedir\"
8726 eval additional_libdir=\"$libdir\"
8728 exec_prefix="$acl_save_exec_prefix"
8729 prefix="$acl_save_prefix"
8732 additional_includedir="$withval/include"
8733 additional_libdir="$withval/$acl_libdirstem"
8734 if test "$acl_libdirstem2" != "$acl_libdirstem" \
8735 && ! test -d "$withval/$acl_libdirstem"; then
8736 additional_libdir="$withval/$acl_libdirstem2"
8750 names_already_handled=
8751 names_next_round='intl '
8752 while test -n "$names_next_round"; do
8753 names_this_round="$names_next_round"
8755 for name in $names_this_round; do
8757 for n in $names_already_handled; do
8758 if test "$n" = "$name"; then
8763 if test -z "$already_handled"; then
8764 names_already_handled="$names_already_handled $name"
8765 uppername=`echo "$name" |
sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
8766 eval value=\"\$HAVE_LIB$uppername\"
8767 if test -n "$value"; then
8768 if test "$value" = yes; then
8769 eval value=\"\$LIB$uppername\"
8770 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
8771 eval value=\"\$LTLIB$uppername\"
8772 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
8781 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
8782 if test -n "$acl_shlibext"; then
8783 shrext=".$acl_shlibext" # typically: shrext=.so
8787 if test $use_additional = yes; then
8788 dir="$additional_libdir"
8789 if test -n "$acl_shlibext"; then
8790 if test -f "$dir/$libname$shrext"; then
8792 found_so="$dir/$libname$shrext"
8794 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8795 ver=`(cd "$dir" && \
8796 for f
in "$libname$shrext".
*; do echo "$f"; done \
8797 |
sed -e "s,^$libname$shrext\\\\.,," \
8798 |
sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8799 |
sed 1q
) 2>/dev
/null
`
8800 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8802 found_so="$dir/$libname$shrext.$ver"
8805 eval library_names=\"$acl_library_names_spec\"
8806 for f in $library_names; do
8807 if test -f "$dir/$f"; then
8816 if test "X$found_dir" = "X"; then
8817 if test -f "$dir/$libname.$acl_libext"; then
8819 found_a="$dir/$libname.$acl_libext"
8822 if test "X$found_dir" != "X"; then
8823 if test -f "$dir/$libname.la"; then
8824 found_la="$dir/$libname.la"
8828 if test "X$found_dir" = "X"; then
8829 for x in $LDFLAGS $LTLIBINTL; do
8831 acl_save_prefix="$prefix"
8832 prefix="$acl_final_prefix"
8833 acl_save_exec_prefix="$exec_prefix"
8834 exec_prefix="$acl_final_exec_prefix"
8836 exec_prefix="$acl_save_exec_prefix"
8837 prefix="$acl_save_prefix"
8841 dir=`echo "X$x" |
sed -e 's/^X-L//'`
8842 if test -n "$acl_shlibext"; then
8843 if test -f "$dir/$libname$shrext"; then
8845 found_so="$dir/$libname$shrext"
8847 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8848 ver=`(cd "$dir" && \
8849 for f
in "$libname$shrext".
*; do echo "$f"; done \
8850 |
sed -e "s,^$libname$shrext\\\\.,," \
8851 |
sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8852 |
sed 1q
) 2>/dev
/null
`
8853 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8855 found_so="$dir/$libname$shrext.$ver"
8858 eval library_names=\"$acl_library_names_spec\"
8859 for f in $library_names; do
8860 if test -f "$dir/$f"; then
8869 if test "X$found_dir" = "X"; then
8870 if test -f "$dir/$libname.$acl_libext"; then
8872 found_a="$dir/$libname.$acl_libext"
8875 if test "X$found_dir" != "X"; then
8876 if test -f "$dir/$libname.la"; then
8877 found_la="$dir/$libname.la"
8882 if test "X$found_dir" != "X"; then
8887 if test "X$found_dir" != "X"; then
8888 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
8889 if test "X$found_so" != "X"; then
8890 if test "$enable_rpath" = no \
8891 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
8892 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
8893 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8896 for x in $ltrpathdirs; do
8897 if test "X$x" = "X$found_dir"; then
8902 if test -z "$haveit"; then
8903 ltrpathdirs="$ltrpathdirs $found_dir"
8905 if test "$acl_hardcode_direct" = yes; then
8906 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8908 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
8909 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8911 for x in $rpathdirs; do
8912 if test "X$x" = "X$found_dir"; then
8917 if test -z "$haveit"; then
8918 rpathdirs="$rpathdirs $found_dir"
8922 for x in $LDFLAGS $LIBINTL; do
8924 acl_save_prefix="$prefix"
8925 prefix="$acl_final_prefix"
8926 acl_save_exec_prefix="$exec_prefix"
8927 exec_prefix="$acl_final_exec_prefix"
8929 exec_prefix="$acl_save_exec_prefix"
8930 prefix="$acl_save_prefix"
8932 if test "X$x" = "X-L$found_dir"; then
8937 if test -z "$haveit"; then
8938 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
8940 if test "$acl_hardcode_minus_L" != no; then
8941 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8943 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
8949 if test "X$found_a" != "X"; then
8950 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
8952 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
8955 additional_includedir=
8956 case "$found_dir" in
8957 */$acl_libdirstem | */$acl_libdirstem/)
8958 basedir=`echo "X$found_dir" |
sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
8959 if test "$name" = 'intl'; then
8960 LIBINTL_PREFIX="$basedir"
8962 additional_includedir="$basedir/include"
8964 */$acl_libdirstem2 | */$acl_libdirstem2/)
8965 basedir=`echo "X$found_dir" |
sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
8966 if test "$name" = 'intl'; then
8967 LIBINTL_PREFIX="$basedir"
8969 additional_includedir="$basedir/include"
8972 if test "X$additional_includedir" != "X"; then
8973 if test "X$additional_includedir" != "X/usr/include"; then
8975 if test "X$additional_includedir" = "X/usr/local/include"; then
8976 if test -n "$GCC"; then
8978 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
8982 if test -z "$haveit"; then
8983 for x in $CPPFLAGS $INCINTL; do
8985 acl_save_prefix="$prefix"
8986 prefix="$acl_final_prefix"
8987 acl_save_exec_prefix="$exec_prefix"
8988 exec_prefix="$acl_final_exec_prefix"
8990 exec_prefix="$acl_save_exec_prefix"
8991 prefix="$acl_save_prefix"
8993 if test "X$x" = "X-I$additional_includedir"; then
8998 if test -z "$haveit"; then
8999 if test -d "$additional_includedir"; then
9000 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
9006 if test -n "$found_la"; then
9007 save_libdir="$libdir"
9009 */* | *\\*) . "$found_la" ;;
9010 *) . "./$found_la" ;;
9012 libdir="$save_libdir"
9013 for dep in $dependency_libs; do
9016 additional_libdir=`echo "X$dep" |
sed -e 's/^X-L//'`
9017 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
9018 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
9020 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
9021 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
9022 if test -n "$GCC"; then
9024 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
9028 if test -z "$haveit"; then
9030 for x in $LDFLAGS $LIBINTL; do
9032 acl_save_prefix="$prefix"
9033 prefix="$acl_final_prefix"
9034 acl_save_exec_prefix="$exec_prefix"
9035 exec_prefix="$acl_final_exec_prefix"
9037 exec_prefix="$acl_save_exec_prefix"
9038 prefix="$acl_save_prefix"
9040 if test "X$x" = "X-L$additional_libdir"; then
9045 if test -z "$haveit"; then
9046 if test -d "$additional_libdir"; then
9047 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
9051 for x in $LDFLAGS $LTLIBINTL; do
9053 acl_save_prefix="$prefix"
9054 prefix="$acl_final_prefix"
9055 acl_save_exec_prefix="$exec_prefix"
9056 exec_prefix="$acl_final_exec_prefix"
9058 exec_prefix="$acl_save_exec_prefix"
9059 prefix="$acl_save_prefix"
9061 if test "X$x" = "X-L$additional_libdir"; then
9066 if test -z "$haveit"; then
9067 if test -d "$additional_libdir"; then
9068 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
9075 dir=`echo "X$dep" |
sed -e 's/^X-R//'`
9076 if test "$enable_rpath" != no; then
9078 for x in $rpathdirs; do
9079 if test "X$x" = "X$dir"; then
9084 if test -z "$haveit"; then
9085 rpathdirs="$rpathdirs $dir"
9088 for x in $ltrpathdirs; do
9089 if test "X$x" = "X$dir"; then
9094 if test -z "$haveit"; then
9095 ltrpathdirs="$ltrpathdirs $dir"
9100 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's/^X-l//'`
9103 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
9106 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
9107 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
9113 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
9114 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
9120 if test "X$rpathdirs" != "X"; then
9121 if test -n "$acl_hardcode_libdir_separator"; then
9123 for found_dir in $rpathdirs; do
9124 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
9126 acl_save_libdir="$libdir"
9128 eval flag=\"$acl_hardcode_libdir_flag_spec\"
9129 libdir="$acl_save_libdir"
9130 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
9132 for found_dir in $rpathdirs; do
9133 acl_save_libdir="$libdir"
9135 eval flag=\"$acl_hardcode_libdir_flag_spec\"
9136 libdir="$acl_save_libdir"
9137 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
9141 if test "X$ltrpathdirs" != "X"; then
9142 for found_dir in $ltrpathdirs; do
9143 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
9153 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
9154 if eval \${$gt_func_gnugettext_libintl+:} false; then :
9155 $as_echo_n "(cached) " >&6
9157 gt_save_CPPFLAGS="$CPPFLAGS"
9158 CPPFLAGS="$CPPFLAGS $INCINTL"
9159 gt_save_LIBS="$LIBS"
9160 LIBS="$LIBS $LIBINTL"
9161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9162 /* end confdefs.h. */
9164 #include <libintl.h>
9165 $gt_revision_test_code
9166 extern int _nl_msg_cat_cntr;
9171 const char *_nl_expand_alias (const char *);
9177 bindtextdomain ("", "");
9178 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
9184 if ac_fn_c_try_link "$LINENO"; then :
9185 eval "$gt_func_gnugettext_libintl=yes"
9187 eval "$gt_func_gnugettext_libintl=no"
9189 rm -f core conftest.err conftest.$ac_objext \
9190 conftest$ac_exeext conftest.$ac_ext
9191 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
9192 LIBS="$LIBS $LIBICONV"
9193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9194 /* end confdefs.h. */
9196 #include <libintl.h>
9197 $gt_revision_test_code
9198 extern int _nl_msg_cat_cntr;
9203 const char *_nl_expand_alias (const char *);
9209 bindtextdomain ("", "");
9210 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
9216 if ac_fn_c_try_link "$LINENO"; then :
9217 LIBINTL="$LIBINTL $LIBICONV"
9218 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
9219 eval "$gt_func_gnugettext_libintl=yes"
9222 rm -f core conftest.err conftest.$ac_objext \
9223 conftest$ac_exeext conftest.$ac_ext
9225 CPPFLAGS="$gt_save_CPPFLAGS"
9226 LIBS="$gt_save_LIBS"
9228 eval ac_res=\$$gt_func_gnugettext_libintl
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9230 $as_echo "$ac_res" >&6; }
9233 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
9234 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
9235 && test "$PACKAGE" != gettext-runtime \
9236 && test "$PACKAGE" != gettext-tools; }; then
9237 gt_use_preinstalled_gnugettext=yes
9246 if test -n "$INTL_MACOSX_LIBS"; then
9247 if test "$gt_use_preinstalled_gnugettext" = "yes" \
9248 || test "$nls_cv_use_gnu_gettext" = "yes"; then
9249 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
9250 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
9254 if test "$gt_use_preinstalled_gnugettext" = "yes" \
9255 || test "$nls_cv_use_gnu_gettext" = "yes"; then
9257 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
9265 $as_echo_n "checking whether to use NLS... " >&6; }
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
9267 $as_echo "$USE_NLS" >&6; }
9268 if test "$USE_NLS" = "yes"; then
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
9270 $as_echo_n "checking where the gettext function comes from... " >&6; }
9271 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
9272 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
9273 gt_source="external libintl"
9278 gt_source="included intl directory"
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
9281 $as_echo "$gt_source" >&6; }
9284 if test "$USE_NLS" = "yes"; then
9286 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
9287 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
9289 $as_echo_n "checking how to link with libintl... " >&6; }
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
9291 $as_echo "$LIBINTL" >&6; }
9293 for element in $INCINTL; do
9295 for x in $CPPFLAGS; do
9297 acl_save_prefix="$prefix"
9298 prefix="$acl_final_prefix"
9299 acl_save_exec_prefix="$exec_prefix"
9300 exec_prefix="$acl_final_exec_prefix"
9302 exec_prefix="$acl_save_exec_prefix"
9303 prefix="$acl_save_prefix"
9305 if test "X$x" = "X$element"; then
9310 if test -z "$haveit"; then
9311 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
9318 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
9321 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
9339 if test "x$GMSGFMT" = "x:"; then
9340 as_fn_error $? "missing gnu /usr/bin/msgfmt" "$LINENO" 5
9343 if test "${enable_prologues+set}" != set; then
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if prologue searching should be the default" >&5
9345 $as_echo_n "checking to see if prologue searching should be the default... " >&6; }
9346 if { echo '#if __i386__ == 1 && __GNUC__ < 4'
9348 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
9349 enable_prologues=yes
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9351 $as_echo "yes" >&6; }
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9354 $as_echo "no" >&6; }
9357 # Check whether --enable-prologues was given.
9358 if test "${enable_prologues+set}" = set; then :
9359 enableval=$enable_prologues;
9360 if test "$enable_prologues" = yes; then
9362 $as_echo "#define ENABLE_PROLOGUES /**/" >>confdefs.h
9369 if test "${enable_sdt_probes+set}" != set; then
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if sdt probes should be the default" >&5
9371 $as_echo_n "checking to see if sdt probes should be the default... " >&6; }
9372 if { echo '#if __GNUC__ < 4'
9374 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
9375 enable_sdt_probes=no
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9377 $as_echo "no" >&6; }
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9380 $as_echo "yes" >&6; }
9383 # Check whether --enable-sdt-probes was given.
9384 if test "${enable_sdt_probes+set}" = set; then :
9385 enableval=$enable_sdt_probes;
9388 if test "x$enable_sdt_probes" != xno; then :
9391 $as_echo "#define ENABLE_SDT_PROBES 1" >>confdefs.h
9396 # Check whether --enable-ssp was given.
9397 if test "${enable_ssp+set}" = set; then :
9398 enableval=$enable_ssp;
9401 if test "x$enable_ssp" != xno; then :
9403 save_CFLAGS="$CFLAGS"
9404 save_CXXFLAGS="$CXXFLAGS"
9405 CXXFLAGS="$CXXFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
9406 CFLAGS="$CFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
9407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9408 /* end confdefs.h. */
9411 if ac_fn_c_try_compile "$LINENO"; then :
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with gcc -fstack-protector-all et al." >&5
9414 $as_echo "$as_me: Compiling with gcc -fstack-protector-all et al." >&6;}
9415 CFLAGS="$save_CFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
9416 CXXFLAGS="$save_CXXFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -fstack-protector-all et al." >&5
9420 $as_echo "$as_me: Compiler does not support -fstack-protector-all et al." >&6;}
9421 CFLAGS="$save_CFLAGS"
9422 CXXFLAGS="$save_CXXFLAGS"
9424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9430 # Compiling without fPIE by default (see PR 9922)
9431 # Check whether --enable-pie was given.
9432 if test "${enable_pie+set}" = set; then :
9433 enableval=$enable_pie;
9436 if test "x$enable_pie" == xyes; then :
9440 PIELDFLAGS='-pie -Wl,-z,relro -Wl,-z,now'
9441 save_CFLAGS="$CFLAGS"
9442 save_CXXFLAGS="$CXXFLAGS"
9443 save_LDFLAGS="$LDFLAGS"
9444 CFLAGS="$CFLAGS $PIECFLAGS"
9445 CXXFLAGS="$CXXFLAGS $PIECXXFLAGS"
9446 LDFLAGS="$LDFLAGS $PIELDFLAGS"
9447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9448 /* end confdefs.h. */
9451 if ac_fn_c_try_link "$LINENO"; then :
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with gcc pie et al." >&5
9454 $as_echo "$as_me: Compiling with gcc pie et al." >&6;}
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -pie et al." >&5
9459 $as_echo "$as_me: Compiler does not support -pie et al." >&6;}
9465 rm -f core conftest.err conftest.$ac_objext \
9466 conftest$ac_exeext conftest.$ac_ext
9467 CFLAGS="$save_CFLAGS"
9468 CXXFLAGS="$save_CXXFLAGS"
9469 LDFLAGS="$save_LDFLAGS"
9476 # Check whether --enable-sqlite was given.
9477 if test "${enable_sqlite+set}" = set; then :
9478 enableval=$enable_sqlite;
9483 if test "x$enable_sqlite" != xno; then :
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_open in -lsqlite3" >&5
9485 $as_echo_n "checking for sqlite3_open in -lsqlite3... " >&6; }
9486 if ${ac_cv_lib_sqlite3_sqlite3_open+:} false; then :
9487 $as_echo_n "(cached) " >&6
9489 ac_check_lib_save_LIBS=$LIBS
9490 LIBS="-lsqlite3 $LIBS"
9491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9492 /* end confdefs.h. */
9494 /* Override any GCC internal prototype to avoid an error.
9495 Use char because int might match the return type of a GCC
9496 builtin and then its argument prototype would still apply. */
9500 char sqlite3_open ();
9504 return sqlite3_open ();
9509 if ac_fn_c_try_link "$LINENO"; then :
9510 ac_cv_lib_sqlite3_sqlite3_open=yes
9512 ac_cv_lib_sqlite3_sqlite3_open=no
9514 rm -f core conftest.err conftest.$ac_objext \
9515 conftest$ac_exeext conftest.$ac_ext
9516 LIBS=$ac_check_lib_save_LIBS
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_open" >&5
9519 $as_echo "$ac_cv_lib_sqlite3_sqlite3_open" >&6; }
9520 if test "x$ac_cv_lib_sqlite3_sqlite3_open" = xyes; then :
9521 sqlite3_LIBS=-lsqlite3
9524 $as_echo "#define HAVE_LIBSQLITE3 1" >>confdefs.h
9527 if test "x$enable_sqlite" != xcheck; then
9528 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9530 as_fn_error $? "--enable-sqlite was given
, but
test for sqlite failed
9531 See \
`config.log' for more details" "$LINENO" 5; }
9537 # Check whether --enable-translator was given.
9538 if test "${enable_translator+set}" = set; then :
9539 enableval=$enable_translator;
9541 enable_translator="yes"
9544 if test "$enable_translator" == "yes"; then
9545 BUILD_TRANSLATOR_TRUE=
9546 BUILD_TRANSLATOR_FALSE='#'
9548 BUILD_TRANSLATOR_TRUE='#'
9549 BUILD_TRANSLATOR_FALSE=
9553 # Check whether --enable-crash was given.
9554 if test "${enable_crash+set}" = set; then :
9555 enableval=$enable_crash; if test "$enable_crash" != "no"; then
9556 save_CPPFLAGS="$CPPFLAGS"
9557 if test "$enable_crash" != "yes"; then
9558 staplog_CPPFLAGS=-I$enable_crash
9559 CPPFLAGS="${staplog_CPPFLAGS} $CPPFLAGS"
9562 for ac_header in crash/defs.h
9564 ac_fn_c_check_header_compile "$LINENO" "crash/defs.h" "ac_cv_header_crash_defs_h" "
9568 if test "x$ac_cv_header_crash_defs_h" = xyes; then :
9569 cat >>confdefs.h <<_ACEOF
9570 #define HAVE_CRASH_DEFS_H 1
9574 as_fn_error $? "cannot find required crash header (crash-devel may need to be installed)" "$LINENO" 5
9579 CPPFLAGS="$save_CPPFLAGS"
9585 if test "$enable_crash" != "no"; then
9586 BUILD_CRASHMOD_TRUE=
9587 BUILD_CRASHMOD_FALSE='#'
9589 BUILD_CRASHMOD_TRUE='#'
9590 BUILD_CRASHMOD_FALSE=
9595 # Check whether --enable-docs was given.
9596 if test "${enable_docs+set}" = set; then :
9597 enableval=$enable_docs; enable_docs=$enableval
9602 # Extract the first word of "latex", so it can be a program name with args.
9603 set dummy latex; ac_word=$2
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9605 $as_echo_n "checking for $ac_word... " >&6; }
9606 if ${ac_cv_prog_have_latex+:} false; then :
9607 $as_echo_n "(cached) " >&6
9609 if test -n "$have_latex"; then
9610 ac_cv_prog_have_latex="$have_latex" # Let the user override the test.
9612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9616 test -z "$as_dir" && as_dir=.
9617 for ac_exec_ext in '' $ac_executable_extensions; do
9618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9619 ac_cv_prog_have_latex="yes"
9620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9627 test -z "$ac_cv_prog_have_latex" && ac_cv_prog_have_latex="no"
9630 have_latex=$ac_cv_prog_have_latex
9631 if test -n "$have_latex"; then
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_latex" >&5
9633 $as_echo "$have_latex" >&6; }
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9636 $as_echo "no" >&6; }
9640 # Extract the first word of "dvips", so it can be a program name with args.
9641 set dummy dvips; ac_word=$2
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9643 $as_echo_n "checking for $ac_word... " >&6; }
9644 if ${ac_cv_prog_have_dvips+:} false; then :
9645 $as_echo_n "(cached) " >&6
9647 if test -n "$have_dvips"; then
9648 ac_cv_prog_have_dvips="$have_dvips" # Let the user override the test.
9650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9654 test -z "$as_dir" && as_dir=.
9655 for ac_exec_ext in '' $ac_executable_extensions; do
9656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9657 ac_cv_prog_have_dvips="yes"
9658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9665 test -z "$ac_cv_prog_have_dvips" && ac_cv_prog_have_dvips="no"
9668 have_dvips=$ac_cv_prog_have_dvips
9669 if test -n "$have_dvips"; then
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_dvips" >&5
9671 $as_echo "$have_dvips" >&6; }
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9674 $as_echo "no" >&6; }
9678 # Extract the first word of "ps2pdf", so it can be a program name with args.
9679 set dummy ps2pdf; ac_word=$2
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9681 $as_echo_n "checking for $ac_word... " >&6; }
9682 if ${ac_cv_prog_have_ps2pdf+:} false; then :
9683 $as_echo_n "(cached) " >&6
9685 if test -n "$have_ps2pdf"; then
9686 ac_cv_prog_have_ps2pdf="$have_ps2pdf" # Let the user override the test.
9688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9692 test -z "$as_dir" && as_dir=.
9693 for ac_exec_ext in '' $ac_executable_extensions; do
9694 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9695 ac_cv_prog_have_ps2pdf="yes"
9696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9703 test -z "$ac_cv_prog_have_ps2pdf" && ac_cv_prog_have_ps2pdf="no"
9706 have_ps2pdf=$ac_cv_prog_have_ps2pdf
9707 if test -n "$have_ps2pdf"; then
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ps2pdf" >&5
9709 $as_echo "$have_ps2pdf" >&6; }
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9712 $as_echo "no" >&6; }
9716 if test "x${have_latex}${have_dvips}${have_ps2pdf}" != "xyesyesyes"; then
9717 if test "$enable_docs" == "yes"; then
9718 as_fn_error $? "cannot find all tools for building documentation" "$LINENO" 5
9720 if test "$enable_docs" == "check"; then
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build documentation, cannot find all tools" >&5
9722 $as_echo "$as_me: WARNING: will not build documentation, cannot find all tools" >&2;}
9725 if test "x${have_latex}${have_dvips}${have_ps2pdf}" == "xyesyesyes" -a "$enable_docs" != "no"; then
9728 if test "$building_docs" == "yes"; then
9730 BUILD_DOCS_FALSE='#'
9738 building_refdocs="no"
9739 # Check whether --enable-refdocs was given.
9740 if test "${enable_refdocs+set}" = set; then :
9741 enableval=$enable_refdocs; enable_refdocs=$enableval
9743 enable_refdocs="check"
9746 if test "$building_docs" == "no" -a "$enable_refdocs" == "yes" ; then
9747 as_fn_error $? "must use --enable-docs with --enable-refdocs" "$LINENO" 5
9749 # Extract the first word of "xmlto", so it can be a program name with args.
9750 set dummy xmlto; ac_word=$2
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9752 $as_echo_n "checking for $ac_word... " >&6; }
9753 if ${ac_cv_prog_have_xmlto+:} false; then :
9754 $as_echo_n "(cached) " >&6
9756 if test -n "$have_xmlto"; then
9757 ac_cv_prog_have_xmlto="$have_xmlto" # Let the user override the test.
9759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9763 test -z "$as_dir" && as_dir=.
9764 for ac_exec_ext in '' $ac_executable_extensions; do
9765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9766 ac_cv_prog_have_xmlto="yes"
9767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9774 test -z "$ac_cv_prog_have_xmlto" && ac_cv_prog_have_xmlto="no"
9777 have_xmlto=$ac_cv_prog_have_xmlto
9778 if test -n "$have_xmlto"; then
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_xmlto" >&5
9780 $as_echo "$have_xmlto" >&6; }
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9783 $as_echo "no" >&6; }
9787 if test "$enable_refdocs" == "yes"; then
9788 if test "x${have_xmlto}" != "xyes"; then
9789 as_fn_error $? "cannot find xmlto for building reference documentation" "$LINENO" 5
9792 if test "x${have_xmlto}" == "xyes" -a "$enable_refdocs" != "no" -a "${building_docs}" == "yes"; then
9793 building_refdocs="yes"
9795 if test "$building_refdocs" == "yes"; then
9797 BUILD_REFDOCS_FALSE='#'
9799 BUILD_REFDOCS_TRUE='#'
9800 BUILD_REFDOCS_FALSE=
9804 # Extract the first word of "fop", so it can be a program name with args.
9805 set dummy fop; ac_word=$2
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9807 $as_echo_n "checking for $ac_word... " >&6; }
9808 if ${ac_cv_prog_have_fop+:} false; then :
9809 $as_echo_n "(cached) " >&6
9811 if test -n "$have_fop"; then
9812 ac_cv_prog_have_fop="$have_fop" # Let the user override the test.
9814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9818 test -z "$as_dir" && as_dir=.
9819 for ac_exec_ext in '' $ac_executable_extensions; do
9820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9821 ac_cv_prog_have_fop="yes"
9822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9829 test -z "$ac_cv_prog_have_fop" && ac_cv_prog_have_fop="no"
9832 have_fop=$ac_cv_prog_have_fop
9833 if test -n "$have_fop"; then
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_fop" >&5
9835 $as_echo "$have_fop" >&6; }
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9838 $as_echo "no" >&6; }
9842 if test "x${have_fop}" == "xyes"; then
9843 # Due to rhbz505364 / 830266, we must actually test-run fop, not just
9844 # hope that it works.
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if xmlto --with-fop actually works" >&5
9846 $as_echo_n "checking to see if xmlto --with-fop actually works... " >&6; }
9847 if xmlto --with-fop pdf ${srcdir}/doc/SystemTap_Tapset_Reference/dummy-tapsets.xml >/dev/null 2>&1; then
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9849 $as_echo "yes" >&6; }
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: it's dead, Jim" >&5
9852 $as_echo "it's dead, Jim" >&6; }
9855 rm -f dummy-tapsets.pdf
9857 if test "$have_fop" == "yes"; then
9865 if test "$have_xmlto" == "yes"; then
9867 HAVE_XMLTO_FALSE='#'
9874 cat > conftest.xml << 'EOF'
9875 <?xml version="1.0" encoding="UTF-8"?>
9876 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
9877 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" >
9879 <bookinfo><title>foo</title></bookinfo>
9880 <chapter id="logging.stp"><title>Logging Tapset</title>
9881 <refentry id="API-log"><refnamediv><refname>log</refname>
9882 <refpurpose>logging</refpurpose></refnamediv>
9883 <refsect1><title>Description</title>
9884 <para>baz</para></refsect1></refentry></chapter>
9888 if test "x${have_xmlto}" == "xyes"; then
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlto --stringparam support" >&5
9890 $as_echo_n "checking for xmlto --stringparam support... " >&6; }
9891 xmlto --stringparam man.authors.section.enabled=0 html-nochunks conftest.xml >/dev/null 2>&1
9892 if test $? == 0; then
9893 have_xmlto_stringparam="yes"
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9895 $as_echo "yes" >&6; }
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9898 $as_echo "no" >&6; }
9902 if test "$have_xmlto_stringparam" == "yes"; then
9903 XMLTO_STRINGPARAM_TRUE=
9904 XMLTO_STRINGPARAM_FALSE='#'
9906 XMLTO_STRINGPARAM_TRUE='#'
9907 XMLTO_STRINGPARAM_FALSE=
9911 if test "x${building_refdocs}" == "xyes"; then
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlto pdf support" >&5
9913 $as_echo_n "checking for xmlto pdf support... " >&6; }
9914 # xmlto pdf may work *only* with --with-fop
9915 # XXX: To an extent this test is redundant in that the --with-fop test
9916 # already ran xmlto --with-fop pdf ....
9917 if test "x$have_fop" == "xyes"; then
9918 XMLTOPDF_FOP=--with-fop
9922 xmlto $XMLTOPDF_FOP pdf conftest.xml >& /dev/null
9923 if test $? == 0; then
9924 have_xmlto_pdf="yes"
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9926 $as_echo "yes" >&6; }
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9929 $as_echo "no" >&6; }
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Not building reference documentation in PDF format" >&5
9931 $as_echo "$as_me: WARNING: Not building reference documentation in PDF format" >&2;}
9935 if test "$have_xmlto_pdf" == "yes"; then
9936 BUILD_PDFREFDOCS_TRUE=
9937 BUILD_PDFREFDOCS_FALSE='#'
9939 BUILD_PDFREFDOCS_TRUE='#'
9940 BUILD_PDFREFDOCS_FALSE=
9947 # Check whether --with-nss was given.
9948 if test "${with_nss+set}" = set; then :
9960 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9961 if test -n "$ac_tool_prefix"; then
9962 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9963 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9965 $as_echo_n "checking for $ac_word... " >&6; }
9966 if ${ac_cv_path_PKG_CONFIG+:} false; then :
9967 $as_echo_n "(cached) " >&6
9971 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9978 test -z "$as_dir" && as_dir=.
9979 for ac_exec_ext in '' $ac_executable_extensions; do
9980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9981 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9992 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9993 if test -n "$PKG_CONFIG"; then
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9995 $as_echo "$PKG_CONFIG" >&6; }
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9998 $as_echo "no" >&6; }
10003 if test -z "$ac_cv_path_PKG_CONFIG"; then
10004 ac_pt_PKG_CONFIG=$PKG_CONFIG
10005 # Extract the first word of "pkg-config", so it can be a program name with args.
10006 set dummy pkg-config; ac_word=$2
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10008 $as_echo_n "checking for $ac_word... " >&6; }
10009 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
10010 $as_echo_n "(cached) " >&6
10012 case $ac_pt_PKG_CONFIG in
10014 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10018 for as_dir in $PATH
10021 test -z "$as_dir" && as_dir=.
10022 for ac_exec_ext in '' $ac_executable_extensions; do
10023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10024 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10035 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
10036 if test -n "$ac_pt_PKG_CONFIG"; then
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10038 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10041 $as_echo "no" >&6; }
10044 if test "x$ac_pt_PKG_CONFIG" = x; then
10047 case $cross_compiling:$ac_tool_warned in
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10051 ac_tool_warned=yes ;;
10053 PKG_CONFIG=$ac_pt_PKG_CONFIG
10056 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
10060 if test -n "$PKG_CONFIG"; then
10061 _pkg_min_version=0.9.0
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10063 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10064 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10066 $as_echo "yes" >&6; }
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10069 $as_echo "no" >&6; }
10073 if test "x$with_nss" != "xno"; then :
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nss" >&5
10078 $as_echo_n "checking for nss... " >&6; }
10080 if test -n "$nss_CFLAGS"; then
10081 pkg_cv_nss_CFLAGS="$nss_CFLAGS"
10082 elif test -n "$PKG_CONFIG"; then
10083 if test -n "$PKG_CONFIG" && \
10084 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss >= 3\""; } >&5
10085 ($PKG_CONFIG --exists --print-errors "nss >= 3") 2>&5
10087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10088 test $ac_status = 0; }; then
10089 pkg_cv_nss_CFLAGS=`$PKG_CONFIG --cflags "nss >= 3" 2>/dev
/null
`
10090 test "x$?" != "x0" && pkg_failed=yes
10097 if test -n "$nss_LIBS"; then
10098 pkg_cv_nss_LIBS="$nss_LIBS"
10099 elif test -n "$PKG_CONFIG"; then
10100 if test -n "$PKG_CONFIG" && \
10101 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss >= 3\""; } >&5
10102 ($PKG_CONFIG --exists --print-errors "nss >= 3") 2>&5
10104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10105 test $ac_status = 0; }; then
10106 pkg_cv_nss_LIBS=`$PKG_CONFIG --libs "nss >= 3" 2>/dev
/null
`
10107 test "x$?" != "x0" && pkg_failed=yes
10117 if test $pkg_failed = yes; then
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10119 $as_echo "no" >&6; }
10121 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10122 _pkg_short_errors_supported=yes
10124 _pkg_short_errors_supported=no
10126 if test $_pkg_short_errors_supported = yes; then
10127 nss_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "nss >= 3" 2>&1`
10129 nss_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "nss >= 3" 2>&1`
10131 # Put the nasty error message in config.log where it belongs
10132 echo "$nss_PKG_ERRORS" >&5
10135 elif test $pkg_failed = untried; then
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10137 $as_echo "no" >&6; }
10140 nss_CFLAGS=$pkg_cv_nss_CFLAGS
10141 nss_LIBS=$pkg_cv_nss_LIBS
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10143 $as_echo "yes" >&6; }
10146 $as_echo "#define HAVE_NSS 1" >>confdefs.h
10155 if test "${have_nss}" = "yes"; then
10165 # Check whether --with-dracutstap was given.
10166 if test "${with_dracutstap+set}" = set; then :
10167 withval=$with_dracutstap;
10170 if test "x$with_dracutstap" != "x"; then :
10171 dracutstap="$with_dracutstap"
10173 dracutstap=/usr/lib/dracut/modules.d/99stap
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: using dracut module directory $dracutstap" >&5
10176 $as_echo "$as_me: using dracut module directory $dracutstap" >&6;}
10179 # Check whether --enable-server was given.
10180 if test "${enable_server+set}" = set; then :
10181 enableval=$enable_server; enable_server=$enableval
10183 enable_server="check"
10187 if test "$enable_server" != "no"; then
10188 if test "x${have_nss}" != "xyes"; then
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build systemtap compile server, cannot find nss headers" >&5
10190 $as_echo "$as_me: WARNING: will not build systemtap compile server, cannot find nss headers" >&2;}
10193 if test "${have_nss}" == "yes" -a "$enable_server" != "no"; then
10195 BUILD_SERVER_FALSE='#'
10197 BUILD_SERVER_TRUE='#'
10198 BUILD_SERVER_FALSE=
10202 if test "${have_nss}" != "yes"; then
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compile-server client functionality will be disabled, cannot find nss development files" >&5
10204 $as_echo "$as_me: WARNING: compile-server client functionality will be disabled, cannot find nss development files" >&2;}
10208 # Check whether --with-avahi was given.
10209 if test "${with_avahi+set}" = set; then :
10210 withval=$with_avahi;
10214 if test "x$with_avahi" != "xno"; then :
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avahi" >&5
10219 $as_echo_n "checking for avahi... " >&6; }
10221 if test -n "$avahi_CFLAGS"; then
10222 pkg_cv_avahi_CFLAGS="$avahi_CFLAGS"
10223 elif test -n "$PKG_CONFIG"; then
10224 if test -n "$PKG_CONFIG" && \
10225 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5
10226 ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5
10228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10229 test $ac_status = 0; }; then
10230 pkg_cv_avahi_CFLAGS=`$PKG_CONFIG --cflags "avahi-client" 2>/dev
/null
`
10231 test "x$?" != "x0" && pkg_failed=yes
10238 if test -n "$avahi_LIBS"; then
10239 pkg_cv_avahi_LIBS="$avahi_LIBS"
10240 elif test -n "$PKG_CONFIG"; then
10241 if test -n "$PKG_CONFIG" && \
10242 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5
10243 ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5
10245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10246 test $ac_status = 0; }; then
10247 pkg_cv_avahi_LIBS=`$PKG_CONFIG --libs "avahi-client" 2>/dev
/null
`
10248 test "x$?" != "x0" && pkg_failed=yes
10258 if test $pkg_failed = yes; then
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10260 $as_echo "no" >&6; }
10262 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10263 _pkg_short_errors_supported=yes
10265 _pkg_short_errors_supported=no
10267 if test $_pkg_short_errors_supported = yes; then
10268 avahi_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "avahi-client" 2>&1`
10270 avahi_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "avahi-client" 2>&1`
10272 # Put the nasty error message in config.log where it belongs
10273 echo "$avahi_PKG_ERRORS" >&5
10276 elif test $pkg_failed = untried; then
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10278 $as_echo "no" >&6; }
10281 avahi_CFLAGS=$pkg_cv_avahi_CFLAGS
10282 avahi_LIBS=$pkg_cv_avahi_LIBS
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10284 $as_echo "yes" >&6; }
10287 $as_echo "#define HAVE_AVAHI 1" >>confdefs.h
10296 if test "${have_avahi}" = "yes"; then
10298 HAVE_AVAHI_FALSE='#'
10300 HAVE_AVAHI_TRUE='#'
10305 if test "${have_avahi}" != "yes"; then
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: some compile-server functionality will be restricted, cannot find avahi development files" >&5
10307 $as_echo "$as_me: WARNING: some compile-server functionality will be restricted, cannot find avahi development files" >&2;}
10312 # Check whether --with-rpm was given.
10313 if test "${with_rpm+set}" = set; then :
10319 if test "$with_rpm" != "no"; then
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rpmtsInitIterator in -lrpm" >&5
10321 $as_echo_n "checking for rpmtsInitIterator in -lrpm... " >&6; }
10322 if ${ac_cv_lib_rpm_rpmtsInitIterator+:} false; then :
10323 $as_echo_n "(cached) " >&6
10325 ac_check_lib_save_LIBS=$LIBS
10327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10328 /* end confdefs.h. */
10330 /* Override any GCC internal prototype to avoid an error.
10331 Use char because int might match the return type of a GCC
10332 builtin and then its argument prototype would still apply. */
10336 char rpmtsInitIterator ();
10340 return rpmtsInitIterator ();
10345 if ac_fn_c_try_link "$LINENO"; then :
10346 ac_cv_lib_rpm_rpmtsInitIterator=yes
10348 ac_cv_lib_rpm_rpmtsInitIterator=no
10350 rm -f core conftest.err conftest.$ac_objext \
10351 conftest$ac_exeext conftest.$ac_ext
10352 LIBS=$ac_check_lib_save_LIBS
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rpm_rpmtsInitIterator" >&5
10355 $as_echo "$ac_cv_lib_rpm_rpmtsInitIterator" >&6; }
10356 if test "x$ac_cv_lib_rpm_rpmtsInitIterator" = xyes; then :
10359 $as_echo "#define HAVE_LIBRPM 1" >>confdefs.h
10361 stap_LIBS="$stap_LIBS -lc -lrpm"
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rpmFreeCrypto in -lrpmio" >&5
10368 $as_echo_n "checking for rpmFreeCrypto in -lrpmio... " >&6; }
10369 if ${ac_cv_lib_rpmio_rpmFreeCrypto+:} false; then :
10370 $as_echo_n "(cached) " >&6
10372 ac_check_lib_save_LIBS=$LIBS
10373 LIBS="-lrpmio $LIBS"
10374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10375 /* end confdefs.h. */
10377 /* Override any GCC internal prototype to avoid an error.
10378 Use char because int might match the return type of a GCC
10379 builtin and then its argument prototype would still apply. */
10383 char rpmFreeCrypto ();
10387 return rpmFreeCrypto ();
10392 if ac_fn_c_try_link "$LINENO"; then :
10393 ac_cv_lib_rpmio_rpmFreeCrypto=yes
10395 ac_cv_lib_rpmio_rpmFreeCrypto=no
10397 rm -f core conftest.err conftest.$ac_objext \
10398 conftest$ac_exeext conftest.$ac_ext
10399 LIBS=$ac_check_lib_save_LIBS
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rpmio_rpmFreeCrypto" >&5
10402 $as_echo "$ac_cv_lib_rpmio_rpmFreeCrypto" >&6; }
10403 if test "x$ac_cv_lib_rpmio_rpmFreeCrypto" = xyes; then :
10406 $as_echo "#define HAVE_LIBRPMIO 1" >>confdefs.h
10408 stap_LIBS="$stap_LIBS -lc -lrpmio"
10409 have_librpmio="yes"
10414 if test "x$have_librpm" != "xyes" -a "$with_rpm" == "yes"; then
10415 as_fn_error $? "cannot find librpm" "$LINENO" 5
10417 if test "x$have_librpmio" != "xyes" -a "$with_rpm" == "yes"; then
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find librpmio" >&5
10419 $as_echo "$as_me: WARNING: cannot find librpmio" >&2;}
10423 LIBS_no_readline=$LIBS
10425 have_libreadline="no"
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link readline libs" >&5
10427 $as_echo_n "checking how to link readline libs... " >&6; }
10428 for libtermcap in "" tinfo ncursesw ncurses curses termcap; do
10429 if test -z "$libtermcap"; then
10430 READLINE_LIBS="-lreadline"
10432 READLINE_LIBS="-lreadline -l$libtermcap"
10434 LIBS="$READLINE_LIBS $LIBS_no_readline"
10435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10436 /* end confdefs.h. */
10438 /* Override any GCC internal prototype to avoid an error.
10439 Use char because int might match the return type of a GCC
10440 builtin and then its argument prototype would still apply. */
10448 return readline ();
10453 if ac_fn_c_try_link "$LINENO"; then :
10454 have_libreadline="yes"
10456 rm -f core conftest.err conftest.$ac_objext \
10457 conftest$ac_exeext conftest.$ac_ext
10458 if test "$have_libreadline" = "yes"; then
10462 if test "$have_libreadline" = "no"; then
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
10464 $as_echo "none" >&6; }
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READLINE_LIBS" >&5
10468 $as_echo "$READLINE_LIBS" >&6; }
10470 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
10474 if test "$have_libreadline" == "yes"; then
10475 HAVE_LIBREADLINE_TRUE=
10476 HAVE_LIBREADLINE_FALSE='#'
10478 HAVE_LIBREADLINE_TRUE='#'
10479 HAVE_LIBREADLINE_FALSE=
10483 LIBS=$LIBS_no_readline
10486 # Check whether --with-python3 was given.
10487 if test "${with_python3+set}" = set; then :
10488 withval=$with_python3;
10491 if test "x$with_python3" = "xyes"; then :
10501 # Check whether --with-elfutils was given.
10502 if test "${with_elfutils+set}" = set; then :
10503 withval=$with_elfutils;
10504 case "$with_elfutils" in
10505 yes) as_fn_error $? "--with-elfutils requires an argument" "$LINENO" 5 ;;
10507 *) build_elfutils=yes ;;
10511 if test $build_elfutils = yes; then
10512 BUILD_ELFUTILS_TRUE=
10513 BUILD_ELFUTILS_FALSE='#'
10515 BUILD_ELFUTILS_TRUE='#'
10516 BUILD_ELFUTILS_FALSE=
10519 elfutils_abs_srcdir=`if test $build_elfutils = yes; then :
10520 cd $with_elfutils && pwd
10524 if test $enable_translator = yes; then
10525 if test $build_elfutils = no; then
10526 # Need libdwfl-capable recent elfutils http://elfutils.fedorahosted.org/
10528 # On modern debian/ubuntu, libebl has been merged into libdw
10529 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457543
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ebl_get_elfmachine in -lebl" >&5
10532 $as_echo_n "checking for ebl_get_elfmachine in -lebl... " >&6; }
10533 if ${ac_cv_lib_ebl_ebl_get_elfmachine+:} false; then :
10534 $as_echo_n "(cached) " >&6
10536 ac_check_lib_save_LIBS=$LIBS
10538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10539 /* end confdefs.h. */
10541 /* Override any GCC internal prototype to avoid an error.
10542 Use char because int might match the return type of a GCC
10543 builtin and then its argument prototype would still apply. */
10547 char ebl_get_elfmachine ();
10551 return ebl_get_elfmachine ();
10556 if ac_fn_c_try_link "$LINENO"; then :
10557 ac_cv_lib_ebl_ebl_get_elfmachine=yes
10559 ac_cv_lib_ebl_ebl_get_elfmachine=no
10561 rm -f core conftest.err conftest.$ac_objext \
10562 conftest$ac_exeext conftest.$ac_ext
10563 LIBS=$ac_check_lib_save_LIBS
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ebl_ebl_get_elfmachine" >&5
10566 $as_echo "$ac_cv_lib_ebl_ebl_get_elfmachine" >&6; }
10567 if test "x$ac_cv_lib_ebl_ebl_get_elfmachine" = xyes; then :
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dwfl_module_getsym in -ldw" >&5
10577 $as_echo_n "checking for dwfl_module_getsym in -ldw... " >&6; }
10578 if ${ac_cv_lib_dw_dwfl_module_getsym+:} false; then :
10579 $as_echo_n "(cached) " >&6
10581 ac_check_lib_save_LIBS=$LIBS
10582 LIBS="-ldw -Wl,--start-group -ldw $ebl_LIBS -Wl,--end-group -lelf $LIBS"
10583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10584 /* end confdefs.h. */
10586 /* Override any GCC internal prototype to avoid an error.
10587 Use char because int might match the return type of a GCC
10588 builtin and then its argument prototype would still apply. */
10592 char dwfl_module_getsym ();
10596 return dwfl_module_getsym ();
10601 if ac_fn_c_try_link "$LINENO"; then :
10602 ac_cv_lib_dw_dwfl_module_getsym=yes
10604 ac_cv_lib_dw_dwfl_module_getsym=no
10606 rm -f core conftest.err conftest.$ac_objext \
10607 conftest$ac_exeext conftest.$ac_ext
10608 LIBS=$ac_check_lib_save_LIBS
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dw_dwfl_module_getsym" >&5
10611 $as_echo "$ac_cv_lib_dw_dwfl_module_getsym" >&6; }
10612 if test "x$ac_cv_lib_dw_dwfl_module_getsym" = xyes; then :
10613 cat >>confdefs.h <<_ACEOF
10614 #define HAVE_LIBDW 1
10621 as_fn_error $? "missing elfutils development headers/libraries (install elfutils-devel, libebl-dev, libdw-dev and/or libebl-devel)" "$LINENO" 5
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dwarf_next_unit in -ldw" >&5
10625 $as_echo_n "checking for dwarf_next_unit in -ldw... " >&6; }
10626 if ${ac_cv_lib_dw_dwarf_next_unit+:} false; then :
10627 $as_echo_n "(cached) " >&6
10629 ac_check_lib_save_LIBS=$LIBS
10630 LIBS="-ldw -Wl,--start-group -ldw $ebl_LIBS -Wl,--end-group -lelf $LIBS"
10631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10632 /* end confdefs.h. */
10634 /* Override any GCC internal prototype to avoid an error.
10635 Use char because int might match the return type of a GCC
10636 builtin and then its argument prototype would still apply. */
10640 char dwarf_next_unit ();
10644 return dwarf_next_unit ();
10649 if ac_fn_c_try_link "$LINENO"; then :
10650 ac_cv_lib_dw_dwarf_next_unit=yes
10652 ac_cv_lib_dw_dwarf_next_unit=no
10654 rm -f core conftest.err conftest.$ac_objext \
10655 conftest$ac_exeext conftest.$ac_ext
10656 LIBS=$ac_check_lib_save_LIBS
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dw_dwarf_next_unit" >&5
10659 $as_echo "$ac_cv_lib_dw_dwarf_next_unit" >&6; }
10660 if test "x$ac_cv_lib_dw_dwarf_next_unit" = xyes; then :
10661 cat >>confdefs.h <<_ACEOF
10662 #define HAVE_LIBDW 1
10669 as_fn_error $? "elfutils, libdw too old, need 0.148+" "$LINENO" 5
10672 stap_LIBS="$stap_LIBS -Wl,--start-group -ldw $ebl_LIBS -Wl,--end-group -lelf"
10675 # We built our own and stap_LDFLAGS points at the install.
10676 stap_LIBS="$stap_LIBS -Wl,--start-group -ldw -lebl -Wl,--end-group -lelf"
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: stap will link $stap_LIBS" >&5
10682 $as_echo "$as_me: stap will link $stap_LIBS" >&6;}
10684 # staprun has more modest libelf needs
10685 if test $build_elfutils = no; then
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_getshdrstrndx in -lelf" >&5
10688 $as_echo_n "checking for elf_getshdrstrndx in -lelf... " >&6; }
10689 if ${ac_cv_lib_elf_elf_getshdrstrndx+:} false; then :
10690 $as_echo_n "(cached) " >&6
10692 ac_check_lib_save_LIBS=$LIBS
10694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10695 /* end confdefs.h. */
10697 /* Override any GCC internal prototype to avoid an error.
10698 Use char because int might match the return type of a GCC
10699 builtin and then its argument prototype would still apply. */
10703 char elf_getshdrstrndx ();
10707 return elf_getshdrstrndx ();
10712 if ac_fn_c_try_link "$LINENO"; then :
10713 ac_cv_lib_elf_elf_getshdrstrndx=yes
10715 ac_cv_lib_elf_elf_getshdrstrndx=no
10717 rm -f core conftest.err conftest.$ac_objext \
10718 conftest$ac_exeext conftest.$ac_ext
10719 LIBS=$ac_check_lib_save_LIBS
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_getshdrstrndx" >&5
10722 $as_echo "$ac_cv_lib_elf_elf_getshdrstrndx" >&6; }
10723 if test "x$ac_cv_lib_elf_elf_getshdrstrndx" = xyes; then :
10724 cat >>confdefs.h <<_ACEOF
10725 #define HAVE_LIBELF 1
10732 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10734 as_fn_error $? "libelf too old
, need
0.142+
10735 See \
`config.log' for more details" "$LINENO" 5; }
10738 staprun_LIBS="$staprun_LIBS -lelf"
10741 # We built our own and staprun_LDFLAGS points at the install.
10742 staprun_LIBS="$staprun_LIBS -lelf"
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: staprun will link $staprun_LIBS" >&5
10747 $as_echo "$as_me: staprun will link $staprun_LIBS" >&6;}
10750 date=`date +%Y-
%m-
%d
`
10752 cat >>confdefs.h <<_ACEOF
10753 #define DATE "$date"
10759 # Before PR4037, we used to arrange to pass CFLAGS+=-m64 for a staprun
10760 # being compiled on 32-bit userspace but running against 64-bit kernels.
10761 # This is no longer necessary.
10763 # Use tr1/unordered_map if available
10765 ac_cpp='$CXXCPP $CPPFLAGS'
10766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10772 ac_cpp='$CXXCPP $CPPFLAGS'
10773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
10777 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
10778 if test -z "$CXXCPP"; then
10779 if ${ac_cv_prog_CXXCPP+:} false; then :
10780 $as_echo_n "(cached) " >&6
10782 # Double quotes because CXXCPP needs to be expanded
10783 for CXXCPP in "$CXX -E" "/lib/cpp"
10785 ac_preproc_ok=false
10786 for ac_cxx_preproc_warn_flag in '' yes
10788 # Use a header file that comes with gcc, so configuring glibc
10789 # with a fresh cross-compiler works.
10790 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10791 # <limits.h> exists even on freestanding compilers.
10792 # On the NeXT, cc -E runs the code through the compiler's parser,
10793 # not just through cpp. "Syntax error" is here to catch this case.
10794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10795 /* end confdefs.h. */
10797 # include <limits.h>
10799 # include <assert.h>
10803 if ac_fn_cxx_try_cpp "$LINENO"; then :
10806 # Broken: fails on valid input.
10809 rm -f conftest.err conftest.i conftest.$ac_ext
10811 # OK, works on sane cases. Now check whether nonexistent headers
10812 # can be detected and how.
10813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10814 /* end confdefs.h. */
10815 #include <ac_nonexistent.h>
10817 if ac_fn_cxx_try_cpp "$LINENO"; then :
10818 # Broken: success on invalid input.
10821 # Passes both tests.
10825 rm -f conftest.err conftest.i conftest.$ac_ext
10828 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10829 rm -f conftest.i conftest.err conftest.
$ac_ext
10830 if $ac_preproc_ok; then :
10835 ac_cv_prog_CXXCPP
=$CXXCPP
10838 CXXCPP
=$ac_cv_prog_CXXCPP
10840 ac_cv_prog_CXXCPP
=$CXXCPP
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
10843 $as_echo "$CXXCPP" >&6; }
10844 ac_preproc_ok
=false
10845 for ac_cxx_preproc_warn_flag
in '' yes
10847 # Use a header file that comes with gcc, so configuring glibc
10848 # with a fresh cross-compiler works.
10849 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10850 # <limits.h> exists even on freestanding compilers.
10851 # On the NeXT, cc -E runs the code through the compiler's parser,
10852 # not just through cpp. "Syntax error" is here to catch this case.
10853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10854 /* end confdefs.h. */
10856 # include <limits.h>
10858 # include <assert.h>
10862 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10865 # Broken: fails on valid input.
10868 rm -f conftest.err conftest.i conftest.
$ac_ext
10870 # OK, works on sane cases. Now check whether nonexistent headers
10871 # can be detected and how.
10872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10873 /* end confdefs.h. */
10874 #include <ac_nonexistent.h>
10876 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10877 # Broken: success on invalid input.
10880 # Passes both tests.
10884 rm -f conftest.err conftest.i conftest.
$ac_ext
10887 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10888 rm -f conftest.i conftest.err conftest.
$ac_ext
10889 if $ac_preproc_ok; then :
10892 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10894 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
10895 See \`config.log' for more details" "$LINENO" 5; }
10899 ac_cpp
='$CXXCPP $CPPFLAGS'
10900 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10901 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10902 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10905 for ac_header
in tr1/unordered_map
10907 ac_fn_cxx_check_header_mongrel
"$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "$ac_includes_default"
10908 if test "x$ac_cv_header_tr1_unordered_map" = xyes
; then :
10909 cat >>confdefs.h
<<_ACEOF
10910 #define HAVE_TR1_UNORDERED_MAP 1
10917 for ac_header
in tr1/memory
10919 ac_fn_cxx_check_header_mongrel
"$LINENO" "tr1/memory" "ac_cv_header_tr1_memory" "$ac_includes_default"
10920 if test "x$ac_cv_header_tr1_memory" = xyes
; then :
10921 cat >>confdefs.h
<<_ACEOF
10922 #define HAVE_TR1_MEMORY 1
10929 for ac_header
in boost
/shared_ptr.hpp
10931 ac_fn_cxx_check_header_mongrel
"$LINENO" "boost/shared_ptr.hpp" "ac_cv_header_boost_shared_ptr_hpp" "$ac_includes_default"
10932 if test "x$ac_cv_header_boost_shared_ptr_hpp" = xyes
; then :
10933 cat >>confdefs.h
<<_ACEOF
10934 #define HAVE_BOOST_SHARED_PTR_HPP 1
10941 for ac_header
in boost
/utility
/string_ref.hpp
10943 ac_fn_cxx_check_header_mongrel
"$LINENO" "boost/utility/string_ref.hpp" "ac_cv_header_boost_utility_string_ref_hpp" "$ac_includes_default"
10944 if test "x$ac_cv_header_boost_utility_string_ref_hpp" = xyes
; then :
10945 cat >>confdefs.h
<<_ACEOF
10946 #define HAVE_BOOST_UTILITY_STRING_REF_HPP 1
10954 ac_cpp
='$CPP $CPPFLAGS'
10955 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10956 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10957 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10961 # Check for Dyninst headers and libraries
10963 # Check whether --with-dyninst was given.
10964 if test "${with_dyninst+set}" = set; then :
10965 withval
=$with_dyninst;
10969 case "$with_dyninst" in
10971 ''|
yes) # Try a simple-minded distro search
10972 DYNINST_CXXFLAGS
="-I/usr/include/dyninst"
10973 DYNINST_LDFLAGS
="-L/usr/lib64/dyninst -L/usr/lib/dyninst" # XXX both lib paths!?!
10975 *) # Use paths in the user-specified prefix
10976 DYNINST_CXXFLAGS
="-I$with_dyninst/include"
10977 DYNINST_LDFLAGS
="-L$with_dyninst/lib/" # XXX need lib64 too?
10980 if test "$with_dyninst" != "no"; then
10982 ac_cpp
='$CXXCPP $CPPFLAGS'
10983 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10984 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10985 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10987 old_CPPFLAGS
="$CPPFLAGS"
10988 CPPFLAGS
="$CPPFLAGS $DYNINST_CXXFLAGS"
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dyninst support" >&5
10990 $as_echo "$as_me: checking dyninst support" >&6;}
10991 for ac_header
in BPatch_object.h
10993 ac_fn_cxx_check_header_mongrel
"$LINENO" "BPatch_object.h" "ac_cv_header_BPatch_object_h" "$ac_includes_default"
10994 if test "x$ac_cv_header_BPatch_object_h" = xyes
; then :
10995 cat >>confdefs.h
<<_ACEOF
10996 #define HAVE_BPATCH_OBJECT_H 1
11002 $as_echo "#define HAVE_DYNINST 1" >>confdefs.h
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: dyninst support available" >&5
11006 $as_echo "$as_me: dyninst support available" >&6;}
11011 if test -n "$with_dyninst" -a "$have_dyninst" != "yes"; then
11012 as_fn_error $?
"Dyninst does not appear to be usable" "$LINENO" 5
11014 CPPFLAGS
="$old_CPPFLAGS"
11016 ac_cpp
='$CPP $CPPFLAGS'
11017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11022 if test "${have_dyninst}" = "yes"; then
11024 HAVE_DYNINST_FALSE
='#'
11026 HAVE_DYNINST_TRUE
='#'
11027 HAVE_DYNINST_FALSE
=
11033 # Check whether --enable-virt was given.
11034 if test "${enable_virt+set}" = set; then :
11035 enableval
=$enable_virt; enable_virt
=$enableval
11037 enable_virt
="check"
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvirt" >&5
11044 $as_echo_n "checking for libvirt... " >&6; }
11046 if test -n "$libvirt_CFLAGS"; then
11047 pkg_cv_libvirt_CFLAGS
="$libvirt_CFLAGS"
11048 elif test -n "$PKG_CONFIG"; then
11049 if test -n "$PKG_CONFIG" && \
11050 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvirt >= 1.0.2\""; } >&5
11051 ($PKG_CONFIG --exists --print-errors "libvirt >= 1.0.2") 2>&5
11053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11054 test $ac_status = 0; }; then
11055 pkg_cv_libvirt_CFLAGS
=`$PKG_CONFIG --cflags "libvirt >= 1.0.2" 2>/dev/null`
11056 test "x$?" != "x0" && pkg_failed
=yes
11063 if test -n "$libvirt_LIBS"; then
11064 pkg_cv_libvirt_LIBS
="$libvirt_LIBS"
11065 elif test -n "$PKG_CONFIG"; then
11066 if test -n "$PKG_CONFIG" && \
11067 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvirt >= 1.0.2\""; } >&5
11068 ($PKG_CONFIG --exists --print-errors "libvirt >= 1.0.2") 2>&5
11070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11071 test $ac_status = 0; }; then
11072 pkg_cv_libvirt_LIBS
=`$PKG_CONFIG --libs "libvirt >= 1.0.2" 2>/dev/null`
11073 test "x$?" != "x0" && pkg_failed
=yes
11083 if test $pkg_failed = yes; then
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11085 $as_echo "no" >&6; }
11087 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11088 _pkg_short_errors_supported
=yes
11090 _pkg_short_errors_supported
=no
11092 if test $_pkg_short_errors_supported = yes; then
11093 libvirt_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libvirt >= 1.0.2" 2>&1`
11095 libvirt_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libvirt >= 1.0.2" 2>&1`
11097 # Put the nasty error message in config.log where it belongs
11098 echo "$libvirt_PKG_ERRORS" >&5
11101 elif test $pkg_failed = untried
; then
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11103 $as_echo "no" >&6; }
11106 libvirt_CFLAGS
=$pkg_cv_libvirt_CFLAGS
11107 libvirt_LIBS
=$pkg_cv_libvirt_LIBS
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11109 $as_echo "yes" >&6; }
11113 $as_echo "#define HAVE_LIBVIRT 1" >>confdefs.h
11117 if test "${have_libvirt}" = "yes"; then
11119 HAVE_LIBVIRT_FALSE
='#'
11121 HAVE_LIBVIRT_TRUE
='#'
11122 HAVE_LIBVIRT_FALSE
=
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml2" >&5
11128 $as_echo_n "checking for libxml2... " >&6; }
11130 if test -n "$libxml2_CFLAGS"; then
11131 pkg_cv_libxml2_CFLAGS
="$libxml2_CFLAGS"
11132 elif test -n "$PKG_CONFIG"; then
11133 if test -n "$PKG_CONFIG" && \
11134 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
11135 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
11137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11138 test $ac_status = 0; }; then
11139 pkg_cv_libxml2_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`
11140 test "x$?" != "x0" && pkg_failed
=yes
11147 if test -n "$libxml2_LIBS"; then
11148 pkg_cv_libxml2_LIBS
="$libxml2_LIBS"
11149 elif test -n "$PKG_CONFIG"; then
11150 if test -n "$PKG_CONFIG" && \
11151 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
11152 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
11154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11155 test $ac_status = 0; }; then
11156 pkg_cv_libxml2_LIBS
=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`
11157 test "x$?" != "x0" && pkg_failed
=yes
11167 if test $pkg_failed = yes; then
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11169 $as_echo "no" >&6; }
11171 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11172 _pkg_short_errors_supported
=yes
11174 _pkg_short_errors_supported
=no
11176 if test $_pkg_short_errors_supported = yes; then
11177 libxml2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0" 2>&1`
11179 libxml2_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0" 2>&1`
11181 # Put the nasty error message in config.log where it belongs
11182 echo "$libxml2_PKG_ERRORS" >&5
11185 elif test $pkg_failed = untried
; then
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11187 $as_echo "no" >&6; }
11190 libxml2_CFLAGS
=$pkg_cv_libxml2_CFLAGS
11191 libxml2_LIBS
=$pkg_cv_libxml2_LIBS
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11193 $as_echo "yes" >&6; }
11197 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11201 if test "${have_libxml2}" = "yes"; then
11203 HAVE_LIBXML2_FALSE
='#'
11205 HAVE_LIBXML2_TRUE
='#'
11206 HAVE_LIBXML2_FALSE
=
11210 if test "$enable_virt" != "no"; then
11211 if test "x${have_libvirt}" != "xyes"; then
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build systemtap virt support, cannot find libvirt headers" >&5
11213 $as_echo "$as_me: WARNING: will not build systemtap virt support, cannot find libvirt headers" >&2;}
11215 if test "x${have_libxml2}" != "xyes"; then
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build systemtap virt support, cannot find xml2 headers" >&5
11217 $as_echo "$as_me: WARNING: will not build systemtap virt support, cannot find xml2 headers" >&2;}
11220 if test "${have_libvirt}" == "yes" -a "${have_libxml2}" == "yes" -a "$enable_virt" != "no"; then
11222 BUILD_VIRT_FALSE
='#'
11224 BUILD_VIRT_TRUE
='#'
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jsonc" >&5
11232 $as_echo_n "checking for jsonc... " >&6; }
11234 if test -n "$jsonc_CFLAGS"; then
11235 pkg_cv_jsonc_CFLAGS
="$jsonc_CFLAGS"
11236 elif test -n "$PKG_CONFIG"; then
11237 if test -n "$PKG_CONFIG" && \
11238 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
11239 ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
11241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11242 test $ac_status = 0; }; then
11243 pkg_cv_jsonc_CFLAGS
=`$PKG_CONFIG --cflags "json-c" 2>/dev/null`
11244 test "x$?" != "x0" && pkg_failed
=yes
11251 if test -n "$jsonc_LIBS"; then
11252 pkg_cv_jsonc_LIBS
="$jsonc_LIBS"
11253 elif test -n "$PKG_CONFIG"; then
11254 if test -n "$PKG_CONFIG" && \
11255 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
11256 ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
11258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11259 test $ac_status = 0; }; then
11260 pkg_cv_jsonc_LIBS
=`$PKG_CONFIG --libs "json-c" 2>/dev/null`
11261 test "x$?" != "x0" && pkg_failed
=yes
11271 if test $pkg_failed = yes; then
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11273 $as_echo "no" >&6; }
11275 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11276 _pkg_short_errors_supported
=yes
11278 _pkg_short_errors_supported
=no
11280 if test $_pkg_short_errors_supported = yes; then
11281 jsonc_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c" 2>&1`
11283 jsonc_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "json-c" 2>&1`
11285 # Put the nasty error message in config.log where it belongs
11286 echo "$jsonc_PKG_ERRORS" >&5
11289 elif test $pkg_failed = untried
; then
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11291 $as_echo "no" >&6; }
11294 jsonc_CFLAGS
=$pkg_cv_jsonc_CFLAGS
11295 jsonc_LIBS
=$pkg_cv_jsonc_LIBS
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11297 $as_echo "yes" >&6; }
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ncurses" >&5
11303 $as_echo_n "checking for ncurses... " >&6; }
11305 if test -n "$ncurses_CFLAGS"; then
11306 pkg_cv_ncurses_CFLAGS
="$ncurses_CFLAGS"
11307 elif test -n "$PKG_CONFIG"; then
11308 if test -n "$PKG_CONFIG" && \
11309 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
11310 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
11312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11313 test $ac_status = 0; }; then
11314 pkg_cv_ncurses_CFLAGS
=`$PKG_CONFIG --cflags "ncurses" 2>/dev/null`
11315 test "x$?" != "x0" && pkg_failed
=yes
11322 if test -n "$ncurses_LIBS"; then
11323 pkg_cv_ncurses_LIBS
="$ncurses_LIBS"
11324 elif test -n "$PKG_CONFIG"; then
11325 if test -n "$PKG_CONFIG" && \
11326 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
11327 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
11329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11330 test $ac_status = 0; }; then
11331 pkg_cv_ncurses_LIBS
=`$PKG_CONFIG --libs "ncurses" 2>/dev/null`
11332 test "x$?" != "x0" && pkg_failed
=yes
11342 if test $pkg_failed = yes; then
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11344 $as_echo "no" >&6; }
11346 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11347 _pkg_short_errors_supported
=yes
11349 _pkg_short_errors_supported
=no
11351 if test $_pkg_short_errors_supported = yes; then
11352 ncurses_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ncurses" 2>&1`
11354 ncurses_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "ncurses" 2>&1`
11356 # Put the nasty error message in config.log where it belongs
11357 echo "$ncurses_PKG_ERRORS" >&5
11360 elif test $pkg_failed = untried
; then
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11362 $as_echo "no" >&6; }
11365 ncurses_CFLAGS
=$pkg_cv_ncurses_CFLAGS
11366 ncurses_LIBS
=$pkg_cv_ncurses_LIBS
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11368 $as_echo "yes" >&6; }
11371 if test "${have_jsonc}" == "yes" -a "${have_ncurses}" == "yes"; then
11372 HAVE_MONITOR_LIBS_TRUE
=
11373 HAVE_MONITOR_LIBS_FALSE
='#'
11375 HAVE_MONITOR_LIBS_TRUE
='#'
11376 HAVE_MONITOR_LIBS_FALSE
=
11379 if test "${have_jsonc}" == "yes" -a "${have_ncurses}" == yes; then
11381 $as_echo "#define HAVE_MONITOR_LIBS 1" >>confdefs.h
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler .section \"?\" flags support" >&5
11386 $as_echo_n "checking for assembler .section \"?\" flags support... " >&6; }
11387 if ${stap_cv_sectionq+:} false
; then :
11388 $as_echo_n "(cached) " >&6
11391 old_CFLAGS
="$CFLAGS"
11392 CFLAGS
="$CFLAGS -Wa,--fatal-warnings"
11393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11394 /* end confdefs.h. */
11395 asm(".section .note.foo,\"?\",\"note\"\n"
11398 ".section .text,\"axG\",\"progbits\",foogroup,comdat\n"
11400 ".pushsection .note.foo,\"?\",\"note\"\n"
11405 if ac_fn_c_try_compile
"$LINENO"; then :
11406 stap_cv_sectionq
=yes
11408 stap_cv_sectionq
=no
11410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11411 CFLAGS
="$old_CFLAGS"
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $stap_cv_sectionq" >&5
11414 $as_echo "$stap_cv_sectionq" >&6; }
11416 support_section_question
=0
11417 if test $stap_cv_sectionq = yes; then
11418 support_section_question
=1
11420 ac_config_files
="$ac_config_files includes/sys/sdt-config.h po/Makefile.in"
11423 if test $build_elfutils = yes -a $enable_translator = yes; then
11425 case "$with_elfutils" in
11426 /*) elfutils_srcdir
="$with_elfutils" ;;
11427 *) elfutils_srcdir
="${here}/$with_elfutils" ;;
11430 if ! test -f ${elfutils_srcdir}/configure
; then
11431 as_fn_error $?
"No ${elfutils_srcdir}/configure, forgot to run autoreconf -i?" "$LINENO" 5
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: running ${elfutils_srcdir}/configure" >&5
11434 $as_echo "$as_me: running ${elfutils_srcdir}/configure" >&6;}
11436 save_CFLAGS
="$CFLAGS"
11437 save_CXXFLAGS
="$CXXFLAGS"
11438 CXXFLAGS
="$CXXFLAGS -fgnu89-inline"
11439 CFLAGS
="$CFLAGS -fgnu89-inline"
11440 gnu89_inline_flag
=""
11441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11442 /* end confdefs.h. */
11445 if ac_fn_c_try_compile
"$LINENO"; then :
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling elfutils with gcc -fgnu89-inline" >&5
11448 $as_echo "$as_me: Compiling elfutils with gcc -fgnu89-inline" >&6;}
11449 gnu89_inline_flag
="-fgnu89-inline"
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -fgnu89-inline" >&5
11453 $as_echo "$as_me: Compiler does not support -fgnu89-inline" >&6;}
11455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11456 CFLAGS
="$save_CFLAGS"
11457 CXXFLAGS
="$save_CXXFLAGS"
11459 # Our libdw.so's libebl will look in $ORIGIN/../lib/... but that
11460 # $ORIGIN is where libdw.so resides, which is not where there is a ../lib.
11461 # Note that $libdir might be using a quoted use of $exec_prefix or $prefix.
11462 # So we must make sure to pass those settings to elfutils configure.
11463 elfutils_rpath
="-Wl,--enable-new-dtags,-rpath,${libdir}/${PACKAGE_NAME}"
11464 # Check whether this is a source release, or a source checkout.
11465 # We need --enable-maintainer-mode if it isn't a source release.
11466 # elfutils.spec is only distributed in source releases.
11467 if test -f ${elfutils_srcdir}/elfutils.spec
; then
11468 need_maintainer_option
=""
11470 need_maintainer_option
="--enable-maintainer-mode"
11472 (mkdir
-p build-elfutils
&& cd build-elfutils
&&
11473 bash
${elfutils_srcdir}/configure
--enable-libebl-subdir=${PACKAGE_NAME} \
11474 --includedir="${here}/include-elfutils" \
11475 --libdir="${here}/lib-elfutils" \
11476 --exec-prefix="$exec_prefix" \
11477 --prefix="$prefix" \
11479 ${need_maintainer_option} \
11480 CFLAGS
="${CFLAGS/-Wall/} $gnu89_inline_flag -fexceptions" \
11481 LDFLAGS
="$LDFLAGS $elfutils_rpath" &&
11482 if test -f ${elfutils_srcdir}/config
/version.h.
in; then
11483 echo Found elfutils
/version.h header...
11485 echo elfutils
/version.h header not found
, need elfutils
0.142+...
11489 if test $?
!= 0; then exit -1; fi
11493 # Check whether --with-selinux was given.
11494 if test "${with_selinux+set}" = set; then :
11495 withval
=$with_selinux;
11499 if test "x$with_selinux" != "xno"; then :
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for selinux" >&5
11504 $as_echo_n "checking for selinux... " >&6; }
11506 if test -n "$selinux_CFLAGS"; then
11507 pkg_cv_selinux_CFLAGS
="$selinux_CFLAGS"
11508 elif test -n "$PKG_CONFIG"; then
11509 if test -n "$PKG_CONFIG" && \
11510 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux\""; } >&5
11511 ($PKG_CONFIG --exists --print-errors "libselinux") 2>&5
11513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11514 test $ac_status = 0; }; then
11515 pkg_cv_selinux_CFLAGS
=`$PKG_CONFIG --cflags "libselinux" 2>/dev/null`
11516 test "x$?" != "x0" && pkg_failed
=yes
11523 if test -n "$selinux_LIBS"; then
11524 pkg_cv_selinux_LIBS
="$selinux_LIBS"
11525 elif test -n "$PKG_CONFIG"; then
11526 if test -n "$PKG_CONFIG" && \
11527 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux\""; } >&5
11528 ($PKG_CONFIG --exists --print-errors "libselinux") 2>&5
11530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11531 test $ac_status = 0; }; then
11532 pkg_cv_selinux_LIBS
=`$PKG_CONFIG --libs "libselinux" 2>/dev/null`
11533 test "x$?" != "x0" && pkg_failed
=yes
11543 if test $pkg_failed = yes; then
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11545 $as_echo "no" >&6; }
11547 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11548 _pkg_short_errors_supported
=yes
11550 _pkg_short_errors_supported
=no
11552 if test $_pkg_short_errors_supported = yes; then
11553 selinux_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libselinux" 2>&1`
11555 selinux_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libselinux" 2>&1`
11557 # Put the nasty error message in config.log where it belongs
11558 echo "$selinux_PKG_ERRORS" >&5
11561 elif test $pkg_failed = untried
; then
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11563 $as_echo "no" >&6; }
11566 selinux_CFLAGS
=$pkg_cv_selinux_CFLAGS
11567 selinux_LIBS
=$pkg_cv_selinux_LIBS
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11569 $as_echo "yes" >&6; }
11572 $as_echo "#define HAVE_SELINUX 1" >>confdefs.h
11581 if test "${have_selinux}" = "yes"; then
11583 HAVE_SELINUX_FALSE
='#'
11585 HAVE_SELINUX_TRUE
='#'
11586 HAVE_SELINUX_FALSE
=
11590 # Extract the first word of "javac", so it can be a program name with args.
11591 set dummy javac
; ac_word
=$2
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11593 $as_echo_n "checking for $ac_word... " >&6; }
11594 if ${ac_cv_prog_have_javac+:} false
; then :
11595 $as_echo_n "(cached) " >&6
11597 if test -n "$have_javac"; then
11598 ac_cv_prog_have_javac
="$have_javac" # Let the user override the test.
11600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11601 for as_dir
in $PATH
11604 test -z "$as_dir" && as_dir
=.
11605 for ac_exec_ext
in '' $ac_executable_extensions; do
11606 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11607 ac_cv_prog_have_javac
="yes"
11608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11615 test -z "$ac_cv_prog_have_javac" && ac_cv_prog_have_javac
="no"
11618 have_javac
=$ac_cv_prog_have_javac
11619 if test -n "$have_javac"; then
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_javac" >&5
11621 $as_echo "$have_javac" >&6; }
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11624 $as_echo "no" >&6; }
11628 # Extract the first word of "jar", so it can be a program name with args.
11629 set dummy jar
; ac_word
=$2
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11631 $as_echo_n "checking for $ac_word... " >&6; }
11632 if ${ac_cv_prog_have_jar+:} false
; then :
11633 $as_echo_n "(cached) " >&6
11635 if test -n "$have_jar"; then
11636 ac_cv_prog_have_jar
="$have_jar" # Let the user override the test.
11638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11639 for as_dir
in $PATH
11642 test -z "$as_dir" && as_dir
=.
11643 for ac_exec_ext
in '' $ac_executable_extensions; do
11644 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11645 ac_cv_prog_have_jar
="yes"
11646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11653 test -z "$ac_cv_prog_have_jar" && ac_cv_prog_have_jar
="no"
11656 have_jar
=$ac_cv_prog_have_jar
11657 if test -n "$have_jar"; then
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_jar" >&5
11659 $as_echo "$have_jar" >&6; }
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11662 $as_echo "no" >&6; }
11666 if test "$have_javac" != no
-a "$have_jar" != no
; then
11667 echo java found
, will try to configure Byteman support
11670 # Check whether --with-java was given.
11671 if test "${with_java+set}" = set; then :
11672 withval
=$with_java;
11674 with_java
=/usr
/lib
/jvm
/java
11677 if test ! -d "$with_java"; then
11680 JAVADIR
="${with_java}"
11681 # always needed to compile
11683 if test "$with_java" != "no"; then
11685 cat >>confdefs.h
<<_ACEOF
11686 #define HAVE_JAVA "1"
11691 if test "$with_java" != "no"; then
11693 HAVE_JAVA_FALSE
='#'
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not run per-method java probing, missing byteman or java requirements" >&5
11702 $as_echo "$as_me: WARNING: will not run per-method java probing, missing byteman or java requirements" >&2;}
11705 HAVE_JAVA_FALSE
='#'
11711 fi # java+byteman support
11713 ENABLE_NLS
="$USE_NLS"
11715 localedir
="$localedir"
11717 LOCALEDIR
="$localedir"
11721 # Check whether --with-extra-version was given.
11722 if test "${with_extra_version+set}" = set; then :
11723 withval
=$with_extra_version;
11726 if test "x$with_extra_version" != "xno"; then :
11728 stap_extra_version
="$with_extra_version"
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: Adding extra version $stap_extra_version" >&5
11730 $as_echo "$as_me: Adding extra version $stap_extra_version" >&6;}
11733 stap_extra_version
=""
11736 cat >>confdefs.h
<<_ACEOF
11737 #define STAP_EXTRA_VERSION "$stap_extra_version"
11740 STAP_EXTRA_VERSION
="$stap_extra_version"
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -std=c++11" >&5
11744 $as_echo_n "checking whether C compiler accepts -std=c++11... " >&6; }
11745 if ${ax_cv_check_cflags___std_cpp11+:} false
; then :
11746 $as_echo_n "(cached) " >&6
11749 ax_check_save_flags
=$CFLAGS
11750 CFLAGS
="$CFLAGS -std=c++11"
11751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11752 /* end confdefs.h. */
11762 if ac_fn_c_try_compile
"$LINENO"; then :
11763 ax_cv_check_cflags___std_cpp11
=yes
11765 ax_cv_check_cflags___std_cpp11
=no
11767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11768 CFLAGS
=$ax_check_save_flags
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___std_cpp11" >&5
11771 $as_echo "$ax_cv_check_cflags___std_cpp11" >&6; }
11772 if test "x$ax_cv_check_cflags___std_cpp11" = xyes
; then :
11778 if test "x$cxx11" != "x"; then :
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling parts of systemtap with -std=c++11" >&5
11781 $as_echo "$as_me: Compiling parts of systemtap with -std=c++11" >&6;}
11786 stap_prefix
=$prefix
11787 test "$stap_prefix" = NONE
&& stap_prefix
=$ac_default_prefix
11789 cat >>confdefs.h
<<_ACEOF
11790 #define STAP_PREFIX "$stap_prefix"
11793 STAP_PREFIX
="$stap_prefix"
11796 ac_config_headers
="$ac_config_headers config.h:config.in"
11798 ac_config_files
="$ac_config_files Makefile doc/Makefile man/Makefile man/cs/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"
11802 subdirs
="$subdirs testsuite"
11804 if test $enable_translator == "yes"; then
11805 ac_config_files
="$ac_config_files run-stap"
11808 ac_config_files
="$ac_config_files dtrace"
11810 ac_config_files
="$ac_config_files stapdyn/Makefile"
11812 ac_config_files
="$ac_config_files java/Makefile"
11814 ac_config_files
="$ac_config_files java/stapbm"
11816 ac_config_files
="$ac_config_files staprun/Makefile"
11818 ac_config_files
="$ac_config_files staprun/run-staprun"
11820 ac_config_files
="$ac_config_files staprun/guest/stapshd"
11822 ac_config_files
="$ac_config_files staprun/guest/stapsh-daemon"
11824 ac_config_files
="$ac_config_files staprun/guest/stapsh@.service"
11827 # Setup "shadow" directory doc/beginners that has the basic directories setup for
11828 # xmlto in one directory (through directory links if necessary).
11829 # It would be nice to use AC_CONFIG_LINKS, but automake complains when
11830 # the src is a directory and not a file.
11831 ac_config_commands
="$ac_config_commands doc/beginners"
11834 cat >confcache
<<\_ACEOF
11835 # This file is a shell script that caches the results of configure
11836 # tests run on this system so they can be shared between configure
11837 # scripts and configure runs, see configure's option --config-cache.
11838 # It is not useful on other systems. If it contains results you don't
11839 # want to keep, you may remove or edit it.
11841 # config.status only pays attention to the cache file if you give it
11842 # the --recheck option to rerun configure.
11844 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11845 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11846 # following values.
11850 # The following way of writing the cache mishandles newlines in values,
11851 # but we know of no workaround that is simple, portable, and efficient.
11852 # So, we kill variables containing newlines.
11853 # Ultrix sh set writes to stderr and can't be redirected directly,
11854 # and sets the high bit in the cache file unless we assign to the vars.
11856 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11857 eval ac_val
=\$
$ac_var
11861 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11862 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11865 _ | IFS | as_nl
) ;; #(
11866 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11867 *) { eval $ac_var=; unset $ac_var;} ;;
11873 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11874 *${as_nl}ac_space
=\
*)
11875 # `set' does not quote correctly, so add quotes: double-quote
11876 # substitution turns \\\\ into \\, and sed turns \\ into \.
11879 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11882 # `set' quotes correctly as required by POSIX, so do not add quotes.
11883 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11892 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11894 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11896 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11897 if test -w "$cache_file"; then
11898 if test "x$cache_file" != "x/dev/null"; then
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11900 $as_echo "$as_me: updating cache $cache_file" >&6;}
11901 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
11902 cat confcache
>"$cache_file"
11904 case $cache_file in #(
11906 mv -f confcache
"$cache_file"$$
&&
11907 mv -f "$cache_file"$$
"$cache_file" ;; #(
11909 mv -f confcache
"$cache_file" ;;
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11915 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11920 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11921 # Let make expand exec_prefix.
11922 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11924 DEFS
=-DHAVE_CONFIG_H
11928 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11929 # 1. Remove the extension, and $U if already installed.
11930 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11931 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11932 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11933 # will be set to the directory where LIBOBJS objects are built.
11934 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11935 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11937 LIBOBJS
=$ac_libobjs
11939 LTLIBOBJS
=$ac_ltlibobjs
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
11943 $as_echo_n "checking that generated files are newer than configure... " >&6; }
11944 if test -n "$am_sleep_pid"; then
11945 # Hide warnings about reused PIDs.
11946 wait $am_sleep_pid 2>/dev
/null
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
11949 $as_echo "done" >&6; }
11950 if test -n "$EXEEXT"; then
11952 am__EXEEXT_FALSE
='#'
11954 am__EXEEXT_TRUE
='#'
11958 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11959 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
11960 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11962 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11963 as_fn_error $?
"conditional \"AMDEP\" was never defined.
11964 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11966 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11967 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
11968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11970 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11971 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
11972 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11974 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
11975 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
11976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11978 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11979 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
11980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11982 if test -z "${BUILD_TRANSLATOR_TRUE}" && test -z "${BUILD_TRANSLATOR_FALSE}"; then
11983 as_fn_error $?
"conditional \"BUILD_TRANSLATOR\" was never defined.
11984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11986 if test -z "${BUILD_CRASHMOD_TRUE}" && test -z "${BUILD_CRASHMOD_FALSE}"; then
11987 as_fn_error $?
"conditional \"BUILD_CRASHMOD\" was never defined.
11988 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11990 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
11991 as_fn_error $?
"conditional \"BUILD_DOCS\" was never defined.
11992 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11994 if test -z "${BUILD_REFDOCS_TRUE}" && test -z "${BUILD_REFDOCS_FALSE}"; then
11995 as_fn_error $?
"conditional \"BUILD_REFDOCS\" was never defined.
11996 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11998 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
11999 as_fn_error $?
"conditional \"HAVE_FOP\" was never defined.
12000 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12002 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
12003 as_fn_error $?
"conditional \"HAVE_XMLTO\" was never defined.
12004 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12006 if test -z "${XMLTO_STRINGPARAM_TRUE}" && test -z "${XMLTO_STRINGPARAM_FALSE}"; then
12007 as_fn_error $?
"conditional \"XMLTO_STRINGPARAM\" was never defined.
12008 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12010 if test -z "${BUILD_PDFREFDOCS_TRUE}" && test -z "${BUILD_PDFREFDOCS_FALSE}"; then
12011 as_fn_error $?
"conditional \"BUILD_PDFREFDOCS\" was never defined.
12012 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12014 if test -z "${HAVE_NSS_TRUE}" && test -z "${HAVE_NSS_FALSE}"; then
12015 as_fn_error $?
"conditional \"HAVE_NSS\" was never defined.
12016 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12018 if test -z "${BUILD_SERVER_TRUE}" && test -z "${BUILD_SERVER_FALSE}"; then
12019 as_fn_error $?
"conditional \"BUILD_SERVER\" was never defined.
12020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12022 if test -z "${HAVE_AVAHI_TRUE}" && test -z "${HAVE_AVAHI_FALSE}"; then
12023 as_fn_error $?
"conditional \"HAVE_AVAHI\" was never defined.
12024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12026 if test -z "${HAVE_LIBREADLINE_TRUE}" && test -z "${HAVE_LIBREADLINE_FALSE}"; then
12027 as_fn_error $?
"conditional \"HAVE_LIBREADLINE\" was never defined.
12028 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12030 if test -z "${BUILD_ELFUTILS_TRUE}" && test -z "${BUILD_ELFUTILS_FALSE}"; then
12031 as_fn_error $?
"conditional \"BUILD_ELFUTILS\" was never defined.
12032 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12034 if test -z "${HAVE_DYNINST_TRUE}" && test -z "${HAVE_DYNINST_FALSE}"; then
12035 as_fn_error $?
"conditional \"HAVE_DYNINST\" was never defined.
12036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12038 if test -z "${HAVE_LIBVIRT_TRUE}" && test -z "${HAVE_LIBVIRT_FALSE}"; then
12039 as_fn_error $?
"conditional \"HAVE_LIBVIRT\" was never defined.
12040 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12042 if test -z "${HAVE_LIBXML2_TRUE}" && test -z "${HAVE_LIBXML2_FALSE}"; then
12043 as_fn_error $?
"conditional \"HAVE_LIBXML2\" was never defined.
12044 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12046 if test -z "${BUILD_VIRT_TRUE}" && test -z "${BUILD_VIRT_FALSE}"; then
12047 as_fn_error $?
"conditional \"BUILD_VIRT\" was never defined.
12048 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12050 if test -z "${HAVE_MONITOR_LIBS_TRUE}" && test -z "${HAVE_MONITOR_LIBS_FALSE}"; then
12051 as_fn_error $?
"conditional \"HAVE_MONITOR_LIBS\" was never defined.
12052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12054 if test -z "${HAVE_SELINUX_TRUE}" && test -z "${HAVE_SELINUX_FALSE}"; then
12055 as_fn_error $?
"conditional \"HAVE_SELINUX\" was never defined.
12056 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12058 if test -z "${HAVE_JAVA_TRUE}" && test -z "${HAVE_JAVA_FALSE}"; then
12059 as_fn_error $?
"conditional \"HAVE_JAVA\" was never defined.
12060 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12062 if test -z "${HAVE_JAVA_TRUE}" && test -z "${HAVE_JAVA_FALSE}"; then
12063 as_fn_error $?
"conditional \"HAVE_JAVA\" was never defined.
12064 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12067 : "${CONFIG_STATUS=./config.status}"
12069 ac_clean_files_save
=$ac_clean_files
12070 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12072 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12074 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12076 # Generated by $as_me.
12077 # Run this file to recreate the current configuration.
12078 # Compiler output produced by configure, useful for debugging
12079 # configure, is in config.log if it exists.
12082 ac_cs_recheck=false
12085 SHELL=\${CONFIG_SHELL-$SHELL}
12088 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12089 ## -------------------- ##
12090 ## M4sh Initialization. ##
12091 ## -------------------- ##
12093 # Be more Bourne compatible
12094 DUALCASE
=1; export DUALCASE
# for MKS sh
12095 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12098 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12099 # is contrary to our usage. Disable this feature.
12100 alias -g '${1+"$@"}'='"$@"'
12101 setopt NO_GLOB_SUBST
12103 case `(set -o) 2>/dev/null` in #(
12115 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12116 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12117 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12118 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12119 # Prefer a ksh shell builtin over an external printf program on Solaris,
12120 # but without wasting forks for bash or zsh.
12121 if test -z "$BASH_VERSION$ZSH_VERSION" \
12122 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12123 as_echo='print
-r --'
12124 as_echo_n='print
-rn --'
12125 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12126 as_echo='printf %s
\n'
12127 as_echo_n='printf %s
'
12129 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12130 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12131 as_echo_n='/usr
/ucb
/echo -n'
12133 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12134 as_echo_n_body='eval
12138 expr "X$arg" : "X\\(.*\\)$as_nl";
12139 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12141 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12143 export as_echo_n_body
12144 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12146 export as_echo_body
12147 as_echo='sh
-c $as_echo_body as_echo
'
12150 # The user is always right.
12151 if test "${PATH_SEPARATOR+set}" != set; then
12153 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12154 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12161 # We need space, tab and new line, in precisely that order. Quoting is
12162 # there to prevent editors from complaining about space-tab.
12163 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12164 # splitting by setting IFS to empty value.)
12167 # Find who we are. Look in the path if we contain no directory separator.
12170 *[\\/]* ) as_myself=$0 ;;
12171 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12172 for as_dir in $PATH
12175 test -z "$as_dir" && as_dir=.
12176 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12182 # We did not find ourselves, most probably we were run as `sh COMMAND'
12183 # in which case we are not to be found in the path.
12184 if test "x$as_myself" = x
; then
12187 if test ! -f "$as_myself"; then
12188 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12192 # Unset variables that we do not need and which cause bugs (e.g. in
12193 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12194 # suppresses any "Segmentation fault" message there. '((' could
12195 # trigger a bug in pdksh 5.2.14.
12196 for as_var
in BASH_ENV ENV MAIL MAILPATH
12197 do eval test x\
${$as_var+set} = xset \
12198 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12211 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12214 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12215 # ----------------------------------------
12216 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12217 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12218 # script with STATUS, using 1 if that was 0.
12221 as_status
=$1; test $as_status -eq 0 && as_status
=1
12223 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12224 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12226 $as_echo "$as_me: error: $2" >&2
12227 as_fn_exit
$as_status
12231 # as_fn_set_status STATUS
12232 # -----------------------
12233 # Set $? to STATUS, without forking.
12234 as_fn_set_status
()
12237 } # as_fn_set_status
12239 # as_fn_exit STATUS
12240 # -----------------
12241 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12245 as_fn_set_status
$1
12251 # Portably unset VAR.
12254 { eval $1=; unset $1;}
12256 as_unset
=as_fn_unset
12257 # as_fn_append VAR VALUE
12258 # ----------------------
12259 # Append the text in VALUE to the end of the definition contained in VAR. Take
12260 # advantage of any shell optimizations that allow amortized linear growth over
12261 # repeated appends, instead of the typical quadratic growth present in naive
12263 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12264 eval 'as_fn_append ()
12275 # as_fn_arith ARG...
12276 # ------------------
12277 # Perform arithmetic evaluation on the ARGs, and store the result in the
12278 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12279 # must be portable across $(()) and expr.
12280 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12281 eval 'as_fn_arith ()
12288 as_val
=`expr "$@" || test $? -eq 1`
12293 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12294 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12300 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12301 as_basename
=basename
12306 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12312 as_me
=`$as_basename -- "$0" ||
12313 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12314 X"$0" : 'X\(//\)$' \| \
12315 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12317 sed '/^.*\/\([^/][^/]*\)\/*$/{
12331 # Avoid depending upon Character Ranges.
12332 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12333 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12334 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12335 as_cr_digits
='0123456789'
12336 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12338 ECHO_C
= ECHO_N
= ECHO_T
=
12339 case `echo -n x` in #(((((
12341 case `echo 'xy\c'` in
12342 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12344 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12351 rm -f conf$$ conf$$.exe conf$$.
file
12352 if test -d conf$$.dir
; then
12353 rm -f conf$$.dir
/conf$$.
file
12356 mkdir conf$$.dir
2>/dev
/null
12358 if (echo >conf$$.
file) 2>/dev
/null
; then
12359 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12361 # ... but there are two gotchas:
12362 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12363 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12364 # In both cases, we have to default to `cp -pR'.
12365 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12367 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12375 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12376 rmdir conf$$.dir
2>/dev
/null
12381 # Create "$as_dir" as a directory, including parents if necessary.
12386 -*) as_dir
=.
/$as_dir;;
12388 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12392 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12393 *) as_qdir
=$as_dir;;
12395 as_dirs
="'$as_qdir' $as_dirs"
12396 as_dir
=`$as_dirname -- "$as_dir" ||
12397 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12398 X"$as_dir" : 'X\(//\)[^/]' \| \
12399 X"$as_dir" : 'X\(//\)$' \| \
12400 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12401 $as_echo X"$as_dir" |
12402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12406 /^X\(\/\/\)[^/].*/{
12419 test -d "$as_dir" && break
12421 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12422 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12426 if mkdir
-p .
2>/dev
/null
; then
12427 as_mkdir_p
='mkdir -p "$as_dir"'
12429 test -d .
/-p && rmdir .
/-p
12434 # as_fn_executable_p FILE
12435 # -----------------------
12436 # Test if FILE is an executable regular file.
12437 as_fn_executable_p
()
12439 test -f "$1" && test -x "$1"
12440 } # as_fn_executable_p
12441 as_test_x
='test -x'
12442 as_executable_p
=as_fn_executable_p
12444 # Sed expression to map a string onto a valid CPP name.
12445 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12447 # Sed expression to map a string onto a valid variable name.
12448 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12452 ## ----------------------------------- ##
12453 ## Main body of $CONFIG_STATUS script. ##
12454 ## ----------------------------------- ##
12456 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12458 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12459 # Save the log message, to keep $0 and so on meaningful, and to
12460 # report actual input values of CONFIG_FILES etc. instead of their
12461 # values after options handling.
12463 This file was extended by systemtap $as_me 3.0, which was
12464 generated by GNU Autoconf 2.69. Invocation command line was
12466 CONFIG_FILES = $CONFIG_FILES
12467 CONFIG_HEADERS = $CONFIG_HEADERS
12468 CONFIG_LINKS = $CONFIG_LINKS
12469 CONFIG_COMMANDS = $CONFIG_COMMANDS
12472 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12477 case $ac_config_files in *"
12478 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12481 case $ac_config_headers in *"
12482 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12487 # Files that config.status was made for.
12488 config_files="$ac_config_files"
12489 config_headers="$ac_config_headers"
12490 config_commands="$ac_config_commands"
12494 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12496 \`$as_me' instantiates files and other configuration actions
12497 from templates according to the current configuration. Unless the files
12498 and actions are specified as TAGs, all are instantiated by default.
12500 Usage: $0 [OPTION]... [TAG]...
12502 -h, --help print this help, then exit
12503 -V, --version print version number and configuration settings, then exit
12504 --config print configuration, then exit
12505 -q, --quiet, --silent
12506 do not print progress messages
12507 -d, --debug don't remove temporary files
12508 --recheck update $as_me by reconfiguring in the same conditions
12509 --file=FILE[:TEMPLATE]
12510 instantiate the configuration file FILE
12511 --header=FILE[:TEMPLATE]
12512 instantiate the configuration header FILE
12514 Configuration files:
12517 Configuration headers:
12520 Configuration commands:
12523 Report bugs to <systemtap@sourceware.org>."
12526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12527 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12529 systemtap config.status 3.0
12530 configured by $0, generated by GNU Autoconf 2.69,
12531 with options \\"\$ac_cs_config\\"
12533 Copyright (C) 2012 Free Software Foundation, Inc.
12534 This config.status script is free software; the Free Software Foundation
12535 gives unlimited permission to copy, distribute and modify it."
12542 test -n "\$AWK" || AWK=awk
12545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12546 # The default lists apply if the user does not specify any file.
12552 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12553 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12557 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12569 # Handling of the options.
12570 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12572 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12573 $as_echo "$ac_cs_version"; exit ;;
12574 --config |
--confi |
--conf |
--con |
--co |
--c )
12575 $as_echo "$ac_cs_config"; exit ;;
12576 --debug |
--debu |
--deb |
--de |
--d |
-d )
12578 --file |
--fil |
--fi |
--f )
12581 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12582 '') as_fn_error $?
"missing file argument" ;;
12584 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12585 ac_need_defaults
=false
;;
12586 --header |
--heade |
--head |
--hea )
12589 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12591 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12592 ac_need_defaults
=false
;;
12594 # Conflict between --help and --header
12595 as_fn_error $?
"ambiguous option: \`$1'
12596 Try \`$0 --help' for more information.";;
12597 --help |
--hel |
-h )
12598 $as_echo "$ac_cs_usage"; exit ;;
12599 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12600 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12603 # This is an error.
12604 -*) as_fn_error $?
"unrecognized option: \`$1'
12605 Try \`$0 --help' for more information." ;;
12607 *) as_fn_append ac_config_targets
" $1"
12608 ac_need_defaults
=false
;;
12614 ac_configure_extra_args
=
12616 if $ac_cs_silent; then
12618 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12622 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12623 if \$ac_cs_recheck; then
12624 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12626 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12627 CONFIG_SHELL='$SHELL'
12628 export CONFIG_SHELL
12633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12637 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12638 ## Running $as_me. ##
12644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12648 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12649 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
12650 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
12651 # from automake < 1.5.
12652 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
12653 # Capture the value of LINGUAS because we need it to compute CATALOGS.
12654 LINGUAS="${LINGUAS-%UNSET%}"
12659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12661 # Handling of arguments.
12662 for ac_config_target
in $ac_config_targets
12664 case $ac_config_target in
12665 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12666 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
12667 "includes/sys/sdt-config.h") CONFIG_FILES
="$CONFIG_FILES includes/sys/sdt-config.h" ;;
12668 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
12669 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
12670 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12671 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
12672 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
12673 "man/cs/Makefile") CONFIG_FILES
="$CONFIG_FILES man/cs/Makefile" ;;
12674 "doc/beginners/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/beginners/Makefile" ;;
12675 "doc/SystemTap_Tapset_Reference/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/SystemTap_Tapset_Reference/Makefile" ;;
12676 "man/stappaths.7") CONFIG_FILES
="$CONFIG_FILES man/stappaths.7" ;;
12677 "man/systemtap.8") CONFIG_FILES
="$CONFIG_FILES man/systemtap.8" ;;
12678 "initscript/config.systemtap") CONFIG_FILES
="$CONFIG_FILES initscript/config.systemtap" ;;
12679 "initscript/config.stap-server") CONFIG_FILES
="$CONFIG_FILES initscript/config.stap-server" ;;
12680 "initscript/systemtap") CONFIG_FILES
="$CONFIG_FILES initscript/systemtap" ;;
12681 "initscript/stap-server") CONFIG_FILES
="$CONFIG_FILES initscript/stap-server" ;;
12682 "initscript/99stap/module-setup.sh") CONFIG_FILES
="$CONFIG_FILES initscript/99stap/module-setup.sh" ;;
12683 "run-stap") CONFIG_FILES
="$CONFIG_FILES run-stap" ;;
12684 "dtrace") CONFIG_FILES
="$CONFIG_FILES dtrace" ;;
12685 "stapdyn/Makefile") CONFIG_FILES
="$CONFIG_FILES stapdyn/Makefile" ;;
12686 "java/Makefile") CONFIG_FILES
="$CONFIG_FILES java/Makefile" ;;
12687 "java/stapbm") CONFIG_FILES
="$CONFIG_FILES java/stapbm" ;;
12688 "staprun/Makefile") CONFIG_FILES
="$CONFIG_FILES staprun/Makefile" ;;
12689 "staprun/run-staprun") CONFIG_FILES
="$CONFIG_FILES staprun/run-staprun" ;;
12690 "staprun/guest/stapshd") CONFIG_FILES
="$CONFIG_FILES staprun/guest/stapshd" ;;
12691 "staprun/guest/stapsh-daemon") CONFIG_FILES
="$CONFIG_FILES staprun/guest/stapsh-daemon" ;;
12692 "staprun/guest/stapsh@.service") CONFIG_FILES
="$CONFIG_FILES staprun/guest/stapsh@.service" ;;
12693 "doc/beginners") CONFIG_COMMANDS
="$CONFIG_COMMANDS doc/beginners" ;;
12695 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12700 # If the user did not use the arguments to specify the items to instantiate,
12701 # then the envvar interface is used. Set only those that are not.
12702 # We use the long form for the default assignment because of an extremely
12703 # bizarre bug on SunOS 4.1.3.
12704 if $ac_need_defaults; then
12705 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12706 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12707 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12710 # Have a temporary directory for convenience. Make it in the build tree
12711 # simply because there is no reason against having it here, and in addition,
12712 # creating and moving files from /tmp can sometimes cause problems.
12713 # Hook for its removal unless debugging.
12714 # Note that there is a small window in which the directory will not be cleaned:
12715 # after its creation but before its name has been assigned to `$tmp'.
12719 trap 'exit_status=$?
12720 : "${ac_tmp:=$tmp}"
12721 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12723 trap 'as_fn_exit 1' 1 2 13 15
12725 # Create a (secure) tmp directory for tmp files.
12728 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12732 tmp
=.
/conf$$
-$RANDOM
12733 (umask 077 && mkdir
"$tmp")
12734 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
12737 # Set up the scripts for CONFIG_FILES section.
12738 # No need to generate them if there are no CONFIG_FILES.
12739 # This happens for instance with `./config.status config.h'.
12740 if test -n "$CONFIG_FILES"; then
12743 ac_cr
=`echo X | tr X '\015'`
12744 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12745 # But we know of no other shell where ac_cr would be empty at this
12746 # point, so we can use a bashism as a fallback.
12747 if test "x$ac_cr" = x
; then
12748 eval ac_cr
=\$
\'\\r
\'
12750 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12751 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12754 ac_cs_awk_cr
=$ac_cr
12757 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12762 echo "cat >conf$$subs.awk <<_ACEOF" &&
12763 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12765 } >conf$$subs.sh ||
12766 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12767 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12769 for ac_last_try in false false false false false :; do
12770 . ./conf$$subs.sh ||
12771 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12773 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12774 if test $ac_delim_n = $ac_delim_num; then
12776 elif $ac_last_try; then
12777 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12779 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12782 rm -f conf$$subs.sh
12784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12785 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
12789 s/^/S["/; s
/!.
*/"]=/
12799 s/\(.\{148\}\)..*/\1/
12801 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
12806 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12813 s/\(.\{148\}\)..*/\1/
12815 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
12819 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12824 ' <conf$$subs.awk | sed '
12829 ' >>$CONFIG_STATUS || ac_write_fail=1
12830 rm -f conf$$subs.awk
12831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12833 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
12834 for (key in S) S_is_set[key] = 1
12840 nfields = split(line, field, "@
")
12842 len = length(field[1])
12843 for (i = 2; i < nfields; i++) {
12845 keylen = length(key)
12846 if (S_is_set[key]) {
12848 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12849 len += length(value) + length(field[++i])
12860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12861 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12862 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12865 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
12866 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
12869 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12870 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
12871 # trailing colons and then remove the whole line if VPATH becomes empty
12872 # (actually we leave an empty line to preserve line numbers).
12873 if test "x
$srcdir" = x.; then
12874 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12893 fi # test -n "$CONFIG_FILES"
12895 # Set up the scripts for CONFIG_HEADERS section.
12896 # No need to generate them if there are no CONFIG_HEADERS.
12897 # This happens for instance with `./config.status Makefile'.
12898 if test -n "$CONFIG_HEADERS"; then
12899 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
12903 # Transform confdefs.h into an awk script `defines.awk', embedded as
12904 # here-document in config.status, that substitutes the proper values into
12905 # config.h.in to produce config.h.
12907 # Create a delimiter string that does not exist in confdefs.h, to ease
12908 # handling of long lines.
12910 for ac_last_try in false false :; do
12911 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
12912 if test -z "$ac_tt"; then
12914 elif $ac_last_try; then
12915 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
12917 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12921 # For the awk script, D is an array of macro values keyed by name,
12922 # likewise P contains macro parameters if any. Preserve backslash
12923 # newline sequences.
12925 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12927 s/.\{148\}/&'"$ac_delim"'/g
12930 s/^[ ]*#[ ]*define[ ][ ]*/ /
12937 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
12939 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
12943 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
12944 D["\
1"]=" \
3\\\\\\n
"\\/p
12946 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
12951 s/.\{148\}/&'"$ac_delim"'/g
12956 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
12959 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
12961 ' <confdefs.h | sed '
12962 s/'"$ac_delim"'/"\\\
12963 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12965 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12966 for (key in D) D_is_set[key] = 1
12969 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12971 split(line, arg, " ")
12972 if (arg[1] == "#") {
12976 defundef
= substr
(arg
[1], 2)
12979 split(mac1
, mac2
, "(") #)
12981 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
12982 if (D_is_set
[macro
]) {
12983 # Preserve the white space surrounding the "#".
12984 print prefix
"define", macro P
[macro
] D
[macro
]
12987 # Replace #undef with comments. This is necessary, for example,
12988 # in the case of _POSIX_SOURCE, which is predefined and required
12989 # on some systems where configure will not decide to define it.
12990 if (defundef
== "undef") {
12991 print
"/*", prefix defundef
, macro
, "*/"
12999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13000 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13001 fi # test -n "$CONFIG_HEADERS"
13004 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13009 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13011 case $ac_mode$ac_tag in
13013 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13014 :[FH
]-) ac_tag
=-:-;;
13015 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13032 -) ac_f
="$ac_tmp/stdin";;
13033 *) # Look for the file first in the build tree, then in the source tree
13034 # (if the path is not absolute). The absolute path cannot be DOS-style,
13035 # because $ac_f cannot contain `:'.
13039 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13041 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13043 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13044 as_fn_append ac_file_inputs
" '$ac_f'"
13047 # Let's still pretend it is `configure' which instantiates (i.e., don't
13048 # use $as_me), people would be surprised to read:
13049 # /* config.h. Generated by config.status. */
13050 configure_input
='Generated from '`
13051 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13053 if test x
"$ac_file" != x-
; then
13054 configure_input
="$ac_file. $configure_input"
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13056 $as_echo "$as_me: creating $ac_file" >&6;}
13058 # Neutralize special characters interpreted by sed in replacement strings.
13059 case $configure_input in #(
13060 *\
&* |
*\|
* |
*\\* )
13061 ac_sed_conf_input
=`$as_echo "$configure_input" |
13062 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13063 *) ac_sed_conf_input
=$configure_input;;
13067 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
13068 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13073 ac_dir
=`$as_dirname -- "$ac_file" ||
13074 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13075 X"$ac_file" : 'X\(//\)[^/]' \| \
13076 X"$ac_file" : 'X\(//\)$' \| \
13077 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13078 $as_echo X"$ac_file" |
13079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13083 /^X\(\/\/\)[^/].*/{
13096 as_dir
="$ac_dir"; as_fn_mkdir_p
13100 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13102 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13103 # A ".." for each directory in $ac_dir_suffix.
13104 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13105 case $ac_top_builddir_sub in
13106 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13107 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13110 ac_abs_top_builddir
=$ac_pwd
13111 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13112 # for backward compatibility:
13113 ac_top_builddir
=$ac_top_build_prefix
13116 .
) # We are building in place.
13118 ac_top_srcdir
=$ac_top_builddir_sub
13119 ac_abs_top_srcdir
=$ac_pwd ;;
13120 [\\/]* | ?
:[\\/]* ) # Absolute name.
13121 ac_srcdir
=$srcdir$ac_dir_suffix;
13122 ac_top_srcdir
=$srcdir
13123 ac_abs_top_srcdir
=$srcdir ;;
13124 *) # Relative name.
13125 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13126 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13127 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13129 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13139 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13140 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13142 ac_MKDIR_P
=$MKDIR_P
13144 [\\/$
]* | ?
:[\\/]* ) ;;
13145 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13150 # If the template does not know about datarootdir, expand it.
13151 # FIXME: This hack should be removed a few years after 2.60.
13152 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13163 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13164 *datarootdir
*) ac_datarootdir_seen
=yes;;
13165 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13167 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13170 ac_datarootdir_hack='
13171 s&@datadir@&$datadir&g
13172 s&@docdir@&$docdir&g
13173 s&@infodir@&$infodir&g
13174 s&@localedir@&$localedir&g
13175 s&@mandir@&$mandir&g
13176 s&\\\${datarootdir}&$datarootdir&g' ;;
13180 # Neutralize VPATH when `$srcdir' = `.'.
13181 # Shell code in configure.ac might set extrasub.
13182 # FIXME: do we really want to maintain this feature?
13183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13184 ac_sed_extra="$ac_vpsub
13187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13189 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13190 s|@configure_input@|
$ac_sed_conf_input|
;t t
13191 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13192 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13193 s
&@srcdir@
&$ac_srcdir&;t t
13194 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13195 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13196 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13197 s
&@builddir@
&$ac_builddir&;t t
13198 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13199 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13200 s
&@INSTALL@
&$ac_INSTALL&;t t
13201 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13202 $ac_datarootdir_hack
13204 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
13205 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13207 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13208 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13209 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13210 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13212 which seems to be undefined. Please make sure it is defined" >&5
13213 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13214 which seems to be undefined. Please make sure it is defined" >&2;}
13216 rm -f "$ac_tmp/stdin"
13218 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13219 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13221 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13227 if test x"$ac_file" != x-; then
13229 $as_echo "/* $configure_input */" \
13230 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13231 } >"$ac_tmp/config.h" \
13232 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13233 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13235 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13238 mv "$ac_tmp/config.h" "$ac_file" \
13239 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13242 $as_echo "/* $configure_input */" \
13243 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13244 || as_fn_error $? "could not create -" "$LINENO" 5
13246 # Compute "$ac_file"'s index
in $config_headers.
13249 for _am_header
in $config_headers :; do
13250 case $_am_header in
13251 $_am_arg |
$_am_arg:* )
13254 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13257 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13258 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13259 X"$_am_arg" : 'X\(//\)[^/]' \| \
13260 X"$_am_arg" : 'X\(//\)$' \| \
13261 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13262 $as_echo X"$_am_arg" |
13263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13267 /^X\(\/\/\)[^/].*/{
13279 s/.*/./; q'`/stamp-h
$_am_stamp_count
13282 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13283 $as_echo "$as_me: executing $ac_file commands" >&6;}
13288 case $ac_file$ac_mode in
13289 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
13290 # Older Autoconf quotes --file arguments for eval, but not when files
13291 # are listed without --file. Let's play safe and only enable the eval
13292 # if we detect the quoting.
13293 case $CONFIG_FILES in
13294 *\'*) eval set x
"$CONFIG_FILES" ;;
13295 *) set x
$CONFIG_FILES ;;
13300 # Strip MF so we end up with the name of the file.
13301 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13302 # Check whether this is an Automake generated Makefile or not.
13303 # We used to match only the files named 'Makefile.in', but
13304 # some people rename them; so instead we look at the file content.
13305 # Grep'ing the first line is not enough: some people post-process
13306 # each Makefile.in and add a new line on top of each file to say so.
13307 # Grep'ing the whole file is not good either: AIX grep has a line
13308 # limit of 2048, but all sed's we know have understand at least 4000.
13309 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
13310 dirpart
=`$as_dirname -- "$mf" ||
13311 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13312 X"$mf" : 'X\(//\)[^/]' \| \
13313 X"$mf" : 'X\(//\)$' \| \
13314 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13320 /^X\(\/\/\)[^/].*/{
13336 # Extract the definition of DEPDIR, am__include, and am__quote
13337 # from the Makefile without running 'make'.
13338 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13339 test -z "$DEPDIR" && continue
13340 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13341 test -z "$am__include" && continue
13342 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13343 # Find all dependency output files, they are included files with
13344 # $(DEPDIR) in their names. We invoke sed twice because it is the
13345 # simplest approach to changing $(DEPDIR) to its actual value in the
13347 for file in `sed -n "
13348 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13349 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
13350 # Make sure the directory exists.
13351 test -f "$dirpart/$file" && continue
13352 fdir
=`$as_dirname -- "$file" ||
13353 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13354 X"$file" : 'X\(//\)[^/]' \| \
13355 X"$file" : 'X\(//\)$' \| \
13356 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13357 $as_echo X"$file" |
13358 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13362 /^X\(\/\/\)[^/].*/{
13375 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
13376 # echo "creating $dirpart/$file"
13377 echo '# dummy' > "$dirpart/$file"
13382 "po-directories":C
)
13383 for ac_file
in $CONFIG_FILES; do
13384 # Support "outfile[:infile[:infile...]]"
13386 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13388 # PO directories have a Makefile.in generated from Makefile.in.in.
13389 case "$ac_file" in */Makefile.
in)
13390 # Adjust a relative srcdir.
13391 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
13392 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
13393 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
13394 # In autoconf-2.13 it is called $ac_given_srcdir.
13395 # In autoconf-2.50 it is called $srcdir.
13396 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
13397 case "$ac_given_srcdir" in
13398 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
13399 /*) top_srcdir
="$ac_given_srcdir" ;;
13400 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
13402 # Treat a directory as a PO directory if and only if it has a
13403 # POTFILES.in file. This allows packages to have multiple PO
13404 # directories under different names or in different locations.
13405 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
13406 rm -f "$ac_dir/POTFILES"
13407 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
13408 gt_tab
=`printf '\t'`
13409 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"
13410 POMAKEFILEDEPS
="POTFILES.in"
13411 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
13412 # on $ac_dir but don't depend on user-specified configuration
13414 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
13415 # The LINGUAS file contains the set of available languages.
13416 if test -n "$OBSOLETE_ALL_LINGUAS"; then
13417 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
13419 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
13420 # Hide the ALL_LINGUAS assignment from automake < 1.5.
13421 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
13422 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
13424 # The set of available languages was given in configure.in.
13425 # Hide the ALL_LINGUAS assignment from automake < 1.5.
13426 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
13429 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
13430 # Compute UPDATEPOFILES
13431 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
13432 # Compute DUMMYPOFILES
13433 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
13435 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
13436 case "$ac_given_srcdir" in
13438 *) srcdirpre
='$(srcdir)/' ;;
13444 for lang
in $ALL_LINGUAS; do
13445 POFILES
="$POFILES $srcdirpre$lang.po"
13446 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
13447 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
13448 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
13450 # CATALOGS depends on both $ac_dir and the user's LINGUAS
13451 # environment variable.
13453 if test -n "$ALL_LINGUAS"; then
13454 for presentlang
in $ALL_LINGUAS; do
13456 if test "%UNSET%" != "$LINGUAS"; then
13457 desiredlanguages
="$LINGUAS"
13459 desiredlanguages
="$ALL_LINGUAS"
13461 for desiredlang
in $desiredlanguages; do
13462 # Use the presentlang catalog if desiredlang is
13463 # a. equal to presentlang, or
13464 # b. a variant of presentlang (because in this case,
13465 # presentlang can be used as a fallback for messages
13466 # which are not translated in the desiredlang catalog).
13467 case "$desiredlang" in
13468 "$presentlang"*) useit
=yes;;
13471 if test $useit = yes; then
13472 INST_LINGUAS
="$INST_LINGUAS $presentlang"
13477 if test -n "$INST_LINGUAS"; then
13478 for lang
in $INST_LINGUAS; do
13479 CATALOGS
="$CATALOGS $lang.gmo"
13482 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
13483 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"
13484 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
13485 if test -f "$f"; then
13487 *.orig |
*.bak |
*~
) ;;
13488 *) cat "$f" >> "$ac_dir/Makefile" ;;
13496 "run-stap":F
) chmod +x run-stap
;;
13497 "dtrace":F
) chmod +x dtrace
;;
13498 "java/stapbm":F
) chmod +x java
/stapbm
;;
13499 "staprun/run-staprun":F
) chmod +x staprun
/run-staprun
;;
13500 "staprun/guest/stapshd":F
) chmod +x staprun
/guest
/stapshd
;;
13501 "staprun/guest/stapsh-daemon":F
) chmod +x staprun
/guest
/stapsh-daemon
;;
13502 "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
;;
13510 ac_clean_files
=$ac_clean_files_save
13512 test $ac_write_fail = 0 ||
13513 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
13516 # configure is writing to config.log, and then calls config.status.
13517 # config.status does its own redirection, appending to config.log.
13518 # Unfortunately, on DOS this fails, as config.log is still kept open
13519 # by configure, so config.status won't be able to write to it; its
13520 # output is simply discarded. So we exec the FD to /dev/null,
13521 # effectively closing config.log, so it can be properly (re)opened and
13522 # appended to by config.status. When coming back to configure, we
13523 # need to make the FD available again.
13524 if test "$no_create" != yes; then
13526 ac_config_status_args
=
13527 test "$silent" = yes &&
13528 ac_config_status_args
="$ac_config_status_args --quiet"
13530 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13532 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13533 # would make configure fail if this is the last instruction.
13534 $ac_cs_success || as_fn_exit
1
13538 # CONFIG_SUBDIRS section.
13540 if test "$no_recursion" != yes; then
13542 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
13543 # so they do not pile up.
13544 ac_sub_configure_args
=
13546 eval "set x $ac_configure_args"
13550 if test -n "$ac_prev"; then
13555 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
13556 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
13557 ac_prev
=cache_file
;;
13558 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
13559 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
13562 --config-cache |
-C)
13564 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
13566 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
13568 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
13570 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
13572 --disable-option-checking)
13576 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
13578 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
13582 # Always prepend --prefix to ensure using the same prefix
13583 # in subdir configurations.
13584 ac_arg
="--prefix=$prefix"
13586 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
13588 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
13591 if test "$silent" = yes; then
13592 ac_sub_configure_args
="--silent $ac_sub_configure_args"
13595 # Always prepend --disable-option-checking to silence warnings, since
13596 # different subdirs can have different --enable and --with options.
13597 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
13600 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
13602 # Do not complain, so a configure script can configure whichever
13603 # parts of a large source tree are present.
13604 test -d "$srcdir/$ac_dir" ||
continue
13606 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
13607 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
13608 $as_echo "$ac_msg" >&6
13609 as_dir
="$ac_dir"; as_fn_mkdir_p
13613 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13615 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13616 # A ".." for each directory in $ac_dir_suffix.
13617 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13618 case $ac_top_builddir_sub in
13619 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13620 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13623 ac_abs_top_builddir
=$ac_pwd
13624 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13625 # for backward compatibility:
13626 ac_top_builddir
=$ac_top_build_prefix
13629 .
) # We are building in place.
13631 ac_top_srcdir
=$ac_top_builddir_sub
13632 ac_abs_top_srcdir
=$ac_pwd ;;
13633 [\\/]* | ?
:[\\/]* ) # Absolute name.
13634 ac_srcdir
=$srcdir$ac_dir_suffix;
13635 ac_top_srcdir
=$srcdir
13636 ac_abs_top_srcdir
=$srcdir ;;
13637 *) # Relative name.
13638 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13639 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13640 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13642 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13647 # Check for guested configure; otherwise get Cygnus style configure.
13648 if test -f "$ac_srcdir/configure.gnu"; then
13649 ac_sub_configure
=$ac_srcdir/configure.gnu
13650 elif test -f "$ac_srcdir/configure"; then
13651 ac_sub_configure
=$ac_srcdir/configure
13652 elif test -f "$ac_srcdir/configure.in"; then
13653 # This should be Cygnus configure.
13654 ac_sub_configure
=$ac_aux_dir/configure
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
13657 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
13661 # The recursion is here.
13662 if test -n "$ac_sub_configure"; then
13663 # Make the cache file name correct relative to the subdirectory.
13664 case $cache_file in
13665 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
13666 *) # Relative name.
13667 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
13670 { $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
13671 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
13672 # The eval makes quoting arguments work.
13673 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
13674 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
13675 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
13681 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13683 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13687 if test "${prefix}" = "/usr/local"; then
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
13689 $as_echo "$as_me: " >&6;}
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: For a private or temporary build of systemtap, we recommend" >&5
13691 $as_echo "$as_me: For a private or temporary build of systemtap, we recommend" >&6;}
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring with a prefix. For example, try" >&5
13693 $as_echo "$as_me: configuring with a prefix. For example, try" >&6;}
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&5
13695 $as_echo "$as_me: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&6;}
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: Running systemtap uninstalled, entirely out of the build tree," >&5
13697 $as_echo "$as_me: Running systemtap uninstalled, entirely out of the build tree," >&6;}
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: is not supported." >&5
13699 $as_echo "$as_me: is not supported." >&6;}