2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for systemtap 0.9.5.
5 # Report bugs to <systemtap@sources.redhat.com>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (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 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x
; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var
in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
144 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me
=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x
; then
176 if (eval ":") 2>/dev
/null
; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev
/null
; then
242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
243 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir
=.
249 for as_base
in sh bash ksh sh5
; do
250 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
257 for as_shell
in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
279 CONFIG_SHELL
=$as_shell
281 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix
*) set -o posix
;;
307 as_func_ret_success
() {
310 as_func_ret_failure
() {
315 if as_func_success
; then
319 echo as_func_success failed.
322 if as_func_failure
; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success
; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure
; then
336 echo as_func_ret_failure succeeded.
339 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) ||
{ (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x
; then
364 for as_var
in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no
; then
373 echo This
script requires a shell
more modern than all the
374 echo shells that I found on your system. Please
install a
375 echo modern shell
, or manually run the
script under such a
376 echo shell
if you
do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") ||
{
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system
,
438 echo including any error possibly output before this message.
439 echo This can
help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x
"$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
494 ECHO_C
= ECHO_N
= ECHO_T
=
498 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
504 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
511 rm -f conf$$ conf$$.exe conf$$.
file
512 if test -d conf$$.dir
; then
513 rm -f conf$$.dir
/conf$$.
file
516 mkdir conf$$.dir
2>/dev
/null
518 if (echo >conf$$.
file) 2>/dev
/null
; then
519 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
527 elif ln conf$$.
file conf$$
2>/dev
/null
; then
535 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
536 rmdir conf$$.dir
2>/dev
/null
538 if mkdir
-p .
2>/dev
/null
; then
541 test -d .
/-p && rmdir .
/-p
545 if test -x / >/dev
/null
2>&1; then
548 if ls -dL / >/dev
/null
2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p
=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
576 exec 7<&0 </dev
/null
6>&1
579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580 # so uname gets run too.
581 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
586 ac_default_prefix
=/usr
/local
588 ac_config_libobj_dir
=.
594 SHELL
=${CONFIG_SHELL-/bin/sh}
596 # Identity of this package.
597 PACKAGE_NAME
='systemtap'
598 PACKAGE_TARNAME
='systemtap'
599 PACKAGE_VERSION
='0.9.5'
600 PACKAGE_STRING
='systemtap 0.9.5'
601 PACKAGE_BUGREPORT
='systemtap@sources.redhat.com'
603 # Factoring default headers for most tests.
604 ac_includes_default
="\
606 #ifdef HAVE_SYS_TYPES_H
607 # include <sys/types.h>
609 #ifdef HAVE_SYS_STAT_H
610 # include <sys/stat.h>
616 # ifdef HAVE_STDLIB_H
621 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
626 #ifdef HAVE_STRINGS_H
627 # include <strings.h>
629 #ifdef HAVE_INTTYPES_H
630 # include <inttypes.h>
639 enable_option_checking
=no
640 ac_subst_vars
='LTLIBOBJS
701 MAINTAINER_MODE_FALSE
711 INSTALL_STRIP_PROGRAM
753 program_transform_name
765 enable_option_checking
766 enable_maintainer_mode
767 enable_dependency_tracking
779 ac_precious_vars
='build_alias
792 ac_subdirs_all
='testsuite'
794 # Initialize some variables set by options.
796 ac_init_version
=false
797 ac_unrecognized_opts
=
799 # The variables have the same names as the options, with
800 # dashes changed to underlines.
808 program_transform_name
=s
,x
,x
,
816 # Installation directory options.
817 # These are left unexpanded so users can "make install exec_prefix=/foo"
818 # and all the variables that are supposed to be based on exec_prefix
819 # by default will actually change.
820 # Use braces instead of parens because sh, perl, etc. also accept them.
821 # (The list follows the same order as the GNU Coding Standards.)
822 bindir
='${exec_prefix}/bin'
823 sbindir
='${exec_prefix}/sbin'
824 libexecdir
='${exec_prefix}/libexec'
825 datarootdir
='${prefix}/share'
826 datadir
='${datarootdir}'
827 sysconfdir
='${prefix}/etc'
828 sharedstatedir
='${prefix}/com'
829 localstatedir
='${prefix}/var'
830 includedir
='${prefix}/include'
831 oldincludedir
='/usr/include'
832 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
833 infodir
='${datarootdir}/info'
838 libdir
='${exec_prefix}/lib'
839 localedir
='${datarootdir}/locale'
840 mandir
='${datarootdir}/man'
846 # If the previous option needs an argument, assign it.
847 if test -n "$ac_prev"; then
848 eval $ac_prev=\
$ac_option
854 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
858 # Accept the important Cygnus configure options, so we can diagnose typos.
860 case $ac_dashdash$ac_option in
864 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
866 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
869 -build |
--build |
--buil |
--bui |
--bu)
870 ac_prev
=build_alias
;;
871 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
872 build_alias
=$ac_optarg ;;
874 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
875 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
876 ac_prev
=cache_file
;;
877 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
878 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
879 cache_file
=$ac_optarg ;;
882 cache_file
=config.cache
;;
884 -datadir |
--datadir |
--datadi |
--datad)
886 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
887 datadir
=$ac_optarg ;;
889 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
890 |
--dataroo |
--dataro |
--datar)
891 ac_prev
=datarootdir
;;
892 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
893 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
894 datarootdir
=$ac_optarg ;;
896 -disable-* |
--disable-*)
897 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
900 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
901 { (exit 1); exit 1; }; }
902 ac_useropt_orig
=$ac_useropt
903 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
904 case $ac_user_opts in
908 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
909 ac_unrecognized_sep
=', ';;
911 eval enable_
$ac_useropt=no
;;
913 -docdir |
--docdir |
--docdi |
--doc |
--do)
915 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
918 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
920 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
923 -enable-* |
--enable-*)
924 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
925 # Reject names that are not valid shell variable names.
926 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
927 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
928 { (exit 1); exit 1; }; }
929 ac_useropt_orig
=$ac_useropt
930 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
931 case $ac_user_opts in
935 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
936 ac_unrecognized_sep
=', ';;
938 eval enable_
$ac_useropt=\
$ac_optarg ;;
940 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
941 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
942 |
--exec |
--exe |
--ex)
943 ac_prev
=exec_prefix
;;
944 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
945 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
946 |
--exec=* |
--exe=* |
--ex=*)
947 exec_prefix
=$ac_optarg ;;
949 -gas |
--gas |
--ga |
--g)
950 # Obsolete; use --with-gas.
953 -help |
--help |
--hel |
--he |
-h)
955 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
956 ac_init_help
=recursive
;;
957 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
958 ac_init_help
=short
;;
960 -host |
--host |
--hos |
--ho)
961 ac_prev
=host_alias
;;
962 -host=* |
--host=* |
--hos=* |
--ho=*)
963 host_alias
=$ac_optarg ;;
965 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
967 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
969 htmldir
=$ac_optarg ;;
971 -includedir |
--includedir |
--includedi |
--included |
--include \
972 |
--includ |
--inclu |
--incl |
--inc)
973 ac_prev
=includedir
;;
974 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
975 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
976 includedir
=$ac_optarg ;;
978 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
980 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
981 infodir
=$ac_optarg ;;
983 -libdir |
--libdir |
--libdi |
--libd)
985 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
988 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
989 |
--libexe |
--libex |
--libe)
990 ac_prev
=libexecdir
;;
991 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
992 |
--libexe=* |
--libex=* |
--libe=*)
993 libexecdir
=$ac_optarg ;;
995 -localedir |
--localedir |
--localedi |
--localed |
--locale)
997 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
998 localedir
=$ac_optarg ;;
1000 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1001 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1002 ac_prev
=localstatedir
;;
1003 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1004 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1005 localstatedir
=$ac_optarg ;;
1007 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1009 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1010 mandir
=$ac_optarg ;;
1012 -nfp |
--nfp |
--nf)
1013 # Obsolete; use --without-fp.
1016 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1017 |
--no-cr |
--no-c |
-n)
1020 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1021 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1024 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1025 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1026 |
--oldin |
--oldi |
--old |
--ol |
--o)
1027 ac_prev
=oldincludedir
;;
1028 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1029 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1030 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1031 oldincludedir
=$ac_optarg ;;
1033 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1035 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1036 prefix
=$ac_optarg ;;
1038 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1039 |
--program-pre |
--program-pr |
--program-p)
1040 ac_prev
=program_prefix
;;
1041 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1042 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1043 program_prefix
=$ac_optarg ;;
1045 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1046 |
--program-suf |
--program-su |
--program-s)
1047 ac_prev
=program_suffix
;;
1048 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1049 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1050 program_suffix
=$ac_optarg ;;
1052 -program-transform-name |
--program-transform-name \
1053 |
--program-transform-nam |
--program-transform-na \
1054 |
--program-transform-n |
--program-transform- \
1055 |
--program-transform |
--program-transfor \
1056 |
--program-transfo |
--program-transf \
1057 |
--program-trans |
--program-tran \
1058 |
--progr-tra |
--program-tr |
--program-t)
1059 ac_prev
=program_transform_name
;;
1060 -program-transform-name=* |
--program-transform-name=* \
1061 |
--program-transform-nam=* |
--program-transform-na=* \
1062 |
--program-transform-n=* |
--program-transform-=* \
1063 |
--program-transform=* |
--program-transfor=* \
1064 |
--program-transfo=* |
--program-transf=* \
1065 |
--program-trans=* |
--program-tran=* \
1066 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1067 program_transform_name
=$ac_optarg ;;
1069 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1071 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1072 pdfdir
=$ac_optarg ;;
1074 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1076 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1079 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1080 |
-silent |
--silent |
--silen |
--sile |
--sil)
1083 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1085 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1087 sbindir
=$ac_optarg ;;
1089 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1090 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1091 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1093 ac_prev
=sharedstatedir
;;
1094 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1095 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1096 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1098 sharedstatedir
=$ac_optarg ;;
1100 -site |
--site |
--sit)
1102 -site=* |
--site=* |
--sit=*)
1105 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1107 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1108 srcdir
=$ac_optarg ;;
1110 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1111 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1112 ac_prev
=sysconfdir
;;
1113 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1114 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1115 sysconfdir
=$ac_optarg ;;
1117 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1118 ac_prev
=target_alias
;;
1119 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1120 target_alias
=$ac_optarg ;;
1122 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1125 -version |
--version |
--versio |
--versi |
--vers |
-V)
1126 ac_init_version
=: ;;
1129 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1130 # Reject names that are not valid shell variable names.
1131 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1132 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1133 { (exit 1); exit 1; }; }
1134 ac_useropt_orig
=$ac_useropt
1135 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1136 case $ac_user_opts in
1140 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1141 ac_unrecognized_sep
=', ';;
1143 eval with_
$ac_useropt=\
$ac_optarg ;;
1145 -without-* |
--without-*)
1146 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1147 # Reject names that are not valid shell variable names.
1148 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1149 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1150 { (exit 1); exit 1; }; }
1151 ac_useropt_orig
=$ac_useropt
1152 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1153 case $ac_user_opts in
1157 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1158 ac_unrecognized_sep
=', ';;
1160 eval with_
$ac_useropt=no
;;
1163 # Obsolete; use --with-x.
1166 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1167 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1168 ac_prev
=x_includes
;;
1169 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1170 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1171 x_includes
=$ac_optarg ;;
1173 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1174 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1175 ac_prev
=x_libraries
;;
1176 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1177 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1178 x_libraries
=$ac_optarg ;;
1180 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1181 Try \`$0 --help' for more information." >&2
1182 { (exit 1); exit 1; }; }
1186 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1187 # Reject names that are not valid shell variable names.
1188 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1189 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1190 { (exit 1); exit 1; }; }
1191 eval $ac_envvar=\
$ac_optarg
1192 export $ac_envvar ;;
1195 # FIXME: should be removed in autoconf 3.0.
1196 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1197 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1198 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1199 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1205 if test -n "$ac_prev"; then
1206 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1207 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1208 { (exit 1); exit 1; }; }
1211 if test -n "$ac_unrecognized_opts"; then
1212 case $enable_option_checking in
1214 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1215 { (exit 1); exit 1; }; } ;;
1216 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1220 # Check all directory arguments for consistency.
1221 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1222 datadir sysconfdir sharedstatedir localstatedir includedir \
1223 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1224 libdir localedir mandir
1226 eval ac_val
=\$
$ac_var
1227 # Remove trailing slashes.
1230 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1231 eval $ac_var=\
$ac_val;;
1233 # Be sure to have absolute directory names.
1235 [\\/$
]* | ?
:[\\/]* ) continue;;
1236 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1238 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1239 { (exit 1); exit 1; }; }
1242 # There might be people who depend on the old broken behavior: `$host'
1243 # used to hold the argument of --host etc.
1244 # FIXME: To remove some day.
1247 target
=$target_alias
1249 # FIXME: To remove some day.
1250 if test "x$host_alias" != x
; then
1251 if test "x$build_alias" = x
; then
1252 cross_compiling
=maybe
1253 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1254 If a cross compiler is detected then cross compile mode will be used." >&2
1255 elif test "x$build_alias" != "x$host_alias"; then
1261 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1263 test "$silent" = yes && exec 6>/dev
/null
1266 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1267 ac_ls_di
=`ls -di .` &&
1268 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1269 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1270 { (exit 1); exit 1; }; }
1271 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1272 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1273 { (exit 1); exit 1; }; }
1276 # Find the source files, if location was not specified.
1277 if test -z "$srcdir"; then
1278 ac_srcdir_defaulted
=yes
1279 # Try the directory containing this script, then the parent directory.
1280 ac_confdir
=`$as_dirname -- "$as_myself" ||
1281 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1282 X"$as_myself" : 'X\(//\)[^/]' \| \
1283 X"$as_myself" : 'X\(//\)$' \| \
1284 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1285 $as_echo X"$as_myself" |
1286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1304 if test ! -r "$srcdir/$ac_unique_file"; then
1308 ac_srcdir_defaulted
=no
1310 if test ! -r "$srcdir/$ac_unique_file"; then
1311 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1312 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1313 { (exit 1); exit 1; }; }
1315 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1317 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1318 { (exit 1); exit 1; }; }
1320 # When building in place, set srcdir=.
1321 if test "$ac_abs_confdir" = "$ac_pwd"; then
1324 # Remove unnecessary trailing slashes from srcdir.
1325 # Double slashes in file names in object file debugging info
1326 # mess up M-x gdb in Emacs.
1328 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1330 for ac_var
in $ac_precious_vars; do
1331 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1332 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1333 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1334 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1338 # Report the --help message.
1340 if test "$ac_init_help" = "long"; then
1341 # Omit some internal or obsolete options to make the list less imposing.
1342 # This message is too long to be a string in the A/UX 3.1 sh.
1344 \`configure' configures systemtap 0.9.5 to adapt to many kinds of systems.
1346 Usage: $0 [OPTION]... [VAR=VALUE]...
1348 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1349 VAR=VALUE. See below for descriptions of some of the useful variables.
1351 Defaults for the options are specified in brackets.
1354 -h, --help display this help and exit
1355 --help=short display options specific to this package
1356 --help=recursive display the short help of all the included packages
1357 -V, --version display version information and exit
1358 -q, --quiet, --silent do not print \`checking...' messages
1359 --cache-file=FILE cache test results in FILE [disabled]
1360 -C, --config-cache alias for \`--cache-file=config.cache'
1361 -n, --no-create do not create output files
1362 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1364 Installation directories:
1365 --prefix=PREFIX install architecture-independent files in PREFIX
1366 [$ac_default_prefix]
1367 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1370 By default, \`make install' will install all the files in
1371 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1372 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1373 for instance \`--prefix=\$HOME'.
1375 For better control, use the options below.
1377 Fine tuning of the installation directories:
1378 --bindir=DIR user executables [EPREFIX/bin]
1379 --sbindir=DIR system admin executables [EPREFIX/sbin]
1380 --libexecdir=DIR program executables [EPREFIX/libexec]
1381 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1382 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1383 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1384 --libdir=DIR object code libraries [EPREFIX/lib]
1385 --includedir=DIR C header files [PREFIX/include]
1386 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1387 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1388 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1389 --infodir=DIR info documentation [DATAROOTDIR/info]
1390 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1391 --mandir=DIR man documentation [DATAROOTDIR/man]
1392 --docdir=DIR documentation root [DATAROOTDIR/doc/systemtap]
1393 --htmldir=DIR html documentation [DOCDIR]
1394 --dvidir=DIR dvi documentation [DOCDIR]
1395 --pdfdir=DIR pdf documentation [DOCDIR]
1396 --psdir=DIR ps documentation [DOCDIR]
1402 --program-prefix=PREFIX prepend PREFIX to installed program names
1403 --program-suffix=SUFFIX append SUFFIX to installed program names
1404 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1408 if test -n "$ac_init_help"; then
1409 case $ac_init_help in
1410 short | recursive
) echo "Configuration of systemtap 0.9.5:";;
1415 --disable-option-checking ignore unrecognized
--enable/--with options
1416 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1417 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1418 --enable-maintainer-mode enable make rules and dependencies not useful
1419 (and sometimes confusing
) to the casual installer
1420 --disable-dependency-tracking speeds up one-time build
1421 --enable-dependency-tracking do not reject slow dependency extractors
1422 --enable-perfmon[=DIRECTORY
]
1423 enable perfmon support
(default is disabled
).
1424 Optional DIRECTORY is the path to the perfmon
1425 installation
(needed
if installed
in a non-standard
1427 --enable-prologues make -P prologue-searching default
1428 --disable-ssp disable gcc stack-protector
1429 --enable-pie enable position-independent-executable
1430 --enable-sqlite build with sqlite support
1431 --enable-crash[=DIRECTORY
]
1432 enable crash extension
(default is disabled
).
1433 Optional DIRECTORY is the path to the crash header
1434 file (needed
if installed
in a non-standard
1436 --enable-docs enable building documentation
(default on
if latex
1438 --enable-refdocs enable building reference documentation
(default on
1439 if xmlto etc. found and other documentation built
).
1440 --enable-server enable building of stap-server
/client
(default on
if
1444 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1445 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1446 --with-elfutils=DIRECTORY
1447 find elfutils
source code
in DIRECTORY
1449 Some influential environment variables
:
1450 CC C compiler
command
1451 CFLAGS C compiler flags
1452 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1453 nonstandard directory
<lib dir
>
1454 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1455 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1456 you have headers
in a nonstandard directory
<include dir
>
1457 CXX C
++ compiler
command
1458 CXXFLAGS C
++ compiler flags
1460 CXXCPP C
++ preprocessor
1462 Use these variables to override the choices made by
`configure' or to help
1463 it to find libraries and programs with nonstandard names/locations.
1465 Report bugs to <systemtap@sources.redhat.com>.
1470 if test "$ac_init_help" = "recursive"; then
1471 # If there are subdirs, report their specific --help.
1472 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1473 test -d "$ac_dir" ||
1474 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1479 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1481 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1482 # A ".." for each directory in $ac_dir_suffix.
1483 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1484 case $ac_top_builddir_sub in
1485 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1486 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1489 ac_abs_top_builddir=$ac_pwd
1490 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1491 # for backward compatibility:
1492 ac_top_builddir=$ac_top_build_prefix
1495 .) # We are building in place.
1497 ac_top_srcdir=$ac_top_builddir_sub
1498 ac_abs_top_srcdir=$ac_pwd ;;
1499 [\\/]* | ?:[\\/]* ) # Absolute name.
1500 ac_srcdir=$srcdir$ac_dir_suffix;
1501 ac_top_srcdir=$srcdir
1502 ac_abs_top_srcdir=$srcdir ;;
1504 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1505 ac_top_srcdir=$ac_top_build_prefix$srcdir
1506 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1508 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1510 cd "$ac_dir" || { ac_status=$?; continue; }
1511 # Check for guested configure.
1512 if test -f "$ac_srcdir/configure.gnu"; then
1514 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1515 elif test -f "$ac_srcdir/configure"; then
1517 $SHELL "$ac_srcdir/configure" --help=recursive
1519 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1521 cd "$ac_pwd" || { ac_status=$?; break; }
1525 test -n "$ac_init_help" && exit $ac_status
1526 if $ac_init_version; then
1528 systemtap configure 0.9.5
1529 generated by GNU Autoconf 2.63
1531 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1532 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1533 This configure script is free software; the Free Software Foundation
1534 gives unlimited permission to copy, distribute and modify it.
1538 cat >config.log <<_ACEOF
1539 This file contains any messages produced by compilers while
1540 running configure, to aid debugging if configure makes a mistake.
1542 It was created by systemtap $as_me 0.9.5, which was
1543 generated by GNU Autoconf 2.63. Invocation command line was
1555 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1556 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1557 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1558 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1559 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1561 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1562 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1564 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1565 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1566 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1567 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1568 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1569 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1570 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1578 test -z "$as_dir" && as_dir=.
1579 $as_echo "PATH: $as_dir"
1595 # Keep a trace of the command line.
1596 # Strip out --no-create and --no-recursion so they do not pile up.
1597 # Strip out --silent because we don't want to record it for future runs.
1598 # Also quote any args containing shell meta-characters.
1599 # Make two passes to allow for proper duplicate-argument suppression.
1603 ac_must_keep_next=false
1609 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1610 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1611 | -silent | --silent | --silen | --sile | --sil)
1614 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1617 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1619 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1620 if test $ac_must_keep_next = true; then
1621 ac_must_keep_next=false # Got value, back to normal.
1624 *=* | --config-cache | -C | -disable-* | --disable-* \
1625 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1626 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1627 | -with-* | --with-* | -without-* | --without-* | --x)
1628 case "$ac_configure_args0 " in
1629 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1632 -* ) ac_must_keep_next=true ;;
1635 ac_configure_args="$ac_configure_args '$ac_arg'"
1640 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1641 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1643 # When interrupted or exit'd, cleanup temporary files, and complete
1644 # config.log. We remove comments because anyway the quotes in there
1645 # would cause problems or look ugly.
1646 # WARNING: Use '\'' to represent an apostrophe within the trap.
1647 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1648 trap 'exit_status=$?
1649 # Save into config.log some information that might help in debugging.
1654 ## ---------------- ##
1655 ## Cache variables. ##
1656 ## ---------------- ##
1659 # The following way of writing the cache mishandles newlines in values,
1661 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1662 eval ac_val=\$$ac_var
1666 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1667 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1670 _ | IFS | as_nl) ;; #(
1671 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1672 *) $as_unset $ac_var ;;
1677 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1678 *${as_nl}ac_space=\ *)
1680 "s/'\''/'\''\\\\'\'''\''/g;
1681 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1684 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1692 ## ----------------- ##
1693 ## Output variables. ##
1694 ## ----------------- ##
1697 for ac_var in $ac_subst_vars
1699 eval ac_val=\$$ac_var
1701 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1703 $as_echo "$ac_var='\''$ac_val'\''"
1707 if test -n "$ac_subst_files"; then
1709 ## ------------------- ##
1710 ## File substitutions. ##
1711 ## ------------------- ##
1714 for ac_var in $ac_subst_files
1716 eval ac_val=\$$ac_var
1718 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1720 $as_echo "$ac_var='\''$ac_val'\''"
1725 if test -s confdefs.h; then
1735 test "$ac_signal" != 0 &&
1736 $as_echo "$as_me: caught signal $ac_signal"
1737 $as_echo "$as_me: exit $exit_status"
1739 rm -f core *.core core.conftest.* &&
1740 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1743 for ac_signal in 1 2 13 15; do
1744 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1748 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1749 rm -f -r conftest* confdefs.h
1751 # Predefined preprocessor variables.
1753 cat >>confdefs.h <<_ACEOF
1754 #define PACKAGE_NAME "$PACKAGE_NAME"
1758 cat >>confdefs.h <<_ACEOF
1759 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1763 cat >>confdefs.h <<_ACEOF
1764 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1768 cat >>confdefs.h <<_ACEOF
1769 #define PACKAGE_STRING "$PACKAGE_STRING"
1773 cat >>confdefs.h <<_ACEOF
1774 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1778 # Let the site file select an alternate cache file if it wants to.
1779 # Prefer an explicitly selected file to automatically selected ones.
1782 if test -n "$CONFIG_SITE"; then
1783 ac_site_file1=$CONFIG_SITE
1784 elif test "x$prefix" != xNONE; then
1785 ac_site_file1=$prefix/share/config.site
1786 ac_site_file2=$prefix/etc/config.site
1788 ac_site_file1=$ac_default_prefix/share/config.site
1789 ac_site_file2=$ac_default_prefix/etc/config.site
1791 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1793 test "x$ac_site_file" = xNONE && continue
1794 if test -r "$ac_site_file"; then
1795 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1796 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1797 sed 's/^/| /' "$ac_site_file" >&5
1802 if test -r "$cache_file"; then
1803 # Some versions of bash will fail to source /dev/null (special
1804 # files actually), so we avoid doing that.
1805 if test -f "$cache_file"; then
1806 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1807 $as_echo "$as_me: loading cache $cache_file" >&6;}
1809 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1810 *) . "./$cache_file";;
1814 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1815 $as_echo "$as_me: creating cache $cache_file" >&6;}
1819 # Check that the precious variables saved in the cache have kept the same
1821 ac_cache_corrupted=false
1822 for ac_var in $ac_precious_vars; do
1823 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1824 eval ac_new_set=\$ac_env_${ac_var}_set
1825 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1826 eval ac_new_val=\$ac_env_${ac_var}_value
1827 case $ac_old_set,$ac_new_set in
1829 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1830 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1831 ac_cache_corrupted=: ;;
1833 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1834 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1835 ac_cache_corrupted=: ;;
1838 if test "x$ac_old_val" != "x$ac_new_val"; then
1839 # differences in whitespace do not lead to failure.
1840 ac_old_val_w=`echo x
$ac_old_val`
1841 ac_new_val_w=`echo x
$ac_new_val`
1842 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1843 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1844 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1845 ac_cache_corrupted=:
1847 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1848 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1849 eval $ac_var=\$ac_old_val
1851 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1852 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1853 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1854 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1857 # Pass precious variables to config.status.
1858 if test "$ac_new_set" = set; then
1860 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1861 *) ac_arg=$ac_var=$ac_new_val ;;
1863 case " $ac_configure_args " in
1864 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1865 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1869 if $ac_cache_corrupted; then
1870 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1872 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1873 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1874 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
1875 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
1876 { (exit 1); exit 1; }; }
1904 ac_cpp='$CPP $CPPFLAGS'
1905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1912 am__api_version='1.10'
1915 for ac_dir in "$srcdir" "$srcdir/..
" "$srcdir/..
/..
"; do
1916 if test -f "$ac_dir/install-sh
"; then
1918 ac_install_sh="$ac_aux_dir/install-sh
-c"
1920 elif test -f "$ac_dir/install.sh
"; then
1922 ac_install_sh="$ac_aux_dir/install.sh
-c"
1924 elif test -f "$ac_dir/shtool
"; then
1926 ac_install_sh="$ac_aux_dir/shtool
install -c"
1930 if test -z "$ac_aux_dir"; then
1931 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&5
1932 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&2;}
1933 { (exit 1); exit 1; }; }
1936 # These three variables are undocumented and unsupported,
1937 # and are intended to be withdrawn in a future Autoconf release.
1938 # They can cause serious problems if a builder's source tree is in a directory
1939 # whose full name contains unusual characters.
1940 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
1941 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
1942 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
1945 # Find a good install program. We prefer a C program (faster),
1946 # so one script is as good as another. But avoid the broken or
1947 # incompatible versions:
1948 # SysV /etc/install, /usr/sbin/install
1949 # SunOS /usr/etc/install
1950 # IRIX /sbin/install
1952 # AmigaOS /C/install, which installs bootblocks on floppy discs
1953 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1954 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1955 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
1956 # OS/2's system install, which has a completely different semantic
1957 # ./install, which can be erroneously created by make from ./install.sh.
1958 # Reject install programs that cannot install multiple files.
1959 { $as_echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
1960 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
1961 if test -z "$INSTALL"; then
1962 if test "${ac_cv_path_install+set}" = set; then
1963 $as_echo_n "(cached
) " >&6
1965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1969 test -z "$as_dir" && as_dir=.
1970 # Account for people who put trailing slashes in PATH elements.
1972 ./ | .// | /cC/* | \
1973 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1974 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1977 # OSF1 and SCO ODT 3.0 have their own names for install.
1978 # Don't use installbsd from OSF since it installs stuff as root
1980 for ac_prog in ginstall scoinst install; do
1981 for ac_exec_ext in '' $ac_executable_extensions; do
1982 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1983 if test $ac_prog = install &&
1984 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1985 # AIX install. It has an incompatible calling convention.
1987 elif test $ac_prog = install &&
1988 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1989 # program-specific install script used by HP pwplus--don't use.
1992 rm -rf conftest.one conftest.two conftest.dir
1993 echo one > conftest.one
1994 echo two > conftest.two
1996 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
1997 test -s conftest.one && test -s conftest.two &&
1998 test -s conftest.dir/conftest.one &&
1999 test -s conftest.dir/conftest.two
2001 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2014 rm -rf conftest.one conftest.two conftest.dir
2017 if test "${ac_cv_path_install+set}" = set; then
2018 INSTALL=$ac_cv_path_install
2020 # As a last resort, use the slow shell script. Don't cache a
2021 # value for INSTALL within a source directory, because that will
2022 # break other packages using the cache if that directory is
2023 # removed, or if the value is a relative name.
2024 INSTALL=$ac_install_sh
2027 { $as_echo "$as_me:$LINENO: result
: $INSTALL" >&5
2028 $as_echo "$INSTALL" >&6; }
2030 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2031 # It thinks the first close brace ends the variable substitution.
2032 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2034 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2036 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2038 { $as_echo "$as_me:$LINENO: checking whether build environment is sane
" >&5
2039 $as_echo_n "checking whether build environment is sane...
" >&6; }
2042 echo timestamp > conftest.file
2043 # Do `set' in a subshell so we don't clobber the current shell's
2044 # arguments. Must try -L first in case configure is actually a
2045 # symlink; some systems play weird games with the mod time of symlinks
2046 # (eg FreeBSD returns the mod time of the symlink's containing
2049 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2050 if test "$
*" = "X
"; then
2052 set X `ls -t $srcdir/configure conftest.file`
2055 if test "$
*" != "X
$srcdir/configure conftest.
file" \
2056 && test "$
*" != "X conftest.
file $srcdir/configure
"; then
2058 # If neither matched, then we have a broken ls. This can happen
2059 # if, for instance, CONFIG_SHELL is bash and it inherits a
2060 # broken ls alias from the environment. This has actually
2061 # happened. Such a system could not be considered "sane
".
2062 { { $as_echo "$as_me:$LINENO: error
: ls -t appears to fail. Make sure there is not a broken
2063 alias in your environment
" >&5
2064 $as_echo "$as_me: error
: ls -t appears to fail. Make sure there is not a broken
2065 alias in your environment
" >&2;}
2066 { (exit 1); exit 1; }; }
2069 test "$2" = conftest.file
2075 { { $as_echo "$as_me:$LINENO: error
: newly created
file is older than distributed files
!
2076 Check your system
clock" >&5
2077 $as_echo "$as_me: error
: newly created
file is older than distributed files
!
2078 Check your system
clock" >&2;}
2079 { (exit 1); exit 1; }; }
2081 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2082 $as_echo "yes" >&6; }
2083 test "$program_prefix" != NONE &&
2084 program_transform_name="s
&^
&$program_prefix&;$program_transform_name"
2085 # Use a double $ so make ignores it.
2086 test "$program_suffix" != NONE &&
2087 program_transform_name="s
&\$
&$program_suffix&;$program_transform_name"
2088 # Double any \ or $.
2089 # By default was `s,x,x', remove it if useless.
2090 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2091 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2093 # expand $ac_aux_dir to an absolute path
2094 am_aux_dir=`cd $ac_aux_dir && pwd`
2096 test x"${MISSING+set}" = xset || MISSING="\
${SHELL} $am_aux_dir/missing
"
2097 # Use eval to expand $SHELL
2098 if eval "$MISSING --run true
"; then
2099 am_missing_run="$MISSING --run "
2102 { $as_echo "$as_me:$LINENO: WARNING
: \
`missing' script is too old or missing" >&5
2103 $as_echo "$as_me: WARNING: \`missing
' script is too old or missing" >&2;}
2106 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2107 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2108 if test -z "$MKDIR_P"; then
2109 if test "${ac_cv_path_mkdir+set}" = set; then
2110 $as_echo_n "(cached) " >&6
2112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2113 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2116 test -z "$as_dir" && as_dir=.
2117 for ac_prog in mkdir gmkdir; do
2118 for ac_exec_ext in '' $ac_executable_extensions; do
2119 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2120 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2121 'mkdir
(GNU coreutils
) '* | \
2122 'mkdir
(coreutils
) '* | \
2123 'mkdir
(fileutils
) '4.1*)
2124 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2134 if test "${ac_cv_path_mkdir+set}" = set; then
2135 MKDIR_P="$ac_cv_path_mkdir -p"
2137 # As a last resort, use the slow shell script. Don't cache a
2138 # value for MKDIR_P within a source directory, because that will
2139 # break other packages using the cache if that directory is
2140 # removed, or if the value is a relative name.
2141 test -d .
/--version && rmdir .
/--version
2142 MKDIR_P
="$ac_install_sh -d"
2145 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2146 $as_echo "$MKDIR_P" >&6; }
2150 [\\/$
]* | ?
:[\\/]*) ;;
2151 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2154 for ac_prog
in gawk mawk nawk
awk
2156 # Extract the first word of "$ac_prog", so it can be a program name with args.
2157 set dummy
$ac_prog; ac_word
=$2
2158 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2159 $as_echo_n "checking for $ac_word... " >&6; }
2160 if test "${ac_cv_prog_AWK+set}" = set; then
2161 $as_echo_n "(cached) " >&6
2163 if test -n "$AWK"; then
2164 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2170 test -z "$as_dir" && as_dir
=.
2171 for ac_exec_ext
in '' $ac_executable_extensions; do
2172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2173 ac_cv_prog_AWK
="$ac_prog"
2174 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2184 if test -n "$AWK"; then
2185 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2186 $as_echo "$AWK" >&6; }
2188 { $as_echo "$as_me:$LINENO: result: no" >&5
2189 $as_echo "no" >&6; }
2193 test -n "$AWK" && break
2196 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2197 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2199 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2200 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2201 $as_echo_n "(cached) " >&6
2203 cat >conftest.
make <<\_ACEOF
2206 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2208 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2209 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2211 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2213 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2217 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2218 { $as_echo "$as_me:$LINENO: result: yes" >&5
2219 $as_echo "yes" >&6; }
2222 { $as_echo "$as_me:$LINENO: result: no" >&5
2223 $as_echo "no" >&6; }
2224 SET_MAKE
="MAKE=${MAKE-make}"
2227 rm -rf .tst
2>/dev
/null
2228 mkdir .tst
2>/dev
/null
2229 if test -d .tst
; then
2234 rmdir .tst
2>/dev
/null
2236 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2237 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2238 # is not polluted with repeated "-I."
2239 am__isrc
=' -I$(srcdir)'
2240 # test to see if srcdir already configured
2241 if test -f $srcdir/config.status
; then
2242 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2243 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2244 { (exit 1); exit 1; }; }
2248 # test whether we have cygpath
2249 if test -z "$CYGPATH_W"; then
2250 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2251 CYGPATH_W
='cygpath -w'
2258 # Define the identity of the package.
2263 cat >>confdefs.h
<<_ACEOF
2264 #define PACKAGE "$PACKAGE"
2268 cat >>confdefs.h
<<_ACEOF
2269 #define VERSION "$VERSION"
2272 # Some tools Automake needs.
2274 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2277 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2280 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2283 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2286 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2288 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2290 # Installed binaries are usually stripped using `strip' when the user
2291 # run `make install-strip'. However `strip' might not be the right
2292 # tool to use in cross-compilation environments, therefore Automake
2293 # will honor the `STRIP' environment variable to overrule this program.
2294 if test "$cross_compiling" != no
; then
2295 if test -n "$ac_tool_prefix"; then
2296 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2297 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2298 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2299 $as_echo_n "checking for $ac_word... " >&6; }
2300 if test "${ac_cv_prog_STRIP+set}" = set; then
2301 $as_echo_n "(cached) " >&6
2303 if test -n "$STRIP"; then
2304 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2310 test -z "$as_dir" && as_dir
=.
2311 for ac_exec_ext
in '' $ac_executable_extensions; do
2312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2313 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2314 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2323 STRIP
=$ac_cv_prog_STRIP
2324 if test -n "$STRIP"; then
2325 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2326 $as_echo "$STRIP" >&6; }
2328 { $as_echo "$as_me:$LINENO: result: no" >&5
2329 $as_echo "no" >&6; }
2334 if test -z "$ac_cv_prog_STRIP"; then
2336 # Extract the first word of "strip", so it can be a program name with args.
2337 set dummy strip
; ac_word
=$2
2338 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2339 $as_echo_n "checking for $ac_word... " >&6; }
2340 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2341 $as_echo_n "(cached) " >&6
2343 if test -n "$ac_ct_STRIP"; then
2344 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2350 test -z "$as_dir" && as_dir
=.
2351 for ac_exec_ext
in '' $ac_executable_extensions; do
2352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2353 ac_cv_prog_ac_ct_STRIP
="strip"
2354 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2363 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2364 if test -n "$ac_ct_STRIP"; then
2365 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2366 $as_echo "$ac_ct_STRIP" >&6; }
2368 { $as_echo "$as_me:$LINENO: result: no" >&5
2369 $as_echo "no" >&6; }
2372 if test "x$ac_ct_STRIP" = x
; then
2375 case $cross_compiling:$ac_tool_warned in
2377 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2379 ac_tool_warned
=yes ;;
2384 STRIP
="$ac_cv_prog_STRIP"
2388 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2390 # We need awk for the "check" target. The system "awk" is bad on
2392 # Always define AMTAR for backward compatibility.
2394 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2396 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2402 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2403 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2404 # Check whether --enable-maintainer-mode was given.
2405 if test "${enable_maintainer_mode+set}" = set; then
2406 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2408 USE_MAINTAINER_MODE
=no
2411 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2412 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2413 if test $USE_MAINTAINER_MODE = yes; then
2414 MAINTAINER_MODE_TRUE
=
2415 MAINTAINER_MODE_FALSE
='#'
2417 MAINTAINER_MODE_TRUE
='#'
2418 MAINTAINER_MODE_FALSE
=
2421 MAINT
=$MAINTAINER_MODE_TRUE
2427 [\\/$
]* | ?
:[\\/]*) ;;
2428 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2432 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
2433 $as_echo_n "checking whether ln -s works... " >&6; }
2435 if test "$LN_S" = "ln -s"; then
2436 { $as_echo "$as_me:$LINENO: result: yes" >&5
2437 $as_echo "yes" >&6; }
2439 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2440 $as_echo "no, using $LN_S" >&6; }
2444 ac_cpp
='$CPP $CPPFLAGS'
2445 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2446 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2447 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2448 if test -n "$ac_tool_prefix"; then
2449 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2450 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2451 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2452 $as_echo_n "checking for $ac_word... " >&6; }
2453 if test "${ac_cv_prog_CC+set}" = set; then
2454 $as_echo_n "(cached) " >&6
2456 if test -n "$CC"; then
2457 ac_cv_prog_CC
="$CC" # Let the user override the test.
2459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2463 test -z "$as_dir" && as_dir
=.
2464 for ac_exec_ext
in '' $ac_executable_extensions; do
2465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2466 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2467 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2477 if test -n "$CC"; then
2478 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2479 $as_echo "$CC" >&6; }
2481 { $as_echo "$as_me:$LINENO: result: no" >&5
2482 $as_echo "no" >&6; }
2487 if test -z "$ac_cv_prog_CC"; then
2489 # Extract the first word of "gcc", so it can be a program name with args.
2490 set dummy gcc
; ac_word
=$2
2491 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2492 $as_echo_n "checking for $ac_word... " >&6; }
2493 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2494 $as_echo_n "(cached) " >&6
2496 if test -n "$ac_ct_CC"; then
2497 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2503 test -z "$as_dir" && as_dir
=.
2504 for ac_exec_ext
in '' $ac_executable_extensions; do
2505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2506 ac_cv_prog_ac_ct_CC
="gcc"
2507 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2516 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2517 if test -n "$ac_ct_CC"; then
2518 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2519 $as_echo "$ac_ct_CC" >&6; }
2521 { $as_echo "$as_me:$LINENO: result: no" >&5
2522 $as_echo "no" >&6; }
2525 if test "x$ac_ct_CC" = x
; then
2528 case $cross_compiling:$ac_tool_warned in
2530 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2531 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2532 ac_tool_warned
=yes ;;
2540 if test -z "$CC"; then
2541 if test -n "$ac_tool_prefix"; then
2542 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2543 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2544 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2545 $as_echo_n "checking for $ac_word... " >&6; }
2546 if test "${ac_cv_prog_CC+set}" = set; then
2547 $as_echo_n "(cached) " >&6
2549 if test -n "$CC"; then
2550 ac_cv_prog_CC
="$CC" # Let the user override the test.
2552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2556 test -z "$as_dir" && as_dir
=.
2557 for ac_exec_ext
in '' $ac_executable_extensions; do
2558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2559 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2560 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2570 if test -n "$CC"; then
2571 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2572 $as_echo "$CC" >&6; }
2574 { $as_echo "$as_me:$LINENO: result: no" >&5
2575 $as_echo "no" >&6; }
2581 if test -z "$CC"; then
2582 # Extract the first word of "cc", so it can be a program name with args.
2583 set dummy cc
; ac_word
=$2
2584 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2585 $as_echo_n "checking for $ac_word... " >&6; }
2586 if test "${ac_cv_prog_CC+set}" = set; then
2587 $as_echo_n "(cached) " >&6
2589 if test -n "$CC"; then
2590 ac_cv_prog_CC
="$CC" # Let the user override the test.
2593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2597 test -z "$as_dir" && as_dir
=.
2598 for ac_exec_ext
in '' $ac_executable_extensions; do
2599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2600 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2601 ac_prog_rejected
=yes
2605 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2612 if test $ac_prog_rejected = yes; then
2613 # We found a bogon in the path, so make sure we never use it.
2614 set dummy
$ac_cv_prog_CC
2616 if test $# != 0; then
2617 # We chose a different compiler from the bogus one.
2618 # However, it has the same basename, so the bogon will be chosen
2619 # first if we set CC to just the basename; use the full file name.
2621 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2627 if test -n "$CC"; then
2628 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2629 $as_echo "$CC" >&6; }
2631 { $as_echo "$as_me:$LINENO: result: no" >&5
2632 $as_echo "no" >&6; }
2637 if test -z "$CC"; then
2638 if test -n "$ac_tool_prefix"; then
2639 for ac_prog
in cl.exe
2641 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2642 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2643 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2644 $as_echo_n "checking for $ac_word... " >&6; }
2645 if test "${ac_cv_prog_CC+set}" = set; then
2646 $as_echo_n "(cached) " >&6
2648 if test -n "$CC"; then
2649 ac_cv_prog_CC
="$CC" # Let the user override the test.
2651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2655 test -z "$as_dir" && as_dir
=.
2656 for ac_exec_ext
in '' $ac_executable_extensions; do
2657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2658 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2659 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2669 if test -n "$CC"; then
2670 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2671 $as_echo "$CC" >&6; }
2673 { $as_echo "$as_me:$LINENO: result: no" >&5
2674 $as_echo "no" >&6; }
2678 test -n "$CC" && break
2681 if test -z "$CC"; then
2683 for ac_prog
in cl.exe
2685 # Extract the first word of "$ac_prog", so it can be a program name with args.
2686 set dummy
$ac_prog; ac_word
=$2
2687 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2688 $as_echo_n "checking for $ac_word... " >&6; }
2689 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2690 $as_echo_n "(cached) " >&6
2692 if test -n "$ac_ct_CC"; then
2693 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2699 test -z "$as_dir" && as_dir
=.
2700 for ac_exec_ext
in '' $ac_executable_extensions; do
2701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2702 ac_cv_prog_ac_ct_CC
="$ac_prog"
2703 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2712 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2713 if test -n "$ac_ct_CC"; then
2714 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2715 $as_echo "$ac_ct_CC" >&6; }
2717 { $as_echo "$as_me:$LINENO: result: no" >&5
2718 $as_echo "no" >&6; }
2722 test -n "$ac_ct_CC" && break
2725 if test "x$ac_ct_CC" = x
; then
2728 case $cross_compiling:$ac_tool_warned in
2730 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2732 ac_tool_warned
=yes ;;
2741 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2742 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2743 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2744 See \`config.log' for more details." >&5
2745 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2746 See \`config.log' for more details." >&2;}
2747 { (exit 1); exit 1; }; }; }
2749 # Provide some information about the compiler.
2750 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2753 { (ac_try
="$ac_compiler --version >&5"
2755 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2756 *) ac_try_echo=$ac_try;;
2758 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2759 $as_echo "$ac_try_echo") >&5
2760 (eval "$ac_compiler --version >&5") 2>&5
2762 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763 (exit $ac_status); }
2764 { (ac_try="$ac_compiler -v >&5"
2766 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2767 *) ac_try_echo
=$ac_try;;
2769 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2770 $as_echo "$ac_try_echo") >&5
2771 (eval "$ac_compiler -v >&5") 2>&5
2773 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774 (exit $ac_status); }
2775 { (ac_try
="$ac_compiler -V >&5"
2777 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2778 *) ac_try_echo=$ac_try;;
2780 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2781 $as_echo "$ac_try_echo") >&5
2782 (eval "$ac_compiler -V >&5") 2>&5
2784 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785 (exit $ac_status); }
2787 cat >conftest.$ac_ext <<_ACEOF
2790 cat confdefs.h >>conftest.$ac_ext
2791 cat >>conftest.$ac_ext <<_ACEOF
2792 /* end confdefs.h. */
2802 ac_clean_files_save=$ac_clean_files
2803 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2804 # Try to create an executable without -o first, disregard a.out.
2805 # It will help us diagnose broken compilers, and finding out an intuition
2807 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2808 $as_echo_n "checking for C compiler default output file name... " >&6; }
2809 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2811 # The possible output files:
2812 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2815 for ac_file in $ac_files
2818 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2819 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2824 if { (ac_try="$ac_link_default"
2826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2827 *) ac_try_echo
=$ac_try;;
2829 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2830 $as_echo "$ac_try_echo") >&5
2831 (eval "$ac_link_default") 2>&5
2833 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834 (exit $ac_status); }; then
2835 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2836 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2837 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2838 # so that the user can short-circuit this test for compilers unknown to
2840 for ac_file
in $ac_files ''
2842 test -f "$ac_file" ||
continue
2844 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2847 # We found the default executable, but exeext='' is most
2851 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2853 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2855 # We set ac_cv_exeext here because the later test for it is not
2856 # safe: cross compilers may not add the suffix if given an `-o'
2857 # argument, so we may need to know it at that point already.
2858 # Even if this section looks crufty: it has the advantage of
2865 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2871 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2872 $as_echo "$ac_file" >&6; }
2873 if test -z "$ac_file"; then
2874 $as_echo "$as_me: failed program was:" >&5
2875 sed 's/^/| /' conftest.
$ac_ext >&5
2877 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2878 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2879 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2880 See \`config.log' for more details." >&5
2881 $as_echo "$as_me: error: C compiler cannot create executables
2882 See \`config.log' for more details." >&2;}
2883 { (exit 77); exit 77; }; }; }
2886 ac_exeext
=$ac_cv_exeext
2888 # Check that the compiler produces executables we can run. If not, either
2889 # the compiler is broken, or we cross compile.
2890 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2891 $as_echo_n "checking whether the C compiler works... " >&6; }
2892 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2893 # If not cross compiling, check that we can run a simple program.
2894 if test "$cross_compiling" != yes; then
2895 if { ac_try
='./$ac_file'
2896 { (case "(($ac_try" in
2897 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2898 *) ac_try_echo=$ac_try;;
2900 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2901 $as_echo "$ac_try_echo") >&5
2902 (eval "$ac_try") 2>&5
2904 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905 (exit $ac_status); }; }; then
2908 if test "$cross_compiling" = maybe; then
2911 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2912 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2913 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2914 If you meant to cross compile
, use \
`--host'.
2915 See \`config.log
' for more details." >&5
2916 $as_echo "$as_me: error: cannot run C compiled programs.
2917 If you meant to cross compile, use \`--host'.
2918 See \
`config.log' for more details." >&2;}
2919 { (exit 1); exit 1; }; }; }
2923 { $as_echo "$as_me:$LINENO: result: yes" >&5
2924 $as_echo "yes" >&6; }
2926 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2927 ac_clean_files=$ac_clean_files_save
2928 # Check that the compiler produces executables we can run. If not, either
2929 # the compiler is broken, or we cross compile.
2930 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2931 $as_echo_n "checking whether we are cross compiling... " >&6; }
2932 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2933 $as_echo "$cross_compiling" >&6; }
2935 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2936 $as_echo_n "checking for suffix of executables... " >&6; }
2937 if { (ac_try="$ac_link"
2939 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2940 *) ac_try_echo
=$ac_try;;
2942 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2943 $as_echo "$ac_try_echo") >&5
2944 (eval "$ac_link") 2>&5
2946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); }; then
2948 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2949 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2950 # work properly (i.e., refer to `conftest.exe'), while it won't with
2952 for ac_file
in conftest.exe conftest conftest.
*; do
2953 test -f "$ac_file" ||
continue
2955 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2956 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2962 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2964 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2965 See \`config.log' for more details." >&5
2966 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2967 See \`config.log' for more details." >&2;}
2968 { (exit 1); exit 1; }; }; }
2971 rm -f conftest
$ac_cv_exeext
2972 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2973 $as_echo "$ac_cv_exeext" >&6; }
2975 rm -f conftest.
$ac_ext
2976 EXEEXT
=$ac_cv_exeext
2978 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2979 $as_echo_n "checking for suffix of object files... " >&6; }
2980 if test "${ac_cv_objext+set}" = set; then
2981 $as_echo_n "(cached) " >&6
2983 cat >conftest.
$ac_ext <<_ACEOF
2986 cat confdefs.h
>>conftest.
$ac_ext
2987 cat >>conftest.
$ac_ext <<_ACEOF
2988 /* end confdefs.h. */
2998 rm -f conftest.o conftest.obj
2999 if { (ac_try
="$ac_compile"
3001 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3002 *) ac_try_echo=$ac_try;;
3004 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3005 $as_echo "$ac_try_echo") >&5
3006 (eval "$ac_compile") 2>&5
3008 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009 (exit $ac_status); }; then
3010 for ac_file in conftest.o conftest.obj conftest.*; do
3011 test -f "$ac_file" || continue;
3013 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3014 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3019 $as_echo "$as_me: failed program was:" >&5
3020 sed 's/^/| /' conftest.$ac_ext >&5
3022 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3024 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3025 See \
`config.log' for more details." >&5
3026 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3027 See \`config.log
' for more details." >&2;}
3028 { (exit 1); exit 1; }; }; }
3031 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3033 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3034 $as_echo "$ac_cv_objext" >&6; }
3035 OBJEXT=$ac_cv_objext
3037 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3038 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3039 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3040 $as_echo_n "(cached) " >&6
3042 cat >conftest.$ac_ext <<_ACEOF
3045 cat confdefs.h >>conftest.$ac_ext
3046 cat >>conftest.$ac_ext <<_ACEOF
3047 /* end confdefs.h. */
3060 rm -f conftest.$ac_objext
3061 if { (ac_try="$ac_compile"
3063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3064 *) ac_try_echo=$ac_try;;
3066 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3067 $as_echo "$ac_try_echo") >&5
3068 (eval "$ac_compile") 2>conftest.er1
3070 grep -v '^
*+' conftest.er1 >conftest.err
3072 cat conftest.err >&5
3073 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3074 (exit $ac_status); } && {
3075 test -z "$ac_c_werror_flag" ||
3076 test ! -s conftest.err
3077 } && test -s conftest.$ac_objext; then
3080 $as_echo "$as_me: failed program was:" >&5
3081 sed 's
/^
/|
/' conftest.$ac_ext >&5
3086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3087 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3090 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3091 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3092 if test $ac_compiler_gnu = yes; then
3097 ac_test_CFLAGS=${CFLAGS+set}
3098 ac_save_CFLAGS=$CFLAGS
3099 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3100 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3101 if test "${ac_cv_prog_cc_g+set}" = set; then
3102 $as_echo_n "(cached) " >&6
3104 ac_save_c_werror_flag=$ac_c_werror_flag
3105 ac_c_werror_flag=yes
3108 cat >conftest.$ac_ext <<_ACEOF
3111 cat confdefs.h >>conftest.$ac_ext
3112 cat >>conftest.$ac_ext <<_ACEOF
3113 /* end confdefs.h. */
3123 rm -f conftest.$ac_objext
3124 if { (ac_try="$ac_compile"
3126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3127 *) ac_try_echo=$ac_try;;
3129 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3130 $as_echo "$ac_try_echo") >&5
3131 (eval "$ac_compile") 2>conftest.er1
3133 grep -v '^
*+' conftest.er1 >conftest.err
3135 cat conftest.err >&5
3136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3137 (exit $ac_status); } && {
3138 test -z "$ac_c_werror_flag" ||
3139 test ! -s conftest.err
3140 } && test -s conftest.$ac_objext; then
3143 $as_echo "$as_me: failed program was:" >&5
3144 sed 's
/^
/|
/' conftest.$ac_ext >&5
3147 cat >conftest.$ac_ext <<_ACEOF
3150 cat confdefs.h >>conftest.$ac_ext
3151 cat >>conftest.$ac_ext <<_ACEOF
3152 /* end confdefs.h. */
3162 rm -f conftest.$ac_objext
3163 if { (ac_try="$ac_compile"
3165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3166 *) ac_try_echo=$ac_try;;
3168 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3169 $as_echo "$ac_try_echo") >&5
3170 (eval "$ac_compile") 2>conftest.er1
3172 grep -v '^
*+' conftest.er1 >conftest.err
3174 cat conftest.err >&5
3175 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); } && {
3177 test -z "$ac_c_werror_flag" ||
3178 test ! -s conftest.err
3179 } && test -s conftest.$ac_objext; then
3182 $as_echo "$as_me: failed program was:" >&5
3183 sed 's
/^
/|
/' conftest.$ac_ext >&5
3185 ac_c_werror_flag=$ac_save_c_werror_flag
3187 cat >conftest.$ac_ext <<_ACEOF
3190 cat confdefs.h >>conftest.$ac_ext
3191 cat >>conftest.$ac_ext <<_ACEOF
3192 /* end confdefs.h. */
3202 rm -f conftest.$ac_objext
3203 if { (ac_try="$ac_compile"
3205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3206 *) ac_try_echo=$ac_try;;
3208 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3209 $as_echo "$ac_try_echo") >&5
3210 (eval "$ac_compile") 2>conftest.er1
3212 grep -v '^
*+' conftest.er1 >conftest.err
3214 cat conftest.err >&5
3215 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); } && {
3217 test -z "$ac_c_werror_flag" ||
3218 test ! -s conftest.err
3219 } && test -s conftest.$ac_objext; then
3222 $as_echo "$as_me: failed program was:" >&5
3223 sed 's
/^
/|
/' conftest.$ac_ext >&5
3228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3235 ac_c_werror_flag=$ac_save_c_werror_flag
3237 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3238 $as_echo "$ac_cv_prog_cc_g" >&6; }
3239 if test "$ac_test_CFLAGS" = set; then
3240 CFLAGS=$ac_save_CFLAGS
3241 elif test $ac_cv_prog_cc_g = yes; then
3242 if test "$GCC" = yes; then
3248 if test "$GCC" = yes; then
3254 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3255 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3256 if test "${ac_cv_prog_cc_c89+set}" = set; then
3257 $as_echo_n "(cached) " >&6
3259 ac_cv_prog_cc_c89=no
3261 cat >conftest.$ac_ext <<_ACEOF
3264 cat confdefs.h >>conftest.$ac_ext
3265 cat >>conftest.$ac_ext <<_ACEOF
3266 /* end confdefs.h. */
3269 #include <sys/types.h>
3270 #include <sys/stat.h>
3271 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3272 struct buf
{ int x
; };
3273 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3274 static char
*e
(p
, i
)
3280 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3285 s
= g
(p
, va_arg
(v
,int
));
3290 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3291 function prototypes and stuff
, but not
'\xHH' hex character constants.
3292 These don
't provoke an error unfortunately, instead are silently treated
3293 as 'x
'. The following induces an error, until -std is added to get
3294 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3295 array size at least. It's necessary to
write '\x00'==0 to get something
3296 that
's true only with -std. */
3297 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3299 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3300 inside strings and character constants. */
3302 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3304 int test (int i, double x);
3305 struct s1 {int (*f) (int a);};
3306 struct s2 {int (*f) (double a);};
3307 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3313 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3318 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3319 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3321 CC="$ac_save_CC $ac_arg"
3322 rm -f conftest.$ac_objext
3323 if { (ac_try="$ac_compile"
3325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3326 *) ac_try_echo=$ac_try;;
3328 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3329 $as_echo "$ac_try_echo") >&5
3330 (eval "$ac_compile") 2>conftest.er1
3332 grep -v '^
*+' conftest.er1 >conftest.err
3334 cat conftest.err >&5
3335 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3336 (exit $ac_status); } && {
3337 test -z "$ac_c_werror_flag" ||
3338 test ! -s conftest.err
3339 } && test -s conftest.$ac_objext; then
3340 ac_cv_prog_cc_c89=$ac_arg
3342 $as_echo "$as_me: failed program was:" >&5
3343 sed 's
/^
/|
/' conftest.$ac_ext >&5
3348 rm -f core conftest.err conftest.$ac_objext
3349 test "x$ac_cv_prog_cc_c89" != "xno" && break
3351 rm -f conftest.$ac_ext
3356 case "x$ac_cv_prog_cc_c89" in
3358 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3359 $as_echo "none needed" >&6; } ;;
3361 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3362 $as_echo "unsupported" >&6; } ;;
3364 CC="$CC $ac_cv_prog_cc_c89"
3365 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3366 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3371 ac_cpp='$CPP $CPPFLAGS'
3372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3373 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3375 DEPDIR="${am__leading_dot}deps"
3377 ac_config_commands="$ac_config_commands depfiles"
3380 am_make=${MAKE-make}
3381 cat > confinc << 'END
'
3386 # If we don't
find an include directive
, just comment out the code.
3387 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3388 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3392 # First try GNU make style include.
3393 echo "include confinc" > confmf
3394 # We grep out `Entering directory' and `Leaving directory'
3395 # messages which can occur if `w' ends up in MAKEFLAGS.
3396 # In particular we don't look at `^make:' because GNU make might
3397 # be invoked under some other name (usually "gmake"), in which
3398 # case it prints its new name instead of `make'.
3399 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3404 # Now try BSD make style include.
3405 if test "$am__include" = "#"; then
3406 echo '.include "confinc"' > confmf
3407 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3408 am__include
=.include
3415 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3416 $as_echo "$_am_result" >&6; }
3417 rm -f confinc confmf
3419 # Check whether --enable-dependency-tracking was given.
3420 if test "${enable_dependency_tracking+set}" = set; then
3421 enableval
=$enable_dependency_tracking;
3424 if test "x$enable_dependency_tracking" != xno
; then
3425 am_depcomp
="$ac_aux_dir/depcomp"
3428 if test "x$enable_dependency_tracking" != xno; then
3438 depcc
="$CC" am_compiler_list
=
3440 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3441 $as_echo_n "checking dependency style of $depcc... " >&6; }
3442 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3443 $as_echo_n "(cached) " >&6
3445 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3446 # We make a subdir and do the tests there. Otherwise we can end up
3447 # making bogus files that we don't know about and never remove. For
3448 # instance it was reported that on HP-UX the gcc test will end up
3449 # making a dummy file named `D' -- because `-MD' means `put the output
3452 # Copy depcomp to subdir because otherwise we won't find it if we're
3453 # using a relative directory.
3454 cp "$am_depcomp" conftest.dir
3456 # We will build objects and dependencies in a subdirectory because
3457 # it helps to detect inapplicable dependency modes. For instance
3458 # both Tru64's cc and ICC support -MD to output dependencies as a
3459 # side effect of compilation, but ICC will put the dependencies in
3460 # the current directory while Tru64 will put them in the object
3464 am_cv_CC_dependencies_compiler_type
=none
3465 if test "$am_compiler_list" = ""; then
3466 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3468 for depmode
in $am_compiler_list; do
3469 # Setup a source with many dependencies, because some compilers
3470 # like to wrap large dependency lists on column 80 (with \), and
3471 # we should not choose a depcomp mode which is confused by this.
3473 # We need to recreate these files for each test, as the compiler may
3474 # overwrite some of them when testing with obscure command lines.
3475 # This happens at least with the AIX C compiler.
3477 for i
in 1 2 3 4 5 6; do
3478 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3479 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3480 # Solaris 8's {/usr,}/bin/sh.
3481 touch sub
/conftst
$i.h
3483 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3487 # after this tag, mechanisms are not by side-effect, so they'll
3488 # only be used when explicitly requested
3489 if test "x$enable_dependency_tracking" = xyes
; then
3497 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3498 # mode. It turns out that the SunPro C++ compiler does not properly
3499 # handle `-M -o', and we need to detect this.
3500 if depmode
=$depmode \
3501 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3502 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3503 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3504 >/dev
/null
2>conftest.err
&&
3505 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3506 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3507 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3508 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3509 # icc doesn't choke on unknown options, it will just issue warnings
3510 # or remarks (even with -Werror). So we grep stderr for any message
3511 # that says an option was ignored or not supported.
3512 # When given -MP, icc 7.0 and 7.1 complain thusly:
3513 # icc: Command line warning: ignoring option '-M'; no argument required
3514 # The diagnosis changed in icc 8.0:
3515 # icc: Command line remark: option '-MP' not supported
3516 if (grep 'ignoring option' conftest.err ||
3517 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3518 am_cv_CC_dependencies_compiler_type
=$depmode
3527 am_cv_CC_dependencies_compiler_type
=none
3531 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3532 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3533 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3536 test "x$enable_dependency_tracking" != xno \
3537 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3539 am__fastdepCC_FALSE
='#'
3541 am__fastdepCC_TRUE
='#'
3542 am__fastdepCC_FALSE
=
3547 ac_cpp
='$CXXCPP $CPPFLAGS'
3548 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3549 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3550 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3551 if test -z "$CXX"; then
3552 if test -n "$CCC"; then
3555 if test -n "$ac_tool_prefix"; then
3556 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3558 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3559 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3560 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3561 $as_echo_n "checking for $ac_word... " >&6; }
3562 if test "${ac_cv_prog_CXX+set}" = set; then
3563 $as_echo_n "(cached) " >&6
3565 if test -n "$CXX"; then
3566 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3572 test -z "$as_dir" && as_dir
=.
3573 for ac_exec_ext
in '' $ac_executable_extensions; do
3574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3575 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3576 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3586 if test -n "$CXX"; then
3587 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3588 $as_echo "$CXX" >&6; }
3590 { $as_echo "$as_me:$LINENO: result: no" >&5
3591 $as_echo "no" >&6; }
3595 test -n "$CXX" && break
3598 if test -z "$CXX"; then
3600 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3602 # Extract the first word of "$ac_prog", so it can be a program name with args.
3603 set dummy
$ac_prog; ac_word
=$2
3604 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3605 $as_echo_n "checking for $ac_word... " >&6; }
3606 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3607 $as_echo_n "(cached) " >&6
3609 if test -n "$ac_ct_CXX"; then
3610 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3616 test -z "$as_dir" && as_dir
=.
3617 for ac_exec_ext
in '' $ac_executable_extensions; do
3618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3619 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3620 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3629 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3630 if test -n "$ac_ct_CXX"; then
3631 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3632 $as_echo "$ac_ct_CXX" >&6; }
3634 { $as_echo "$as_me:$LINENO: result: no" >&5
3635 $as_echo "no" >&6; }
3639 test -n "$ac_ct_CXX" && break
3642 if test "x$ac_ct_CXX" = x
; then
3645 case $cross_compiling:$ac_tool_warned in
3647 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3649 ac_tool_warned
=yes ;;
3657 # Provide some information about the compiler.
3658 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3661 { (ac_try
="$ac_compiler --version >&5"
3663 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3664 *) ac_try_echo=$ac_try;;
3666 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3667 $as_echo "$ac_try_echo") >&5
3668 (eval "$ac_compiler --version >&5") 2>&5
3670 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3671 (exit $ac_status); }
3672 { (ac_try="$ac_compiler -v >&5"
3674 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3675 *) ac_try_echo
=$ac_try;;
3677 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3678 $as_echo "$ac_try_echo") >&5
3679 (eval "$ac_compiler -v >&5") 2>&5
3681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682 (exit $ac_status); }
3683 { (ac_try
="$ac_compiler -V >&5"
3685 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3686 *) ac_try_echo=$ac_try;;
3688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3689 $as_echo "$ac_try_echo") >&5
3690 (eval "$ac_compiler -V >&5") 2>&5
3692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); }
3695 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3696 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3697 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3698 $as_echo_n "(cached) " >&6
3700 cat >conftest.$ac_ext <<_ACEOF
3703 cat confdefs.h >>conftest.$ac_ext
3704 cat >>conftest.$ac_ext <<_ACEOF
3705 /* end confdefs.h. */
3718 rm -f conftest.$ac_objext
3719 if { (ac_try="$ac_compile"
3721 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3722 *) ac_try_echo
=$ac_try;;
3724 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3725 $as_echo "$ac_try_echo") >&5
3726 (eval "$ac_compile") 2>conftest.er1
3728 grep -v '^ *+' conftest.er1
>conftest.err
3730 cat conftest.err
>&5
3731 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732 (exit $ac_status); } && {
3733 test -z "$ac_cxx_werror_flag" ||
3734 test ! -s conftest.err
3735 } && test -s conftest.
$ac_objext; then
3738 $as_echo "$as_me: failed program was:" >&5
3739 sed 's/^/| /' conftest.
$ac_ext >&5
3744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3745 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3748 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3749 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3750 if test $ac_compiler_gnu = yes; then
3755 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3756 ac_save_CXXFLAGS
=$CXXFLAGS
3757 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3758 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3759 if test "${ac_cv_prog_cxx_g+set}" = set; then
3760 $as_echo_n "(cached) " >&6
3762 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3763 ac_cxx_werror_flag
=yes
3766 cat >conftest.
$ac_ext <<_ACEOF
3769 cat confdefs.h
>>conftest.
$ac_ext
3770 cat >>conftest.
$ac_ext <<_ACEOF
3771 /* end confdefs.h. */
3781 rm -f conftest.
$ac_objext
3782 if { (ac_try
="$ac_compile"
3784 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3785 *) ac_try_echo=$ac_try;;
3787 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3788 $as_echo "$ac_try_echo") >&5
3789 (eval "$ac_compile") 2>conftest.er1
3791 grep -v '^ *+' conftest.er1 >conftest.err
3793 cat conftest.err >&5
3794 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); } && {
3796 test -z "$ac_cxx_werror_flag" ||
3797 test ! -s conftest.err
3798 } && test -s conftest.$ac_objext; then
3799 ac_cv_prog_cxx_g=yes
3801 $as_echo "$as_me: failed program was:" >&5
3802 sed 's/^/| /' conftest.$ac_ext >&5
3805 cat >conftest.$ac_ext <<_ACEOF
3808 cat confdefs.h >>conftest.$ac_ext
3809 cat >>conftest.$ac_ext <<_ACEOF
3810 /* end confdefs.h. */
3820 rm -f conftest.$ac_objext
3821 if { (ac_try="$ac_compile"
3823 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3824 *) ac_try_echo
=$ac_try;;
3826 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3827 $as_echo "$ac_try_echo") >&5
3828 (eval "$ac_compile") 2>conftest.er1
3830 grep -v '^ *+' conftest.er1
>conftest.err
3832 cat conftest.err
>&5
3833 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3834 (exit $ac_status); } && {
3835 test -z "$ac_cxx_werror_flag" ||
3836 test ! -s conftest.err
3837 } && test -s conftest.
$ac_objext; then
3840 $as_echo "$as_me: failed program was:" >&5
3841 sed 's/^/| /' conftest.
$ac_ext >&5
3843 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3845 cat >conftest.
$ac_ext <<_ACEOF
3848 cat confdefs.h
>>conftest.
$ac_ext
3849 cat >>conftest.
$ac_ext <<_ACEOF
3850 /* end confdefs.h. */
3860 rm -f conftest.
$ac_objext
3861 if { (ac_try
="$ac_compile"
3863 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3864 *) ac_try_echo=$ac_try;;
3866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3867 $as_echo "$ac_try_echo") >&5
3868 (eval "$ac_compile") 2>conftest.er1
3870 grep -v '^ *+' conftest.er1 >conftest.err
3872 cat conftest.err >&5
3873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3874 (exit $ac_status); } && {
3875 test -z "$ac_cxx_werror_flag" ||
3876 test ! -s conftest.err
3877 } && test -s conftest.$ac_objext; then
3878 ac_cv_prog_cxx_g=yes
3880 $as_echo "$as_me: failed program was:" >&5
3881 sed 's/^/| /' conftest.$ac_ext >&5
3886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3893 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3895 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3896 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3897 if test "$ac_test_CXXFLAGS" = set; then
3898 CXXFLAGS=$ac_save_CXXFLAGS
3899 elif test $ac_cv_prog_cxx_g = yes; then
3900 if test "$GXX" = yes; then
3906 if test "$GXX" = yes; then
3913 ac_cpp='$CPP $CPPFLAGS'
3914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3918 depcc="$CXX" am_compiler_list=
3920 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3921 $as_echo_n "checking dependency style of $depcc... " >&6; }
3922 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3923 $as_echo_n "(cached) " >&6
3925 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3926 # We make a subdir and do the tests there. Otherwise we can end up
3927 # making bogus files that we don't know about and never remove. For
3928 # instance it was reported that on HP-UX the gcc test will end up
3929 # making a dummy file named `D
' -- because `-MD' means
`put the output
3932 # Copy depcomp to subdir because otherwise we won't find it if we're
3933 # using a relative directory.
3934 cp "$am_depcomp" conftest.dir
3936 # We will build objects and dependencies in a subdirectory because
3937 # it helps to detect inapplicable dependency modes. For instance
3938 # both Tru64's cc and ICC support -MD to output dependencies as a
3939 # side effect of compilation, but ICC will put the dependencies in
3940 # the current directory while Tru64 will put them in the object
3944 am_cv_CXX_dependencies_compiler_type=none
3945 if test "$am_compiler_list" = ""; then
3946 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3948 for depmode in $am_compiler_list; do
3949 # Setup a source with many dependencies, because some compilers
3950 # like to wrap large dependency lists on column 80 (with \), and
3951 # we should not choose a depcomp mode which is confused by this.
3953 # We need to recreate these files for each test, as the compiler may
3954 # overwrite some of them when testing with obscure command lines.
3955 # This happens at least with the AIX C compiler.
3957 for i in 1 2 3 4 5 6; do
3958 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3959 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3960 # Solaris 8's
{/usr
,}/bin
/sh.
3961 touch sub
/conftst
$i.h
3963 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3967 # after this tag, mechanisms are not by side-effect, so they'll
3968 # only be used when explicitly requested
3969 if test "x$enable_dependency_tracking" = xyes
; then
3977 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3978 # mode. It turns out that the SunPro C++ compiler does not properly
3979 # handle `-M -o', and we need to detect this.
3980 if depmode
=$depmode \
3981 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3982 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3983 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3984 >/dev
/null
2>conftest.err
&&
3985 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3986 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3987 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3988 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3989 # icc doesn't choke on unknown options, it will just issue warnings
3990 # or remarks (even with -Werror). So we grep stderr for any message
3991 # that says an option was ignored or not supported.
3992 # When given -MP, icc 7.0 and 7.1 complain thusly:
3993 # icc: Command line warning: ignoring option '-M'; no argument required
3994 # The diagnosis changed in icc 8.0:
3995 # icc: Command line remark: option '-MP' not supported
3996 if (grep 'ignoring option' conftest.err ||
3997 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3998 am_cv_CXX_dependencies_compiler_type
=$depmode
4007 am_cv_CXX_dependencies_compiler_type
=none
4011 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4012 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4013 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4016 test "x$enable_dependency_tracking" != xno \
4017 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4018 am__fastdepCXX_TRUE
=
4019 am__fastdepCXX_FALSE
='#'
4021 am__fastdepCXX_TRUE
='#'
4022 am__fastdepCXX_FALSE
=
4027 ac_cpp
='$CPP $CPPFLAGS'
4028 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4029 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4030 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4031 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4032 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4033 # On Suns, sometimes $CPP names a directory.
4034 if test -n "$CPP" && test -d "$CPP"; then
4037 if test -z "$CPP"; then
4038 if test "${ac_cv_prog_CPP+set}" = set; then
4039 $as_echo_n "(cached) " >&6
4041 # Double quotes because CPP needs to be expanded
4042 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4045 for ac_c_preproc_warn_flag
in '' yes
4047 # Use a header file that comes with gcc, so configuring glibc
4048 # with a fresh cross-compiler works.
4049 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4050 # <limits.h> exists even on freestanding compilers.
4051 # On the NeXT, cc -E runs the code through the compiler's parser,
4052 # not just through cpp. "Syntax error" is here to catch this case.
4053 cat >conftest.
$ac_ext <<_ACEOF
4056 cat confdefs.h
>>conftest.
$ac_ext
4057 cat >>conftest.
$ac_ext <<_ACEOF
4058 /* end confdefs.h. */
4060 # include <limits.h>
4062 # include <assert.h>
4066 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4068 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4069 *) ac_try_echo=$ac_try;;
4071 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4072 $as_echo "$ac_try_echo") >&5
4073 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4075 grep -v '^ *+' conftest.er1 >conftest.err
4077 cat conftest.err >&5
4078 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079 (exit $ac_status); } >/dev/null && {
4080 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4081 test ! -s conftest.err
4085 $as_echo "$as_me: failed program was:" >&5
4086 sed 's/^/| /' conftest.$ac_ext >&5
4088 # Broken: fails on valid input.
4092 rm -f conftest.err conftest.$ac_ext
4094 # OK, works on sane cases. Now check whether nonexistent headers
4095 # can be detected and how.
4096 cat >conftest.$ac_ext <<_ACEOF
4099 cat confdefs.h >>conftest.$ac_ext
4100 cat >>conftest.$ac_ext <<_ACEOF
4101 /* end confdefs.h. */
4102 #include <ac_nonexistent.h>
4104 if { (ac_try="$ac_cpp conftest.$ac_ext"
4106 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4107 *) ac_try_echo
=$ac_try;;
4109 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4110 $as_echo "$ac_try_echo") >&5
4111 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4113 grep -v '^ *+' conftest.er1
>conftest.err
4115 cat conftest.err
>&5
4116 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4117 (exit $ac_status); } >/dev
/null
&& {
4118 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4119 test ! -s conftest.err
4121 # Broken: success on invalid input.
4124 $as_echo "$as_me: failed program was:" >&5
4125 sed 's/^/| /' conftest.
$ac_ext >&5
4127 # Passes both tests.
4132 rm -f conftest.err conftest.
$ac_ext
4135 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4136 rm -f conftest.err conftest.
$ac_ext
4137 if $ac_preproc_ok; then
4149 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4150 $as_echo "$CPP" >&6; }
4152 for ac_c_preproc_warn_flag
in '' yes
4154 # Use a header file that comes with gcc, so configuring glibc
4155 # with a fresh cross-compiler works.
4156 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4157 # <limits.h> exists even on freestanding compilers.
4158 # On the NeXT, cc -E runs the code through the compiler's parser,
4159 # not just through cpp. "Syntax error" is here to catch this case.
4160 cat >conftest.
$ac_ext <<_ACEOF
4163 cat confdefs.h
>>conftest.
$ac_ext
4164 cat >>conftest.
$ac_ext <<_ACEOF
4165 /* end confdefs.h. */
4167 # include <limits.h>
4169 # include <assert.h>
4173 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4175 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4176 *) ac_try_echo=$ac_try;;
4178 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4179 $as_echo "$ac_try_echo") >&5
4180 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4182 grep -v '^ *+' conftest.er1 >conftest.err
4184 cat conftest.err >&5
4185 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186 (exit $ac_status); } >/dev/null && {
4187 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4188 test ! -s conftest.err
4192 $as_echo "$as_me: failed program was:" >&5
4193 sed 's/^/| /' conftest.$ac_ext >&5
4195 # Broken: fails on valid input.
4199 rm -f conftest.err conftest.$ac_ext
4201 # OK, works on sane cases. Now check whether nonexistent headers
4202 # can be detected and how.
4203 cat >conftest.$ac_ext <<_ACEOF
4206 cat confdefs.h >>conftest.$ac_ext
4207 cat >>conftest.$ac_ext <<_ACEOF
4208 /* end confdefs.h. */
4209 #include <ac_nonexistent.h>
4211 if { (ac_try="$ac_cpp conftest.$ac_ext"
4213 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4214 *) ac_try_echo
=$ac_try;;
4216 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4217 $as_echo "$ac_try_echo") >&5
4218 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4220 grep -v '^ *+' conftest.er1
>conftest.err
4222 cat conftest.err
>&5
4223 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); } >/dev
/null
&& {
4225 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4226 test ! -s conftest.err
4228 # Broken: success on invalid input.
4231 $as_echo "$as_me: failed program was:" >&5
4232 sed 's/^/| /' conftest.
$ac_ext >&5
4234 # Passes both tests.
4239 rm -f conftest.err conftest.
$ac_ext
4242 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4243 rm -f conftest.err conftest.
$ac_ext
4244 if $ac_preproc_ok; then
4247 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4249 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4250 See \`config.log' for more details." >&5
4251 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4252 See \`config.log' for more details." >&2;}
4253 { (exit 1); exit 1; }; }; }
4257 ac_cpp
='$CPP $CPPFLAGS'
4258 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4259 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4260 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
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
4267 if test -n "$ac_tool_prefix"; then
4268 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4269 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4270 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4271 $as_echo_n "checking for $ac_word... " >&6; }
4272 if test "${ac_cv_prog_CC+set}" = set; then
4273 $as_echo_n "(cached) " >&6
4275 if test -n "$CC"; then
4276 ac_cv_prog_CC
="$CC" # Let the user override the test.
4278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4282 test -z "$as_dir" && as_dir
=.
4283 for ac_exec_ext
in '' $ac_executable_extensions; do
4284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4285 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4286 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4296 if test -n "$CC"; then
4297 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4298 $as_echo "$CC" >&6; }
4300 { $as_echo "$as_me:$LINENO: result: no" >&5
4301 $as_echo "no" >&6; }
4306 if test -z "$ac_cv_prog_CC"; then
4308 # Extract the first word of "gcc", so it can be a program name with args.
4309 set dummy gcc
; ac_word
=$2
4310 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4311 $as_echo_n "checking for $ac_word... " >&6; }
4312 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4313 $as_echo_n "(cached) " >&6
4315 if test -n "$ac_ct_CC"; then
4316 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4322 test -z "$as_dir" && as_dir
=.
4323 for ac_exec_ext
in '' $ac_executable_extensions; do
4324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4325 ac_cv_prog_ac_ct_CC
="gcc"
4326 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4335 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4336 if test -n "$ac_ct_CC"; then
4337 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4338 $as_echo "$ac_ct_CC" >&6; }
4340 { $as_echo "$as_me:$LINENO: result: no" >&5
4341 $as_echo "no" >&6; }
4344 if test "x$ac_ct_CC" = x
; then
4347 case $cross_compiling:$ac_tool_warned in
4349 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4351 ac_tool_warned
=yes ;;
4359 if test -z "$CC"; then
4360 if test -n "$ac_tool_prefix"; then
4361 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4362 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4363 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4364 $as_echo_n "checking for $ac_word... " >&6; }
4365 if test "${ac_cv_prog_CC+set}" = set; then
4366 $as_echo_n "(cached) " >&6
4368 if test -n "$CC"; then
4369 ac_cv_prog_CC
="$CC" # Let the user override the test.
4371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4375 test -z "$as_dir" && as_dir
=.
4376 for ac_exec_ext
in '' $ac_executable_extensions; do
4377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4378 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4379 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4389 if test -n "$CC"; then
4390 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4391 $as_echo "$CC" >&6; }
4393 { $as_echo "$as_me:$LINENO: result: no" >&5
4394 $as_echo "no" >&6; }
4400 if test -z "$CC"; then
4401 # Extract the first word of "cc", so it can be a program name with args.
4402 set dummy cc
; ac_word
=$2
4403 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if test "${ac_cv_prog_CC+set}" = set; then
4406 $as_echo_n "(cached) " >&6
4408 if test -n "$CC"; then
4409 ac_cv_prog_CC
="$CC" # Let the user override the test.
4412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4416 test -z "$as_dir" && as_dir
=.
4417 for ac_exec_ext
in '' $ac_executable_extensions; do
4418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4419 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4420 ac_prog_rejected
=yes
4424 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4431 if test $ac_prog_rejected = yes; then
4432 # We found a bogon in the path, so make sure we never use it.
4433 set dummy
$ac_cv_prog_CC
4435 if test $# != 0; then
4436 # We chose a different compiler from the bogus one.
4437 # However, it has the same basename, so the bogon will be chosen
4438 # first if we set CC to just the basename; use the full file name.
4440 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4446 if test -n "$CC"; then
4447 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4448 $as_echo "$CC" >&6; }
4450 { $as_echo "$as_me:$LINENO: result: no" >&5
4451 $as_echo "no" >&6; }
4456 if test -z "$CC"; then
4457 if test -n "$ac_tool_prefix"; then
4458 for ac_prog
in cl.exe
4460 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4461 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4462 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4463 $as_echo_n "checking for $ac_word... " >&6; }
4464 if test "${ac_cv_prog_CC+set}" = set; then
4465 $as_echo_n "(cached) " >&6
4467 if test -n "$CC"; then
4468 ac_cv_prog_CC
="$CC" # Let the user override the test.
4470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4474 test -z "$as_dir" && as_dir
=.
4475 for ac_exec_ext
in '' $ac_executable_extensions; do
4476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4477 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4478 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4488 if test -n "$CC"; then
4489 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4490 $as_echo "$CC" >&6; }
4492 { $as_echo "$as_me:$LINENO: result: no" >&5
4493 $as_echo "no" >&6; }
4497 test -n "$CC" && break
4500 if test -z "$CC"; then
4502 for ac_prog
in cl.exe
4504 # Extract the first word of "$ac_prog", so it can be a program name with args.
4505 set dummy
$ac_prog; ac_word
=$2
4506 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4507 $as_echo_n "checking for $ac_word... " >&6; }
4508 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4509 $as_echo_n "(cached) " >&6
4511 if test -n "$ac_ct_CC"; then
4512 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4518 test -z "$as_dir" && as_dir
=.
4519 for ac_exec_ext
in '' $ac_executable_extensions; do
4520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4521 ac_cv_prog_ac_ct_CC
="$ac_prog"
4522 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4531 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4532 if test -n "$ac_ct_CC"; then
4533 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4534 $as_echo "$ac_ct_CC" >&6; }
4536 { $as_echo "$as_me:$LINENO: result: no" >&5
4537 $as_echo "no" >&6; }
4541 test -n "$ac_ct_CC" && break
4544 if test "x$ac_ct_CC" = x
; then
4547 case $cross_compiling:$ac_tool_warned in
4549 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4550 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4551 ac_tool_warned
=yes ;;
4560 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4562 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4563 See \`config.log' for more details." >&5
4564 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4565 See \`config.log' for more details." >&2;}
4566 { (exit 1); exit 1; }; }; }
4568 # Provide some information about the compiler.
4569 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4572 { (ac_try
="$ac_compiler --version >&5"
4574 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4575 *) ac_try_echo=$ac_try;;
4577 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4578 $as_echo "$ac_try_echo") >&5
4579 (eval "$ac_compiler --version >&5") 2>&5
4581 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4582 (exit $ac_status); }
4583 { (ac_try="$ac_compiler -v >&5"
4585 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4586 *) ac_try_echo
=$ac_try;;
4588 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4589 $as_echo "$ac_try_echo") >&5
4590 (eval "$ac_compiler -v >&5") 2>&5
4592 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4593 (exit $ac_status); }
4594 { (ac_try
="$ac_compiler -V >&5"
4596 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4597 *) ac_try_echo=$ac_try;;
4599 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4600 $as_echo "$ac_try_echo") >&5
4601 (eval "$ac_compiler -V >&5") 2>&5
4603 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604 (exit $ac_status); }
4606 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4607 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4608 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4609 $as_echo_n "(cached) " >&6
4611 cat >conftest.$ac_ext <<_ACEOF
4614 cat confdefs.h >>conftest.$ac_ext
4615 cat >>conftest.$ac_ext <<_ACEOF
4616 /* end confdefs.h. */
4629 rm -f conftest.$ac_objext
4630 if { (ac_try="$ac_compile"
4632 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4633 *) ac_try_echo
=$ac_try;;
4635 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4636 $as_echo "$ac_try_echo") >&5
4637 (eval "$ac_compile") 2>conftest.er1
4639 grep -v '^ *+' conftest.er1
>conftest.err
4641 cat conftest.err
>&5
4642 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643 (exit $ac_status); } && {
4644 test -z "$ac_c_werror_flag" ||
4645 test ! -s conftest.err
4646 } && test -s conftest.
$ac_objext; then
4649 $as_echo "$as_me: failed program was:" >&5
4650 sed 's/^/| /' conftest.
$ac_ext >&5
4655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4656 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4659 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4660 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4661 if test $ac_compiler_gnu = yes; then
4666 ac_test_CFLAGS
=${CFLAGS+set}
4667 ac_save_CFLAGS
=$CFLAGS
4668 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4669 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4670 if test "${ac_cv_prog_cc_g+set}" = set; then
4671 $as_echo_n "(cached) " >&6
4673 ac_save_c_werror_flag
=$ac_c_werror_flag
4674 ac_c_werror_flag
=yes
4677 cat >conftest.
$ac_ext <<_ACEOF
4680 cat confdefs.h
>>conftest.
$ac_ext
4681 cat >>conftest.
$ac_ext <<_ACEOF
4682 /* end confdefs.h. */
4692 rm -f conftest.
$ac_objext
4693 if { (ac_try
="$ac_compile"
4695 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4696 *) ac_try_echo=$ac_try;;
4698 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4699 $as_echo "$ac_try_echo") >&5
4700 (eval "$ac_compile") 2>conftest.er1
4702 grep -v '^ *+' conftest.er1 >conftest.err
4704 cat conftest.err >&5
4705 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4706 (exit $ac_status); } && {
4707 test -z "$ac_c_werror_flag" ||
4708 test ! -s conftest.err
4709 } && test -s conftest.$ac_objext; then
4712 $as_echo "$as_me: failed program was:" >&5
4713 sed 's/^/| /' conftest.$ac_ext >&5
4716 cat >conftest.$ac_ext <<_ACEOF
4719 cat confdefs.h >>conftest.$ac_ext
4720 cat >>conftest.$ac_ext <<_ACEOF
4721 /* end confdefs.h. */
4731 rm -f conftest.$ac_objext
4732 if { (ac_try="$ac_compile"
4734 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4735 *) ac_try_echo
=$ac_try;;
4737 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4738 $as_echo "$ac_try_echo") >&5
4739 (eval "$ac_compile") 2>conftest.er1
4741 grep -v '^ *+' conftest.er1
>conftest.err
4743 cat conftest.err
>&5
4744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745 (exit $ac_status); } && {
4746 test -z "$ac_c_werror_flag" ||
4747 test ! -s conftest.err
4748 } && test -s conftest.
$ac_objext; then
4751 $as_echo "$as_me: failed program was:" >&5
4752 sed 's/^/| /' conftest.
$ac_ext >&5
4754 ac_c_werror_flag
=$ac_save_c_werror_flag
4756 cat >conftest.
$ac_ext <<_ACEOF
4759 cat confdefs.h
>>conftest.
$ac_ext
4760 cat >>conftest.
$ac_ext <<_ACEOF
4761 /* end confdefs.h. */
4771 rm -f conftest.
$ac_objext
4772 if { (ac_try
="$ac_compile"
4774 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4775 *) ac_try_echo=$ac_try;;
4777 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4778 $as_echo "$ac_try_echo") >&5
4779 (eval "$ac_compile") 2>conftest.er1
4781 grep -v '^ *+' conftest.er1 >conftest.err
4783 cat conftest.err >&5
4784 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4785 (exit $ac_status); } && {
4786 test -z "$ac_c_werror_flag" ||
4787 test ! -s conftest.err
4788 } && test -s conftest.$ac_objext; then
4791 $as_echo "$as_me: failed program was:" >&5
4792 sed 's/^/| /' conftest.$ac_ext >&5
4797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4804 ac_c_werror_flag=$ac_save_c_werror_flag
4806 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4807 $as_echo "$ac_cv_prog_cc_g" >&6; }
4808 if test "$ac_test_CFLAGS" = set; then
4809 CFLAGS=$ac_save_CFLAGS
4810 elif test $ac_cv_prog_cc_g = yes; then
4811 if test "$GCC" = yes; then
4817 if test "$GCC" = yes; then
4823 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4824 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4825 if test "${ac_cv_prog_cc_c89+set}" = set; then
4826 $as_echo_n "(cached) " >&6
4828 ac_cv_prog_cc_c89=no
4830 cat >conftest.$ac_ext <<_ACEOF
4833 cat confdefs.h >>conftest.$ac_ext
4834 cat >>conftest.$ac_ext <<_ACEOF
4835 /* end confdefs.h. */
4838 #include <sys/types.h>
4839 #include <sys/stat.h>
4840 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4841 struct buf { int x; };
4842 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4843 static char *e (p, i)
4849 static char *f (char * (*g) (char **, int), char **p, ...)
4854 s = g (p, va_arg (v,int));
4859 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4860 function prototypes and stuff, but not '\xHH' hex character constants.
4861 These don't provoke an error unfortunately, instead are silently treated
4862 as 'x'. The following induces an error, until -std is added to get
4863 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4864 array size at least. It's necessary to write '\x00'==0 to get something
4865 that's true only with -std. */
4866 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4868 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4869 inside strings and character constants. */
4871 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4873 int test (int i, double x);
4874 struct s1 {int (*f) (int a);};
4875 struct s2 {int (*f) (double a);};
4876 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4882 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4887 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4888 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4890 CC="$ac_save_CC $ac_arg"
4891 rm -f conftest.$ac_objext
4892 if { (ac_try="$ac_compile"
4894 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4895 *) ac_try_echo
=$ac_try;;
4897 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4898 $as_echo "$ac_try_echo") >&5
4899 (eval "$ac_compile") 2>conftest.er1
4901 grep -v '^ *+' conftest.er1
>conftest.err
4903 cat conftest.err
>&5
4904 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905 (exit $ac_status); } && {
4906 test -z "$ac_c_werror_flag" ||
4907 test ! -s conftest.err
4908 } && test -s conftest.
$ac_objext; then
4909 ac_cv_prog_cc_c89
=$ac_arg
4911 $as_echo "$as_me: failed program was:" >&5
4912 sed 's/^/| /' conftest.
$ac_ext >&5
4917 rm -f core conftest.err conftest.
$ac_objext
4918 test "x$ac_cv_prog_cc_c89" != "xno" && break
4920 rm -f conftest.
$ac_ext
4925 case "x$ac_cv_prog_cc_c89" in
4927 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4928 $as_echo "none needed" >&6; } ;;
4930 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4931 $as_echo "unsupported" >&6; } ;;
4933 CC
="$CC $ac_cv_prog_cc_c89"
4934 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4935 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4940 ac_cpp
='$CPP $CPPFLAGS'
4941 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4942 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4943 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4945 depcc
="$CC" am_compiler_list
=
4947 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4948 $as_echo_n "checking dependency style of $depcc... " >&6; }
4949 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4950 $as_echo_n "(cached) " >&6
4952 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4953 # We make a subdir and do the tests there. Otherwise we can end up
4954 # making bogus files that we don't know about and never remove. For
4955 # instance it was reported that on HP-UX the gcc test will end up
4956 # making a dummy file named `D' -- because `-MD' means `put the output
4959 # Copy depcomp to subdir because otherwise we won't find it if we're
4960 # using a relative directory.
4961 cp "$am_depcomp" conftest.dir
4963 # We will build objects and dependencies in a subdirectory because
4964 # it helps to detect inapplicable dependency modes. For instance
4965 # both Tru64's cc and ICC support -MD to output dependencies as a
4966 # side effect of compilation, but ICC will put the dependencies in
4967 # the current directory while Tru64 will put them in the object
4971 am_cv_CC_dependencies_compiler_type
=none
4972 if test "$am_compiler_list" = ""; then
4973 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4975 for depmode
in $am_compiler_list; do
4976 # Setup a source with many dependencies, because some compilers
4977 # like to wrap large dependency lists on column 80 (with \), and
4978 # we should not choose a depcomp mode which is confused by this.
4980 # We need to recreate these files for each test, as the compiler may
4981 # overwrite some of them when testing with obscure command lines.
4982 # This happens at least with the AIX C compiler.
4984 for i
in 1 2 3 4 5 6; do
4985 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4986 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4987 # Solaris 8's {/usr,}/bin/sh.
4988 touch sub
/conftst
$i.h
4990 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4994 # after this tag, mechanisms are not by side-effect, so they'll
4995 # only be used when explicitly requested
4996 if test "x$enable_dependency_tracking" = xyes
; then
5004 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5005 # mode. It turns out that the SunPro C++ compiler does not properly
5006 # handle `-M -o', and we need to detect this.
5007 if depmode
=$depmode \
5008 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5009 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5010 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5011 >/dev
/null
2>conftest.err
&&
5012 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5013 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5014 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5015 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5016 # icc doesn't choke on unknown options, it will just issue warnings
5017 # or remarks (even with -Werror). So we grep stderr for any message
5018 # that says an option was ignored or not supported.
5019 # When given -MP, icc 7.0 and 7.1 complain thusly:
5020 # icc: Command line warning: ignoring option '-M'; no argument required
5021 # The diagnosis changed in icc 8.0:
5022 # icc: Command line remark: option '-MP' not supported
5023 if (grep 'ignoring option' conftest.err ||
5024 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5025 am_cv_CC_dependencies_compiler_type
=$depmode
5034 am_cv_CC_dependencies_compiler_type
=none
5038 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5039 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5040 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5043 test "x$enable_dependency_tracking" != xno \
5044 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5046 am__fastdepCC_FALSE
='#'
5048 am__fastdepCC_TRUE
='#'
5049 am__fastdepCC_FALSE
=
5054 am_cv_prog_cc_stdc
=$ac_cv_prog_cc_stdc
5056 if test "x$CC" != xcc
; then
5057 { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
5058 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5060 { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
5061 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5063 set dummy
$CC; ac_cc
=`$as_echo "$2" |
5064 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5065 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
5066 $as_echo_n "(cached) " >&6
5068 cat >conftest.
$ac_ext <<_ACEOF
5071 cat confdefs.h
>>conftest.
$ac_ext
5072 cat >>conftest.
$ac_ext <<_ACEOF
5073 /* end confdefs.h. */
5083 # Make sure it works both with $CC and with simple cc.
5084 # We do the test twice because some compilers refuse to overwrite an
5085 # existing .o file with -o, though they will create one.
5086 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5088 if { (case "(($ac_try" in
5089 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5090 *) ac_try_echo=$ac_try;;
5092 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5093 $as_echo "$ac_try_echo") >&5
5094 (eval "$ac_try") 2>&5
5096 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5097 (exit $ac_status); } &&
5098 test -f conftest2.$ac_objext && { (case "(($ac_try" in
5099 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5100 *) ac_try_echo
=$ac_try;;
5102 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5103 $as_echo "$ac_try_echo") >&5
5104 (eval "$ac_try") 2>&5
5106 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107 (exit $ac_status); };
5109 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5110 if test "x$CC" != xcc
; then
5111 # Test first that cc exists at all.
5112 if { ac_try
='cc -c conftest.$ac_ext >&5'
5113 { (case "(($ac_try" in
5114 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5115 *) ac_try_echo=$ac_try;;
5117 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5118 $as_echo "$ac_try_echo") >&5
5119 (eval "$ac_try") 2>&5
5121 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5122 (exit $ac_status); }; }; then
5123 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5125 if { (case "(($ac_try" in
5126 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5127 *) ac_try_echo
=$ac_try;;
5129 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5130 $as_echo "$ac_try_echo") >&5
5131 (eval "$ac_try") 2>&5
5133 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5134 (exit $ac_status); } &&
5135 test -f conftest2.
$ac_objext && { (case "(($ac_try" in
5136 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5137 *) ac_try_echo=$ac_try;;
5139 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5140 $as_echo "$ac_try_echo") >&5
5141 (eval "$ac_try") 2>&5
5143 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5144 (exit $ac_status); };
5149 # cc exists but doesn't like -o.
5150 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5155 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5157 rm -f core conftest*
5160 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5161 { $as_echo "$as_me:$LINENO: result: yes" >&5
5162 $as_echo "yes" >&6; }
5164 { $as_echo "$as_me:$LINENO: result: no" >&5
5165 $as_echo "no" >&6; }
5167 cat >>confdefs.h <<\_ACEOF
5168 #define NO_MINUS_C_MINUS_O 1
5173 # FIXME: we rely on the cache variable name because
5174 # there is no other way.
5176 ac_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5177 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o
`\" != yes"; then
5178 # Losing compiler, so override with the script.
5179 # FIXME: It is wrong to rewrite CC.
5180 # But if we don't then we get into trouble of one sort or another.
5181 # A longer-term fix would be to have automake use am__CC in this case,
5182 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5183 CC="$am_aux_dir/compile $CC"
5187 { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5
5188 $as_echo_n "checking for function prototypes... " >&6; }
5189 if test "$ac_cv_prog_cc_c89" != no; then
5190 { $as_echo "$as_me:$LINENO: result: yes" >&5
5191 $as_echo "yes" >&6; }
5193 cat >>confdefs.h <<\_ACEOF
5194 #define PROTOTYPES 1
5198 cat >>confdefs.h <<\_ACEOF
5199 #define __PROTOTYPES 1
5203 { $as_echo "$as_me:$LINENO: result: no" >&5
5204 $as_echo "no" >&6; }
5209 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5210 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5211 if test "${ac_cv_path_GREP+set}" = set; then
5212 $as_echo_n "(cached) " >&6
5214 if test -z "$GREP"; then
5215 ac_path_GREP_found=false
5216 # Loop through the user's path and test for each of PROGNAME-LIST
5217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5218 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5221 test -z "$as_dir" && as_dir=.
5222 for ac_prog in grep ggrep; do
5223 for ac_exec_ext in '' $ac_executable_extensions; do
5224 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5225 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5226 # Check for GNU ac_path_GREP and select it if it is found.
5227 # Check for GNU $ac_path_GREP
5228 case `"$ac_path_GREP" --version 2>&1` in
5230 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5233 $as_echo_n 0123456789 >"conftest.in"
5236 cat "conftest.in" "conftest.in" >"conftest.tmp"
5237 mv "conftest.tmp" "conftest.in"
5238 cp "conftest.in" "conftest.nl"
5239 $as_echo 'GREP' >> "conftest.nl"
5240 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5241 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5242 ac_count=`expr $ac_count + 1`
5243 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5244 # Best one so far, save it but keep looking for a better one
5245 ac_cv_path_GREP="$ac_path_GREP"
5246 ac_path_GREP_max=$ac_count
5248 # 10*(2^10) chars as input seems more than enough
5249 test $ac_count -gt 10 && break
5251 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5254 $ac_path_GREP_found && break 3
5259 if test -z "$ac_cv_path_GREP"; then
5260 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5261 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5262 { (exit 1); exit 1; }; }
5265 ac_cv_path_GREP=$GREP
5269 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5270 $as_echo "$ac_cv_path_GREP" >&6; }
5271 GREP="$ac_cv_path_GREP"
5274 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5275 $as_echo_n "checking for egrep... " >&6; }
5276 if test "${ac_cv_path_EGREP+set}" = set; then
5277 $as_echo_n "(cached) " >&6
5279 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5280 then ac_cv_path_EGREP="$GREP -E"
5282 if test -z "$EGREP"; then
5283 ac_path_EGREP_found=false
5284 # Loop through the user's path and test for each of PROGNAME-LIST
5285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5286 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5289 test -z "$as_dir" && as_dir=.
5290 for ac_prog in egrep; do
5291 for ac_exec_ext in '' $ac_executable_extensions; do
5292 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5293 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5294 # Check for GNU ac_path_EGREP and select it if it is found.
5295 # Check for GNU $ac_path_EGREP
5296 case `"$ac_path_EGREP" --version 2>&1` in
5298 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5301 $as_echo_n 0123456789 >"conftest.in"
5304 cat "conftest.in" "conftest.in" >"conftest.tmp"
5305 mv "conftest.tmp" "conftest.in"
5306 cp "conftest.in" "conftest.nl"
5307 $as_echo 'EGREP' >> "conftest.nl"
5308 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5309 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5310 ac_count=`expr $ac_count + 1`
5311 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5312 # Best one so far, save it but keep looking for a better one
5313 ac_cv_path_EGREP="$ac_path_EGREP"
5314 ac_path_EGREP_max=$ac_count
5316 # 10*(2^10) chars as input seems more than enough
5317 test $ac_count -gt 10 && break
5319 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5322 $ac_path_EGREP_found && break 3
5327 if test -z "$ac_cv_path_EGREP"; then
5328 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5329 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5330 { (exit 1); exit 1; }; }
5333 ac_cv_path_EGREP=$EGREP
5338 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5339 $as_echo "$ac_cv_path_EGREP" >&6; }
5340 EGREP="$ac_cv_path_EGREP"
5343 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5344 $as_echo_n "checking for ANSI C header files... " >&6; }
5345 if test "${ac_cv_header_stdc+set}" = set; then
5346 $as_echo_n "(cached) " >&6
5348 cat >conftest.$ac_ext <<_ACEOF
5351 cat confdefs.h >>conftest.$ac_ext
5352 cat >>conftest.$ac_ext <<_ACEOF
5353 /* end confdefs.h. */
5367 rm -f conftest.$ac_objext
5368 if { (ac_try="$ac_compile"
5370 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5371 *) ac_try_echo
=$ac_try;;
5373 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5374 $as_echo "$ac_try_echo") >&5
5375 (eval "$ac_compile") 2>conftest.er1
5377 grep -v '^ *+' conftest.er1
>conftest.err
5379 cat conftest.err
>&5
5380 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381 (exit $ac_status); } && {
5382 test -z "$ac_c_werror_flag" ||
5383 test ! -s conftest.err
5384 } && test -s conftest.
$ac_objext; then
5385 ac_cv_header_stdc
=yes
5387 $as_echo "$as_me: failed program was:" >&5
5388 sed 's/^/| /' conftest.
$ac_ext >&5
5390 ac_cv_header_stdc
=no
5393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5395 if test $ac_cv_header_stdc = yes; then
5396 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5397 cat >conftest.
$ac_ext <<_ACEOF
5400 cat confdefs.h
>>conftest.
$ac_ext
5401 cat >>conftest.
$ac_ext <<_ACEOF
5402 /* end confdefs.h. */
5406 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5407 $EGREP "memchr" >/dev
/null
2>&1; then
5410 ac_cv_header_stdc
=no
5416 if test $ac_cv_header_stdc = yes; then
5417 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5418 cat >conftest.
$ac_ext <<_ACEOF
5421 cat confdefs.h
>>conftest.
$ac_ext
5422 cat >>conftest.
$ac_ext <<_ACEOF
5423 /* end confdefs.h. */
5427 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5428 $EGREP "free" >/dev
/null
2>&1; then
5431 ac_cv_header_stdc
=no
5437 if test $ac_cv_header_stdc = yes; then
5438 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5439 if test "$cross_compiling" = yes; then
5442 cat >conftest.
$ac_ext <<_ACEOF
5445 cat confdefs.h
>>conftest.
$ac_ext
5446 cat >>conftest.
$ac_ext <<_ACEOF
5447 /* end confdefs.h. */
5450 #if ((' ' & 0x0FF) == 0x020)
5451 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5452 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5454 # define ISLOWER(c) \
5455 (('a' <= (c) && (c) <= 'i') \
5456 || ('j' <= (c) && (c) <= 'r') \
5457 || ('s' <= (c) && (c) <= 'z'))
5458 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5461 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5466 for (i = 0; i < 256; i++)
5467 if (XOR (islower (i), ISLOWER (i))
5468 || toupper (i) != TOUPPER (i))
5473 rm -f conftest
$ac_exeext
5474 if { (ac_try
="$ac_link"
5476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5477 *) ac_try_echo=$ac_try;;
5479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5480 $as_echo "$ac_try_echo") >&5
5481 (eval "$ac_link") 2>&5
5483 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5484 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5485 { (case "(($ac_try" in
5486 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5487 *) ac_try_echo
=$ac_try;;
5489 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5490 $as_echo "$ac_try_echo") >&5
5491 (eval "$ac_try") 2>&5
5493 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5494 (exit $ac_status); }; }; then
5497 $as_echo "$as_me: program exited with status $ac_status" >&5
5498 $as_echo "$as_me: failed program was:" >&5
5499 sed 's/^/| /' conftest.
$ac_ext >&5
5502 ac_cv_header_stdc
=no
5504 rm -rf conftest.dSYM
5505 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5511 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5512 $as_echo "$ac_cv_header_stdc" >&6; }
5513 if test $ac_cv_header_stdc = yes; then
5515 cat >>confdefs.h
<<\_ACEOF
5516 #define STDC_HEADERS 1
5521 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5531 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5532 inttypes.h stdint.h unistd.h
5534 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5535 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5536 $as_echo_n "checking for $ac_header... " >&6; }
5537 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5538 $as_echo_n "(cached) " >&6
5540 cat >conftest.
$ac_ext <<_ACEOF
5543 cat confdefs.h
>>conftest.
$ac_ext
5544 cat >>conftest.
$ac_ext <<_ACEOF
5545 /* end confdefs.h. */
5546 $ac_includes_default
5548 #include <$ac_header>
5550 rm -f conftest.
$ac_objext
5551 if { (ac_try
="$ac_compile"
5553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5554 *) ac_try_echo=$ac_try;;
5556 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5557 $as_echo "$ac_try_echo") >&5
5558 (eval "$ac_compile") 2>conftest.er1
5560 grep -v '^ *+' conftest.er1 >conftest.err
5562 cat conftest.err >&5
5563 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5564 (exit $ac_status); } && {
5565 test -z "$ac_c_werror_flag" ||
5566 test ! -s conftest.err
5567 } && test -s conftest.$ac_objext; then
5568 eval "$as_ac_Header=yes"
5570 $as_echo "$as_me: failed program was:" >&5
5571 sed 's/^/| /' conftest.$ac_ext >&5
5573 eval "$as_ac_Header=no"
5576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5578 ac_res=`eval 'as_val=${'$as_ac_Header'}
5579 $as_echo "$as_val"'`
5580 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5581 $as_echo "$ac_res" >&6; }
5582 as_val=`eval 'as_val=${'$as_ac_Header'}
5583 $as_echo "$as_val"'`
5584 if test "x$as_val" = x""yes; then
5585 cat >>confdefs.h <<_ACEOF
5586 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5595 if test "$ac_cv_prog_cc_stdc" != no; then
5598 U=_ ANSI2KNR=./ansi2knr
5600 # Ensure some checks needed by ansi2knr itself.
5603 for ac_header in string.h
5605 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5606 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5607 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5608 $as_echo_n "checking for $ac_header... " >&6; }
5609 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5610 $as_echo_n "(cached) " >&6
5612 ac_res=`eval 'as_val=${'$as_ac_Header'}
5613 $as_echo "$as_val"'`
5614 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5615 $as_echo "$ac_res" >&6; }
5617 # Is the header compilable?
5618 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5619 $as_echo_n "checking $ac_header usability... " >&6; }
5620 cat >conftest.$ac_ext <<_ACEOF
5623 cat confdefs.h >>conftest.$ac_ext
5624 cat >>conftest.$ac_ext <<_ACEOF
5625 /* end confdefs.h. */
5626 $ac_includes_default
5627 #include <$ac_header>
5629 rm -f conftest.$ac_objext
5630 if { (ac_try="$ac_compile"
5632 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5633 *) ac_try_echo
=$ac_try;;
5635 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5636 $as_echo "$ac_try_echo") >&5
5637 (eval "$ac_compile") 2>conftest.er1
5639 grep -v '^ *+' conftest.er1
>conftest.err
5641 cat conftest.err
>&5
5642 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5643 (exit $ac_status); } && {
5644 test -z "$ac_c_werror_flag" ||
5645 test ! -s conftest.err
5646 } && test -s conftest.
$ac_objext; then
5647 ac_header_compiler
=yes
5649 $as_echo "$as_me: failed program was:" >&5
5650 sed 's/^/| /' conftest.
$ac_ext >&5
5652 ac_header_compiler
=no
5655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5656 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5657 $as_echo "$ac_header_compiler" >&6; }
5659 # Is the header present?
5660 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5661 $as_echo_n "checking $ac_header presence... " >&6; }
5662 cat >conftest.
$ac_ext <<_ACEOF
5665 cat confdefs.h
>>conftest.
$ac_ext
5666 cat >>conftest.
$ac_ext <<_ACEOF
5667 /* end confdefs.h. */
5668 #include <$ac_header>
5670 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5672 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5673 *) ac_try_echo=$ac_try;;
5675 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5676 $as_echo "$ac_try_echo") >&5
5677 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5679 grep -v '^ *+' conftest.er1 >conftest.err
5681 cat conftest.err >&5
5682 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683 (exit $ac_status); } >/dev/null && {
5684 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5685 test ! -s conftest.err
5687 ac_header_preproc=yes
5689 $as_echo "$as_me: failed program was:" >&5
5690 sed 's/^/| /' conftest.$ac_ext >&5
5692 ac_header_preproc=no
5695 rm -f conftest.err conftest.$ac_ext
5696 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5697 $as_echo "$ac_header_preproc" >&6; }
5699 # So? What about this header?
5700 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5702 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5703 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5704 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5705 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5706 ac_header_preproc=yes
5709 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5710 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5711 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5712 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5713 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5714 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5715 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5716 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5717 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5718 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5719 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5720 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5722 ## ------------------------------------------- ##
5723 ## Report this to systemtap@sources.redhat.com ##
5724 ## ------------------------------------------- ##
5726 ) | sed "s/^/$as_me: WARNING: /" >&2
5729 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5730 $as_echo_n "checking for $ac_header... " >&6; }
5731 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5732 $as_echo_n "(cached) " >&6
5734 eval "$as_ac_Header=\$ac_header_preproc"
5736 ac_res=`eval 'as_val=${'$as_ac_Header'}
5737 $as_echo "$as_val"'`
5738 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5739 $as_echo "$ac_res" >&6; }
5742 as_val=`eval 'as_val=${'$as_ac_Header'}
5743 $as_echo "$as_val"'`
5744 if test "x$as_val" = x""yes; then
5745 cat >>confdefs.h <<_ACEOF
5746 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5754 if test -n "$ac_tool_prefix"; then
5755 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5756 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5757 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5758 $as_echo_n "checking for $ac_word... " >&6; }
5759 if test "${ac_cv_prog_RANLIB+set}" = set; then
5760 $as_echo_n "(cached) " >&6
5762 if test -n "$RANLIB"; then
5763 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5769 test -z "$as_dir" && as_dir=.
5770 for ac_exec_ext in '' $ac_executable_extensions; do
5771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5772 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5773 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5782 RANLIB=$ac_cv_prog_RANLIB
5783 if test -n "$RANLIB"; then
5784 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5785 $as_echo "$RANLIB" >&6; }
5787 { $as_echo "$as_me:$LINENO: result: no" >&5
5788 $as_echo "no" >&6; }
5793 if test -z "$ac_cv_prog_RANLIB"; then
5794 ac_ct_RANLIB=$RANLIB
5795 # Extract the first word of "ranlib", so it can be a program name with args.
5796 set dummy ranlib; ac_word=$2
5797 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5798 $as_echo_n "checking for $ac_word... " >&6; }
5799 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5800 $as_echo_n "(cached) " >&6
5802 if test -n "$ac_ct_RANLIB"; then
5803 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5809 test -z "$as_dir" && as_dir=.
5810 for ac_exec_ext in '' $ac_executable_extensions; do
5811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5812 ac_cv_prog_ac_ct_RANLIB="ranlib"
5813 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5822 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5823 if test -n "$ac_ct_RANLIB"; then
5824 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5825 $as_echo "$ac_ct_RANLIB" >&6; }
5827 { $as_echo "$as_me:$LINENO: result: no" >&5
5828 $as_echo "no" >&6; }
5831 if test "x$ac_ct_RANLIB" = x; then
5834 case $cross_compiling:$ac_tool_warned in
5836 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5837 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5838 ac_tool_warned=yes ;;
5840 RANLIB=$ac_ct_RANLIB
5843 RANLIB="$ac_cv_prog_RANLIB"
5848 # Find a good install program. We prefer a C program (faster),
5849 # so one script is as good as another. But avoid the broken or
5850 # incompatible versions:
5851 # SysV /etc/install, /usr/sbin/install
5852 # SunOS /usr/etc/install
5853 # IRIX /sbin/install
5855 # AmigaOS /C/install, which installs bootblocks on floppy discs
5856 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5857 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5858 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5859 # OS/2's system install, which has a completely different semantic
5860 # ./install, which can be erroneously created by make from ./install.sh.
5861 # Reject install programs that cannot install multiple files.
5862 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5863 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5864 if test -z "$INSTALL"; then
5865 if test "${ac_cv_path_install+set}" = set; then
5866 $as_echo_n "(cached) " >&6
5868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5872 test -z "$as_dir" && as_dir=.
5873 # Account for people who put trailing slashes in PATH elements.
5875 ./ | .// | /cC/* | \
5876 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5877 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5880 # OSF1 and SCO ODT 3.0 have their own names for install.
5881 # Don't use installbsd from OSF since it installs stuff as root
5883 for ac_prog in ginstall scoinst install; do
5884 for ac_exec_ext in '' $ac_executable_extensions; do
5885 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5886 if test $ac_prog = install &&
5887 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5888 # AIX install. It has an incompatible calling convention.
5890 elif test $ac_prog = install &&
5891 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5892 # program-specific install script used by HP pwplus--don't use.
5895 rm -rf conftest.one conftest.two conftest.dir
5896 echo one > conftest.one
5897 echo two > conftest.two
5899 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
5900 test -s conftest.one && test -s conftest.two &&
5901 test -s conftest.dir/conftest.one &&
5902 test -s conftest.dir/conftest.two
5904 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5917 rm -rf conftest.one conftest.two conftest.dir
5920 if test "${ac_cv_path_install+set}" = set; then
5921 INSTALL=$ac_cv_path_install
5923 # As a last resort, use the slow shell script. Don't cache a
5924 # value for INSTALL within a source directory, because that will
5925 # break other packages using the cache if that directory is
5926 # removed, or if the value is a relative name.
5927 INSTALL=$ac_install_sh
5930 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
5931 $as_echo "$INSTALL" >&6; }
5933 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5934 # It thinks the first close brace ends the variable substitution.
5935 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5937 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5939 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5941 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5942 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5944 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5945 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
5946 $as_echo_n "(cached) " >&6
5948 cat >conftest.make <<\_ACEOF
5951 @echo '@@@%%%=$(MAKE)=@@@%%%'
5953 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5954 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
5956 eval ac_cv_prog_make_${ac_make}_set=yes;;
5958 eval ac_cv_prog_make_${ac_make}_set=no;;
5962 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5963 { $as_echo "$as_me:$LINENO: result: yes" >&5
5964 $as_echo "yes" >&6; }
5967 { $as_echo "$as_me:$LINENO: result: no" >&5
5968 $as_echo "no" >&6; }
5969 SET_MAKE="MAKE=${MAKE-make}"
5975 # Extract the first word of "perl", so it can be a program name with args.
5976 set dummy perl; ac_word=$2
5977 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5978 $as_echo_n "checking for $ac_word... " >&6; }
5979 if test "${ac_cv_path_PERL+set}" = set; then
5980 $as_echo_n "(cached) " >&6
5984 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
5987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5991 test -z "$as_dir" && as_dir=.
5992 for ac_exec_ext in '' $ac_executable_extensions; do
5993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5994 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
5995 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6005 PERL=$ac_cv_path_PERL
6006 if test -n "$PERL"; then
6007 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
6008 $as_echo "$PERL" >&6; }
6010 { $as_echo "$as_me:$LINENO: result: no" >&5
6011 $as_echo "no" >&6; }
6016 # Check whether --enable-perfmon was given.
6017 if test "${enable_perfmon+set}" = set; then
6018 enableval=$enable_perfmon;
6019 if test "$enable_perfmon" != "no"; then
6020 CPPFLAGS="$CPPFLAGS -DPERFMON"
6022 if test "$enable_perfmon" != "yes"; then
6023 CPPFLAGS="$CPPFLAGS -I$enable_perfmon/include"
6024 LDFLAGS="$LDFLAGS -L$enable_perfmon/lib"
6027 { $as_echo "$as_me:$LINENO: checking for pfm_start in -lpfm" >&5
6028 $as_echo_n "checking for pfm_start in -lpfm... " >&6; }
6029 if test "${ac_cv_lib_pfm_pfm_start+set}" = set; then
6030 $as_echo_n "(cached) " >&6
6032 ac_check_lib_save_LIBS=$LIBS
6034 cat >conftest.$ac_ext <<_ACEOF
6037 cat confdefs.h >>conftest.$ac_ext
6038 cat >>conftest.$ac_ext <<_ACEOF
6039 /* end confdefs.h. */
6041 /* Override any GCC internal prototype to avoid an error.
6042 Use char because int might match the return type of a GCC
6043 builtin and then its argument prototype would still apply. */
6051 return pfm_start ();
6056 rm -f conftest.$ac_objext conftest$ac_exeext
6057 if { (ac_try="$ac_link"
6059 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6060 *) ac_try_echo
=$ac_try;;
6062 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6063 $as_echo "$ac_try_echo") >&5
6064 (eval "$ac_link") 2>conftest.er1
6066 grep -v '^ *+' conftest.er1
>conftest.err
6068 cat conftest.err
>&5
6069 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6070 (exit $ac_status); } && {
6071 test -z "$ac_c_werror_flag" ||
6072 test ! -s conftest.err
6073 } && test -s conftest
$ac_exeext && {
6074 test "$cross_compiling" = yes ||
6075 $as_test_x conftest
$ac_exeext
6077 ac_cv_lib_pfm_pfm_start
=yes
6079 $as_echo "$as_me: failed program was:" >&5
6080 sed 's/^/| /' conftest.
$ac_ext >&5
6082 ac_cv_lib_pfm_pfm_start
=no
6085 rm -rf conftest.dSYM
6086 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6087 conftest
$ac_exeext conftest.
$ac_ext
6088 LIBS
=$ac_check_lib_save_LIBS
6090 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pfm_pfm_start" >&5
6091 $as_echo "$ac_cv_lib_pfm_pfm_start" >&6; }
6092 if test "x$ac_cv_lib_pfm_pfm_start" = x
""yes; then
6093 cat >>confdefs.h
<<_ACEOF
6094 #define HAVE_LIBPFM 1
6101 { { $as_echo "$as_me:$LINENO: error: systemtap cannot find required perfmon libs (libpfm-devel may need to be installed" >&5
6102 $as_echo "$as_me: error: systemtap cannot find required perfmon libs (libpfm-devel may need to be installed" >&2;}
6103 { (exit 1); exit 1; }; }
6110 if test "${enable_prologues+set}" != set; then
6111 { $as_echo "$as_me:$LINENO: checking to see if prologue searching should be the default" >&5
6112 $as_echo_n "checking to see if prologue searching should be the default... " >&6; }
6113 if { echo '#if __i386__ == 1 && __GNUC__ < 4'
6115 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
6116 enable_prologues
=yes
6117 { $as_echo "$as_me:$LINENO: result: yes" >&5
6118 $as_echo "yes" >&6; }
6120 { $as_echo "$as_me:$LINENO: result: no" >&5
6121 $as_echo "no" >&6; }
6124 # Check whether --enable-prologues was given.
6125 if test "${enable_prologues+set}" = set; then
6126 enableval
=$enable_prologues;
6127 if test "$enable_prologues" = yes; then
6129 cat >>confdefs.h
<<\_ACEOF
6130 #define ENABLE_PROLOGUES /**/
6137 # Check whether --enable-ssp was given.
6138 if test "${enable_ssp+set}" = set; then
6139 enableval
=$enable_ssp;
6142 if test "x$enable_ssp" != xno
; then
6144 save_CFLAGS
="$CFLAGS"
6145 save_CXXFLAGS
="$CXXFLAGS"
6146 CXXFLAGS
="$CXXFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
6147 CFLAGS
="$CFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
6148 cat >conftest.
$ac_ext <<_ACEOF
6151 rm -f conftest.
$ac_objext
6152 if { (ac_try
="$ac_compile"
6154 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6155 *) ac_try_echo=$ac_try;;
6157 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6158 $as_echo "$ac_try_echo") >&5
6159 (eval "$ac_compile") 2>conftest.er1
6161 grep -v '^ *+' conftest.er1 >conftest.err
6163 cat conftest.err >&5
6164 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165 (exit $ac_status); } && {
6166 test -z "$ac_c_werror_flag" ||
6167 test ! -s conftest.err
6168 } && test -s conftest.$ac_objext; then
6170 { $as_echo "$as_me:$LINENO: Compiling with gcc -fstack-protector-all et al." >&5
6171 $as_echo "$as_me: Compiling with gcc -fstack-protector-all et al." >&6;}
6172 CFLAGS="$save_CFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
6173 CXFXLAGS="$save_CXXFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
6175 $as_echo "$as_me: failed program was:" >&5
6176 sed 's/^/| /' conftest.$ac_ext >&5
6179 { $as_echo "$as_me:$LINENO: Compiler does not support -fstack-protector-all et al." >&5
6180 $as_echo "$as_me: Compiler does not support -fstack-protector-all et al." >&6;}
6181 CFLAGS="$save_CFLAGS"
6182 CXXFLAGS="$save_CXXFLAGS"
6185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6189 # Compiling without fPIE by default (see PR 9922)
6190 # Check whether --enable-pie was given.
6191 if test "${enable_pie+set}" = set; then
6192 enableval=$enable_pie;
6195 if test "x$enable_pie" == xyes; then
6197 save_CFLAGS="$CFLAGS"
6198 save_CXXFLAGS="$CXXFLAGS"
6199 save_LDFLAGS="$LDFLAGS"
6200 CFLAGS="$CFLAGS -fPIE"
6201 CXXFLAGS="$CXXFLAGS -fPIE"
6202 LDFLAGS="$LDFLAGS -pie -Wl,-z,relro -Wl,-z,now"
6203 cat >conftest.$ac_ext <<_ACEOF
6206 rm -f conftest.$ac_objext conftest$ac_exeext
6207 if { (ac_try="$ac_link"
6209 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6210 *) ac_try_echo
=$ac_try;;
6212 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6213 $as_echo "$ac_try_echo") >&5
6214 (eval "$ac_link") 2>conftest.er1
6216 grep -v '^ *+' conftest.er1
>conftest.err
6218 cat conftest.err
>&5
6219 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6220 (exit $ac_status); } && {
6221 test -z "$ac_c_werror_flag" ||
6222 test ! -s conftest.err
6223 } && test -s conftest
$ac_exeext && {
6224 test "$cross_compiling" = yes ||
6225 $as_test_x conftest
$ac_exeext
6228 { $as_echo "$as_me:$LINENO: Compiling with gcc pie et al." >&5
6229 $as_echo "$as_me: Compiling with gcc pie et al." >&6;}
6230 # LDFLAGS is special since it may be passed down to bundled-elfutils,
6231 # and interfere with the .so's built therein
6232 PIELDFLAGS
="$LDFLAGS"
6233 LDFLAGS
="$save_LDFLAGS"
6235 CFLAGS
="$save_CFLAGS"
6236 PIECXXFLAGS
="$CXXFLAGS"
6237 CXXFLAGS
="$save_CXXFLAGS"
6240 $as_echo "$as_me: failed program was:" >&5
6241 sed 's/^/| /' conftest.
$ac_ext >&5
6244 { $as_echo "$as_me:$LINENO: Compiler does not support -pie et al." >&5
6245 $as_echo "$as_me: Compiler does not support -pie et al." >&6;}
6247 CFLAGS
="$save_CFLAGS"
6249 CXXFLAGS
="$save_CXXFLAGS"
6251 LDFLAGS
="$save_LDFLAGS"
6254 rm -rf conftest.dSYM
6255 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6256 conftest
$ac_exeext conftest.
$ac_ext
6263 # Check whether --enable-sqlite was given.
6264 if test "${enable_sqlite+set}" = set; then
6265 enableval
=$enable_sqlite;
6270 if test "x$enable_sqlite" != xno
; then
6271 { $as_echo "$as_me:$LINENO: checking for sqlite3_open in -lsqlite3" >&5
6272 $as_echo_n "checking for sqlite3_open in -lsqlite3... " >&6; }
6273 if test "${ac_cv_lib_sqlite3_sqlite3_open+set}" = set; then
6274 $as_echo_n "(cached) " >&6
6276 ac_check_lib_save_LIBS
=$LIBS
6277 LIBS
="-lsqlite3 $LIBS"
6278 cat >conftest.
$ac_ext <<_ACEOF
6281 cat confdefs.h
>>conftest.
$ac_ext
6282 cat >>conftest.
$ac_ext <<_ACEOF
6283 /* end confdefs.h. */
6285 /* Override any GCC internal prototype to avoid an error.
6286 Use char because int might match the return type of a GCC
6287 builtin and then its argument prototype would still apply. */
6291 char sqlite3_open ();
6295 return sqlite3_open ();
6300 rm -f conftest.
$ac_objext conftest
$ac_exeext
6301 if { (ac_try
="$ac_link"
6303 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6304 *) ac_try_echo=$ac_try;;
6306 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6307 $as_echo "$ac_try_echo") >&5
6308 (eval "$ac_link") 2>conftest.er1
6310 grep -v '^ *+' conftest.er1 >conftest.err
6312 cat conftest.err >&5
6313 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6314 (exit $ac_status); } && {
6315 test -z "$ac_c_werror_flag" ||
6316 test ! -s conftest.err
6317 } && test -s conftest$ac_exeext && {
6318 test "$cross_compiling" = yes ||
6319 $as_test_x conftest$ac_exeext
6321 ac_cv_lib_sqlite3_sqlite3_open=yes
6323 $as_echo "$as_me: failed program was:" >&5
6324 sed 's/^/| /' conftest.$ac_ext >&5
6326 ac_cv_lib_sqlite3_sqlite3_open=no
6329 rm -rf conftest.dSYM
6330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6331 conftest$ac_exeext conftest.$ac_ext
6332 LIBS=$ac_check_lib_save_LIBS
6334 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sqlite3_sqlite3_open" >&5
6335 $as_echo "$ac_cv_lib_sqlite3_sqlite3_open" >&6; }
6336 if test "x$ac_cv_lib_sqlite3_sqlite3_open" = x""yes; then
6337 sqlite3_LIBS=-lsqlite3
6340 cat >>confdefs.h <<\_ACEOF
6341 #define HAVE_LIBSQLITE3 1
6345 if test "x$enable_sqlite" != xcheck; then
6346 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6348 { { $as_echo "$as_me:$LINENO: error
: --enable-sqlite was given
, but
test for sqlite failed
6349 See \
`config.log' for more details." >&5
6350 $as_echo "$as_me: error: --enable-sqlite was given, but test for sqlite failed
6351 See \`config.log
' for more details." >&2;}
6352 { (exit 1); exit 1; }; }; }
6359 # Check whether --enable-crash was given.
6360 if test "${enable_crash+set}" = set; then
6361 enableval=$enable_crash; if test "$enable_crash" != "no"; then
6362 save_CPPFLAGS="$CPPFLAGS"
6363 if test "$enable_crash" != "yes"; then
6364 staplog_CPPFLAGS=-I$enable_crash
6365 CPPFLAGS="${staplog_CPPFLAGS} $CPPFLAGS"
6369 for ac_header in crash/defs.h
6371 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6372 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6373 $as_echo_n "checking for $ac_header... " >&6; }
6374 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6375 $as_echo_n "(cached) " >&6
6377 cat >conftest.$ac_ext <<_ACEOF
6380 cat confdefs.h >>conftest.$ac_ext
6381 cat >>conftest.$ac_ext <<_ACEOF
6382 /* end confdefs.h. */
6387 #include <$ac_header>
6389 rm -f conftest.$ac_objext
6390 if { (ac_try="$ac_compile"
6392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6393 *) ac_try_echo=$ac_try;;
6395 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6396 $as_echo "$ac_try_echo") >&5
6397 (eval "$ac_compile") 2>conftest.er1
6399 grep -v '^
*+' conftest.er1 >conftest.err
6401 cat conftest.err >&5
6402 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6403 (exit $ac_status); } && {
6404 test -z "$ac_c_werror_flag" ||
6405 test ! -s conftest.err
6406 } && test -s conftest.$ac_objext; then
6407 eval "$as_ac_Header=yes"
6409 $as_echo "$as_me: failed program was:" >&5
6410 sed 's
/^
/|
/' conftest.$ac_ext >&5
6412 eval "$as_ac_Header=no"
6415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6417 ac_res=`eval 'as_val
=${'$as_ac_Header'}
6418 $as_echo "$as_val"'`
6419 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6420 $as_echo "$ac_res" >&6; }
6421 as_val=`eval 'as_val
=${'$as_ac_Header'}
6422 $as_echo "$as_val"'`
6423 if test "x$as_val" = x""yes; then
6424 cat >>confdefs.h <<_ACEOF
6425 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6429 { { $as_echo "$as_me:$LINENO: error: cannot find required crash header (crash-devel may need to be installed)" >&5
6430 $as_echo "$as_me: error: cannot find required crash header (crash-devel may need to be installed)" >&2;}
6431 { (exit 1); exit 1; }; }
6436 CPPFLAGS="$save_CPPFLAGS"
6442 if test "$enable_crash" != "no"; then
6443 BUILD_CRASHMOD_TRUE=
6444 BUILD_CRASHMOD_FALSE='#'
6446 BUILD_CRASHMOD_TRUE
='#'
6447 BUILD_CRASHMOD_FALSE
=
6452 # Check whether --enable-docs was given.
6453 if test "${enable_docs+set}" = set; then
6454 enableval
=$enable_docs; enable_docs
=$enableval
6459 # Extract the first word of "latex", so it can be a program name with args.
6460 set dummy latex
; ac_word
=$2
6461 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6462 $as_echo_n "checking for $ac_word... " >&6; }
6463 if test "${ac_cv_prog_have_latex+set}" = set; then
6464 $as_echo_n "(cached) " >&6
6466 if test -n "$have_latex"; then
6467 ac_cv_prog_have_latex
="$have_latex" # Let the user override the test.
6469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6473 test -z "$as_dir" && as_dir
=.
6474 for ac_exec_ext
in '' $ac_executable_extensions; do
6475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6476 ac_cv_prog_have_latex
="yes"
6477 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6484 test -z "$ac_cv_prog_have_latex" && ac_cv_prog_have_latex
="no"
6487 have_latex
=$ac_cv_prog_have_latex
6488 if test -n "$have_latex"; then
6489 { $as_echo "$as_me:$LINENO: result: $have_latex" >&5
6490 $as_echo "$have_latex" >&6; }
6492 { $as_echo "$as_me:$LINENO: result: no" >&5
6493 $as_echo "no" >&6; }
6497 # Extract the first word of "dvips", so it can be a program name with args.
6498 set dummy dvips
; ac_word
=$2
6499 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6500 $as_echo_n "checking for $ac_word... " >&6; }
6501 if test "${ac_cv_prog_have_dvips+set}" = set; then
6502 $as_echo_n "(cached) " >&6
6504 if test -n "$have_dvips"; then
6505 ac_cv_prog_have_dvips
="$have_dvips" # Let the user override the test.
6507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6511 test -z "$as_dir" && as_dir
=.
6512 for ac_exec_ext
in '' $ac_executable_extensions; do
6513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6514 ac_cv_prog_have_dvips
="yes"
6515 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6522 test -z "$ac_cv_prog_have_dvips" && ac_cv_prog_have_dvips
="no"
6525 have_dvips
=$ac_cv_prog_have_dvips
6526 if test -n "$have_dvips"; then
6527 { $as_echo "$as_me:$LINENO: result: $have_dvips" >&5
6528 $as_echo "$have_dvips" >&6; }
6530 { $as_echo "$as_me:$LINENO: result: no" >&5
6531 $as_echo "no" >&6; }
6535 # Extract the first word of "ps2pdf", so it can be a program name with args.
6536 set dummy ps2pdf
; ac_word
=$2
6537 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6538 $as_echo_n "checking for $ac_word... " >&6; }
6539 if test "${ac_cv_prog_have_ps2pdf+set}" = set; then
6540 $as_echo_n "(cached) " >&6
6542 if test -n "$have_ps2pdf"; then
6543 ac_cv_prog_have_ps2pdf
="$have_ps2pdf" # Let the user override the test.
6545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6549 test -z "$as_dir" && as_dir
=.
6550 for ac_exec_ext
in '' $ac_executable_extensions; do
6551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6552 ac_cv_prog_have_ps2pdf
="yes"
6553 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6560 test -z "$ac_cv_prog_have_ps2pdf" && ac_cv_prog_have_ps2pdf
="no"
6563 have_ps2pdf
=$ac_cv_prog_have_ps2pdf
6564 if test -n "$have_ps2pdf"; then
6565 { $as_echo "$as_me:$LINENO: result: $have_ps2pdf" >&5
6566 $as_echo "$have_ps2pdf" >&6; }
6568 { $as_echo "$as_me:$LINENO: result: no" >&5
6569 $as_echo "no" >&6; }
6573 # Extract the first word of "latex2html", so it can be a program name with args.
6574 set dummy latex2html
; ac_word
=$2
6575 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6576 $as_echo_n "checking for $ac_word... " >&6; }
6577 if test "${ac_cv_prog_have_latex2html+set}" = set; then
6578 $as_echo_n "(cached) " >&6
6580 if test -n "$have_latex2html"; then
6581 ac_cv_prog_have_latex2html
="$have_latex2html" # Let the user override the test.
6583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6587 test -z "$as_dir" && as_dir
=.
6588 for ac_exec_ext
in '' $ac_executable_extensions; do
6589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6590 ac_cv_prog_have_latex2html
="yes"
6591 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6598 test -z "$ac_cv_prog_have_latex2html" && ac_cv_prog_have_latex2html
="no"
6601 have_latex2html
=$ac_cv_prog_have_latex2html
6602 if test -n "$have_latex2html"; then
6603 { $as_echo "$as_me:$LINENO: result: $have_latex2html" >&5
6604 $as_echo "$have_latex2html" >&6; }
6606 { $as_echo "$as_me:$LINENO: result: no" >&5
6607 $as_echo "no" >&6; }
6611 if test "x${have_latex}${have_dvips}${have_ps2pdf}${have_latex2html}" != "xyesyesyesyes"; then
6612 if test "$enable_docs" == "yes"; then
6613 { { $as_echo "$as_me:$LINENO: error: cannot find all tools for building documentation" >&5
6614 $as_echo "$as_me: error: cannot find all tools for building documentation" >&2;}
6615 { (exit 1); exit 1; }; }
6617 if test "$enable_docs" == "check"; then
6618 { $as_echo "$as_me:$LINENO: WARNING: will not build documentation, cannot find all tools" >&5
6619 $as_echo "$as_me: WARNING: will not build documentation, cannot find all tools" >&2;}
6622 if test "x${have_latex}${have_dvips}${have_ps2pdf}${have_latex2html}" == "xyesyesyesyes" -a "$enable_docs" != "no"; then
6625 if test "$building_docs" == "yes"; then
6627 BUILD_DOCS_FALSE
='#'
6634 building_refdocs
="no"
6635 # Check whether --enable-refdocs was given.
6636 if test "${enable_refdocs+set}" = set; then
6637 enableval
=$enable_refdocs; enable_refdocs
=$enableval
6639 enable_refdocs
="check"
6642 if test "$building_docs" == "no" -a "$enable_refdocs" == "yes" ; then
6643 { { $as_echo "$as_me:$LINENO: error: must use --enable-docs with --enable-refdocs" >&5
6644 $as_echo "$as_me: error: must use --enable-docs with --enable-refdocs" >&2;}
6645 { (exit 1); exit 1; }; }
6647 # Extract the first word of "xmlto", so it can be a program name with args.
6648 set dummy xmlto
; ac_word
=$2
6649 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6650 $as_echo_n "checking for $ac_word... " >&6; }
6651 if test "${ac_cv_prog_have_xmlto+set}" = set; then
6652 $as_echo_n "(cached) " >&6
6654 if test -n "$have_xmlto"; then
6655 ac_cv_prog_have_xmlto
="$have_xmlto" # Let the user override the test.
6657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6661 test -z "$as_dir" && as_dir
=.
6662 for ac_exec_ext
in '' $ac_executable_extensions; do
6663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6664 ac_cv_prog_have_xmlto
="yes"
6665 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6672 test -z "$ac_cv_prog_have_xmlto" && ac_cv_prog_have_xmlto
="no"
6675 have_xmlto
=$ac_cv_prog_have_xmlto
6676 if test -n "$have_xmlto"; then
6677 { $as_echo "$as_me:$LINENO: result: $have_xmlto" >&5
6678 $as_echo "$have_xmlto" >&6; }
6680 { $as_echo "$as_me:$LINENO: result: no" >&5
6681 $as_echo "no" >&6; }
6685 if test "x${have_xmlto}" == "xyes"; then
6686 { $as_echo "$as_me:$LINENO: checking for xmlto pdf support" >&5
6687 $as_echo_n "checking for xmlto pdf support... " >&6; }
6688 cat > conftest.
$ac_ext << EOF
6689 <?xml version="1.0" encoding="UTF-8"?>
6690 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
6691 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" >
6692 <book id="pdffromxml">
6695 xmlto pdf conftest.
$ac_ext >& /dev
/null
6696 if test $?
== 0; then
6697 have_xmlto_pdf
="yes"
6698 { $as_echo "$as_me:$LINENO: result: yes" >&5
6699 $as_echo "yes" >&6; }
6701 { $as_echo "$as_me:$LINENO: result: no" >&5
6702 $as_echo "no" >&6; }
6705 if test "$enable_refdocs" == "yes"; then
6706 if test "x${have_xmlto}${have_xmlto_pdf}" != "xyesyes"; then
6707 { { $as_echo "$as_me:$LINENO: error: cannot find proper xmlto for building reference documentation" >&5
6708 $as_echo "$as_me: error: cannot find proper xmlto for building reference documentation" >&2;}
6709 { (exit 1); exit 1; }; }
6712 if test "x${have_xmlto}${have_xmlto_pdf}" == "xyesyes" -a "$enable_refdocs" != "no" -a "${building_docs}" == "yes"; then
6713 building_refdocs
="yes"
6715 if test "$building_refdocs" == "yes"; then
6717 BUILD_REFDOCS_FALSE
='#'
6719 BUILD_REFDOCS_TRUE
='#'
6720 BUILD_REFDOCS_FALSE
=
6724 # Check whether --enable-server was given.
6725 if test "${enable_server+set}" = set; then
6726 enableval
=$enable_server; enable_server
=$enableval
6728 enable_server
="check"
6731 { $as_echo "$as_me:$LINENO: checking for /usr/include/nss3" >&5
6732 $as_echo_n "checking for /usr/include/nss3... " >&6; }
6733 if test "${ac_cv_file__usr_include_nss3+set}" = set; then
6734 $as_echo_n "(cached) " >&6
6736 test "$cross_compiling" = yes &&
6737 { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
6738 $as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
6739 { (exit 1); exit 1; }; }
6740 if test -r "/usr/include/nss3"; then
6741 ac_cv_file__usr_include_nss3
=yes
6743 ac_cv_file__usr_include_nss3
=no
6746 { $as_echo "$as_me:$LINENO: result: $ac_cv_file__usr_include_nss3" >&5
6747 $as_echo "$ac_cv_file__usr_include_nss3" >&6; }
6748 if test "x$ac_cv_file__usr_include_nss3" = x
""yes; then
6752 { $as_echo "$as_me:$LINENO: checking for /usr/include/nss" >&5
6753 $as_echo_n "checking for /usr/include/nss... " >&6; }
6754 if test "${ac_cv_file__usr_include_nss+set}" = set; then
6755 $as_echo_n "(cached) " >&6
6757 test "$cross_compiling" = yes &&
6758 { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
6759 $as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
6760 { (exit 1); exit 1; }; }
6761 if test -r "/usr/include/nss"; then
6762 ac_cv_file__usr_include_nss
=yes
6764 ac_cv_file__usr_include_nss
=no
6767 { $as_echo "$as_me:$LINENO: result: $ac_cv_file__usr_include_nss" >&5
6768 $as_echo "$ac_cv_file__usr_include_nss" >&6; }
6769 if test "x$ac_cv_file__usr_include_nss" = x
""yes; then
6776 { $as_echo "$as_me:$LINENO: checking for /usr/include/nspr4" >&5
6777 $as_echo_n "checking for /usr/include/nspr4... " >&6; }
6778 if test "${ac_cv_file__usr_include_nspr4+set}" = set; then
6779 $as_echo_n "(cached) " >&6
6781 test "$cross_compiling" = yes &&
6782 { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
6783 $as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
6784 { (exit 1); exit 1; }; }
6785 if test -r "/usr/include/nspr4"; then
6786 ac_cv_file__usr_include_nspr4
=yes
6788 ac_cv_file__usr_include_nspr4
=no
6791 { $as_echo "$as_me:$LINENO: result: $ac_cv_file__usr_include_nspr4" >&5
6792 $as_echo "$ac_cv_file__usr_include_nspr4" >&6; }
6793 if test "x$ac_cv_file__usr_include_nspr4" = x
""yes; then
6797 { $as_echo "$as_me:$LINENO: checking for /usr/include/nspr" >&5
6798 $as_echo_n "checking for /usr/include/nspr... " >&6; }
6799 if test "${ac_cv_file__usr_include_nspr+set}" = set; then
6800 $as_echo_n "(cached) " >&6
6802 test "$cross_compiling" = yes &&
6803 { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
6804 $as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
6805 { (exit 1); exit 1; }; }
6806 if test -r "/usr/include/nspr"; then
6807 ac_cv_file__usr_include_nspr
=yes
6809 ac_cv_file__usr_include_nspr
=no
6812 { $as_echo "$as_me:$LINENO: result: $ac_cv_file__usr_include_nspr" >&5
6813 $as_echo "$ac_cv_file__usr_include_nspr" >&6; }
6814 if test "x$ac_cv_file__usr_include_nspr" = x
""yes; then
6821 if test "x$nssdir" != "x" -a "x$nsprdir" != "x"; then
6822 nss_CFLAGS
="-I/usr/include/$nssdir"
6823 nspr_CFLAGS
="-I/usr/include/$nsprdir"
6826 save_CPPFLAGS
="$CPPFLAGS"
6827 CPPFLAGS
="$CFLAGS $nss_CFLAGS $nspr_CFLAGS"
6835 for ac_header
in "$nsprdir/nspr.h" "$nsprdir/plgetopt.h" "$nsprdir/prerror.h" "$nssdir/ssl.h" "$nssdir/nss.h" "$nssdir/pk11func.h" "$nssdir/secerr.h"
6837 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6838 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6839 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6840 $as_echo_n "checking for $ac_header... " >&6; }
6841 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6842 $as_echo_n "(cached) " >&6
6844 ac_res
=`eval 'as_val=${'$as_ac_Header'}
6845 $as_echo "$as_val"'`
6846 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6847 $as_echo "$ac_res" >&6; }
6849 # Is the header compilable?
6850 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6851 $as_echo_n "checking $ac_header usability... " >&6; }
6852 cat >conftest.
$ac_ext <<_ACEOF
6855 cat confdefs.h
>>conftest.
$ac_ext
6856 cat >>conftest.
$ac_ext <<_ACEOF
6857 /* end confdefs.h. */
6858 $ac_includes_default
6859 #include <$ac_header>
6861 rm -f conftest.
$ac_objext
6862 if { (ac_try
="$ac_compile"
6864 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6865 *) ac_try_echo=$ac_try;;
6867 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6868 $as_echo "$ac_try_echo") >&5
6869 (eval "$ac_compile") 2>conftest.er1
6871 grep -v '^ *+' conftest.er1 >conftest.err
6873 cat conftest.err >&5
6874 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6875 (exit $ac_status); } && {
6876 test -z "$ac_c_werror_flag" ||
6877 test ! -s conftest.err
6878 } && test -s conftest.$ac_objext; then
6879 ac_header_compiler=yes
6881 $as_echo "$as_me: failed program was:" >&5
6882 sed 's/^/| /' conftest.$ac_ext >&5
6884 ac_header_compiler=no
6887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6888 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6889 $as_echo "$ac_header_compiler" >&6; }
6891 # Is the header present?
6892 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6893 $as_echo_n "checking $ac_header presence... " >&6; }
6894 cat >conftest.$ac_ext <<_ACEOF
6897 cat confdefs.h >>conftest.$ac_ext
6898 cat >>conftest.$ac_ext <<_ACEOF
6899 /* end confdefs.h. */
6900 #include <$ac_header>
6902 if { (ac_try="$ac_cpp conftest.$ac_ext"
6904 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6905 *) ac_try_echo
=$ac_try;;
6907 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6908 $as_echo "$ac_try_echo") >&5
6909 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6911 grep -v '^ *+' conftest.er1
>conftest.err
6913 cat conftest.err
>&5
6914 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6915 (exit $ac_status); } >/dev
/null
&& {
6916 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6917 test ! -s conftest.err
6919 ac_header_preproc
=yes
6921 $as_echo "$as_me: failed program was:" >&5
6922 sed 's/^/| /' conftest.
$ac_ext >&5
6924 ac_header_preproc
=no
6927 rm -f conftest.err conftest.
$ac_ext
6928 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6929 $as_echo "$ac_header_preproc" >&6; }
6931 # So? What about this header?
6932 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6934 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6935 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6936 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6937 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6938 ac_header_preproc
=yes
6941 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6942 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6943 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6944 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6945 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6946 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6947 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6948 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6949 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6950 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6951 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6952 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6954 ## ------------------------------------------- ##
6955 ## Report this to systemtap@sources.redhat.com ##
6956 ## ------------------------------------------- ##
6958 ) |
sed "s/^/$as_me: WARNING: /" >&2
6961 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6962 $as_echo_n "checking for $ac_header... " >&6; }
6963 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6964 $as_echo_n "(cached) " >&6
6966 eval "$as_ac_Header=\$ac_header_preproc"
6968 ac_res
=`eval 'as_val=${'$as_ac_Header'}
6969 $as_echo "$as_val"'`
6970 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6971 $as_echo "$ac_res" >&6; }
6974 as_val
=`eval 'as_val=${'$as_ac_Header'}
6975 $as_echo "$as_val"'`
6976 if test "x$as_val" = x
""yes; then
6977 cat >>confdefs.h
<<_ACEOF
6978 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6980 have_nss_includes
=yes
6982 have_nss_includes
=no
6987 CPPFLAGS
="$save_CPPFLAGS"
6989 { $as_echo "$as_me:$LINENO: checking for PR_Connect in -lnspr4" >&5
6990 $as_echo_n "checking for PR_Connect in -lnspr4... " >&6; }
6991 if test "${ac_cv_lib_nspr4_PR_Connect+set}" = set; then
6992 $as_echo_n "(cached) " >&6
6994 ac_check_lib_save_LIBS
=$LIBS
6995 LIBS
="-lnspr4 $LIBS"
6996 cat >conftest.
$ac_ext <<_ACEOF
6999 cat confdefs.h
>>conftest.
$ac_ext
7000 cat >>conftest.
$ac_ext <<_ACEOF
7001 /* end confdefs.h. */
7003 /* Override any GCC internal prototype to avoid an error.
7004 Use char because int might match the return type of a GCC
7005 builtin and then its argument prototype would still apply. */
7013 return PR_Connect ();
7018 rm -f conftest.
$ac_objext conftest
$ac_exeext
7019 if { (ac_try
="$ac_link"
7021 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7022 *) ac_try_echo=$ac_try;;
7024 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7025 $as_echo "$ac_try_echo") >&5
7026 (eval "$ac_link") 2>conftest.er1
7028 grep -v '^ *+' conftest.er1 >conftest.err
7030 cat conftest.err >&5
7031 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7032 (exit $ac_status); } && {
7033 test -z "$ac_c_werror_flag" ||
7034 test ! -s conftest.err
7035 } && test -s conftest$ac_exeext && {
7036 test "$cross_compiling" = yes ||
7037 $as_test_x conftest$ac_exeext
7039 ac_cv_lib_nspr4_PR_Connect=yes
7041 $as_echo "$as_me: failed program was:" >&5
7042 sed 's/^/| /' conftest.$ac_ext >&5
7044 ac_cv_lib_nspr4_PR_Connect=no
7047 rm -rf conftest.dSYM
7048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7049 conftest$ac_exeext conftest.$ac_ext
7050 LIBS=$ac_check_lib_save_LIBS
7052 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nspr4_PR_Connect" >&5
7053 $as_echo "$ac_cv_lib_nspr4_PR_Connect" >&6; }
7054 if test "x$ac_cv_lib_nspr4_PR_Connect" = x""yes; then
7056 { $as_echo "$as_me:$LINENO: checking for SSL_ReHandshake in -lssl3" >&5
7057 $as_echo_n "checking for SSL_ReHandshake in -lssl3... " >&6; }
7058 if test "${ac_cv_lib_ssl3_SSL_ReHandshake+set}" = set; then
7059 $as_echo_n "(cached) " >&6
7061 ac_check_lib_save_LIBS=$LIBS
7063 cat >conftest.$ac_ext <<_ACEOF
7066 cat confdefs.h >>conftest.$ac_ext
7067 cat >>conftest.$ac_ext <<_ACEOF
7068 /* end confdefs.h. */
7070 /* Override any GCC internal prototype to avoid an error.
7071 Use char because int might match the return type of a GCC
7072 builtin and then its argument prototype would still apply. */
7076 char SSL_ReHandshake ();
7080 return SSL_ReHandshake ();
7085 rm -f conftest.$ac_objext conftest$ac_exeext
7086 if { (ac_try="$ac_link"
7088 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7089 *) ac_try_echo
=$ac_try;;
7091 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7092 $as_echo "$ac_try_echo") >&5
7093 (eval "$ac_link") 2>conftest.er1
7095 grep -v '^ *+' conftest.er1
>conftest.err
7097 cat conftest.err
>&5
7098 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7099 (exit $ac_status); } && {
7100 test -z "$ac_c_werror_flag" ||
7101 test ! -s conftest.err
7102 } && test -s conftest
$ac_exeext && {
7103 test "$cross_compiling" = yes ||
7104 $as_test_x conftest
$ac_exeext
7106 ac_cv_lib_ssl3_SSL_ReHandshake
=yes
7108 $as_echo "$as_me: failed program was:" >&5
7109 sed 's/^/| /' conftest.
$ac_ext >&5
7111 ac_cv_lib_ssl3_SSL_ReHandshake
=no
7114 rm -rf conftest.dSYM
7115 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7116 conftest
$ac_exeext conftest.
$ac_ext
7117 LIBS
=$ac_check_lib_save_LIBS
7119 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ssl3_SSL_ReHandshake" >&5
7120 $as_echo "$ac_cv_lib_ssl3_SSL_ReHandshake" >&6; }
7121 if test "x$ac_cv_lib_ssl3_SSL_ReHandshake" = x
""yes; then
7129 if test "x${have_nss_includes}${have_nss_libs}" != "xyesyes"; then
7130 if test "$enable_server" == "yes"; then
7131 { { $as_echo "$as_me:$LINENO: error: cannot find all libraries for stap-server" >&5
7132 $as_echo "$as_me: error: cannot find all libraries for stap-server" >&2;}
7133 { (exit 1); exit 1; }; }
7135 if test "$enable_server" == "check"; then
7136 { $as_echo "$as_me:$LINENO: WARNING: will not build stap-server, cannot find all libraries" >&5
7137 $as_echo "$as_me: WARNING: will not build stap-server, cannot find all libraries" >&2;}
7140 if test "x${have_nss_includes}${have_nss_libs}" == "xyesyes" -a "$enable_server" != "no"; then
7142 BUILD_SERVER_FALSE
='#'
7144 BUILD_SERVER_TRUE
='#'
7151 # Check whether --with-elfutils was given.
7152 if test "${with_elfutils+set}" = set; then
7153 withval
=$with_elfutils;
7154 case "$with_elfutils" in
7155 yes) { { $as_echo "$as_me:$LINENO: error: --with-elfutils requires an argument" >&5
7156 $as_echo "$as_me: error: --with-elfutils requires an argument" >&2;}
7157 { (exit 1); exit 1; }; } ;;
7159 *) build_elfutils
=yes ;;
7163 if test $build_elfutils = yes; then
7164 BUILD_ELFUTILS_TRUE
=
7165 BUILD_ELFUTILS_FALSE
='#'
7167 BUILD_ELFUTILS_TRUE
='#'
7168 BUILD_ELFUTILS_FALSE
=
7171 elfutils_abs_srcdir
=`if test $build_elfutils = yes; then
7172 cd $with_elfutils && pwd
7177 if test $build_elfutils = no
; then
7178 # Need libdwfl-capable recent elfutils http://elfutils.fedorahosted.org/
7181 { $as_echo "$as_me:$LINENO: checking for dwfl_module_getsym in -ldw" >&5
7182 $as_echo_n "checking for dwfl_module_getsym in -ldw... " >&6; }
7183 if test "${ac_cv_lib_dw_dwfl_module_getsym+set}" = set; then
7184 $as_echo_n "(cached) " >&6
7186 ac_check_lib_save_LIBS
=$LIBS
7187 LIBS
="-ldw -Wl,--start-group -ldw -lebl -Wl,--end-group -lelf $LIBS"
7188 cat >conftest.
$ac_ext <<_ACEOF
7191 cat confdefs.h
>>conftest.
$ac_ext
7192 cat >>conftest.
$ac_ext <<_ACEOF
7193 /* end confdefs.h. */
7195 /* Override any GCC internal prototype to avoid an error.
7196 Use char because int might match the return type of a GCC
7197 builtin and then its argument prototype would still apply. */
7201 char dwfl_module_getsym ();
7205 return dwfl_module_getsym ();
7210 rm -f conftest.
$ac_objext conftest
$ac_exeext
7211 if { (ac_try
="$ac_link"
7213 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7214 *) ac_try_echo=$ac_try;;
7216 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7217 $as_echo "$ac_try_echo") >&5
7218 (eval "$ac_link") 2>conftest.er1
7220 grep -v '^ *+' conftest.er1 >conftest.err
7222 cat conftest.err >&5
7223 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7224 (exit $ac_status); } && {
7225 test -z "$ac_c_werror_flag" ||
7226 test ! -s conftest.err
7227 } && test -s conftest$ac_exeext && {
7228 test "$cross_compiling" = yes ||
7229 $as_test_x conftest$ac_exeext
7231 ac_cv_lib_dw_dwfl_module_getsym=yes
7233 $as_echo "$as_me: failed program was:" >&5
7234 sed 's/^/| /' conftest.$ac_ext >&5
7236 ac_cv_lib_dw_dwfl_module_getsym=no
7239 rm -rf conftest.dSYM
7240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7241 conftest$ac_exeext conftest.$ac_ext
7242 LIBS=$ac_check_lib_save_LIBS
7244 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dw_dwfl_module_getsym" >&5
7245 $as_echo "$ac_cv_lib_dw_dwfl_module_getsym" >&6; }
7246 if test "x$ac_cv_lib_dw_dwfl_module_getsym" = x""yes; then
7247 cat >>confdefs.h <<_ACEOF
7248 #define HAVE_LIBDW 1
7255 { { $as_echo "$as_me:$LINENO: error: missing elfutils development headers/libraries (install elfutils-devel, libebl-dev, libdw-dev and/or libebl-devel)" >&5
7256 $as_echo "$as_me: error: missing elfutils development headers/libraries (install elfutils-devel, libebl-dev, libdw-dev and/or libebl-devel)" >&2;}
7257 { (exit 1); exit 1; }; }
7261 { $as_echo "$as_me:$LINENO: checking for dwarf_getelf in -ldw" >&5
7262 $as_echo_n "checking for dwarf_getelf in -ldw... " >&6; }
7263 if test "${ac_cv_lib_dw_dwarf_getelf+set}" = set; then
7264 $as_echo_n "(cached) " >&6
7266 ac_check_lib_save_LIBS=$LIBS
7267 LIBS="-ldw -Wl,--start-group -ldw -lebl -Wl,--end-group -lelf $LIBS"
7268 cat >conftest.$ac_ext <<_ACEOF
7271 cat confdefs.h >>conftest.$ac_ext
7272 cat >>conftest.$ac_ext <<_ACEOF
7273 /* end confdefs.h. */
7275 /* Override any GCC internal prototype to avoid an error.
7276 Use char because int might match the return type of a GCC
7277 builtin and then its argument prototype would still apply. */
7281 char dwarf_getelf ();
7285 return dwarf_getelf ();
7290 rm -f conftest.$ac_objext conftest$ac_exeext
7291 if { (ac_try="$ac_link"
7293 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7294 *) ac_try_echo
=$ac_try;;
7296 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7297 $as_echo "$ac_try_echo") >&5
7298 (eval "$ac_link") 2>conftest.er1
7300 grep -v '^ *+' conftest.er1
>conftest.err
7302 cat conftest.err
>&5
7303 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7304 (exit $ac_status); } && {
7305 test -z "$ac_c_werror_flag" ||
7306 test ! -s conftest.err
7307 } && test -s conftest
$ac_exeext && {
7308 test "$cross_compiling" = yes ||
7309 $as_test_x conftest
$ac_exeext
7311 ac_cv_lib_dw_dwarf_getelf
=yes
7313 $as_echo "$as_me: failed program was:" >&5
7314 sed 's/^/| /' conftest.
$ac_ext >&5
7316 ac_cv_lib_dw_dwarf_getelf
=no
7319 rm -rf conftest.dSYM
7320 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7321 conftest
$ac_exeext conftest.
$ac_ext
7322 LIBS
=$ac_check_lib_save_LIBS
7324 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dw_dwarf_getelf" >&5
7325 $as_echo "$ac_cv_lib_dw_dwarf_getelf" >&6; }
7326 if test "x$ac_cv_lib_dw_dwarf_getelf" = x
""yes; then
7327 cat >>confdefs.h
<<_ACEOF
7328 #define HAVE_LIBDW 1
7335 { { $as_echo "$as_me:$LINENO: error: elfutils, libdw too old, need 0.126+" >&5
7336 $as_echo "$as_me: error: elfutils, libdw too old, need 0.126+" >&2;}
7337 { (exit 1); exit 1; }; }
7340 stap_LIBS
="-Wl,--start-group -ldw -lebl -Wl,--end-group -lelf"
7343 # We built our own and stap_LDFLAGS points at the install.
7344 stap_LIBS
="-Wl,--start-group -ldw -lebl -Wl,--end-group -lelf"
7348 { $as_echo "$as_me:$LINENO: stap will link $stap_LIBS" >&5
7349 $as_echo "$as_me: stap will link $stap_LIBS" >&6;}
7351 date=`date +%Y-%m-%d`
7353 cat >>confdefs.h
<<_ACEOF
7354 #define DATE "$date"
7361 # This procflags business is for staprun/stapio, which need to
7362 # be compiled with the same bitness as the kernel. On e.g. PPC,
7363 # userspace might be 32-bit default, but staprun needs to be
7364 # 64-bit. See also bug #4037.
7366 processor
=`uname -p`
7367 case "$processor" in
7368 ppc64
) PROCFLAGS
=-m64 ;;
7369 x86_64
) PROCFLAGS
=-m64 ;;
7374 # Use tr1/unordered_map if available
7376 ac_cpp
='$CXXCPP $CPPFLAGS'
7377 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7378 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7379 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7383 ac_cpp
='$CXXCPP $CPPFLAGS'
7384 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7385 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7386 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7387 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7388 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
7389 if test -z "$CXXCPP"; then
7390 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7391 $as_echo_n "(cached) " >&6
7393 # Double quotes because CXXCPP needs to be expanded
7394 for CXXCPP
in "$CXX -E" "/lib/cpp"
7397 for ac_cxx_preproc_warn_flag
in '' yes
7399 # Use a header file that comes with gcc, so configuring glibc
7400 # with a fresh cross-compiler works.
7401 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7402 # <limits.h> exists even on freestanding compilers.
7403 # On the NeXT, cc -E runs the code through the compiler's parser,
7404 # not just through cpp. "Syntax error" is here to catch this case.
7405 cat >conftest.
$ac_ext <<_ACEOF
7408 cat confdefs.h
>>conftest.
$ac_ext
7409 cat >>conftest.
$ac_ext <<_ACEOF
7410 /* end confdefs.h. */
7412 # include <limits.h>
7414 # include <assert.h>
7418 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7420 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7421 *) ac_try_echo=$ac_try;;
7423 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7424 $as_echo "$ac_try_echo") >&5
7425 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7427 grep -v '^ *+' conftest.er1 >conftest.err
7429 cat conftest.err >&5
7430 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7431 (exit $ac_status); } >/dev/null && {
7432 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7433 test ! -s conftest.err
7437 $as_echo "$as_me: failed program was:" >&5
7438 sed 's/^/| /' conftest.$ac_ext >&5
7440 # Broken: fails on valid input.
7444 rm -f conftest.err conftest.$ac_ext
7446 # OK, works on sane cases. Now check whether nonexistent headers
7447 # can be detected and how.
7448 cat >conftest.$ac_ext <<_ACEOF
7451 cat confdefs.h >>conftest.$ac_ext
7452 cat >>conftest.$ac_ext <<_ACEOF
7453 /* end confdefs.h. */
7454 #include <ac_nonexistent.h>
7456 if { (ac_try="$ac_cpp conftest.$ac_ext"
7458 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7459 *) ac_try_echo
=$ac_try;;
7461 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7462 $as_echo "$ac_try_echo") >&5
7463 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7465 grep -v '^ *+' conftest.er1
>conftest.err
7467 cat conftest.err
>&5
7468 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7469 (exit $ac_status); } >/dev
/null
&& {
7470 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7471 test ! -s conftest.err
7473 # Broken: success on invalid input.
7476 $as_echo "$as_me: failed program was:" >&5
7477 sed 's/^/| /' conftest.
$ac_ext >&5
7479 # Passes both tests.
7484 rm -f conftest.err conftest.
$ac_ext
7487 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7488 rm -f conftest.err conftest.
$ac_ext
7489 if $ac_preproc_ok; then
7494 ac_cv_prog_CXXCPP
=$CXXCPP
7497 CXXCPP
=$ac_cv_prog_CXXCPP
7499 ac_cv_prog_CXXCPP
=$CXXCPP
7501 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
7502 $as_echo "$CXXCPP" >&6; }
7504 for ac_cxx_preproc_warn_flag
in '' yes
7506 # Use a header file that comes with gcc, so configuring glibc
7507 # with a fresh cross-compiler works.
7508 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7509 # <limits.h> exists even on freestanding compilers.
7510 # On the NeXT, cc -E runs the code through the compiler's parser,
7511 # not just through cpp. "Syntax error" is here to catch this case.
7512 cat >conftest.
$ac_ext <<_ACEOF
7515 cat confdefs.h
>>conftest.
$ac_ext
7516 cat >>conftest.
$ac_ext <<_ACEOF
7517 /* end confdefs.h. */
7519 # include <limits.h>
7521 # include <assert.h>
7525 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7527 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7528 *) ac_try_echo=$ac_try;;
7530 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7531 $as_echo "$ac_try_echo") >&5
7532 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7534 grep -v '^ *+' conftest.er1 >conftest.err
7536 cat conftest.err >&5
7537 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7538 (exit $ac_status); } >/dev/null && {
7539 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7540 test ! -s conftest.err
7544 $as_echo "$as_me: failed program was:" >&5
7545 sed 's/^/| /' conftest.$ac_ext >&5
7547 # Broken: fails on valid input.
7551 rm -f conftest.err conftest.$ac_ext
7553 # OK, works on sane cases. Now check whether nonexistent headers
7554 # can be detected and how.
7555 cat >conftest.$ac_ext <<_ACEOF
7558 cat confdefs.h >>conftest.$ac_ext
7559 cat >>conftest.$ac_ext <<_ACEOF
7560 /* end confdefs.h. */
7561 #include <ac_nonexistent.h>
7563 if { (ac_try="$ac_cpp conftest.$ac_ext"
7565 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7566 *) ac_try_echo
=$ac_try;;
7568 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7569 $as_echo "$ac_try_echo") >&5
7570 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7572 grep -v '^ *+' conftest.er1
>conftest.err
7574 cat conftest.err
>&5
7575 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7576 (exit $ac_status); } >/dev
/null
&& {
7577 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7578 test ! -s conftest.err
7580 # Broken: success on invalid input.
7583 $as_echo "$as_me: failed program was:" >&5
7584 sed 's/^/| /' conftest.
$ac_ext >&5
7586 # Passes both tests.
7591 rm -f conftest.err conftest.
$ac_ext
7594 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7595 rm -f conftest.err conftest.
$ac_ext
7596 if $ac_preproc_ok; then
7599 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7601 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7602 See \`config.log' for more details." >&5
7603 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7604 See \`config.log' for more details." >&2;}
7605 { (exit 1); exit 1; }; }; }
7609 ac_cpp
='$CXXCPP $CPPFLAGS'
7610 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7611 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7612 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7616 for ac_header
in tr1/unordered_map
7618 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7619 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7620 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7621 $as_echo_n "checking for $ac_header... " >&6; }
7622 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7623 $as_echo_n "(cached) " >&6
7625 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7626 $as_echo "$as_val"'`
7627 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7628 $as_echo "$ac_res" >&6; }
7630 # Is the header compilable?
7631 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7632 $as_echo_n "checking $ac_header usability... " >&6; }
7633 cat >conftest.
$ac_ext <<_ACEOF
7636 cat confdefs.h
>>conftest.
$ac_ext
7637 cat >>conftest.
$ac_ext <<_ACEOF
7638 /* end confdefs.h. */
7639 $ac_includes_default
7640 #include <$ac_header>
7642 rm -f conftest.
$ac_objext
7643 if { (ac_try
="$ac_compile"
7645 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7646 *) ac_try_echo=$ac_try;;
7648 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7649 $as_echo "$ac_try_echo") >&5
7650 (eval "$ac_compile") 2>conftest.er1
7652 grep -v '^ *+' conftest.er1 >conftest.err
7654 cat conftest.err >&5
7655 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7656 (exit $ac_status); } && {
7657 test -z "$ac_cxx_werror_flag" ||
7658 test ! -s conftest.err
7659 } && test -s conftest.$ac_objext; then
7660 ac_header_compiler=yes
7662 $as_echo "$as_me: failed program was:" >&5
7663 sed 's/^/| /' conftest.$ac_ext >&5
7665 ac_header_compiler=no
7668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7669 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7670 $as_echo "$ac_header_compiler" >&6; }
7672 # Is the header present?
7673 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7674 $as_echo_n "checking $ac_header presence... " >&6; }
7675 cat >conftest.$ac_ext <<_ACEOF
7678 cat confdefs.h >>conftest.$ac_ext
7679 cat >>conftest.$ac_ext <<_ACEOF
7680 /* end confdefs.h. */
7681 #include <$ac_header>
7683 if { (ac_try="$ac_cpp conftest.$ac_ext"
7685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7686 *) ac_try_echo
=$ac_try;;
7688 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7689 $as_echo "$ac_try_echo") >&5
7690 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7692 grep -v '^ *+' conftest.er1
>conftest.err
7694 cat conftest.err
>&5
7695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7696 (exit $ac_status); } >/dev
/null
&& {
7697 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7698 test ! -s conftest.err
7700 ac_header_preproc
=yes
7702 $as_echo "$as_me: failed program was:" >&5
7703 sed 's/^/| /' conftest.
$ac_ext >&5
7705 ac_header_preproc
=no
7708 rm -f conftest.err conftest.
$ac_ext
7709 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7710 $as_echo "$ac_header_preproc" >&6; }
7712 # So? What about this header?
7713 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7715 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7716 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7717 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7718 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7719 ac_header_preproc
=yes
7722 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7723 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7724 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7725 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7726 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7727 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7728 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7729 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7730 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7731 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7732 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7733 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7735 ## ------------------------------------------- ##
7736 ## Report this to systemtap@sources.redhat.com ##
7737 ## ------------------------------------------- ##
7739 ) |
sed "s/^/$as_me: WARNING: /" >&2
7742 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7743 $as_echo_n "checking for $ac_header... " >&6; }
7744 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7745 $as_echo_n "(cached) " >&6
7747 eval "$as_ac_Header=\$ac_header_preproc"
7749 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7750 $as_echo "$as_val"'`
7751 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7752 $as_echo "$ac_res" >&6; }
7755 as_val
=`eval 'as_val=${'$as_ac_Header'}
7756 $as_echo "$as_val"'`
7757 if test "x$as_val" = x
""yes; then
7758 cat >>confdefs.h
<<_ACEOF
7759 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7767 ac_cpp
='$CPP $CPPFLAGS'
7768 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7769 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7770 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7774 if test $build_elfutils = yes; then
7775 case "$with_elfutils" in
7776 /*) elfutils_srcdir
="$with_elfutils" ;;
7777 *) elfutils_srcdir
="../$with_elfutils" ;;
7779 { $as_echo "$as_me:$LINENO: running ${elfutils_srcdir}/configure" >&5
7780 $as_echo "$as_me: running ${elfutils_srcdir}/configure" >&6;}
7781 # Our libdw.so's libebl will look in $ORIGIN/../lib/... but that
7782 # $ORIGIN is where libdw.so resides, which is not where there is a ../lib.
7783 # Note that $libdir might be using a quoted use of $exec_prefix or $prefix.
7784 # So we must make sure to pass those settings to elfutils configure.
7785 elfutils_rpath
="-Wl,--enable-new-dtags,-rpath,${libdir}/${PACKAGE_NAME}"
7787 (mkdir
-p build-elfutils
&& cd build-elfutils
&&
7788 ${elfutils_srcdir}/configure
--enable-libebl-subdir=${PACKAGE_NAME} \
7789 --includedir="${here}/include-elfutils" \
7790 --libdir="${here}/lib-elfutils" \
7791 --exec-prefix="$exec_prefix" \
7792 --prefix="$prefix" \
7793 CFLAGS
="${CFLAGS/-Wall/}" \
7794 LDFLAGS
="$LDFLAGS $elfutils_rpath" &&
7795 if test -f ${elfutils_srcdir}/config
/version.h.
in; then
7796 echo Trying to
install elfutils version header...
7797 make install-pkgincludeHEADERS
7799 # so that elfutils/version.h - available from 0.138 - may be found.
7800 # Don't use install-data because that will fail (installing in $prefix).
7802 if test $?
!= 0; then exit; fi
7803 save_CPPFLAGS
=${CPPFLAGS}
7804 CPPFLAGS
="${CPPFLAGS} -Iinclude-elfutils" # in case bundled elfutils
7806 for ac_header
in elfutils
/version.h
7808 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7809 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7810 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7811 $as_echo_n "checking for $ac_header... " >&6; }
7812 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7813 $as_echo_n "(cached) " >&6
7815 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7816 $as_echo "$as_val"'`
7817 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7818 $as_echo "$ac_res" >&6; }
7820 # Is the header compilable?
7821 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7822 $as_echo_n "checking $ac_header usability... " >&6; }
7823 cat >conftest.
$ac_ext <<_ACEOF
7826 cat confdefs.h
>>conftest.
$ac_ext
7827 cat >>conftest.
$ac_ext <<_ACEOF
7828 /* end confdefs.h. */
7829 $ac_includes_default
7830 #include <$ac_header>
7832 rm -f conftest.
$ac_objext
7833 if { (ac_try
="$ac_compile"
7835 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7836 *) ac_try_echo=$ac_try;;
7838 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7839 $as_echo "$ac_try_echo") >&5
7840 (eval "$ac_compile") 2>conftest.er1
7842 grep -v '^ *+' conftest.er1 >conftest.err
7844 cat conftest.err >&5
7845 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7846 (exit $ac_status); } && {
7847 test -z "$ac_c_werror_flag" ||
7848 test ! -s conftest.err
7849 } && test -s conftest.$ac_objext; then
7850 ac_header_compiler=yes
7852 $as_echo "$as_me: failed program was:" >&5
7853 sed 's/^/| /' conftest.$ac_ext >&5
7855 ac_header_compiler=no
7858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7859 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7860 $as_echo "$ac_header_compiler" >&6; }
7862 # Is the header present?
7863 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7864 $as_echo_n "checking $ac_header presence... " >&6; }
7865 cat >conftest.$ac_ext <<_ACEOF
7868 cat confdefs.h >>conftest.$ac_ext
7869 cat >>conftest.$ac_ext <<_ACEOF
7870 /* end confdefs.h. */
7871 #include <$ac_header>
7873 if { (ac_try="$ac_cpp conftest.$ac_ext"
7875 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7876 *) ac_try_echo
=$ac_try;;
7878 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7879 $as_echo "$ac_try_echo") >&5
7880 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7882 grep -v '^ *+' conftest.er1
>conftest.err
7884 cat conftest.err
>&5
7885 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7886 (exit $ac_status); } >/dev
/null
&& {
7887 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7888 test ! -s conftest.err
7890 ac_header_preproc
=yes
7892 $as_echo "$as_me: failed program was:" >&5
7893 sed 's/^/| /' conftest.
$ac_ext >&5
7895 ac_header_preproc
=no
7898 rm -f conftest.err conftest.
$ac_ext
7899 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7900 $as_echo "$ac_header_preproc" >&6; }
7902 # So? What about this header?
7903 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7905 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7906 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7907 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7908 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7909 ac_header_preproc
=yes
7912 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7913 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7914 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7915 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7916 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7917 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7918 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7919 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7920 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7921 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7922 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7923 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7925 ## ------------------------------------------- ##
7926 ## Report this to systemtap@sources.redhat.com ##
7927 ## ------------------------------------------- ##
7929 ) |
sed "s/^/$as_me: WARNING: /" >&2
7932 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7933 $as_echo_n "checking for $ac_header... " >&6; }
7934 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7935 $as_echo_n "(cached) " >&6
7937 eval "$as_ac_Header=\$ac_header_preproc"
7939 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7940 $as_echo "$as_val"'`
7941 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7942 $as_echo "$ac_res" >&6; }
7945 as_val
=`eval 'as_val=${'$as_ac_Header'}
7946 $as_echo "$as_val"'`
7947 if test "x$as_val" = x
""yes; then
7948 cat >>confdefs.h
<<_ACEOF
7949 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7956 CPPFLAGS
="$save_CPPFLAGS"
7959 for ac_header
in elfutils
/version.h
7961 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7962 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7963 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7964 $as_echo_n "checking for $ac_header... " >&6; }
7965 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7966 $as_echo_n "(cached) " >&6
7968 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7969 $as_echo "$as_val"'`
7970 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7971 $as_echo "$ac_res" >&6; }
7973 # Is the header compilable?
7974 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7975 $as_echo_n "checking $ac_header usability... " >&6; }
7976 cat >conftest.
$ac_ext <<_ACEOF
7979 cat confdefs.h
>>conftest.
$ac_ext
7980 cat >>conftest.
$ac_ext <<_ACEOF
7981 /* end confdefs.h. */
7982 $ac_includes_default
7983 #include <$ac_header>
7985 rm -f conftest.
$ac_objext
7986 if { (ac_try
="$ac_compile"
7988 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7989 *) ac_try_echo=$ac_try;;
7991 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7992 $as_echo "$ac_try_echo") >&5
7993 (eval "$ac_compile") 2>conftest.er1
7995 grep -v '^ *+' conftest.er1 >conftest.err
7997 cat conftest.err >&5
7998 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7999 (exit $ac_status); } && {
8000 test -z "$ac_c_werror_flag" ||
8001 test ! -s conftest.err
8002 } && test -s conftest.$ac_objext; then
8003 ac_header_compiler=yes
8005 $as_echo "$as_me: failed program was:" >&5
8006 sed 's/^/| /' conftest.$ac_ext >&5
8008 ac_header_compiler=no
8011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8012 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8013 $as_echo "$ac_header_compiler" >&6; }
8015 # Is the header present?
8016 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8017 $as_echo_n "checking $ac_header presence... " >&6; }
8018 cat >conftest.$ac_ext <<_ACEOF
8021 cat confdefs.h >>conftest.$ac_ext
8022 cat >>conftest.$ac_ext <<_ACEOF
8023 /* end confdefs.h. */
8024 #include <$ac_header>
8026 if { (ac_try="$ac_cpp conftest.$ac_ext"
8028 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8029 *) ac_try_echo
=$ac_try;;
8031 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8032 $as_echo "$ac_try_echo") >&5
8033 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8035 grep -v '^ *+' conftest.er1
>conftest.err
8037 cat conftest.err
>&5
8038 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8039 (exit $ac_status); } >/dev
/null
&& {
8040 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8041 test ! -s conftest.err
8043 ac_header_preproc
=yes
8045 $as_echo "$as_me: failed program was:" >&5
8046 sed 's/^/| /' conftest.
$ac_ext >&5
8048 ac_header_preproc
=no
8051 rm -f conftest.err conftest.
$ac_ext
8052 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8053 $as_echo "$ac_header_preproc" >&6; }
8055 # So? What about this header?
8056 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8058 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8059 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8060 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8061 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8062 ac_header_preproc
=yes
8065 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8066 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8067 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8068 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8069 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8070 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8071 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8072 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8073 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8074 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8075 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8076 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8078 ## ------------------------------------------- ##
8079 ## Report this to systemtap@sources.redhat.com ##
8080 ## ------------------------------------------- ##
8082 ) |
sed "s/^/$as_me: WARNING: /" >&2
8085 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8086 $as_echo_n "checking for $ac_header... " >&6; }
8087 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8088 $as_echo_n "(cached) " >&6
8090 eval "$as_ac_Header=\$ac_header_preproc"
8092 ac_res
=`eval 'as_val=${'$as_ac_Header'}
8093 $as_echo "$as_val"'`
8094 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8095 $as_echo "$ac_res" >&6; }
8098 as_val
=`eval 'as_val=${'$as_ac_Header'}
8099 $as_echo "$as_val"'`
8100 if test "x$as_val" = x
""yes; then
8101 cat >>confdefs.h
<<_ACEOF
8102 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8112 cat >>confdefs.h
<<_ACEOF
8113 #define STAP_PREFIX "$prefix"
8117 ac_config_headers
="$ac_config_headers config.h:config.in"
8119 ac_config_files
="$ac_config_files Makefile doc/Makefile doc/SystemTap_Tapset_Reference/Makefile stap.1 stapprobes.3stap stapfuncs.3stap stapvars.3stap stapex.3stap staprun.8 stap-server.8 man/stapprobes.iosched.3stap man/stapprobes.netdev.3stap man/stapprobes.nfs.3stap man/stapprobes.nfsd.3stap man/stapprobes.pagefault.3stap man/stapprobes.process.3stap man/stapprobes.rpc.3stap man/stapprobes.scsi.3stap man/stapprobes.signal.3stap man/stapprobes.socket.3stap man/stapprobes.tcp.3stap man/stapprobes.udp.3stap initscript/systemtap"
8123 subdirs
="$subdirs testsuite"
8125 ac_config_files
="$ac_config_files run-stap"
8127 ac_config_files
="$ac_config_files run-stapio"
8129 cat >confcache
<<\_ACEOF
8130 # This file is a shell script that caches the results of configure
8131 # tests run on this system so they can be shared between configure
8132 # scripts and configure runs, see configure's option --config-cache.
8133 # It is not useful on other systems. If it contains results you don't
8134 # want to keep, you may remove or edit it.
8136 # config.status only pays attention to the cache file if you give it
8137 # the --recheck option to rerun configure.
8139 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8140 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8145 # The following way of writing the cache mishandles newlines in values,
8146 # but we know of no workaround that is simple, portable, and efficient.
8147 # So, we kill variables containing newlines.
8148 # Ultrix sh set writes to stderr and can't be redirected directly,
8149 # and sets the high bit in the cache file unless we assign to the vars.
8151 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8152 eval ac_val
=\$
$ac_var
8156 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
8157 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8160 _ | IFS | as_nl
) ;; #(
8161 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
8162 *) $as_unset $ac_var ;;
8168 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8169 *${as_nl}ac_space
=\
*)
8170 # `set' does not quote correctly, so add quotes (double-quote
8171 # substitution turns \\\\ into \\, and sed turns \\ into \).
8174 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8177 # `set' quotes correctly as required by POSIX, so do not add quotes.
8178 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8187 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8189 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8191 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8192 if test -w "$cache_file"; then
8193 test "x$cache_file" != "x/dev/null" &&
8194 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
8195 $as_echo "$as_me: updating cache $cache_file" >&6;}
8196 cat confcache
>$cache_file
8198 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8199 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8204 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8205 # Let make expand exec_prefix.
8206 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8208 DEFS
=-DHAVE_CONFIG_H
8212 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8213 # 1. Remove the extension, and $U if already installed.
8214 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8215 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
8216 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8217 # will be set to the directory where LIBOBJS objects are built.
8218 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8219 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
8223 LTLIBOBJS
=$ac_ltlibobjs
8226 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8227 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
8228 Usually this means the macro was only invoked conditionally." >&5
8229 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
8230 Usually this means the macro was only invoked conditionally." >&2;}
8231 { (exit 1); exit 1; }; }
8233 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8234 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8235 Usually this means the macro was only invoked conditionally." >&5
8236 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
8237 Usually this means the macro was only invoked conditionally." >&2;}
8238 { (exit 1); exit 1; }; }
8240 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8241 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8242 Usually this means the macro was only invoked conditionally." >&5
8243 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8244 Usually this means the macro was only invoked conditionally." >&2;}
8245 { (exit 1); exit 1; }; }
8247 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
8248 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
8249 Usually this means the macro was only invoked conditionally." >&5
8250 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
8251 Usually this means the macro was only invoked conditionally." >&2;}
8252 { (exit 1); exit 1; }; }
8254 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8255 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8256 Usually this means the macro was only invoked conditionally." >&5
8257 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8258 Usually this means the macro was only invoked conditionally." >&2;}
8259 { (exit 1); exit 1; }; }
8261 if test -z "${BUILD_CRASHMOD_TRUE}" && test -z "${BUILD_CRASHMOD_FALSE}"; then
8262 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_CRASHMOD\" was never defined.
8263 Usually this means the macro was only invoked conditionally." >&5
8264 $as_echo "$as_me: error: conditional \"BUILD_CRASHMOD\" was never defined.
8265 Usually this means the macro was only invoked conditionally." >&2;}
8266 { (exit 1); exit 1; }; }
8268 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
8269 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_DOCS\" was never defined.
8270 Usually this means the macro was only invoked conditionally." >&5
8271 $as_echo "$as_me: error: conditional \"BUILD_DOCS\" was never defined.
8272 Usually this means the macro was only invoked conditionally." >&2;}
8273 { (exit 1); exit 1; }; }
8275 if test -z "${BUILD_REFDOCS_TRUE}" && test -z "${BUILD_REFDOCS_FALSE}"; then
8276 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_REFDOCS\" was never defined.
8277 Usually this means the macro was only invoked conditionally." >&5
8278 $as_echo "$as_me: error: conditional \"BUILD_REFDOCS\" was never defined.
8279 Usually this means the macro was only invoked conditionally." >&2;}
8280 { (exit 1); exit 1; }; }
8282 if test -z "${BUILD_SERVER_TRUE}" && test -z "${BUILD_SERVER_FALSE}"; then
8283 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SERVER\" was never defined.
8284 Usually this means the macro was only invoked conditionally." >&5
8285 $as_echo "$as_me: error: conditional \"BUILD_SERVER\" was never defined.
8286 Usually this means the macro was only invoked conditionally." >&2;}
8287 { (exit 1); exit 1; }; }
8289 if test -z "${BUILD_ELFUTILS_TRUE}" && test -z "${BUILD_ELFUTILS_FALSE}"; then
8290 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_ELFUTILS\" was never defined.
8291 Usually this means the macro was only invoked conditionally." >&5
8292 $as_echo "$as_me: error: conditional \"BUILD_ELFUTILS\" was never defined.
8293 Usually this means the macro was only invoked conditionally." >&2;}
8294 { (exit 1); exit 1; }; }
8297 : ${CONFIG_STATUS=./config.status}
8299 ac_clean_files_save
=$ac_clean_files
8300 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8301 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8302 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8303 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8305 # Generated by $as_me.
8306 # Run this file to recreate the current configuration.
8307 # Compiler output produced by configure, useful for debugging
8308 # configure, is in config.log if it exists.
8313 SHELL=\${CONFIG_SHELL-$SHELL}
8316 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8317 ## --------------------- ##
8318 ## M4sh Initialization. ##
8319 ## --------------------- ##
8321 # Be more Bourne compatible
8322 DUALCASE
=1; export DUALCASE
# for MKS sh
8323 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8326 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8327 # is contrary to our usage. Disable this feature.
8328 alias -g '${1+"$@"}'='"$@"'
8329 setopt NO_GLOB_SUBST
8331 case `(set -o) 2>/dev/null` in
8332 *posix
*) set -o posix
;;
8341 # Avoid depending upon Character Ranges.
8342 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8343 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8344 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8345 as_cr_digits
='0123456789'
8346 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8351 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8352 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8353 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8354 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8355 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8356 as_echo='printf %s
\n'
8357 as_echo_n='printf %s
'
8359 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8360 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
8361 as_echo_n='/usr
/ucb
/echo -n'
8363 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8364 as_echo_n_body='eval
8368 expr "X$arg" : "X\\(.*\\)$as_nl";
8369 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8371 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
8373 export as_echo_n_body
8374 as_echo_n='sh
-c $as_echo_n_body as_echo
'
8377 as_echo='sh
-c $as_echo_body as_echo
'
8380 # The user is always right.
8381 if test "${PATH_SEPARATOR+set}" != set; then
8383 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8384 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8389 # Support unset when possible.
8390 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8398 # We need space, tab and new line, in precisely that order. Quoting is
8399 # there to prevent editors from complaining about space-tab.
8400 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8401 # splitting by setting IFS to empty value.)
8404 # Find who we are. Look in the path if we contain no directory separator.
8406 *[\\/]* ) as_myself=$0 ;;
8407 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8411 test -z "$as_dir" && as_dir=.
8412 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8418 # We did not find ourselves, most probably we were run as `sh COMMAND'
8419 # in which case we are not to be found in the path.
8420 if test "x$as_myself" = x
; then
8423 if test ! -f "$as_myself"; then
8424 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8425 { (exit 1); exit 1; }
8428 # Work around bugs in pre-3.0 UWIN ksh.
8429 for as_var
in ENV MAIL MAILPATH
8430 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
8442 # Required to use basename.
8443 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8444 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8450 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8451 as_basename
=basename
8457 # Name of the executable.
8458 as_me
=`$as_basename -- "$0" ||
8459 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8460 X"$0" : 'X\(//\)$' \| \
8461 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8463 sed '/^.*\/\([^/][^/]*\)\/*$/{
8484 test "x$as_lineno_1" != "x$as_lineno_2" &&
8485 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
8487 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8488 # uniformly replaced by the line number. The first 'sed' inserts a
8489 # line-number line after each line using $LINENO; the second 'sed'
8490 # does the real work. The second script uses 'N' to pair each
8491 # line-number line with the line containing $LINENO, and appends
8492 # trailing '-' during substitution so that $LINENO is not a special
8494 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8495 # scripts with optimization help from Paolo Bonzini. Blame Lee
8496 # E. McMahon (1931-1989) for sed's syntax. :-)
8508 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8512 chmod +x
"$as_me.lineno" ||
8513 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8514 { (exit 1); exit 1; }; }
8516 # Don't try to exec as it changes $[0], causing all sort of problems
8517 # (the dirname of $[0] is not the place where we might find the
8518 # original and so on. Autoconf is especially sensitive to this).
8520 # Exit status is that of the last command.
8525 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8531 ECHO_C
= ECHO_N
= ECHO_T
=
8534 case `echo 'x\c'` in
8535 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8541 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8542 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8548 rm -f conf$$ conf$$.exe conf$$.
file
8549 if test -d conf$$.dir
; then
8550 rm -f conf$$.dir
/conf$$.
file
8553 mkdir conf$$.dir
2>/dev
/null
8555 if (echo >conf$$.
file) 2>/dev
/null
; then
8556 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8558 # ... but there are two gotchas:
8559 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8560 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8561 # In both cases, we have to default to `cp -p'.
8562 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8564 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8572 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8573 rmdir conf$$.dir
2>/dev
/null
8575 if mkdir
-p .
2>/dev
/null
; then
8578 test -d .
/-p && rmdir .
/-p
8582 if test -x / >/dev
/null
2>&1; then
8585 if ls -dL / >/dev
/null
2>&1; then
8592 if test -d "$1"; then
8598 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8599 ???[sx]*):;;*)false;;esac;fi
8603 as_executable_p
=$as_test_x
8605 # Sed expression to map a string onto a valid CPP name.
8606 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8608 # Sed expression to map a string onto a valid variable name.
8609 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8614 # Save the log message, to keep $[0] and so on meaningful, and to
8615 # report actual input values of CONFIG_FILES etc. instead of their
8616 # values after options handling.
8618 This file was extended by systemtap $as_me 0.9.5, which was
8619 generated by GNU Autoconf 2.63. Invocation command line was
8621 CONFIG_FILES = $CONFIG_FILES
8622 CONFIG_HEADERS = $CONFIG_HEADERS
8623 CONFIG_LINKS = $CONFIG_LINKS
8624 CONFIG_COMMANDS = $CONFIG_COMMANDS
8627 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8632 case $ac_config_files in *"
8633 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
8636 case $ac_config_headers in *"
8637 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
8641 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8642 # Files that config.status was made for.
8643 config_files="$ac_config_files"
8644 config_headers="$ac_config_headers"
8645 config_commands="$ac_config_commands"
8649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8651 \`$as_me' instantiates files from templates according to the
8652 current configuration.
8654 Usage: $0 [OPTION]... [FILE]...
8656 -h, --help print this help, then exit
8657 -V, --version print version number and configuration settings, then exit
8658 -q, --quiet, --silent
8659 do not print progress messages
8660 -d, --debug don't remove temporary files
8661 --recheck update $as_me by reconfiguring in the same conditions
8662 --file=FILE[:TEMPLATE]
8663 instantiate the configuration file FILE
8664 --header=FILE[:TEMPLATE]
8665 instantiate the configuration header FILE
8667 Configuration files:
8670 Configuration headers:
8673 Configuration commands:
8676 Report bugs to <bug-autoconf@gnu.org>."
8679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8681 systemtap config.status 0.9.5
8682 configured by $0, generated by GNU Autoconf 2.63,
8683 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8685 Copyright (C) 2008 Free Software Foundation, Inc.
8686 This config.status script is free software; the Free Software Foundation
8687 gives unlimited permission to copy, distribute and modify it."
8694 test -n "\$AWK" || AWK=awk
8697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8698 # The default lists apply if the user does not specify any file.
8704 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8705 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8716 # Handling of the options.
8717 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8719 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8720 $as_echo "$ac_cs_version"; exit ;;
8721 --debug |
--debu |
--deb |
--de |
--d |
-d )
8723 --file |
--fil |
--fi |
--f )
8726 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8728 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
8729 ac_need_defaults
=false
;;
8730 --header |
--heade |
--head |
--hea )
8733 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8735 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
8736 ac_need_defaults
=false
;;
8738 # Conflict between --help and --header
8739 { $as_echo "$as_me: error: ambiguous option: $1
8740 Try \`$0 --help' for more information." >&2
8741 { (exit 1); exit 1; }; };;
8742 --help |
--hel |
-h )
8743 $as_echo "$ac_cs_usage"; exit ;;
8744 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8745 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8749 -*) { $as_echo "$as_me: error: unrecognized option: $1
8750 Try \`$0 --help' for more information." >&2
8751 { (exit 1); exit 1; }; } ;;
8753 *) ac_config_targets
="$ac_config_targets $1"
8754 ac_need_defaults
=false
;;
8760 ac_configure_extra_args
=
8762 if $ac_cs_silent; then
8764 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8769 if \$ac_cs_recheck; then
8770 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8772 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8773 CONFIG_SHELL='$SHELL'
8779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8783 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8784 ## Running $as_me. ##
8790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8794 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8798 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8800 # Handling of arguments.
8801 for ac_config_target
in $ac_config_targets
8803 case $ac_config_target in
8804 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8805 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
8806 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8807 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
8808 "doc/SystemTap_Tapset_Reference/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/SystemTap_Tapset_Reference/Makefile" ;;
8809 "stap.1") CONFIG_FILES
="$CONFIG_FILES stap.1" ;;
8810 "stapprobes.3stap") CONFIG_FILES
="$CONFIG_FILES stapprobes.3stap" ;;
8811 "stapfuncs.3stap") CONFIG_FILES
="$CONFIG_FILES stapfuncs.3stap" ;;
8812 "stapvars.3stap") CONFIG_FILES
="$CONFIG_FILES stapvars.3stap" ;;
8813 "stapex.3stap") CONFIG_FILES
="$CONFIG_FILES stapex.3stap" ;;
8814 "staprun.8") CONFIG_FILES
="$CONFIG_FILES staprun.8" ;;
8815 "stap-server.8") CONFIG_FILES
="$CONFIG_FILES stap-server.8" ;;
8816 "man/stapprobes.iosched.3stap") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.iosched.3stap" ;;
8817 "man/stapprobes.netdev.3stap") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.netdev.3stap" ;;
8818 "man/stapprobes.nfs.3stap") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.nfs.3stap" ;;
8819 "man/stapprobes.nfsd.3stap") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.nfsd.3stap" ;;
8820 "man/stapprobes.pagefault.3stap") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.pagefault.3stap" ;;
8821 "man/stapprobes.process.3stap") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.process.3stap" ;;
8822 "man/stapprobes.rpc.3stap") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.rpc.3stap" ;;
8823 "man/stapprobes.scsi.3stap") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.scsi.3stap" ;;
8824 "man/stapprobes.signal.3stap") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.signal.3stap" ;;
8825 "man/stapprobes.socket.3stap") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.socket.3stap" ;;
8826 "man/stapprobes.tcp.3stap") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.tcp.3stap" ;;
8827 "man/stapprobes.udp.3stap") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.udp.3stap" ;;
8828 "initscript/systemtap") CONFIG_FILES
="$CONFIG_FILES initscript/systemtap" ;;
8829 "run-stap") CONFIG_FILES
="$CONFIG_FILES run-stap" ;;
8830 "run-stapio") CONFIG_FILES
="$CONFIG_FILES run-stapio" ;;
8832 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8833 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8834 { (exit 1); exit 1; }; };;
8839 # If the user did not use the arguments to specify the items to instantiate,
8840 # then the envvar interface is used. Set only those that are not.
8841 # We use the long form for the default assignment because of an extremely
8842 # bizarre bug on SunOS 4.1.3.
8843 if $ac_need_defaults; then
8844 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8845 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8846 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8849 # Have a temporary directory for convenience. Make it in the build tree
8850 # simply because there is no reason against having it here, and in addition,
8851 # creating and moving files from /tmp can sometimes cause problems.
8852 # Hook for its removal unless debugging.
8853 # Note that there is a small window in which the directory will not be cleaned:
8854 # after its creation but before its name has been assigned to `$tmp'.
8858 trap 'exit_status=$?
8859 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8861 trap '{ (exit 1); exit 1; }' 1 2 13 15
8863 # Create a (secure) tmp directory for tmp files.
8866 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8867 test -n "$tmp" && test -d "$tmp"
8870 tmp
=.
/conf$$
-$RANDOM
8871 (umask 077 && mkdir
"$tmp")
8874 $as_echo "$as_me: cannot create a temporary directory in ." >&2
8875 { (exit 1); exit 1; }
8878 # Set up the scripts for CONFIG_FILES section.
8879 # No need to generate them if there are no CONFIG_FILES.
8880 # This happens for instance with `./config.status config.h'.
8881 if test -n "$CONFIG_FILES"; then
8885 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8886 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8892 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8897 echo "cat >conf$$subs.awk <<_ACEOF" &&
8898 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8901 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
8902 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
8903 { (exit 1); exit 1; }; }
8904 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8906 for ac_last_try in false false false false false :; do
8907 . ./conf$$subs.sh ||
8908 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
8909 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
8910 { (exit 1); exit 1; }; }
8912 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
8913 if test $ac_delim_n = $ac_delim_num; then
8915 elif $ac_last_try; then
8916 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
8917 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
8918 { (exit 1); exit 1; }; }
8920 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8925 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8926 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
8930 s/^/S["/; s
/!.
*/"]=/
8940 s/\(.\{148\}\).*/\1/
8942 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8947 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8954 s/\(.\{148\}\).*/\1/
8956 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8960 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8965 ' <conf$$subs.awk | sed '
8970 ' >>$CONFIG_STATUS || ac_write_fail=1
8971 rm -f conf$$subs.awk
8972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8974 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
8975 for (key in S) S_is_set[key] = 1
8981 nfields = split(line, field, "@
")
8983 len = length(field[1])
8984 for (i = 2; i < nfields; i++) {
8986 keylen = length(key)
8987 if (S_is_set[key]) {
8989 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8990 len += length(value) + length(field[++i])
9001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9002 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9003 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
9006 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
9007 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
9008 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
9009 { (exit 1); exit 1; }; }
9012 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9013 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
9014 # trailing colons and then remove the whole line if VPATH becomes empty
9015 # (actually we leave an empty line to preserve line numbers).
9016 if test "x
$srcdir" = x.; then
9017 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9021 s/^\([^=]*=[ ]*\):*/\1/
9027 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9028 fi # test -n "$CONFIG_FILES"
9030 # Set up the scripts for CONFIG_HEADERS section.
9031 # No need to generate them if there are no CONFIG_HEADERS.
9032 # This happens for instance with `./config.status Makefile'.
9033 if test -n "$CONFIG_HEADERS"; then
9034 cat >"$tmp/defines.
awk" <<\_ACAWK ||
9038 # Transform confdefs.h into an awk script `defines.awk', embedded as
9039 # here-document in config.status, that substitutes the proper values into
9040 # config.h.in to produce config.h.
9042 # Create a delimiter string that does not exist in confdefs.h, to ease
9043 # handling of long lines.
9045 for ac_last_try in false false :; do
9046 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
9047 if test -z "$ac_t"; then
9049 elif $ac_last_try; then
9050 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
9051 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
9052 { (exit 1); exit 1; }; }
9054 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9058 # For the awk script, D is an array of macro values keyed by name,
9059 # likewise P contains macro parameters if any. Preserve backslash
9060 # newline sequences.
9062 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9064 s/.\{148\}/&'"$ac_delim"'/g
9067 s/^[ ]*#[ ]*define[ ][ ]*/ /
9074 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
9076 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
9080 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
9081 D["\
1"]=" \
3\\\\\\n
"\\/p
9083 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
9088 s/.\{148\}/&'"$ac_delim"'/g
9093 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
9096 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
9098 ' <confdefs.h | sed '
9099 s/'"$ac_delim"'/"\\\
9100 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9103 for (key in D) D_is_set[key] = 1
9106 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9108 split(line, arg, " ")
9109 if (arg[1] == "#") {
9113 defundef
= substr
(arg
[1], 2)
9116 split(mac1
, mac2
, "(") #)
9118 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
9119 if (D_is_set
[macro
]) {
9120 # Preserve the white space surrounding the "#".
9121 print prefix
"define", macro P
[macro
] D
[macro
]
9124 # Replace #undef with comments. This is necessary, for example,
9125 # in the case of _POSIX_SOURCE, which is predefined and required
9126 # on some systems where configure will not decide to define it.
9127 if (defundef
== "undef") {
9128 print
"/*", prefix defundef
, macro
, "*/"
9136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9137 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
9138 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
9139 { (exit 1); exit 1; }; }
9140 fi # test -n "$CONFIG_HEADERS"
9143 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9148 :[FHLC
]) ac_mode
=$ac_tag; continue;;
9150 case $ac_mode$ac_tag in
9152 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
9153 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
9154 { (exit 1); exit 1; }; };;
9155 :[FH
]-) ac_tag
=-:-;;
9156 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
9173 -) ac_f
="$tmp/stdin";;
9174 *) # Look for the file first in the build tree, then in the source tree
9175 # (if the path is not absolute). The absolute path cannot be DOS-style,
9176 # because $ac_f cannot contain `:'.
9180 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
9182 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9183 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9184 { (exit 1); exit 1; }; };;
9186 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9187 ac_file_inputs
="$ac_file_inputs '$ac_f'"
9190 # Let's still pretend it is `configure' which instantiates (i.e., don't
9191 # use $as_me), people would be surprised to read:
9192 # /* config.h. Generated by config.status. */
9193 configure_input
='Generated from '`
9194 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9196 if test x
"$ac_file" != x-
; then
9197 configure_input
="$ac_file. $configure_input"
9198 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
9199 $as_echo "$as_me: creating $ac_file" >&6;}
9201 # Neutralize special characters interpreted by sed in replacement strings.
9202 case $configure_input in #(
9203 *\
&* |
*\|
* |
*\\* )
9204 ac_sed_conf_input
=`$as_echo "$configure_input" |
9205 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9206 *) ac_sed_conf_input
=$configure_input;;
9210 *:-:* |
*:-) cat >"$tmp/stdin" \
9211 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9212 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9213 { (exit 1); exit 1; }; } ;;
9218 ac_dir
=`$as_dirname -- "$ac_file" ||
9219 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9220 X"$ac_file" : 'X\(//\)[^/]' \| \
9221 X"$ac_file" : 'X\(//\)$' \| \
9222 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9223 $as_echo X"$ac_file" |
9224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9243 -*) as_dir
=.
/$as_dir;;
9245 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9249 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9250 *) as_qdir
=$as_dir;;
9252 as_dirs
="'$as_qdir' $as_dirs"
9253 as_dir
=`$as_dirname -- "$as_dir" ||
9254 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9255 X"$as_dir" : 'X\(//\)[^/]' \| \
9256 X"$as_dir" : 'X\(//\)$' \| \
9257 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9258 $as_echo X"$as_dir" |
9259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9276 test -d "$as_dir" && break
9278 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9279 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9280 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9281 { (exit 1); exit 1; }; }; }
9285 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9287 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9288 # A ".." for each directory in $ac_dir_suffix.
9289 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9290 case $ac_top_builddir_sub in
9291 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9292 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9295 ac_abs_top_builddir
=$ac_pwd
9296 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9297 # for backward compatibility:
9298 ac_top_builddir
=$ac_top_build_prefix
9301 .
) # We are building in place.
9303 ac_top_srcdir
=$ac_top_builddir_sub
9304 ac_abs_top_srcdir
=$ac_pwd ;;
9305 [\\/]* | ?
:[\\/]* ) # Absolute name.
9306 ac_srcdir
=$srcdir$ac_dir_suffix;
9307 ac_top_srcdir
=$srcdir
9308 ac_abs_top_srcdir
=$srcdir ;;
9310 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9311 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9312 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9314 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9324 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9325 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9329 [\\/$
]* | ?
:[\\/]* ) ;;
9330 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
9334 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9335 # If the template does not know about datarootdir, expand it.
9336 # FIXME: This hack should be removed a few years after 2.60.
9337 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9350 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9351 *datarootdir
*) ac_datarootdir_seen
=yes;;
9352 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9353 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9354 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9356 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9357 ac_datarootdir_hack='
9358 s&@datadir@&$datadir&g
9359 s&@docdir@&$docdir&g
9360 s&@infodir@&$infodir&g
9361 s&@localedir@&$localedir&g
9362 s&@mandir@&$mandir&g
9363 s&\\\${datarootdir}&$datarootdir&g' ;;
9367 # Neutralize VPATH when `$srcdir' = `.'.
9368 # Shell code in configure.ac might set extrasub.
9369 # FIXME: do we really want to maintain this feature?
9370 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9371 ac_sed_extra="$ac_vpsub
9374 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9376 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9377 s|@configure_input@|
$ac_sed_conf_input|
;t t
9378 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9379 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
9380 s
&@srcdir@
&$ac_srcdir&;t t
9381 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9382 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9383 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9384 s
&@builddir@
&$ac_builddir&;t t
9385 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9386 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9387 s
&@INSTALL@
&$ac_INSTALL&;t t
9388 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
9389 $ac_datarootdir_hack
9391 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
9392 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
9393 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
9394 { (exit 1); exit 1; }; }
9396 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9397 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
9398 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
9399 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9400 which seems to be undefined. Please make sure it is defined." >&5
9401 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9402 which seems to be undefined. Please make sure it is defined." >&2;}
9406 -) cat "$tmp/out" && rm -f "$tmp/out";;
9407 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9409 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9410 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9411 { (exit 1); exit 1; }; }
9417 if test x"$ac_file" != x-; then
9419 $as_echo "/* $configure_input */" \
9420 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9421 } >"$tmp/config.h" \
9422 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9423 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9424 { (exit 1); exit 1; }; }
9425 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9426 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9427 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9430 mv "$tmp/config.h" "$ac_file" \
9431 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9432 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9433 { (exit 1); exit 1; }; }
9436 $as_echo "/* $configure_input */" \
9437 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9438 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
9439 $as_echo "$as_me: error: could not create -" >&2;}
9440 { (exit 1); exit 1; }; }
9442 # Compute "$ac_file"'s index
in $config_headers.
9445 for _am_header
in $config_headers :; do
9447 $_am_arg |
$_am_arg:* )
9450 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
9453 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9454 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9455 X"$_am_arg" : 'X\(//\)[^/]' \| \
9456 X"$_am_arg" : 'X\(//\)$' \| \
9457 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9458 $as_echo X"$_am_arg" |
9459 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9475 s/.*/./; q'`/stamp-h
$_am_stamp_count
9478 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
9479 $as_echo "$as_me: executing $ac_file commands" >&6;}
9484 case $ac_file$ac_mode in
9485 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
9486 # Strip MF so we end up with the name of the file.
9487 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9488 # Check whether this is an Automake generated Makefile or not.
9489 # We used to match only the files named `Makefile.in', but
9490 # some people rename them; so instead we look at the file content.
9491 # Grep'ing the first line is not enough: some people post-process
9492 # each Makefile.in and add a new line on top of each file to say so.
9493 # Grep'ing the whole file is not good either: AIX grep has a line
9494 # limit of 2048, but all sed's we know have understand at least 4000.
9495 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
9496 dirpart
=`$as_dirname -- "$mf" ||
9497 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9498 X"$mf" : 'X\(//\)[^/]' \| \
9499 X"$mf" : 'X\(//\)$' \| \
9500 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9502 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9522 # Extract the definition of DEPDIR, am__include, and am__quote
9523 # from the Makefile without running `make'.
9524 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9525 test -z "$DEPDIR" && continue
9526 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
9527 test -z "am__include" && continue
9528 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
9529 # When using ansi2knr, U may be empty or an underscore; expand it
9530 U
=`sed -n 's/^U = //p' < "$mf"`
9531 # Find all dependency output files, they are included files with
9532 # $(DEPDIR) in their names. We invoke sed twice because it is the
9533 # simplest approach to changing $(DEPDIR) to its actual value in the
9535 for file in `sed -n "
9536 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9537 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9538 # Make sure the directory exists.
9539 test -f "$dirpart/$file" && continue
9540 fdir
=`$as_dirname -- "$file" ||
9541 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9542 X"$file" : 'X\(//\)[^/]' \| \
9543 X"$file" : 'X\(//\)$' \| \
9544 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9546 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9563 { as_dir
=$dirpart/$fdir
9565 -*) as_dir
=.
/$as_dir;;
9567 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9571 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9572 *) as_qdir
=$as_dir;;
9574 as_dirs
="'$as_qdir' $as_dirs"
9575 as_dir
=`$as_dirname -- "$as_dir" ||
9576 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9577 X"$as_dir" : 'X\(//\)[^/]' \| \
9578 X"$as_dir" : 'X\(//\)$' \| \
9579 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9580 $as_echo X"$as_dir" |
9581 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9598 test -d "$as_dir" && break
9600 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9601 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9602 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9603 { (exit 1); exit 1; }; }; }
9604 # echo "creating $dirpart/$file"
9605 echo '# dummy' > "$dirpart/$file"
9609 "run-stap":F
) chmod +x run-stap
;;
9610 "run-stapio":F
) chmod +x run-stapio
;;
9616 { (exit 0); exit 0; }
9618 chmod +x
$CONFIG_STATUS
9619 ac_clean_files
=$ac_clean_files_save
9621 test $ac_write_fail = 0 ||
9622 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
9623 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
9624 { (exit 1); exit 1; }; }
9627 # configure is writing to config.log, and then calls config.status.
9628 # config.status does its own redirection, appending to config.log.
9629 # Unfortunately, on DOS this fails, as config.log is still kept open
9630 # by configure, so config.status won't be able to write to it; its
9631 # output is simply discarded. So we exec the FD to /dev/null,
9632 # effectively closing config.log, so it can be properly (re)opened and
9633 # appended to by config.status. When coming back to configure, we
9634 # need to make the FD available again.
9635 if test "$no_create" != yes; then
9637 ac_config_status_args
=
9638 test "$silent" = yes &&
9639 ac_config_status_args
="$ac_config_status_args --quiet"
9641 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9643 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9644 # would make configure fail if this is the last instruction.
9645 $ac_cs_success ||
{ (exit 1); exit 1; }
9649 # CONFIG_SUBDIRS section.
9651 if test "$no_recursion" != yes; then
9653 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
9654 # so they do not pile up.
9655 ac_sub_configure_args
=
9657 eval "set x $ac_configure_args"
9661 if test -n "$ac_prev"; then
9666 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
9667 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
9668 ac_prev
=cache_file
;;
9669 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
9670 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
9673 --config-cache |
-C)
9675 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
9677 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
9679 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
9681 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
9683 --disable-option-checking)
9687 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9689 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
9693 # Always prepend --prefix to ensure using the same prefix
9694 # in subdir configurations.
9695 ac_arg
="--prefix=$prefix"
9697 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9699 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
9702 if test "$silent" = yes; then
9703 ac_sub_configure_args
="--silent $ac_sub_configure_args"
9706 # Always prepend --disable-option-checking to silence warnings, since
9707 # different subdirs can have different --enable and --with options.
9708 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
9711 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
9713 # Do not complain, so a configure script can configure whichever
9714 # parts of a large source tree are present.
9715 test -d "$srcdir/$ac_dir" ||
continue
9717 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
9718 $as_echo "$as_me:$LINENO: $ac_msg" >&5
9719 $as_echo "$ac_msg" >&6
9722 -*) as_dir
=.
/$as_dir;;
9724 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9728 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9729 *) as_qdir
=$as_dir;;
9731 as_dirs
="'$as_qdir' $as_dirs"
9732 as_dir
=`$as_dirname -- "$as_dir" ||
9733 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9734 X"$as_dir" : 'X\(//\)[^/]' \| \
9735 X"$as_dir" : 'X\(//\)$' \| \
9736 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9737 $as_echo X"$as_dir" |
9738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9755 test -d "$as_dir" && break
9757 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9758 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9759 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9760 { (exit 1); exit 1; }; }; }
9764 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9766 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9767 # A ".." for each directory in $ac_dir_suffix.
9768 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9769 case $ac_top_builddir_sub in
9770 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9771 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9774 ac_abs_top_builddir
=$ac_pwd
9775 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9776 # for backward compatibility:
9777 ac_top_builddir
=$ac_top_build_prefix
9780 .
) # We are building in place.
9782 ac_top_srcdir
=$ac_top_builddir_sub
9783 ac_abs_top_srcdir
=$ac_pwd ;;
9784 [\\/]* | ?
:[\\/]* ) # Absolute name.
9785 ac_srcdir
=$srcdir$ac_dir_suffix;
9786 ac_top_srcdir
=$srcdir
9787 ac_abs_top_srcdir
=$srcdir ;;
9789 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9790 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9791 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9793 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9798 # Check for guested configure; otherwise get Cygnus style configure.
9799 if test -f "$ac_srcdir/configure.gnu"; then
9800 ac_sub_configure
=$ac_srcdir/configure.gnu
9801 elif test -f "$ac_srcdir/configure"; then
9802 ac_sub_configure
=$ac_srcdir/configure
9803 elif test -f "$ac_srcdir/configure.in"; then
9804 # This should be Cygnus configure.
9805 ac_sub_configure
=$ac_aux_dir/configure
9807 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
9808 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
9812 # The recursion is here.
9813 if test -n "$ac_sub_configure"; then
9814 # Make the cache file name correct relative to the subdirectory.
9816 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
9818 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
9821 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
9822 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
9823 # The eval makes quoting arguments work.
9824 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
9825 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
9826 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
9827 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
9828 { (exit 1); exit 1; }; }
9834 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
9835 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9836 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9840 if test "${prefix}" = "/usr/local"; then
9841 { $as_echo "$as_me:$LINENO: " >&5
9842 $as_echo "$as_me: " >&6;}
9843 { $as_echo "$as_me:$LINENO: For a private or temporary build of systemtap, we recommend" >&5
9844 $as_echo "$as_me: For a private or temporary build of systemtap, we recommend" >&6;}
9845 { $as_echo "$as_me:$LINENO: configuring with a prefix. For example, try" >&5
9846 $as_echo "$as_me: configuring with a prefix. For example, try" >&6;}
9847 { $as_echo "$as_me:$LINENO: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&5
9848 $as_echo "$as_me: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&6;}
9849 { $as_echo "$as_me:$LINENO: Running systemtap uninstalled, entirely out of the build tree," >&5
9850 $as_echo "$as_me: Running systemtap uninstalled, entirely out of the build tree," >&6;}
9851 { $as_echo "$as_me:$LINENO: is not supported." >&5
9852 $as_echo "$as_me: is not supported." >&6;}