2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for systemtap 0.7.
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 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 # Zsh 3.x and 4.x performs 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
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev
/null
6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix
=/usr
/local
566 ac_config_libobj_dir
=.
572 SHELL
=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME
='systemtap'
576 PACKAGE_TARNAME
='systemtap'
577 PACKAGE_VERSION
='0.7'
578 PACKAGE_STRING
='systemtap 0.7'
579 PACKAGE_BUGREPORT
='systemtap@sources.redhat.com'
581 # Factoring default headers for most tests.
582 ac_includes_default
="\
584 #ifdef HAVE_SYS_TYPES_H
585 # include <sys/types.h>
587 #ifdef HAVE_SYS_STAT_H
588 # include <sys/stat.h>
594 # ifdef HAVE_STDLIB_H
599 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
604 #ifdef HAVE_STRINGS_H
605 # include <strings.h>
607 #ifdef HAVE_INTTYPES_H
608 # include <inttypes.h>
626 program_transform_name
668 INSTALL_STRIP_PROGRAM
677 MAINTAINER_MODE_FALSE
731 ac_precious_vars
='build_alias
744 ac_subdirs_all
='testsuite'
746 # Initialize some variables set by options.
748 ac_init_version
=false
749 # The variables have the same names as the options, with
750 # dashes changed to underlines.
758 program_transform_name
=s
,x
,x
,
766 # Installation directory options.
767 # These are left unexpanded so users can "make install exec_prefix=/foo"
768 # and all the variables that are supposed to be based on exec_prefix
769 # by default will actually change.
770 # Use braces instead of parens because sh, perl, etc. also accept them.
771 # (The list follows the same order as the GNU Coding Standards.)
772 bindir
='${exec_prefix}/bin'
773 sbindir
='${exec_prefix}/sbin'
774 libexecdir
='${exec_prefix}/libexec'
775 datarootdir
='${prefix}/share'
776 datadir
='${datarootdir}'
777 sysconfdir
='${prefix}/etc'
778 sharedstatedir
='${prefix}/com'
779 localstatedir
='${prefix}/var'
780 includedir
='${prefix}/include'
781 oldincludedir
='/usr/include'
782 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
783 infodir
='${datarootdir}/info'
788 libdir
='${exec_prefix}/lib'
789 localedir
='${datarootdir}/locale'
790 mandir
='${datarootdir}/man'
796 # If the previous option needs an argument, assign it.
797 if test -n "$ac_prev"; then
798 eval $ac_prev=\
$ac_option
804 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
808 # Accept the important Cygnus configure options, so we can diagnose typos.
810 case $ac_dashdash$ac_option in
814 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
816 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
819 -build |
--build |
--buil |
--bui |
--bu)
820 ac_prev
=build_alias
;;
821 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
822 build_alias
=$ac_optarg ;;
824 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
825 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
826 ac_prev
=cache_file
;;
827 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
828 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
829 cache_file
=$ac_optarg ;;
832 cache_file
=config.cache
;;
834 -datadir |
--datadir |
--datadi |
--datad)
836 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
837 datadir
=$ac_optarg ;;
839 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
840 |
--dataroo |
--dataro |
--datar)
841 ac_prev
=datarootdir
;;
842 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
843 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
844 datarootdir
=$ac_optarg ;;
846 -disable-* |
--disable-*)
847 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
848 # Reject names that are not valid shell variable names.
849 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
850 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
851 { (exit 1); exit 1; }; }
852 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
853 eval enable_
$ac_feature=no
;;
855 -docdir |
--docdir |
--docdi |
--doc |
--do)
857 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
860 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
862 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
865 -enable-* |
--enable-*)
866 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
867 # Reject names that are not valid shell variable names.
868 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
869 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
870 { (exit 1); exit 1; }; }
871 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
872 eval enable_
$ac_feature=\
$ac_optarg ;;
874 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
875 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
876 |
--exec |
--exe |
--ex)
877 ac_prev
=exec_prefix
;;
878 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
879 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
880 |
--exec=* |
--exe=* |
--ex=*)
881 exec_prefix
=$ac_optarg ;;
883 -gas |
--gas |
--ga |
--g)
884 # Obsolete; use --with-gas.
887 -help |
--help |
--hel |
--he |
-h)
889 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
890 ac_init_help
=recursive
;;
891 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
892 ac_init_help
=short
;;
894 -host |
--host |
--hos |
--ho)
895 ac_prev
=host_alias
;;
896 -host=* |
--host=* |
--hos=* |
--ho=*)
897 host_alias
=$ac_optarg ;;
899 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
901 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
903 htmldir
=$ac_optarg ;;
905 -includedir |
--includedir |
--includedi |
--included |
--include \
906 |
--includ |
--inclu |
--incl |
--inc)
907 ac_prev
=includedir
;;
908 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
909 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
910 includedir
=$ac_optarg ;;
912 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
914 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
915 infodir
=$ac_optarg ;;
917 -libdir |
--libdir |
--libdi |
--libd)
919 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
922 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
923 |
--libexe |
--libex |
--libe)
924 ac_prev
=libexecdir
;;
925 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
926 |
--libexe=* |
--libex=* |
--libe=*)
927 libexecdir
=$ac_optarg ;;
929 -localedir |
--localedir |
--localedi |
--localed |
--locale)
931 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
932 localedir
=$ac_optarg ;;
934 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
935 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
936 ac_prev
=localstatedir
;;
937 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
938 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
939 localstatedir
=$ac_optarg ;;
941 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
943 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
947 # Obsolete; use --without-fp.
950 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
951 |
--no-cr |
--no-c |
-n)
954 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
955 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
958 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
959 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
960 |
--oldin |
--oldi |
--old |
--ol |
--o)
961 ac_prev
=oldincludedir
;;
962 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
963 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
964 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
965 oldincludedir
=$ac_optarg ;;
967 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
969 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
972 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
973 |
--program-pre |
--program-pr |
--program-p)
974 ac_prev
=program_prefix
;;
975 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
976 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
977 program_prefix
=$ac_optarg ;;
979 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
980 |
--program-suf |
--program-su |
--program-s)
981 ac_prev
=program_suffix
;;
982 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
983 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
984 program_suffix
=$ac_optarg ;;
986 -program-transform-name |
--program-transform-name \
987 |
--program-transform-nam |
--program-transform-na \
988 |
--program-transform-n |
--program-transform- \
989 |
--program-transform |
--program-transfor \
990 |
--program-transfo |
--program-transf \
991 |
--program-trans |
--program-tran \
992 |
--progr-tra |
--program-tr |
--program-t)
993 ac_prev
=program_transform_name
;;
994 -program-transform-name=* |
--program-transform-name=* \
995 |
--program-transform-nam=* |
--program-transform-na=* \
996 |
--program-transform-n=* |
--program-transform-=* \
997 |
--program-transform=* |
--program-transfor=* \
998 |
--program-transfo=* |
--program-transf=* \
999 |
--program-trans=* |
--program-tran=* \
1000 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1001 program_transform_name
=$ac_optarg ;;
1003 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1005 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1006 pdfdir
=$ac_optarg ;;
1008 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1010 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1013 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1014 |
-silent |
--silent |
--silen |
--sile |
--sil)
1017 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1019 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1021 sbindir
=$ac_optarg ;;
1023 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1024 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1025 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1027 ac_prev
=sharedstatedir
;;
1028 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1029 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1030 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1032 sharedstatedir
=$ac_optarg ;;
1034 -site |
--site |
--sit)
1036 -site=* |
--site=* |
--sit=*)
1039 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1041 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1042 srcdir
=$ac_optarg ;;
1044 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1045 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1046 ac_prev
=sysconfdir
;;
1047 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1048 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1049 sysconfdir
=$ac_optarg ;;
1051 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1052 ac_prev
=target_alias
;;
1053 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1054 target_alias
=$ac_optarg ;;
1056 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1059 -version |
--version |
--versio |
--versi |
--vers |
-V)
1060 ac_init_version
=: ;;
1063 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1064 # Reject names that are not valid shell variable names.
1065 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1066 { echo "$as_me: error: invalid package name: $ac_package" >&2
1067 { (exit 1); exit 1; }; }
1068 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1069 eval with_
$ac_package=\
$ac_optarg ;;
1071 -without-* |
--without-*)
1072 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1073 # Reject names that are not valid shell variable names.
1074 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1075 { echo "$as_me: error: invalid package name: $ac_package" >&2
1076 { (exit 1); exit 1; }; }
1077 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1078 eval with_
$ac_package=no
;;
1081 # Obsolete; use --with-x.
1084 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1085 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1086 ac_prev
=x_includes
;;
1087 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1088 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1089 x_includes
=$ac_optarg ;;
1091 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1092 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1093 ac_prev
=x_libraries
;;
1094 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1095 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1096 x_libraries
=$ac_optarg ;;
1098 -*) { echo "$as_me: error: unrecognized option: $ac_option
1099 Try \`$0 --help' for more information." >&2
1100 { (exit 1); exit 1; }; }
1104 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1105 # Reject names that are not valid shell variable names.
1106 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1107 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1108 { (exit 1); exit 1; }; }
1109 eval $ac_envvar=\
$ac_optarg
1110 export $ac_envvar ;;
1113 # FIXME: should be removed in autoconf 3.0.
1114 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1115 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1116 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1117 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1123 if test -n "$ac_prev"; then
1124 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1125 { echo "$as_me: error: missing argument to $ac_option" >&2
1126 { (exit 1); exit 1; }; }
1129 # Be sure to have absolute directory names.
1130 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1131 datadir sysconfdir sharedstatedir localstatedir includedir \
1132 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1133 libdir localedir mandir
1135 eval ac_val
=\$
$ac_var
1137 [\\/$
]* | ?
:[\\/]* ) continue;;
1138 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1140 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1141 { (exit 1); exit 1; }; }
1144 # There might be people who depend on the old broken behavior: `$host'
1145 # used to hold the argument of --host etc.
1146 # FIXME: To remove some day.
1149 target
=$target_alias
1151 # FIXME: To remove some day.
1152 if test "x$host_alias" != x
; then
1153 if test "x$build_alias" = x
; then
1154 cross_compiling
=maybe
1155 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1156 If a cross compiler is detected then cross compile mode will be used." >&2
1157 elif test "x$build_alias" != "x$host_alias"; then
1163 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1165 test "$silent" = yes && exec 6>/dev
/null
1168 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1169 ac_ls_di
=`ls -di .` &&
1170 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1171 { echo "$as_me: error: Working directory cannot be determined" >&2
1172 { (exit 1); exit 1; }; }
1173 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1174 { echo "$as_me: error: pwd does not report name of working directory" >&2
1175 { (exit 1); exit 1; }; }
1178 # Find the source files, if location was not specified.
1179 if test -z "$srcdir"; then
1180 ac_srcdir_defaulted
=yes
1181 # Try the directory containing this script, then the parent directory.
1182 ac_confdir
=`$as_dirname -- "$0" ||
1183 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1184 X"$0" : 'X\(//\)[^/]' \| \
1185 X"$0" : 'X\(//\)$' \| \
1186 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1206 if test ! -r "$srcdir/$ac_unique_file"; then
1210 ac_srcdir_defaulted
=no
1212 if test ! -r "$srcdir/$ac_unique_file"; then
1213 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1214 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1215 { (exit 1); exit 1; }; }
1217 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1219 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1220 { (exit 1); exit 1; }; }
1222 # When building in place, set srcdir=.
1223 if test "$ac_abs_confdir" = "$ac_pwd"; then
1226 # Remove unnecessary trailing slashes from srcdir.
1227 # Double slashes in file names in object file debugging info
1228 # mess up M-x gdb in Emacs.
1230 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1232 for ac_var
in $ac_precious_vars; do
1233 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1234 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1235 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1236 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1240 # Report the --help message.
1242 if test "$ac_init_help" = "long"; then
1243 # Omit some internal or obsolete options to make the list less imposing.
1244 # This message is too long to be a string in the A/UX 3.1 sh.
1246 \`configure' configures systemtap 0.7 to adapt to many kinds of systems.
1248 Usage: $0 [OPTION]... [VAR=VALUE]...
1250 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1251 VAR=VALUE. See below for descriptions of some of the useful variables.
1253 Defaults for the options are specified in brackets.
1256 -h, --help display this help and exit
1257 --help=short display options specific to this package
1258 --help=recursive display the short help of all the included packages
1259 -V, --version display version information and exit
1260 -q, --quiet, --silent do not print \`checking...' messages
1261 --cache-file=FILE cache test results in FILE [disabled]
1262 -C, --config-cache alias for \`--cache-file=config.cache'
1263 -n, --no-create do not create output files
1264 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1266 Installation directories:
1267 --prefix=PREFIX install architecture-independent files in PREFIX
1268 [$ac_default_prefix]
1269 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1272 By default, \`make install' will install all the files in
1273 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1274 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1275 for instance \`--prefix=\$HOME'.
1277 For better control, use the options below.
1279 Fine tuning of the installation directories:
1280 --bindir=DIR user executables [EPREFIX/bin]
1281 --sbindir=DIR system admin executables [EPREFIX/sbin]
1282 --libexecdir=DIR program executables [EPREFIX/libexec]
1283 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1284 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1285 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1286 --libdir=DIR object code libraries [EPREFIX/lib]
1287 --includedir=DIR C header files [PREFIX/include]
1288 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1289 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1290 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1291 --infodir=DIR info documentation [DATAROOTDIR/info]
1292 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1293 --mandir=DIR man documentation [DATAROOTDIR/man]
1294 --docdir=DIR documentation root [DATAROOTDIR/doc/systemtap]
1295 --htmldir=DIR html documentation [DOCDIR]
1296 --dvidir=DIR dvi documentation [DOCDIR]
1297 --pdfdir=DIR pdf documentation [DOCDIR]
1298 --psdir=DIR ps documentation [DOCDIR]
1304 --program-prefix=PREFIX prepend PREFIX to installed program names
1305 --program-suffix=SUFFIX append SUFFIX to installed program names
1306 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1310 if test -n "$ac_init_help"; then
1311 case $ac_init_help in
1312 short | recursive
) echo "Configuration of systemtap 0.7:";;
1317 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1318 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1319 --enable-maintainer-mode enable make rules and dependencies not useful
1320 (and sometimes confusing
) to the casual installer
1321 --disable-dependency-tracking speeds up one-time build
1322 --enable-dependency-tracking do not reject slow dependency extractors
1323 --enable-perfmon[=DIRECTORY
]
1324 enable perfmon support
(default is disabled
).
1325 Optional DIRECTORY is the path to the perfmon
1326 installation
(needed
if installed
in a non-standard
1328 --enable-prologues make -P prologue-searching default
1329 --disable-ssp disable gcc stack-protector
1330 --disable-pie disable position-independent-executable
1331 --enable-sqlite build with sqlite support
1332 --enable-crash[=DIRECTORY
]
1333 enable crash extension
(default is disabled
).
1334 Optional DIRECTORY is the path to the crash header
1335 file (needed
if installed
in a non-standard
1337 --enable-docs enable building documentation
(default on
if latex
1341 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1342 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1343 --with-elfutils=DIRECTORY
1344 find elfutils
source code
in DIRECTORY
1346 Some influential environment variables
:
1347 CC C compiler
command
1348 CFLAGS C compiler flags
1349 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1350 nonstandard directory
<lib dir
>
1351 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1352 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1353 you have headers
in a nonstandard directory
<include dir
>
1354 CXX C
++ compiler
command
1355 CXXFLAGS C
++ compiler flags
1357 CXXCPP C
++ preprocessor
1359 Use these variables to override the choices made by
`configure' or to help
1360 it to find libraries and programs with nonstandard names/locations.
1362 Report bugs to <systemtap@sources.redhat.com>.
1367 if test "$ac_init_help" = "recursive"; then
1368 # If there are subdirs, report their specific --help.
1369 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1370 test -d "$ac_dir" || continue
1374 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1376 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1377 # A ".." for each directory in $ac_dir_suffix.
1378 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1379 case $ac_top_builddir_sub in
1380 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1381 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1384 ac_abs_top_builddir=$ac_pwd
1385 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1386 # for backward compatibility:
1387 ac_top_builddir=$ac_top_build_prefix
1390 .) # We are building in place.
1392 ac_top_srcdir=$ac_top_builddir_sub
1393 ac_abs_top_srcdir=$ac_pwd ;;
1394 [\\/]* | ?:[\\/]* ) # Absolute name.
1395 ac_srcdir=$srcdir$ac_dir_suffix;
1396 ac_top_srcdir=$srcdir
1397 ac_abs_top_srcdir=$srcdir ;;
1399 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1400 ac_top_srcdir=$ac_top_build_prefix$srcdir
1401 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1403 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1405 cd "$ac_dir" || { ac_status=$?; continue; }
1406 # Check for guested configure.
1407 if test -f "$ac_srcdir/configure.gnu"; then
1409 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1410 elif test -f "$ac_srcdir/configure"; then
1412 $SHELL "$ac_srcdir/configure" --help=recursive
1414 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1416 cd "$ac_pwd" || { ac_status=$?; break; }
1420 test -n "$ac_init_help" && exit $ac_status
1421 if $ac_init_version; then
1423 systemtap configure 0.7
1424 generated by GNU Autoconf 2.61
1426 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1427 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1428 This configure script is free software; the Free Software Foundation
1429 gives unlimited permission to copy, distribute and modify it.
1433 cat >config.log <<_ACEOF
1434 This file contains any messages produced by compilers while
1435 running configure, to aid debugging if configure makes a mistake.
1437 It was created by systemtap $as_me 0.7, which was
1438 generated by GNU Autoconf 2.61. Invocation command line was
1450 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1451 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1452 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1453 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1454 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1456 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1457 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1459 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1460 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1461 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1462 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1463 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1464 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1465 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1473 test -z "$as_dir" && as_dir=.
1474 echo "PATH: $as_dir"
1490 # Keep a trace of the command line.
1491 # Strip out --no-create and --no-recursion so they do not pile up.
1492 # Strip out --silent because we don't want to record it for future runs.
1493 # Also quote any args containing shell meta-characters.
1494 # Make two passes to allow for proper duplicate-argument suppression.
1498 ac_must_keep_next=false
1504 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1505 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1506 | -silent | --silent | --silen | --sile | --sil)
1509 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1512 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1514 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1515 if test $ac_must_keep_next = true; then
1516 ac_must_keep_next=false # Got value, back to normal.
1519 *=* | --config-cache | -C | -disable-* | --disable-* \
1520 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1521 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1522 | -with-* | --with-* | -without-* | --without-* | --x)
1523 case "$ac_configure_args0 " in
1524 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1527 -* ) ac_must_keep_next=true ;;
1530 ac_configure_args="$ac_configure_args '$ac_arg'"
1535 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1536 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1538 # When interrupted or exit'd, cleanup temporary files, and complete
1539 # config.log. We remove comments because anyway the quotes in there
1540 # would cause problems or look ugly.
1541 # WARNING: Use '\'' to represent an apostrophe within the trap.
1542 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1543 trap 'exit_status=$?
1544 # Save into config.log some information that might help in debugging.
1549 ## ---------------- ##
1550 ## Cache variables. ##
1551 ## ---------------- ##
1554 # The following way of writing the cache mishandles newlines in values,
1556 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1557 eval ac_val=\$$ac_var
1561 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1562 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1565 _ | IFS | as_nl) ;; #(
1566 *) $as_unset $ac_var ;;
1571 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1572 *${as_nl}ac_space=\ *)
1574 "s/'\''/'\''\\\\'\'''\''/g;
1575 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1578 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1586 ## ----------------- ##
1587 ## Output variables. ##
1588 ## ----------------- ##
1591 for ac_var in $ac_subst_vars
1593 eval ac_val=\$$ac_var
1595 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1597 echo "$ac_var='\''$ac_val'\''"
1601 if test -n "$ac_subst_files"; then
1603 ## ------------------- ##
1604 ## File substitutions. ##
1605 ## ------------------- ##
1608 for ac_var in $ac_subst_files
1610 eval ac_val=\$$ac_var
1612 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1614 echo "$ac_var='\''$ac_val'\''"
1619 if test -s confdefs.h; then
1629 test "$ac_signal" != 0 &&
1630 echo "$as_me: caught signal $ac_signal"
1631 echo "$as_me: exit $exit_status"
1633 rm -f core *.core core.conftest.* &&
1634 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1637 for ac_signal in 1 2 13 15; do
1638 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1642 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1643 rm -f -r conftest* confdefs.h
1645 # Predefined preprocessor variables.
1647 cat >>confdefs.h <<_ACEOF
1648 #define PACKAGE_NAME "$PACKAGE_NAME"
1652 cat >>confdefs.h <<_ACEOF
1653 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1657 cat >>confdefs.h <<_ACEOF
1658 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1662 cat >>confdefs.h <<_ACEOF
1663 #define PACKAGE_STRING "$PACKAGE_STRING"
1667 cat >>confdefs.h <<_ACEOF
1668 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1672 # Let the site file select an alternate cache file if it wants to.
1673 # Prefer explicitly selected file to automatically selected ones.
1674 if test -n "$CONFIG_SITE"; then
1675 set x "$CONFIG_SITE"
1676 elif test "x$prefix" != xNONE; then
1677 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1679 set x "$ac_default_prefix/share/config.site" \
1680 "$ac_default_prefix/etc/config.site"
1685 if test -r "$ac_site_file"; then
1686 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1687 echo "$as_me: loading site script $ac_site_file" >&6;}
1688 sed 's/^/| /' "$ac_site_file" >&5
1693 if test -r "$cache_file"; then
1694 # Some versions of bash will fail to source /dev/null (special
1695 # files actually), so we avoid doing that.
1696 if test -f "$cache_file"; then
1697 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1698 echo "$as_me: loading cache $cache_file" >&6;}
1700 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1701 *) . "./$cache_file";;
1705 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1706 echo "$as_me: creating cache $cache_file" >&6;}
1710 # Check that the precious variables saved in the cache have kept the same
1712 ac_cache_corrupted=false
1713 for ac_var in $ac_precious_vars; do
1714 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1715 eval ac_new_set=\$ac_env_${ac_var}_set
1716 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1717 eval ac_new_val=\$ac_env_${ac_var}_value
1718 case $ac_old_set,$ac_new_set in
1720 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1721 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1722 ac_cache_corrupted=: ;;
1724 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1725 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1726 ac_cache_corrupted=: ;;
1729 if test "x$ac_old_val" != "x$ac_new_val"; then
1730 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1731 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1732 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1733 echo "$as_me: former value
: $ac_old_val" >&2;}
1734 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1735 echo "$as_me: current value
: $ac_new_val" >&2;}
1736 ac_cache_corrupted=:
1739 # Pass precious variables to config.status.
1740 if test "$ac_new_set" = set; then
1742 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1743 *) ac_arg=$ac_var=$ac_new_val ;;
1745 case " $ac_configure_args " in
1746 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1747 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1751 if $ac_cache_corrupted; then
1752 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1753 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1754 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1755 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1756 { (exit 1); exit 1; }; }
1784 ac_cpp='$CPP $CPPFLAGS'
1785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1792 am__api_version='1.10'
1795 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1796 if test -f "$ac_dir/install-sh"; then
1798 ac_install_sh="$ac_aux_dir/install-sh -c"
1800 elif test -f "$ac_dir/install.sh"; then
1802 ac_install_sh="$ac_aux_dir/install.sh -c"
1804 elif test -f "$ac_dir/shtool"; then
1806 ac_install_sh="$ac_aux_dir/shtool install -c"
1810 if test -z "$ac_aux_dir"; then
1811 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1812 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1813 { (exit 1); exit 1; }; }
1816 # These three variables are undocumented and unsupported,
1817 # and are intended to be withdrawn in a future Autoconf release.
1818 # They can cause serious problems if a builder's source tree is in a directory
1819 # whose full name contains unusual characters.
1820 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1821 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1822 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1825 # Find a good install program. We prefer a C program (faster),
1826 # so one script is as good as another. But avoid the broken or
1827 # incompatible versions:
1828 # SysV /etc/install, /usr/sbin/install
1829 # SunOS /usr/etc/install
1830 # IRIX /sbin/install
1832 # AmigaOS /C/install, which installs bootblocks on floppy discs
1833 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1834 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1835 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1836 # OS/2's system install, which has a completely different semantic
1837 # ./install, which can be erroneously created by make from ./install.sh.
1838 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1839 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1840 if test -z "$INSTALL"; then
1841 if test "${ac_cv_path_install+set}" = set; then
1842 echo $ECHO_N "(cached) $ECHO_C" >&6
1844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1848 test -z "$as_dir" && as_dir=.
1849 # Account for people who put trailing slashes in PATH elements.
1851 ./ | .// | /cC/* | \
1852 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1853 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1856 # OSF1 and SCO ODT 3.0 have their own names for install.
1857 # Don't use installbsd from OSF since it installs stuff as root
1859 for ac_prog in ginstall scoinst install; do
1860 for ac_exec_ext in '' $ac_executable_extensions; do
1861 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1862 if test $ac_prog = install &&
1863 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1864 # AIX install. It has an incompatible calling convention.
1866 elif test $ac_prog = install &&
1867 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1868 # program-specific install script used by HP pwplus--don't use.
1871 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1884 if test "${ac_cv_path_install+set}" = set; then
1885 INSTALL=$ac_cv_path_install
1887 # As a last resort, use the slow shell script. Don't cache a
1888 # value for INSTALL within a source directory, because that will
1889 # break other packages using the cache if that directory is
1890 # removed, or if the value is a relative name.
1891 INSTALL=$ac_install_sh
1894 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1895 echo "${ECHO_T}$INSTALL" >&6; }
1897 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1898 # It thinks the first close brace ends the variable substitution.
1899 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1901 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1903 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1905 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1906 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1909 echo timestamp > conftest.file
1910 # Do `set' in a subshell so we don't clobber the current shell
's
1911 # arguments. Must try -L first in case configure is actually a
1912 # symlink; some systems play weird games with the mod time of symlinks
1913 # (eg FreeBSD returns the mod time of the symlink's containing
1916 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1917 if test "$*" = "X"; then
1919 set X
`ls -t $srcdir/configure conftest.file`
1922 if test "$*" != "X $srcdir/configure conftest.file" \
1923 && test "$*" != "X conftest.file $srcdir/configure"; then
1925 # If neither matched, then we have a broken ls. This can happen
1926 # if, for instance, CONFIG_SHELL is bash and it inherits a
1927 # broken ls alias from the environment. This has actually
1928 # happened. Such a system could not be considered "sane".
1929 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1930 alias in your environment" >&5
1931 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1932 alias in your environment" >&2;}
1933 { (exit 1); exit 1; }; }
1936 test "$2" = conftest.
file
1942 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1943 Check your system clock" >&5
1944 echo "$as_me: error: newly created file is older than distributed files!
1945 Check your system clock" >&2;}
1946 { (exit 1); exit 1; }; }
1948 { echo "$as_me:$LINENO: result: yes" >&5
1949 echo "${ECHO_T}yes" >&6; }
1950 test "$program_prefix" != NONE
&&
1951 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1952 # Use a double $ so make ignores it.
1953 test "$program_suffix" != NONE
&&
1954 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1955 # Double any \ or $. echo might interpret backslashes.
1956 # By default was `s,x,x', remove it if useless.
1957 cat <<\_ACEOF
>conftest.
sed
1958 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1960 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1963 # expand $ac_aux_dir to an absolute path
1964 am_aux_dir
=`cd $ac_aux_dir && pwd`
1966 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1967 # Use eval to expand $SHELL
1968 if eval "$MISSING --run true"; then
1969 am_missing_run
="$MISSING --run "
1972 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1973 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1976 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1977 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1978 if test -z "$MKDIR_P"; then
1979 if test "${ac_cv_path_mkdir+set}" = set; then
1980 echo $ECHO_N "(cached) $ECHO_C" >&6
1982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1983 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
1986 test -z "$as_dir" && as_dir
=.
1987 for ac_prog
in mkdir gmkdir
; do
1988 for ac_exec_ext
in '' $ac_executable_extensions; do
1989 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
1990 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1991 'mkdir (GNU coreutils) '* | \
1992 'mkdir (coreutils) '* | \
1993 'mkdir (fileutils) '4.1*)
1994 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2004 if test "${ac_cv_path_mkdir+set}" = set; then
2005 MKDIR_P
="$ac_cv_path_mkdir -p"
2007 # As a last resort, use the slow shell script. Don't cache a
2008 # value for MKDIR_P within a source directory, because that will
2009 # break other packages using the cache if that directory is
2010 # removed, or if the value is a relative name.
2011 test -d .
/--version && rmdir .
/--version
2012 MKDIR_P
="$ac_install_sh -d"
2015 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2016 echo "${ECHO_T}$MKDIR_P" >&6; }
2020 [\\/$
]* | ?
:[\\/]*) ;;
2021 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2024 for ac_prog
in gawk mawk nawk
awk
2026 # Extract the first word of "$ac_prog", so it can be a program name with args.
2027 set dummy
$ac_prog; ac_word
=$2
2028 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2030 if test "${ac_cv_prog_AWK+set}" = set; then
2031 echo $ECHO_N "(cached) $ECHO_C" >&6
2033 if test -n "$AWK"; then
2034 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2040 test -z "$as_dir" && as_dir
=.
2041 for ac_exec_ext
in '' $ac_executable_extensions; do
2042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2043 ac_cv_prog_AWK
="$ac_prog"
2044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2054 if test -n "$AWK"; then
2055 { echo "$as_me:$LINENO: result: $AWK" >&5
2056 echo "${ECHO_T}$AWK" >&6; }
2058 { echo "$as_me:$LINENO: result: no" >&5
2059 echo "${ECHO_T}no" >&6; }
2063 test -n "$AWK" && break
2066 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2067 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2068 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2069 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2070 echo $ECHO_N "(cached) $ECHO_C" >&6
2072 cat >conftest.
make <<\_ACEOF
2075 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2077 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2078 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2080 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2082 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2086 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2087 { echo "$as_me:$LINENO: result: yes" >&5
2088 echo "${ECHO_T}yes" >&6; }
2091 { echo "$as_me:$LINENO: result: no" >&5
2092 echo "${ECHO_T}no" >&6; }
2093 SET_MAKE
="MAKE=${MAKE-make}"
2096 rm -rf .tst
2>/dev
/null
2097 mkdir .tst
2>/dev
/null
2098 if test -d .tst
; then
2103 rmdir .tst
2>/dev
/null
2105 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2106 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2107 # is not polluted with repeated "-I."
2108 am__isrc
=' -I$(srcdir)'
2109 # test to see if srcdir already configured
2110 if test -f $srcdir/config.status
; then
2111 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2112 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2113 { (exit 1); exit 1; }; }
2117 # test whether we have cygpath
2118 if test -z "$CYGPATH_W"; then
2119 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2120 CYGPATH_W
='cygpath -w'
2127 # Define the identity of the package.
2132 cat >>confdefs.h
<<_ACEOF
2133 #define PACKAGE "$PACKAGE"
2137 cat >>confdefs.h
<<_ACEOF
2138 #define VERSION "$VERSION"
2141 # Some tools Automake needs.
2143 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2146 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2149 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2152 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2155 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2157 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2159 # Installed binaries are usually stripped using `strip' when the user
2160 # run `make install-strip'. However `strip' might not be the right
2161 # tool to use in cross-compilation environments, therefore Automake
2162 # will honor the `STRIP' environment variable to overrule this program.
2163 if test "$cross_compiling" != no
; then
2164 if test -n "$ac_tool_prefix"; then
2165 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2166 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2167 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2169 if test "${ac_cv_prog_STRIP+set}" = set; then
2170 echo $ECHO_N "(cached) $ECHO_C" >&6
2172 if test -n "$STRIP"; then
2173 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2179 test -z "$as_dir" && as_dir
=.
2180 for ac_exec_ext
in '' $ac_executable_extensions; do
2181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2182 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2192 STRIP
=$ac_cv_prog_STRIP
2193 if test -n "$STRIP"; then
2194 { echo "$as_me:$LINENO: result: $STRIP" >&5
2195 echo "${ECHO_T}$STRIP" >&6; }
2197 { echo "$as_me:$LINENO: result: no" >&5
2198 echo "${ECHO_T}no" >&6; }
2203 if test -z "$ac_cv_prog_STRIP"; then
2205 # Extract the first word of "strip", so it can be a program name with args.
2206 set dummy strip
; ac_word
=$2
2207 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2209 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2210 echo $ECHO_N "(cached) $ECHO_C" >&6
2212 if test -n "$ac_ct_STRIP"; then
2213 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2219 test -z "$as_dir" && as_dir
=.
2220 for ac_exec_ext
in '' $ac_executable_extensions; do
2221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2222 ac_cv_prog_ac_ct_STRIP
="strip"
2223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2232 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2233 if test -n "$ac_ct_STRIP"; then
2234 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2235 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2237 { echo "$as_me:$LINENO: result: no" >&5
2238 echo "${ECHO_T}no" >&6; }
2241 if test "x$ac_ct_STRIP" = x
; then
2244 case $cross_compiling:$ac_tool_warned in
2246 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2247 whose name does not start with the host triplet. If you think this
2248 configuration is useful to you, please write to autoconf@gnu.org." >&5
2249 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2250 whose name does not start with the host triplet. If you think this
2251 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2252 ac_tool_warned
=yes ;;
2257 STRIP
="$ac_cv_prog_STRIP"
2261 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2263 # We need awk for the "check" target. The system "awk" is bad on
2265 # Always define AMTAR for backward compatibility.
2267 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2269 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2275 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2276 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2277 # Check whether --enable-maintainer-mode was given.
2278 if test "${enable_maintainer_mode+set}" = set; then
2279 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2281 USE_MAINTAINER_MODE
=no
2284 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2285 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2286 if test $USE_MAINTAINER_MODE = yes; then
2287 MAINTAINER_MODE_TRUE
=
2288 MAINTAINER_MODE_FALSE
='#'
2290 MAINTAINER_MODE_TRUE
='#'
2291 MAINTAINER_MODE_FALSE
=
2294 MAINT
=$MAINTAINER_MODE_TRUE
2298 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2299 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2300 if test -z "$MKDIR_P"; then
2301 if test "${ac_cv_path_mkdir+set}" = set; then
2302 echo $ECHO_N "(cached) $ECHO_C" >&6
2304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2305 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2308 test -z "$as_dir" && as_dir
=.
2309 for ac_prog
in mkdir gmkdir
; do
2310 for ac_exec_ext
in '' $ac_executable_extensions; do
2311 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2312 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2313 'mkdir (GNU coreutils) '* | \
2314 'mkdir (coreutils) '* | \
2315 'mkdir (fileutils) '4.1*)
2316 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2326 if test "${ac_cv_path_mkdir+set}" = set; then
2327 MKDIR_P
="$ac_cv_path_mkdir -p"
2329 # As a last resort, use the slow shell script. Don't cache a
2330 # value for MKDIR_P within a source directory, because that will
2331 # break other packages using the cache if that directory is
2332 # removed, or if the value is a relative name.
2333 test -d .
/--version && rmdir .
/--version
2334 MKDIR_P
="$ac_install_sh -d"
2337 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2338 echo "${ECHO_T}$MKDIR_P" >&6; }
2340 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
2341 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2343 if test "$LN_S" = "ln -s"; then
2344 { echo "$as_me:$LINENO: result: yes" >&5
2345 echo "${ECHO_T}yes" >&6; }
2347 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2348 echo "${ECHO_T}no, using $LN_S" >&6; }
2352 ac_cpp
='$CPP $CPPFLAGS'
2353 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2354 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2355 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2356 if test -n "$ac_tool_prefix"; then
2357 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2358 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2359 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2361 if test "${ac_cv_prog_CC+set}" = set; then
2362 echo $ECHO_N "(cached) $ECHO_C" >&6
2364 if test -n "$CC"; then
2365 ac_cv_prog_CC
="$CC" # Let the user override the test.
2367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2371 test -z "$as_dir" && as_dir
=.
2372 for ac_exec_ext
in '' $ac_executable_extensions; do
2373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2374 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2385 if test -n "$CC"; then
2386 { echo "$as_me:$LINENO: result: $CC" >&5
2387 echo "${ECHO_T}$CC" >&6; }
2389 { echo "$as_me:$LINENO: result: no" >&5
2390 echo "${ECHO_T}no" >&6; }
2395 if test -z "$ac_cv_prog_CC"; then
2397 # Extract the first word of "gcc", so it can be a program name with args.
2398 set dummy gcc
; ac_word
=$2
2399 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2401 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2402 echo $ECHO_N "(cached) $ECHO_C" >&6
2404 if test -n "$ac_ct_CC"; then
2405 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2411 test -z "$as_dir" && as_dir
=.
2412 for ac_exec_ext
in '' $ac_executable_extensions; do
2413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2414 ac_cv_prog_ac_ct_CC
="gcc"
2415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2424 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2425 if test -n "$ac_ct_CC"; then
2426 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2427 echo "${ECHO_T}$ac_ct_CC" >&6; }
2429 { echo "$as_me:$LINENO: result: no" >&5
2430 echo "${ECHO_T}no" >&6; }
2433 if test "x$ac_ct_CC" = x
; then
2436 case $cross_compiling:$ac_tool_warned in
2438 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2439 whose name does not start with the host triplet. If you think this
2440 configuration is useful to you, please write to autoconf@gnu.org." >&5
2441 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2442 whose name does not start with the host triplet. If you think this
2443 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2444 ac_tool_warned
=yes ;;
2452 if test -z "$CC"; then
2453 if test -n "$ac_tool_prefix"; then
2454 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2455 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2456 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2458 if test "${ac_cv_prog_CC+set}" = set; then
2459 echo $ECHO_N "(cached) $ECHO_C" >&6
2461 if test -n "$CC"; then
2462 ac_cv_prog_CC
="$CC" # Let the user override the test.
2464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2468 test -z "$as_dir" && as_dir
=.
2469 for ac_exec_ext
in '' $ac_executable_extensions; do
2470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2471 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2482 if test -n "$CC"; then
2483 { echo "$as_me:$LINENO: result: $CC" >&5
2484 echo "${ECHO_T}$CC" >&6; }
2486 { echo "$as_me:$LINENO: result: no" >&5
2487 echo "${ECHO_T}no" >&6; }
2493 if test -z "$CC"; then
2494 # Extract the first word of "cc", so it can be a program name with args.
2495 set dummy cc
; ac_word
=$2
2496 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2498 if test "${ac_cv_prog_CC+set}" = set; then
2499 echo $ECHO_N "(cached) $ECHO_C" >&6
2501 if test -n "$CC"; then
2502 ac_cv_prog_CC
="$CC" # Let the user override the test.
2505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2509 test -z "$as_dir" && as_dir
=.
2510 for ac_exec_ext
in '' $ac_executable_extensions; do
2511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2512 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2513 ac_prog_rejected
=yes
2517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2524 if test $ac_prog_rejected = yes; then
2525 # We found a bogon in the path, so make sure we never use it.
2526 set dummy
$ac_cv_prog_CC
2528 if test $# != 0; then
2529 # We chose a different compiler from the bogus one.
2530 # However, it has the same basename, so the bogon will be chosen
2531 # first if we set CC to just the basename; use the full file name.
2533 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2539 if test -n "$CC"; then
2540 { echo "$as_me:$LINENO: result: $CC" >&5
2541 echo "${ECHO_T}$CC" >&6; }
2543 { echo "$as_me:$LINENO: result: no" >&5
2544 echo "${ECHO_T}no" >&6; }
2549 if test -z "$CC"; then
2550 if test -n "$ac_tool_prefix"; then
2551 for ac_prog
in cl.exe
2553 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2554 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2555 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2557 if test "${ac_cv_prog_CC+set}" = set; then
2558 echo $ECHO_N "(cached) $ECHO_C" >&6
2560 if test -n "$CC"; then
2561 ac_cv_prog_CC
="$CC" # Let the user override the test.
2563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2567 test -z "$as_dir" && as_dir
=.
2568 for ac_exec_ext
in '' $ac_executable_extensions; do
2569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2570 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2581 if test -n "$CC"; then
2582 { echo "$as_me:$LINENO: result: $CC" >&5
2583 echo "${ECHO_T}$CC" >&6; }
2585 { echo "$as_me:$LINENO: result: no" >&5
2586 echo "${ECHO_T}no" >&6; }
2590 test -n "$CC" && break
2593 if test -z "$CC"; then
2595 for ac_prog
in cl.exe
2597 # Extract the first word of "$ac_prog", so it can be a program name with args.
2598 set dummy
$ac_prog; ac_word
=$2
2599 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2601 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2602 echo $ECHO_N "(cached) $ECHO_C" >&6
2604 if test -n "$ac_ct_CC"; then
2605 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2611 test -z "$as_dir" && as_dir
=.
2612 for ac_exec_ext
in '' $ac_executable_extensions; do
2613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2614 ac_cv_prog_ac_ct_CC
="$ac_prog"
2615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2624 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2625 if test -n "$ac_ct_CC"; then
2626 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2627 echo "${ECHO_T}$ac_ct_CC" >&6; }
2629 { echo "$as_me:$LINENO: result: no" >&5
2630 echo "${ECHO_T}no" >&6; }
2634 test -n "$ac_ct_CC" && break
2637 if test "x$ac_ct_CC" = x
; then
2640 case $cross_compiling:$ac_tool_warned in
2642 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2643 whose name does not start with the host triplet. If you think this
2644 configuration is useful to you, please write to autoconf@gnu.org." >&5
2645 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2646 whose name does not start with the host triplet. If you think this
2647 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2648 ac_tool_warned
=yes ;;
2657 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2658 See \`config.log' for more details." >&5
2659 echo "$as_me: error: no acceptable C compiler found in \$PATH
2660 See \`config.log' for more details." >&2;}
2661 { (exit 1); exit 1; }; }
2663 # Provide some information about the compiler.
2664 echo "$as_me:$LINENO: checking for C compiler version" >&5
2665 ac_compiler
=`set X $ac_compile; echo $2`
2666 { (ac_try
="$ac_compiler --version >&5"
2668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2669 *) ac_try_echo=$ac_try;;
2671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2672 (eval "$ac_compiler --version >&5") 2>&5
2674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2675 (exit $ac_status); }
2676 { (ac_try="$ac_compiler -v >&5"
2678 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2679 *) ac_try_echo
=$ac_try;;
2681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2682 (eval "$ac_compiler -v >&5") 2>&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); }
2686 { (ac_try
="$ac_compiler -V >&5"
2688 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2689 *) ac_try_echo=$ac_try;;
2691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2692 (eval "$ac_compiler -V >&5") 2>&5
2694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695 (exit $ac_status); }
2697 cat >conftest.$ac_ext <<_ACEOF
2700 cat confdefs.h >>conftest.$ac_ext
2701 cat >>conftest.$ac_ext <<_ACEOF
2702 /* end confdefs.h. */
2712 ac_clean_files_save=$ac_clean_files
2713 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2714 # Try to create an executable without -o first, disregard a.out.
2715 # It will help us diagnose broken compilers, and finding out an intuition
2717 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2718 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2719 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2721 # List of possible output files, starting from the most likely.
2722 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2723 # only as a last resort. b.out is created by i960 compilers.
2724 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2726 # The IRIX 6 linker writes into existing files which may not be
2727 # executable, retaining their permissions. Remove them first so a
2728 # subsequent execution test works.
2730 for ac_file in $ac_files
2733 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2734 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2739 if { (ac_try="$ac_link_default"
2741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2742 *) ac_try_echo=$ac_try;;
2744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2745 (eval "$ac_link_default") 2>&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); }; then
2749 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2750 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2751 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2752 # so that the user can short-circuit this test for compilers unknown to
2754 for ac_file
in $ac_files ''
2756 test -f "$ac_file" ||
continue
2758 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2761 # We found the default executable, but exeext='' is most
2765 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2767 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2769 # We set ac_cv_exeext here because the later test for it is not
2770 # safe: cross compilers may not add the suffix if given an `-o'
2771 # argument, so we may need to know it at that point already.
2772 # Even if this section looks crufty: it has the advantage of
2779 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2785 { echo "$as_me:$LINENO: result: $ac_file" >&5
2786 echo "${ECHO_T}$ac_file" >&6; }
2787 if test -z "$ac_file"; then
2788 echo "$as_me: failed program was:" >&5
2789 sed 's/^/| /' conftest.
$ac_ext >&5
2791 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2792 See \`config.log' for more details." >&5
2793 echo "$as_me: error: C compiler cannot create executables
2794 See \`config.log' for more details." >&2;}
2795 { (exit 77); exit 77; }; }
2798 ac_exeext
=$ac_cv_exeext
2800 # Check that the compiler produces executables we can run. If not, either
2801 # the compiler is broken, or we cross compile.
2802 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2803 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2804 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2805 # If not cross compiling, check that we can run a simple program.
2806 if test "$cross_compiling" != yes; then
2807 if { ac_try
='./$ac_file'
2808 { (case "(($ac_try" in
2809 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2810 *) ac_try_echo=$ac_try;;
2812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2813 (eval "$ac_try") 2>&5
2815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816 (exit $ac_status); }; }; then
2819 if test "$cross_compiling" = maybe; then
2822 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2823 If you meant to cross compile, use \`--host'.
2824 See \`config.log' for more details.
" >&5
2825 echo "$as_me: error
: cannot run C compiled programs.
2826 If you meant to cross compile
, use \
`--host'.
2827 See \`config.log
' for more details." >&2;}
2828 { (exit 1); exit 1; }; }
2832 { echo "$as_me:$LINENO: result: yes" >&5
2833 echo "${ECHO_T}yes" >&6; }
2835 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2836 ac_clean_files=$ac_clean_files_save
2837 # Check that the compiler produces executables we can run. If not, either
2838 # the compiler is broken, or we cross compile.
2839 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2840 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2841 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2842 echo "${ECHO_T}$cross_compiling" >&6; }
2844 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2845 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2846 if { (ac_try="$ac_link"
2848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2849 *) ac_try_echo=$ac_try;;
2851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2852 (eval "$ac_link") 2>&5
2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855 (exit $ac_status); }; then
2856 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2857 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2858 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2860 for ac_file
in conftest.exe conftest conftest.
*; do
2861 test -f "$ac_file" ||
continue
2863 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2864 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2870 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2871 See \`config.log' for more details." >&5
2872 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2873 See \`config.log' for more details." >&2;}
2874 { (exit 1); exit 1; }; }
2877 rm -f conftest
$ac_cv_exeext
2878 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2879 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2881 rm -f conftest.
$ac_ext
2882 EXEEXT
=$ac_cv_exeext
2884 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2885 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2886 if test "${ac_cv_objext+set}" = set; then
2887 echo $ECHO_N "(cached) $ECHO_C" >&6
2889 cat >conftest.
$ac_ext <<_ACEOF
2892 cat confdefs.h
>>conftest.
$ac_ext
2893 cat >>conftest.
$ac_ext <<_ACEOF
2894 /* end confdefs.h. */
2904 rm -f conftest.o conftest.obj
2905 if { (ac_try
="$ac_compile"
2907 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2908 *) ac_try_echo=$ac_try;;
2910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2911 (eval "$ac_compile") 2>&5
2913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); }; then
2915 for ac_file in conftest.o conftest.obj conftest.*; do
2916 test -f "$ac_file" || continue;
2918 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2919 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2924 echo "$as_me: failed program was:" >&5
2925 sed 's/^/| /' conftest.$ac_ext >&5
2927 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2928 See \`config.log
' for more details." >&5
2929 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2930 See \`config.log' for more details.
" >&2;}
2931 { (exit 1); exit 1; }; }
2934 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2936 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2937 echo "${ECHO_T}$ac_cv_objext" >&6; }
2938 OBJEXT=$ac_cv_objext
2940 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2941 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2942 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2943 echo $ECHO_N "(cached
) $ECHO_C" >&6
2945 cat >conftest.$ac_ext <<_ACEOF
2948 cat confdefs.h >>conftest.$ac_ext
2949 cat >>conftest.$ac_ext <<_ACEOF
2950 /* end confdefs.h. */
2963 rm -f conftest.$ac_objext
2964 if { (ac_try="$ac_compile"
2966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2967 *) ac_try_echo=$ac_try;;
2969 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2970 (eval "$ac_compile") 2>conftest.er1
2972 grep -v '^ *+' conftest.er1 >conftest.err
2974 cat conftest.err >&5
2975 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2976 (exit $ac_status); } && {
2977 test -z "$ac_c_werror_flag" ||
2978 test ! -s conftest.err
2979 } && test -s conftest.$ac_objext; then
2982 echo "$as_me: failed program was
:" >&5
2983 sed 's/^/| /' conftest.$ac_ext >&5
2988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2989 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2992 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2993 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2994 GCC=`test $ac_compiler_gnu = yes && echo yes`
2995 ac_test_CFLAGS=${CFLAGS+set}
2996 ac_save_CFLAGS=$CFLAGS
2997 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2998 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2999 if test "${ac_cv_prog_cc_g+set}" = set; then
3000 echo $ECHO_N "(cached
) $ECHO_C" >&6
3002 ac_save_c_werror_flag=$ac_c_werror_flag
3003 ac_c_werror_flag=yes
3006 cat >conftest.$ac_ext <<_ACEOF
3009 cat confdefs.h >>conftest.$ac_ext
3010 cat >>conftest.$ac_ext <<_ACEOF
3011 /* end confdefs.h. */
3021 rm -f conftest.$ac_objext
3022 if { (ac_try="$ac_compile"
3024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3025 *) ac_try_echo=$ac_try;;
3027 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3028 (eval "$ac_compile") 2>conftest.er1
3030 grep -v '^ *+' conftest.er1 >conftest.err
3032 cat conftest.err >&5
3033 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3034 (exit $ac_status); } && {
3035 test -z "$ac_c_werror_flag" ||
3036 test ! -s conftest.err
3037 } && test -s conftest.$ac_objext; then
3040 echo "$as_me: failed program was
:" >&5
3041 sed 's/^/| /' conftest.$ac_ext >&5
3044 cat >conftest.$ac_ext <<_ACEOF
3047 cat confdefs.h >>conftest.$ac_ext
3048 cat >>conftest.$ac_ext <<_ACEOF
3049 /* end confdefs.h. */
3059 rm -f conftest.$ac_objext
3060 if { (ac_try="$ac_compile"
3062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3063 *) ac_try_echo=$ac_try;;
3065 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3066 (eval "$ac_compile") 2>conftest.er1
3068 grep -v '^ *+' conftest.er1 >conftest.err
3070 cat conftest.err >&5
3071 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3072 (exit $ac_status); } && {
3073 test -z "$ac_c_werror_flag" ||
3074 test ! -s conftest.err
3075 } && test -s conftest.$ac_objext; then
3078 echo "$as_me: failed program was
:" >&5
3079 sed 's/^/| /' conftest.$ac_ext >&5
3081 ac_c_werror_flag=$ac_save_c_werror_flag
3083 cat >conftest.$ac_ext <<_ACEOF
3086 cat confdefs.h >>conftest.$ac_ext
3087 cat >>conftest.$ac_ext <<_ACEOF
3088 /* end confdefs.h. */
3098 rm -f conftest.$ac_objext
3099 if { (ac_try="$ac_compile"
3101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3102 *) ac_try_echo=$ac_try;;
3104 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3105 (eval "$ac_compile") 2>conftest.er1
3107 grep -v '^ *+' conftest.er1 >conftest.err
3109 cat conftest.err >&5
3110 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3111 (exit $ac_status); } && {
3112 test -z "$ac_c_werror_flag" ||
3113 test ! -s conftest.err
3114 } && test -s conftest.$ac_objext; then
3117 echo "$as_me: failed program was
:" >&5
3118 sed 's/^/| /' conftest.$ac_ext >&5
3123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3130 ac_c_werror_flag=$ac_save_c_werror_flag
3132 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3133 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3134 if test "$ac_test_CFLAGS" = set; then
3135 CFLAGS=$ac_save_CFLAGS
3136 elif test $ac_cv_prog_cc_g = yes; then
3137 if test "$GCC" = yes; then
3143 if test "$GCC" = yes; then
3149 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3150 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3151 if test "${ac_cv_prog_cc_c89+set}" = set; then
3152 echo $ECHO_N "(cached
) $ECHO_C" >&6
3154 ac_cv_prog_cc_c89=no
3156 cat >conftest.$ac_ext <<_ACEOF
3159 cat confdefs.h >>conftest.$ac_ext
3160 cat >>conftest.$ac_ext <<_ACEOF
3161 /* end confdefs.h. */
3164 #include <sys/types.h>
3165 #include <sys/stat.h>
3166 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3167 struct buf { int x; };
3168 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3169 static char *e (p, i)
3175 static char *f (char * (*g) (char **, int), char **p, ...)
3180 s = g (p, va_arg (v,int));
3185 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3186 function prototypes and stuff, but not '\xHH' hex character constants.
3187 These don't provoke an error unfortunately, instead are silently treated
3188 as 'x'. The following induces an error, until -std is added to get
3189 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3190 array size at least. It's necessary to write '\x00'==0 to get something
3191 that's true only with -std. */
3192 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3194 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3195 inside strings and character constants. */
3197 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3199 int test (int i, double x);
3200 struct s1 {int (*f) (int a);};
3201 struct s2 {int (*f) (double a);};
3202 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3208 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3213 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3214 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3216 CC="$ac_save_CC $ac_arg"
3217 rm -f conftest.$ac_objext
3218 if { (ac_try="$ac_compile"
3220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3221 *) ac_try_echo=$ac_try;;
3223 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3224 (eval "$ac_compile") 2>conftest.er1
3226 grep -v '^ *+' conftest.er1 >conftest.err
3228 cat conftest.err >&5
3229 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3230 (exit $ac_status); } && {
3231 test -z "$ac_c_werror_flag" ||
3232 test ! -s conftest.err
3233 } && test -s conftest.$ac_objext; then
3234 ac_cv_prog_cc_c89=$ac_arg
3236 echo "$as_me: failed program was
:" >&5
3237 sed 's/^/| /' conftest.$ac_ext >&5
3242 rm -f core conftest.err conftest.$ac_objext
3243 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3245 rm -f conftest.$ac_ext
3250 case "x
$ac_cv_prog_cc_c89" in
3252 { echo "$as_me:$LINENO: result
: none needed
" >&5
3253 echo "${ECHO_T}none needed
" >&6; } ;;
3255 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3256 echo "${ECHO_T}unsupported
" >&6; } ;;
3258 CC="$CC $ac_cv_prog_cc_c89"
3259 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3260 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3265 ac_cpp='$CPP $CPPFLAGS'
3266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3269 DEPDIR="${am__leading_dot}deps
"
3271 ac_config_commands="$ac_config_commands depfiles
"
3274 am_make=${MAKE-make}
3275 cat > confinc << 'END'
3280 # If we don't find an include directive, just comment out the code.
3281 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3282 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3286 # First try GNU make style include.
3287 echo "include confinc" > confmf
3288 # We grep out `Entering directory' and `Leaving directory'
3289 # messages which can occur if `w' ends up in MAKEFLAGS.
3290 # In particular we don't look at `^make:' because GNU make might
3291 # be invoked under some other name (usually "gmake"), in which
3292 # case it prints its new name instead of `make'.
3293 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3298 # Now try BSD make style include.
3299 if test "$am__include" = "#"; then
3300 echo '.include "confinc"' > confmf
3301 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3302 am__include
=.include
3309 { echo "$as_me:$LINENO: result: $_am_result" >&5
3310 echo "${ECHO_T}$_am_result" >&6; }
3311 rm -f confinc confmf
3313 # Check whether --enable-dependency-tracking was given.
3314 if test "${enable_dependency_tracking+set}" = set; then
3315 enableval
=$enable_dependency_tracking;
3318 if test "x$enable_dependency_tracking" != xno
; then
3319 am_depcomp
="$ac_aux_dir/depcomp"
3322 if test "x$enable_dependency_tracking" != xno; then
3332 depcc
="$CC" am_compiler_list
=
3334 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3335 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3336 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3337 echo $ECHO_N "(cached) $ECHO_C" >&6
3339 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3340 # We make a subdir and do the tests there. Otherwise we can end up
3341 # making bogus files that we don't know about and never remove. For
3342 # instance it was reported that on HP-UX the gcc test will end up
3343 # making a dummy file named `D' -- because `-MD' means `put the output
3346 # Copy depcomp to subdir because otherwise we won't find it if we're
3347 # using a relative directory.
3348 cp "$am_depcomp" conftest.dir
3350 # We will build objects and dependencies in a subdirectory because
3351 # it helps to detect inapplicable dependency modes. For instance
3352 # both Tru64's cc and ICC support -MD to output dependencies as a
3353 # side effect of compilation, but ICC will put the dependencies in
3354 # the current directory while Tru64 will put them in the object
3358 am_cv_CC_dependencies_compiler_type
=none
3359 if test "$am_compiler_list" = ""; then
3360 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3362 for depmode
in $am_compiler_list; do
3363 # Setup a source with many dependencies, because some compilers
3364 # like to wrap large dependency lists on column 80 (with \), and
3365 # we should not choose a depcomp mode which is confused by this.
3367 # We need to recreate these files for each test, as the compiler may
3368 # overwrite some of them when testing with obscure command lines.
3369 # This happens at least with the AIX C compiler.
3371 for i
in 1 2 3 4 5 6; do
3372 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3373 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3374 # Solaris 8's {/usr,}/bin/sh.
3375 touch sub
/conftst
$i.h
3377 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3381 # after this tag, mechanisms are not by side-effect, so they'll
3382 # only be used when explicitly requested
3383 if test "x$enable_dependency_tracking" = xyes
; then
3391 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3392 # mode. It turns out that the SunPro C++ compiler does not properly
3393 # handle `-M -o', and we need to detect this.
3394 if depmode
=$depmode \
3395 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3396 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3397 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3398 >/dev
/null
2>conftest.err
&&
3399 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3400 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3401 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3402 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3403 # icc doesn't choke on unknown options, it will just issue warnings
3404 # or remarks (even with -Werror). So we grep stderr for any message
3405 # that says an option was ignored or not supported.
3406 # When given -MP, icc 7.0 and 7.1 complain thusly:
3407 # icc: Command line warning: ignoring option '-M'; no argument required
3408 # The diagnosis changed in icc 8.0:
3409 # icc: Command line remark: option '-MP' not supported
3410 if (grep 'ignoring option' conftest.err ||
3411 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3412 am_cv_CC_dependencies_compiler_type
=$depmode
3421 am_cv_CC_dependencies_compiler_type
=none
3425 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3426 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3427 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3430 test "x$enable_dependency_tracking" != xno \
3431 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3433 am__fastdepCC_FALSE
='#'
3435 am__fastdepCC_TRUE
='#'
3436 am__fastdepCC_FALSE
=
3441 ac_cpp
='$CXXCPP $CPPFLAGS'
3442 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3443 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3444 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3445 if test -z "$CXX"; then
3446 if test -n "$CCC"; then
3449 if test -n "$ac_tool_prefix"; then
3450 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3452 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3453 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3456 if test "${ac_cv_prog_CXX+set}" = set; then
3457 echo $ECHO_N "(cached) $ECHO_C" >&6
3459 if test -n "$CXX"; then
3460 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3466 test -z "$as_dir" && as_dir
=.
3467 for ac_exec_ext
in '' $ac_executable_extensions; do
3468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3469 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3480 if test -n "$CXX"; then
3481 { echo "$as_me:$LINENO: result: $CXX" >&5
3482 echo "${ECHO_T}$CXX" >&6; }
3484 { echo "$as_me:$LINENO: result: no" >&5
3485 echo "${ECHO_T}no" >&6; }
3489 test -n "$CXX" && break
3492 if test -z "$CXX"; then
3494 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3496 # Extract the first word of "$ac_prog", so it can be a program name with args.
3497 set dummy
$ac_prog; ac_word
=$2
3498 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3500 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3501 echo $ECHO_N "(cached) $ECHO_C" >&6
3503 if test -n "$ac_ct_CXX"; then
3504 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3510 test -z "$as_dir" && as_dir
=.
3511 for ac_exec_ext
in '' $ac_executable_extensions; do
3512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3513 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3523 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3524 if test -n "$ac_ct_CXX"; then
3525 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3526 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3528 { echo "$as_me:$LINENO: result: no" >&5
3529 echo "${ECHO_T}no" >&6; }
3533 test -n "$ac_ct_CXX" && break
3536 if test "x$ac_ct_CXX" = x
; then
3539 case $cross_compiling:$ac_tool_warned in
3541 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3542 whose name does not start with the host triplet. If you think this
3543 configuration is useful to you, please write to autoconf@gnu.org." >&5
3544 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3545 whose name does not start with the host triplet. If you think this
3546 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3547 ac_tool_warned
=yes ;;
3555 # Provide some information about the compiler.
3556 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3557 ac_compiler
=`set X $ac_compile; echo $2`
3558 { (ac_try
="$ac_compiler --version >&5"
3560 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3561 *) ac_try_echo=$ac_try;;
3563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3564 (eval "$ac_compiler --version >&5") 2>&5
3566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567 (exit $ac_status); }
3568 { (ac_try="$ac_compiler -v >&5"
3570 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3571 *) ac_try_echo
=$ac_try;;
3573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3574 (eval "$ac_compiler -v >&5") 2>&5
3576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577 (exit $ac_status); }
3578 { (ac_try
="$ac_compiler -V >&5"
3580 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3581 *) ac_try_echo=$ac_try;;
3583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3584 (eval "$ac_compiler -V >&5") 2>&5
3586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3587 (exit $ac_status); }
3589 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3590 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3591 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3592 echo $ECHO_N "(cached) $ECHO_C" >&6
3594 cat >conftest.$ac_ext <<_ACEOF
3597 cat confdefs.h >>conftest.$ac_ext
3598 cat >>conftest.$ac_ext <<_ACEOF
3599 /* end confdefs.h. */
3612 rm -f conftest.$ac_objext
3613 if { (ac_try="$ac_compile"
3615 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3616 *) ac_try_echo
=$ac_try;;
3618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3619 (eval "$ac_compile") 2>conftest.er1
3621 grep -v '^ *+' conftest.er1
>conftest.err
3623 cat conftest.err
>&5
3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625 (exit $ac_status); } && {
3626 test -z "$ac_cxx_werror_flag" ||
3627 test ! -s conftest.err
3628 } && test -s conftest.
$ac_objext; then
3631 echo "$as_me: failed program was:" >&5
3632 sed 's/^/| /' conftest.
$ac_ext >&5
3637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3638 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3641 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3642 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3643 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3644 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3645 ac_save_CXXFLAGS
=$CXXFLAGS
3646 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3647 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3648 if test "${ac_cv_prog_cxx_g+set}" = set; then
3649 echo $ECHO_N "(cached) $ECHO_C" >&6
3651 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3652 ac_cxx_werror_flag
=yes
3655 cat >conftest.
$ac_ext <<_ACEOF
3658 cat confdefs.h
>>conftest.
$ac_ext
3659 cat >>conftest.
$ac_ext <<_ACEOF
3660 /* end confdefs.h. */
3670 rm -f conftest.
$ac_objext
3671 if { (ac_try
="$ac_compile"
3673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3674 *) ac_try_echo=$ac_try;;
3676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3677 (eval "$ac_compile") 2>conftest.er1
3679 grep -v '^ *+' conftest.er1 >conftest.err
3681 cat conftest.err >&5
3682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3683 (exit $ac_status); } && {
3684 test -z "$ac_cxx_werror_flag" ||
3685 test ! -s conftest.err
3686 } && test -s conftest.$ac_objext; then
3687 ac_cv_prog_cxx_g=yes
3689 echo "$as_me: failed program was:" >&5
3690 sed 's/^/| /' conftest.$ac_ext >&5
3693 cat >conftest.$ac_ext <<_ACEOF
3696 cat confdefs.h >>conftest.$ac_ext
3697 cat >>conftest.$ac_ext <<_ACEOF
3698 /* end confdefs.h. */
3708 rm -f conftest.$ac_objext
3709 if { (ac_try="$ac_compile"
3711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3712 *) ac_try_echo
=$ac_try;;
3714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3715 (eval "$ac_compile") 2>conftest.er1
3717 grep -v '^ *+' conftest.er1
>conftest.err
3719 cat conftest.err
>&5
3720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721 (exit $ac_status); } && {
3722 test -z "$ac_cxx_werror_flag" ||
3723 test ! -s conftest.err
3724 } && test -s conftest.
$ac_objext; then
3727 echo "$as_me: failed program was:" >&5
3728 sed 's/^/| /' conftest.
$ac_ext >&5
3730 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3732 cat >conftest.
$ac_ext <<_ACEOF
3735 cat confdefs.h
>>conftest.
$ac_ext
3736 cat >>conftest.
$ac_ext <<_ACEOF
3737 /* end confdefs.h. */
3747 rm -f conftest.
$ac_objext
3748 if { (ac_try
="$ac_compile"
3750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3751 *) ac_try_echo=$ac_try;;
3753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3754 (eval "$ac_compile") 2>conftest.er1
3756 grep -v '^ *+' conftest.er1 >conftest.err
3758 cat conftest.err >&5
3759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3760 (exit $ac_status); } && {
3761 test -z "$ac_cxx_werror_flag" ||
3762 test ! -s conftest.err
3763 } && test -s conftest.$ac_objext; then
3764 ac_cv_prog_cxx_g=yes
3766 echo "$as_me: failed program was:" >&5
3767 sed 's/^/| /' conftest.$ac_ext >&5
3772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3779 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3781 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3782 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3783 if test "$ac_test_CXXFLAGS" = set; then
3784 CXXFLAGS=$ac_save_CXXFLAGS
3785 elif test $ac_cv_prog_cxx_g = yes; then
3786 if test "$GXX" = yes; then
3792 if test "$GXX" = yes; then
3799 ac_cpp='$CPP $CPPFLAGS'
3800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3804 depcc="$CXX" am_compiler_list=
3806 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3807 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3808 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3809 echo $ECHO_N "(cached) $ECHO_C" >&6
3811 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3812 # We make a subdir and do the tests there. Otherwise we can end up
3813 # making bogus files that we don't know about and never remove. For
3814 # instance it was reported that on HP-UX the gcc test will end up
3815 # making a dummy file named `D
' -- because `-MD' means
`put the output
3818 # Copy depcomp to subdir because otherwise we won't find it if we're
3819 # using a relative directory.
3820 cp "$am_depcomp" conftest.dir
3822 # We will build objects and dependencies in a subdirectory because
3823 # it helps to detect inapplicable dependency modes. For instance
3824 # both Tru64's cc and ICC support -MD to output dependencies as a
3825 # side effect of compilation, but ICC will put the dependencies in
3826 # the current directory while Tru64 will put them in the object
3830 am_cv_CXX_dependencies_compiler_type=none
3831 if test "$am_compiler_list" = ""; then
3832 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3834 for depmode in $am_compiler_list; do
3835 # Setup a source with many dependencies, because some compilers
3836 # like to wrap large dependency lists on column 80 (with \), and
3837 # we should not choose a depcomp mode which is confused by this.
3839 # We need to recreate these files for each test, as the compiler may
3840 # overwrite some of them when testing with obscure command lines.
3841 # This happens at least with the AIX C compiler.
3843 for i in 1 2 3 4 5 6; do
3844 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3845 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3846 # Solaris 8's
{/usr
,}/bin
/sh.
3847 touch sub
/conftst
$i.h
3849 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3853 # after this tag, mechanisms are not by side-effect, so they'll
3854 # only be used when explicitly requested
3855 if test "x$enable_dependency_tracking" = xyes
; then
3863 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3864 # mode. It turns out that the SunPro C++ compiler does not properly
3865 # handle `-M -o', and we need to detect this.
3866 if depmode
=$depmode \
3867 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3868 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3869 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3870 >/dev
/null
2>conftest.err
&&
3871 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3872 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3873 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3874 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3875 # icc doesn't choke on unknown options, it will just issue warnings
3876 # or remarks (even with -Werror). So we grep stderr for any message
3877 # that says an option was ignored or not supported.
3878 # When given -MP, icc 7.0 and 7.1 complain thusly:
3879 # icc: Command line warning: ignoring option '-M'; no argument required
3880 # The diagnosis changed in icc 8.0:
3881 # icc: Command line remark: option '-MP' not supported
3882 if (grep 'ignoring option' conftest.err ||
3883 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3884 am_cv_CXX_dependencies_compiler_type
=$depmode
3893 am_cv_CXX_dependencies_compiler_type
=none
3897 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3898 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3899 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3902 test "x$enable_dependency_tracking" != xno \
3903 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3904 am__fastdepCXX_TRUE
=
3905 am__fastdepCXX_FALSE
='#'
3907 am__fastdepCXX_TRUE
='#'
3908 am__fastdepCXX_FALSE
=
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
3917 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3918 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3919 # On Suns, sometimes $CPP names a directory.
3920 if test -n "$CPP" && test -d "$CPP"; then
3923 if test -z "$CPP"; then
3924 if test "${ac_cv_prog_CPP+set}" = set; then
3925 echo $ECHO_N "(cached) $ECHO_C" >&6
3927 # Double quotes because CPP needs to be expanded
3928 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3931 for ac_c_preproc_warn_flag
in '' yes
3933 # Use a header file that comes with gcc, so configuring glibc
3934 # with a fresh cross-compiler works.
3935 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3936 # <limits.h> exists even on freestanding compilers.
3937 # On the NeXT, cc -E runs the code through the compiler's parser,
3938 # not just through cpp. "Syntax error" is here to catch this case.
3939 cat >conftest.
$ac_ext <<_ACEOF
3942 cat confdefs.h
>>conftest.
$ac_ext
3943 cat >>conftest.
$ac_ext <<_ACEOF
3944 /* end confdefs.h. */
3946 # include <limits.h>
3948 # include <assert.h>
3952 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3955 *) ac_try_echo=$ac_try;;
3957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3958 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3960 grep -v '^ *+' conftest.er1 >conftest.err
3962 cat conftest.err >&5
3963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3964 (exit $ac_status); } >/dev/null && {
3965 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3966 test ! -s conftest.err
3970 echo "$as_me: failed program was:" >&5
3971 sed 's/^/| /' conftest.$ac_ext >&5
3973 # Broken: fails on valid input.
3977 rm -f conftest.err conftest.$ac_ext
3979 # OK, works on sane cases. Now check whether nonexistent headers
3980 # can be detected and how.
3981 cat >conftest.$ac_ext <<_ACEOF
3984 cat confdefs.h >>conftest.$ac_ext
3985 cat >>conftest.$ac_ext <<_ACEOF
3986 /* end confdefs.h. */
3987 #include <ac_nonexistent.h>
3989 if { (ac_try="$ac_cpp conftest.$ac_ext"
3991 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3992 *) ac_try_echo
=$ac_try;;
3994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3995 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3997 grep -v '^ *+' conftest.er1
>conftest.err
3999 cat conftest.err
>&5
4000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4001 (exit $ac_status); } >/dev
/null
&& {
4002 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4003 test ! -s conftest.err
4005 # Broken: success on invalid input.
4008 echo "$as_me: failed program was:" >&5
4009 sed 's/^/| /' conftest.
$ac_ext >&5
4011 # Passes both tests.
4016 rm -f conftest.err conftest.
$ac_ext
4019 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4020 rm -f conftest.err conftest.
$ac_ext
4021 if $ac_preproc_ok; then
4033 { echo "$as_me:$LINENO: result: $CPP" >&5
4034 echo "${ECHO_T}$CPP" >&6; }
4036 for ac_c_preproc_warn_flag
in '' yes
4038 # Use a header file that comes with gcc, so configuring glibc
4039 # with a fresh cross-compiler works.
4040 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4041 # <limits.h> exists even on freestanding compilers.
4042 # On the NeXT, cc -E runs the code through the compiler's parser,
4043 # not just through cpp. "Syntax error" is here to catch this case.
4044 cat >conftest.
$ac_ext <<_ACEOF
4047 cat confdefs.h
>>conftest.
$ac_ext
4048 cat >>conftest.
$ac_ext <<_ACEOF
4049 /* end confdefs.h. */
4051 # include <limits.h>
4053 # include <assert.h>
4057 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4059 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4060 *) ac_try_echo=$ac_try;;
4062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4063 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4065 grep -v '^ *+' conftest.er1 >conftest.err
4067 cat conftest.err >&5
4068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4069 (exit $ac_status); } >/dev/null && {
4070 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4071 test ! -s conftest.err
4075 echo "$as_me: failed program was:" >&5
4076 sed 's/^/| /' conftest.$ac_ext >&5
4078 # Broken: fails on valid input.
4082 rm -f conftest.err conftest.$ac_ext
4084 # OK, works on sane cases. Now check whether nonexistent headers
4085 # can be detected and how.
4086 cat >conftest.$ac_ext <<_ACEOF
4089 cat confdefs.h >>conftest.$ac_ext
4090 cat >>conftest.$ac_ext <<_ACEOF
4091 /* end confdefs.h. */
4092 #include <ac_nonexistent.h>
4094 if { (ac_try="$ac_cpp conftest.$ac_ext"
4096 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4097 *) ac_try_echo
=$ac_try;;
4099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4100 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4102 grep -v '^ *+' conftest.er1
>conftest.err
4104 cat conftest.err
>&5
4105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4106 (exit $ac_status); } >/dev
/null
&& {
4107 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4108 test ! -s conftest.err
4110 # Broken: success on invalid input.
4113 echo "$as_me: failed program was:" >&5
4114 sed 's/^/| /' conftest.
$ac_ext >&5
4116 # Passes both tests.
4121 rm -f conftest.err conftest.
$ac_ext
4124 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4125 rm -f conftest.err conftest.
$ac_ext
4126 if $ac_preproc_ok; then
4129 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4130 See \`config.log' for more details." >&5
4131 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4132 See \`config.log' for more details." >&2;}
4133 { (exit 1); exit 1; }; }
4137 ac_cpp
='$CPP $CPPFLAGS'
4138 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4139 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4140 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4143 ac_cpp
='$CPP $CPPFLAGS'
4144 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4145 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4146 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4147 if test -n "$ac_tool_prefix"; then
4148 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4149 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4152 if test "${ac_cv_prog_CC+set}" = set; then
4153 echo $ECHO_N "(cached) $ECHO_C" >&6
4155 if test -n "$CC"; then
4156 ac_cv_prog_CC
="$CC" # Let the user override the test.
4158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4162 test -z "$as_dir" && as_dir
=.
4163 for ac_exec_ext
in '' $ac_executable_extensions; do
4164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4165 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4176 if test -n "$CC"; then
4177 { echo "$as_me:$LINENO: result: $CC" >&5
4178 echo "${ECHO_T}$CC" >&6; }
4180 { echo "$as_me:$LINENO: result: no" >&5
4181 echo "${ECHO_T}no" >&6; }
4186 if test -z "$ac_cv_prog_CC"; then
4188 # Extract the first word of "gcc", so it can be a program name with args.
4189 set dummy gcc
; ac_word
=$2
4190 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4192 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4193 echo $ECHO_N "(cached) $ECHO_C" >&6
4195 if test -n "$ac_ct_CC"; then
4196 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4202 test -z "$as_dir" && as_dir
=.
4203 for ac_exec_ext
in '' $ac_executable_extensions; do
4204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4205 ac_cv_prog_ac_ct_CC
="gcc"
4206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4215 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4216 if test -n "$ac_ct_CC"; then
4217 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4218 echo "${ECHO_T}$ac_ct_CC" >&6; }
4220 { echo "$as_me:$LINENO: result: no" >&5
4221 echo "${ECHO_T}no" >&6; }
4224 if test "x$ac_ct_CC" = x
; then
4227 case $cross_compiling:$ac_tool_warned in
4229 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4230 whose name does not start with the host triplet. If you think this
4231 configuration is useful to you, please write to autoconf@gnu.org." >&5
4232 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4233 whose name does not start with the host triplet. If you think this
4234 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4235 ac_tool_warned
=yes ;;
4243 if test -z "$CC"; then
4244 if test -n "$ac_tool_prefix"; then
4245 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4246 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4249 if test "${ac_cv_prog_CC+set}" = set; then
4250 echo $ECHO_N "(cached) $ECHO_C" >&6
4252 if test -n "$CC"; then
4253 ac_cv_prog_CC
="$CC" # Let the user override the test.
4255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4259 test -z "$as_dir" && as_dir
=.
4260 for ac_exec_ext
in '' $ac_executable_extensions; do
4261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4262 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4273 if test -n "$CC"; then
4274 { echo "$as_me:$LINENO: result: $CC" >&5
4275 echo "${ECHO_T}$CC" >&6; }
4277 { echo "$as_me:$LINENO: result: no" >&5
4278 echo "${ECHO_T}no" >&6; }
4284 if test -z "$CC"; then
4285 # Extract the first word of "cc", so it can be a program name with args.
4286 set dummy cc
; ac_word
=$2
4287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4289 if test "${ac_cv_prog_CC+set}" = set; then
4290 echo $ECHO_N "(cached) $ECHO_C" >&6
4292 if test -n "$CC"; then
4293 ac_cv_prog_CC
="$CC" # Let the user override the test.
4296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4300 test -z "$as_dir" && as_dir
=.
4301 for ac_exec_ext
in '' $ac_executable_extensions; do
4302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4303 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4304 ac_prog_rejected
=yes
4308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4315 if test $ac_prog_rejected = yes; then
4316 # We found a bogon in the path, so make sure we never use it.
4317 set dummy
$ac_cv_prog_CC
4319 if test $# != 0; then
4320 # We chose a different compiler from the bogus one.
4321 # However, it has the same basename, so the bogon will be chosen
4322 # first if we set CC to just the basename; use the full file name.
4324 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4330 if test -n "$CC"; then
4331 { echo "$as_me:$LINENO: result: $CC" >&5
4332 echo "${ECHO_T}$CC" >&6; }
4334 { echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6; }
4340 if test -z "$CC"; then
4341 if test -n "$ac_tool_prefix"; then
4342 for ac_prog
in cl.exe
4344 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4345 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4348 if test "${ac_cv_prog_CC+set}" = set; then
4349 echo $ECHO_N "(cached) $ECHO_C" >&6
4351 if test -n "$CC"; then
4352 ac_cv_prog_CC
="$CC" # Let the user override the test.
4354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4358 test -z "$as_dir" && as_dir
=.
4359 for ac_exec_ext
in '' $ac_executable_extensions; do
4360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4361 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4372 if test -n "$CC"; then
4373 { echo "$as_me:$LINENO: result: $CC" >&5
4374 echo "${ECHO_T}$CC" >&6; }
4376 { echo "$as_me:$LINENO: result: no" >&5
4377 echo "${ECHO_T}no" >&6; }
4381 test -n "$CC" && break
4384 if test -z "$CC"; then
4386 for ac_prog
in cl.exe
4388 # Extract the first word of "$ac_prog", so it can be a program name with args.
4389 set dummy
$ac_prog; ac_word
=$2
4390 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4392 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4393 echo $ECHO_N "(cached) $ECHO_C" >&6
4395 if test -n "$ac_ct_CC"; then
4396 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4402 test -z "$as_dir" && as_dir
=.
4403 for ac_exec_ext
in '' $ac_executable_extensions; do
4404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4405 ac_cv_prog_ac_ct_CC
="$ac_prog"
4406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4415 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4416 if test -n "$ac_ct_CC"; then
4417 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4418 echo "${ECHO_T}$ac_ct_CC" >&6; }
4420 { echo "$as_me:$LINENO: result: no" >&5
4421 echo "${ECHO_T}no" >&6; }
4425 test -n "$ac_ct_CC" && break
4428 if test "x$ac_ct_CC" = x
; then
4431 case $cross_compiling:$ac_tool_warned in
4433 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4434 whose name does not start with the host triplet. If you think this
4435 configuration is useful to you, please write to autoconf@gnu.org." >&5
4436 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4437 whose name does not start with the host triplet. If you think this
4438 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4439 ac_tool_warned
=yes ;;
4448 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4449 See \`config.log' for more details." >&5
4450 echo "$as_me: error: no acceptable C compiler found in \$PATH
4451 See \`config.log' for more details." >&2;}
4452 { (exit 1); exit 1; }; }
4454 # Provide some information about the compiler.
4455 echo "$as_me:$LINENO: checking for C compiler version" >&5
4456 ac_compiler
=`set X $ac_compile; echo $2`
4457 { (ac_try
="$ac_compiler --version >&5"
4459 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4460 *) ac_try_echo=$ac_try;;
4462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4463 (eval "$ac_compiler --version >&5") 2>&5
4465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466 (exit $ac_status); }
4467 { (ac_try="$ac_compiler -v >&5"
4469 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4470 *) ac_try_echo
=$ac_try;;
4472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4473 (eval "$ac_compiler -v >&5") 2>&5
4475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4476 (exit $ac_status); }
4477 { (ac_try
="$ac_compiler -V >&5"
4479 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4480 *) ac_try_echo=$ac_try;;
4482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4483 (eval "$ac_compiler -V >&5") 2>&5
4485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4486 (exit $ac_status); }
4488 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4489 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4490 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4491 echo $ECHO_N "(cached) $ECHO_C" >&6
4493 cat >conftest.$ac_ext <<_ACEOF
4496 cat confdefs.h >>conftest.$ac_ext
4497 cat >>conftest.$ac_ext <<_ACEOF
4498 /* end confdefs.h. */
4511 rm -f conftest.$ac_objext
4512 if { (ac_try="$ac_compile"
4514 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4515 *) ac_try_echo
=$ac_try;;
4517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4518 (eval "$ac_compile") 2>conftest.er1
4520 grep -v '^ *+' conftest.er1
>conftest.err
4522 cat conftest.err
>&5
4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524 (exit $ac_status); } && {
4525 test -z "$ac_c_werror_flag" ||
4526 test ! -s conftest.err
4527 } && test -s conftest.
$ac_objext; then
4530 echo "$as_me: failed program was:" >&5
4531 sed 's/^/| /' conftest.
$ac_ext >&5
4536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4537 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4540 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4541 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4542 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4543 ac_test_CFLAGS
=${CFLAGS+set}
4544 ac_save_CFLAGS
=$CFLAGS
4545 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4546 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4547 if test "${ac_cv_prog_cc_g+set}" = set; then
4548 echo $ECHO_N "(cached) $ECHO_C" >&6
4550 ac_save_c_werror_flag
=$ac_c_werror_flag
4551 ac_c_werror_flag
=yes
4554 cat >conftest.
$ac_ext <<_ACEOF
4557 cat confdefs.h
>>conftest.
$ac_ext
4558 cat >>conftest.
$ac_ext <<_ACEOF
4559 /* end confdefs.h. */
4569 rm -f conftest.
$ac_objext
4570 if { (ac_try
="$ac_compile"
4572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4573 *) ac_try_echo=$ac_try;;
4575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4576 (eval "$ac_compile") 2>conftest.er1
4578 grep -v '^ *+' conftest.er1 >conftest.err
4580 cat conftest.err >&5
4581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4582 (exit $ac_status); } && {
4583 test -z "$ac_c_werror_flag" ||
4584 test ! -s conftest.err
4585 } && test -s conftest.$ac_objext; then
4588 echo "$as_me: failed program was:" >&5
4589 sed 's/^/| /' conftest.$ac_ext >&5
4592 cat >conftest.$ac_ext <<_ACEOF
4595 cat confdefs.h >>conftest.$ac_ext
4596 cat >>conftest.$ac_ext <<_ACEOF
4597 /* end confdefs.h. */
4607 rm -f conftest.$ac_objext
4608 if { (ac_try="$ac_compile"
4610 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4611 *) ac_try_echo
=$ac_try;;
4613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4614 (eval "$ac_compile") 2>conftest.er1
4616 grep -v '^ *+' conftest.er1
>conftest.err
4618 cat conftest.err
>&5
4619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620 (exit $ac_status); } && {
4621 test -z "$ac_c_werror_flag" ||
4622 test ! -s conftest.err
4623 } && test -s conftest.
$ac_objext; then
4626 echo "$as_me: failed program was:" >&5
4627 sed 's/^/| /' conftest.
$ac_ext >&5
4629 ac_c_werror_flag
=$ac_save_c_werror_flag
4631 cat >conftest.
$ac_ext <<_ACEOF
4634 cat confdefs.h
>>conftest.
$ac_ext
4635 cat >>conftest.
$ac_ext <<_ACEOF
4636 /* end confdefs.h. */
4646 rm -f conftest.
$ac_objext
4647 if { (ac_try
="$ac_compile"
4649 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4650 *) ac_try_echo=$ac_try;;
4652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4653 (eval "$ac_compile") 2>conftest.er1
4655 grep -v '^ *+' conftest.er1 >conftest.err
4657 cat conftest.err >&5
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); } && {
4660 test -z "$ac_c_werror_flag" ||
4661 test ! -s conftest.err
4662 } && test -s conftest.$ac_objext; then
4665 echo "$as_me: failed program was:" >&5
4666 sed 's/^/| /' conftest.$ac_ext >&5
4671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4678 ac_c_werror_flag=$ac_save_c_werror_flag
4680 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4681 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4682 if test "$ac_test_CFLAGS" = set; then
4683 CFLAGS=$ac_save_CFLAGS
4684 elif test $ac_cv_prog_cc_g = yes; then
4685 if test "$GCC" = yes; then
4691 if test "$GCC" = yes; then
4697 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4698 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4699 if test "${ac_cv_prog_cc_c89+set}" = set; then
4700 echo $ECHO_N "(cached) $ECHO_C" >&6
4702 ac_cv_prog_cc_c89=no
4704 cat >conftest.$ac_ext <<_ACEOF
4707 cat confdefs.h >>conftest.$ac_ext
4708 cat >>conftest.$ac_ext <<_ACEOF
4709 /* end confdefs.h. */
4712 #include <sys/types.h>
4713 #include <sys/stat.h>
4714 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4715 struct buf { int x; };
4716 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4717 static char *e (p, i)
4723 static char *f (char * (*g) (char **, int), char **p, ...)
4728 s = g (p, va_arg (v,int));
4733 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4734 function prototypes and stuff, but not '\xHH' hex character constants.
4735 These don't provoke an error unfortunately, instead are silently treated
4736 as 'x'. The following induces an error, until -std is added to get
4737 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4738 array size at least. It's necessary to write '\x00'==0 to get something
4739 that's true only with -std. */
4740 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4742 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4743 inside strings and character constants. */
4745 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4747 int test (int i, double x);
4748 struct s1 {int (*f) (int a);};
4749 struct s2 {int (*f) (double a);};
4750 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4756 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4761 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4762 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4764 CC="$ac_save_CC $ac_arg"
4765 rm -f conftest.$ac_objext
4766 if { (ac_try="$ac_compile"
4768 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4769 *) ac_try_echo
=$ac_try;;
4771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4772 (eval "$ac_compile") 2>conftest.er1
4774 grep -v '^ *+' conftest.er1
>conftest.err
4776 cat conftest.err
>&5
4777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4778 (exit $ac_status); } && {
4779 test -z "$ac_c_werror_flag" ||
4780 test ! -s conftest.err
4781 } && test -s conftest.
$ac_objext; then
4782 ac_cv_prog_cc_c89
=$ac_arg
4784 echo "$as_me: failed program was:" >&5
4785 sed 's/^/| /' conftest.
$ac_ext >&5
4790 rm -f core conftest.err conftest.
$ac_objext
4791 test "x$ac_cv_prog_cc_c89" != "xno" && break
4793 rm -f conftest.
$ac_ext
4798 case "x$ac_cv_prog_cc_c89" in
4800 { echo "$as_me:$LINENO: result: none needed" >&5
4801 echo "${ECHO_T}none needed" >&6; } ;;
4803 { echo "$as_me:$LINENO: result: unsupported" >&5
4804 echo "${ECHO_T}unsupported" >&6; } ;;
4806 CC
="$CC $ac_cv_prog_cc_c89"
4807 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4808 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4813 ac_cpp
='$CPP $CPPFLAGS'
4814 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4815 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4816 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4818 depcc
="$CC" am_compiler_list
=
4820 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4821 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4822 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4823 echo $ECHO_N "(cached) $ECHO_C" >&6
4825 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4826 # We make a subdir and do the tests there. Otherwise we can end up
4827 # making bogus files that we don't know about and never remove. For
4828 # instance it was reported that on HP-UX the gcc test will end up
4829 # making a dummy file named `D' -- because `-MD' means `put the output
4832 # Copy depcomp to subdir because otherwise we won't find it if we're
4833 # using a relative directory.
4834 cp "$am_depcomp" conftest.dir
4836 # We will build objects and dependencies in a subdirectory because
4837 # it helps to detect inapplicable dependency modes. For instance
4838 # both Tru64's cc and ICC support -MD to output dependencies as a
4839 # side effect of compilation, but ICC will put the dependencies in
4840 # the current directory while Tru64 will put them in the object
4844 am_cv_CC_dependencies_compiler_type
=none
4845 if test "$am_compiler_list" = ""; then
4846 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4848 for depmode
in $am_compiler_list; do
4849 # Setup a source with many dependencies, because some compilers
4850 # like to wrap large dependency lists on column 80 (with \), and
4851 # we should not choose a depcomp mode which is confused by this.
4853 # We need to recreate these files for each test, as the compiler may
4854 # overwrite some of them when testing with obscure command lines.
4855 # This happens at least with the AIX C compiler.
4857 for i
in 1 2 3 4 5 6; do
4858 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4859 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4860 # Solaris 8's {/usr,}/bin/sh.
4861 touch sub
/conftst
$i.h
4863 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4867 # after this tag, mechanisms are not by side-effect, so they'll
4868 # only be used when explicitly requested
4869 if test "x$enable_dependency_tracking" = xyes
; then
4877 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4878 # mode. It turns out that the SunPro C++ compiler does not properly
4879 # handle `-M -o', and we need to detect this.
4880 if depmode
=$depmode \
4881 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4882 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4883 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4884 >/dev
/null
2>conftest.err
&&
4885 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4886 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4887 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4888 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4889 # icc doesn't choke on unknown options, it will just issue warnings
4890 # or remarks (even with -Werror). So we grep stderr for any message
4891 # that says an option was ignored or not supported.
4892 # When given -MP, icc 7.0 and 7.1 complain thusly:
4893 # icc: Command line warning: ignoring option '-M'; no argument required
4894 # The diagnosis changed in icc 8.0:
4895 # icc: Command line remark: option '-MP' not supported
4896 if (grep 'ignoring option' conftest.err ||
4897 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4898 am_cv_CC_dependencies_compiler_type
=$depmode
4907 am_cv_CC_dependencies_compiler_type
=none
4911 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4912 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4913 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4916 test "x$enable_dependency_tracking" != xno \
4917 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4919 am__fastdepCC_FALSE
='#'
4921 am__fastdepCC_TRUE
='#'
4922 am__fastdepCC_FALSE
=
4927 am_cv_prog_cc_stdc
=$ac_cv_prog_cc_stdc
4929 if test "x$CC" != xcc
; then
4930 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
4931 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
4933 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
4934 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
4936 set dummy
$CC; ac_cc
=`echo $2 |
4937 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4938 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
4939 echo $ECHO_N "(cached) $ECHO_C" >&6
4941 cat >conftest.
$ac_ext <<_ACEOF
4944 cat confdefs.h
>>conftest.
$ac_ext
4945 cat >>conftest.
$ac_ext <<_ACEOF
4946 /* end confdefs.h. */
4956 # Make sure it works both with $CC and with simple cc.
4957 # We do the test twice because some compilers refuse to overwrite an
4958 # existing .o file with -o, though they will create one.
4959 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4961 if { (case "(($ac_try" in
4962 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4963 *) ac_try_echo=$ac_try;;
4965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4966 (eval "$ac_try") 2>&5
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); } &&
4970 test -f conftest2.$ac_objext && { (case "(($ac_try" in
4971 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4972 *) ac_try_echo
=$ac_try;;
4974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4975 (eval "$ac_try") 2>&5
4977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4978 (exit $ac_status); };
4980 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
4981 if test "x$CC" != xcc
; then
4982 # Test first that cc exists at all.
4983 if { ac_try
='cc -c conftest.$ac_ext >&5'
4984 { (case "(($ac_try" in
4985 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4986 *) ac_try_echo=$ac_try;;
4988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4989 (eval "$ac_try") 2>&5
4991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992 (exit $ac_status); }; }; then
4993 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4995 if { (case "(($ac_try" in
4996 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4997 *) ac_try_echo
=$ac_try;;
4999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5000 (eval "$ac_try") 2>&5
5002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5003 (exit $ac_status); } &&
5004 test -f conftest2.
$ac_objext && { (case "(($ac_try" in
5005 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5006 *) ac_try_echo=$ac_try;;
5008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5009 (eval "$ac_try") 2>&5
5011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012 (exit $ac_status); };
5017 # cc exists but doesn't like -o.
5018 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5023 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5025 rm -f core conftest*
5028 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5029 { echo "$as_me:$LINENO: result: yes" >&5
5030 echo "${ECHO_T}yes" >&6; }
5032 { echo "$as_me:$LINENO: result: no" >&5
5033 echo "${ECHO_T}no" >&6; }
5035 cat >>confdefs.h <<\_ACEOF
5036 #define NO_MINUS_C_MINUS_O 1
5041 # FIXME: we rely on the cache variable name because
5042 # there is no other way.
5044 ac_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5045 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o
`\" != yes"; then
5046 # Losing compiler, so override with the script.
5047 # FIXME: It is wrong to rewrite CC.
5048 # But if we don't then we get into trouble of one sort or another.
5049 # A longer-term fix would be to have automake use am__CC in this case,
5050 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5051 CC="$am_aux_dir/compile $CC"
5055 { echo "$as_me:$LINENO: checking for function prototypes" >&5
5056 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
5057 if test "$ac_cv_prog_cc_c89" != no; then
5058 { echo "$as_me:$LINENO: result: yes" >&5
5059 echo "${ECHO_T}yes" >&6; }
5061 cat >>confdefs.h <<\_ACEOF
5062 #define PROTOTYPES 1
5066 cat >>confdefs.h <<\_ACEOF
5067 #define __PROTOTYPES 1
5071 { echo "$as_me:$LINENO: result: no" >&5
5072 echo "${ECHO_T}no" >&6; }
5077 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5078 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5079 if test "${ac_cv_path_GREP+set}" = set; then
5080 echo $ECHO_N "(cached) $ECHO_C" >&6
5082 # Extract the first word of "grep ggrep" to use in msg output
5083 if test -z "$GREP"; then
5084 set dummy grep ggrep; ac_prog_name=$2
5085 if test "${ac_cv_path_GREP+set}" = set; then
5086 echo $ECHO_N "(cached) $ECHO_C" >&6
5088 ac_path_GREP_found=false
5089 # Loop through the user's path and test for each of PROGNAME-LIST
5090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5091 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5094 test -z "$as_dir" && as_dir=.
5095 for ac_prog in grep ggrep; do
5096 for ac_exec_ext in '' $ac_executable_extensions; do
5097 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5098 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5099 # Check for GNU ac_path_GREP and select it if it is found.
5100 # Check for GNU $ac_path_GREP
5101 case `"$ac_path_GREP" --version 2>&1` in
5103 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5106 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5109 cat "conftest.in" "conftest.in" >"conftest.tmp"
5110 mv "conftest.tmp" "conftest.in"
5111 cp "conftest.in" "conftest.nl"
5112 echo 'GREP' >> "conftest.nl"
5113 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5114 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5115 ac_count=`expr $ac_count + 1`
5116 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5117 # Best one so far, save it but keep looking for a better one
5118 ac_cv_path_GREP="$ac_path_GREP"
5119 ac_path_GREP_max=$ac_count
5121 # 10*(2^10) chars as input seems more than enough
5122 test $ac_count -gt 10 && break
5124 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5128 $ac_path_GREP_found && break 3
5138 GREP="$ac_cv_path_GREP"
5139 if test -z "$GREP"; then
5140 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5141 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5142 { (exit 1); exit 1; }; }
5146 ac_cv_path_GREP=$GREP
5151 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5152 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5153 GREP="$ac_cv_path_GREP"
5156 { echo "$as_me:$LINENO: checking for egrep" >&5
5157 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5158 if test "${ac_cv_path_EGREP+set}" = set; then
5159 echo $ECHO_N "(cached) $ECHO_C" >&6
5161 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5162 then ac_cv_path_EGREP="$GREP -E"
5164 # Extract the first word of "egrep" to use in msg output
5165 if test -z "$EGREP"; then
5166 set dummy egrep; ac_prog_name=$2
5167 if test "${ac_cv_path_EGREP+set}" = set; then
5168 echo $ECHO_N "(cached) $ECHO_C" >&6
5170 ac_path_EGREP_found=false
5171 # Loop through the user's path and test for each of PROGNAME-LIST
5172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5173 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5176 test -z "$as_dir" && as_dir=.
5177 for ac_prog in egrep; do
5178 for ac_exec_ext in '' $ac_executable_extensions; do
5179 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5180 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5181 # Check for GNU ac_path_EGREP and select it if it is found.
5182 # Check for GNU $ac_path_EGREP
5183 case `"$ac_path_EGREP" --version 2>&1` in
5185 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5188 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5191 cat "conftest.in" "conftest.in" >"conftest.tmp"
5192 mv "conftest.tmp" "conftest.in"
5193 cp "conftest.in" "conftest.nl"
5194 echo 'EGREP' >> "conftest.nl"
5195 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5196 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5197 ac_count=`expr $ac_count + 1`
5198 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5199 # Best one so far, save it but keep looking for a better one
5200 ac_cv_path_EGREP="$ac_path_EGREP"
5201 ac_path_EGREP_max=$ac_count
5203 # 10*(2^10) chars as input seems more than enough
5204 test $ac_count -gt 10 && break
5206 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5210 $ac_path_EGREP_found && break 3
5220 EGREP="$ac_cv_path_EGREP"
5221 if test -z "$EGREP"; then
5222 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5223 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5224 { (exit 1); exit 1; }; }
5228 ac_cv_path_EGREP=$EGREP
5234 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5235 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5236 EGREP="$ac_cv_path_EGREP"
5239 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5240 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5241 if test "${ac_cv_header_stdc+set}" = set; then
5242 echo $ECHO_N "(cached) $ECHO_C" >&6
5244 cat >conftest.$ac_ext <<_ACEOF
5247 cat confdefs.h >>conftest.$ac_ext
5248 cat >>conftest.$ac_ext <<_ACEOF
5249 /* end confdefs.h. */
5263 rm -f conftest.$ac_objext
5264 if { (ac_try="$ac_compile"
5266 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5267 *) ac_try_echo
=$ac_try;;
5269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5270 (eval "$ac_compile") 2>conftest.er1
5272 grep -v '^ *+' conftest.er1
>conftest.err
5274 cat conftest.err
>&5
5275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276 (exit $ac_status); } && {
5277 test -z "$ac_c_werror_flag" ||
5278 test ! -s conftest.err
5279 } && test -s conftest.
$ac_objext; then
5280 ac_cv_header_stdc
=yes
5282 echo "$as_me: failed program was:" >&5
5283 sed 's/^/| /' conftest.
$ac_ext >&5
5285 ac_cv_header_stdc
=no
5288 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5290 if test $ac_cv_header_stdc = yes; then
5291 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5292 cat >conftest.
$ac_ext <<_ACEOF
5295 cat confdefs.h
>>conftest.
$ac_ext
5296 cat >>conftest.
$ac_ext <<_ACEOF
5297 /* end confdefs.h. */
5301 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5302 $EGREP "memchr" >/dev
/null
2>&1; then
5305 ac_cv_header_stdc
=no
5311 if test $ac_cv_header_stdc = yes; then
5312 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5313 cat >conftest.
$ac_ext <<_ACEOF
5316 cat confdefs.h
>>conftest.
$ac_ext
5317 cat >>conftest.
$ac_ext <<_ACEOF
5318 /* end confdefs.h. */
5322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5323 $EGREP "free" >/dev
/null
2>&1; then
5326 ac_cv_header_stdc
=no
5332 if test $ac_cv_header_stdc = yes; then
5333 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5334 if test "$cross_compiling" = yes; then
5337 cat >conftest.
$ac_ext <<_ACEOF
5340 cat confdefs.h
>>conftest.
$ac_ext
5341 cat >>conftest.
$ac_ext <<_ACEOF
5342 /* end confdefs.h. */
5345 #if ((' ' & 0x0FF) == 0x020)
5346 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5347 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5349 # define ISLOWER(c) \
5350 (('a' <= (c) && (c) <= 'i') \
5351 || ('j' <= (c) && (c) <= 'r') \
5352 || ('s' <= (c) && (c) <= 'z'))
5353 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5356 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5361 for (i = 0; i < 256; i++)
5362 if (XOR (islower (i), ISLOWER (i))
5363 || toupper (i) != TOUPPER (i))
5368 rm -f conftest
$ac_exeext
5369 if { (ac_try
="$ac_link"
5371 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5372 *) ac_try_echo=$ac_try;;
5374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5375 (eval "$ac_link") 2>&5
5377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5379 { (case "(($ac_try" in
5380 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5381 *) ac_try_echo
=$ac_try;;
5383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5384 (eval "$ac_try") 2>&5
5386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5387 (exit $ac_status); }; }; then
5390 echo "$as_me: program exited with status $ac_status" >&5
5391 echo "$as_me: failed program was:" >&5
5392 sed 's/^/| /' conftest.
$ac_ext >&5
5395 ac_cv_header_stdc
=no
5397 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5403 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5404 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5405 if test $ac_cv_header_stdc = yes; then
5407 cat >>confdefs.h
<<\_ACEOF
5408 #define STDC_HEADERS 1
5413 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5423 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5424 inttypes.h stdint.h unistd.h
5426 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5427 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5429 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5430 echo $ECHO_N "(cached) $ECHO_C" >&6
5432 cat >conftest.
$ac_ext <<_ACEOF
5435 cat confdefs.h
>>conftest.
$ac_ext
5436 cat >>conftest.
$ac_ext <<_ACEOF
5437 /* end confdefs.h. */
5438 $ac_includes_default
5440 #include <$ac_header>
5442 rm -f conftest.
$ac_objext
5443 if { (ac_try
="$ac_compile"
5445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5446 *) ac_try_echo=$ac_try;;
5448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5449 (eval "$ac_compile") 2>conftest.er1
5451 grep -v '^ *+' conftest.er1 >conftest.err
5453 cat conftest.err >&5
5454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5455 (exit $ac_status); } && {
5456 test -z "$ac_c_werror_flag" ||
5457 test ! -s conftest.err
5458 } && test -s conftest.$ac_objext; then
5459 eval "$as_ac_Header=yes"
5461 echo "$as_me: failed program was:" >&5
5462 sed 's/^/| /' conftest.$ac_ext >&5
5464 eval "$as_ac_Header=no"
5467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5469 ac_res=`eval echo '${'$as_ac_Header'}'`
5470 { echo "$as_me:$LINENO: result: $ac_res" >&5
5471 echo "${ECHO_T}$ac_res" >&6; }
5472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5473 cat >>confdefs.h <<_ACEOF
5474 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5483 if test "$ac_cv_prog_cc_stdc" != no; then
5486 U=_ ANSI2KNR=./ansi2knr
5488 # Ensure some checks needed by ansi2knr itself.
5491 for ac_header in string.h
5493 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5494 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5495 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5497 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5498 echo $ECHO_N "(cached) $ECHO_C" >&6
5500 ac_res=`eval echo '${'$as_ac_Header'}'`
5501 { echo "$as_me:$LINENO: result: $ac_res" >&5
5502 echo "${ECHO_T}$ac_res" >&6; }
5504 # Is the header compilable?
5505 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5506 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5507 cat >conftest.$ac_ext <<_ACEOF
5510 cat confdefs.h >>conftest.$ac_ext
5511 cat >>conftest.$ac_ext <<_ACEOF
5512 /* end confdefs.h. */
5513 $ac_includes_default
5514 #include <$ac_header>
5516 rm -f conftest.$ac_objext
5517 if { (ac_try="$ac_compile"
5519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5520 *) ac_try_echo
=$ac_try;;
5522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5523 (eval "$ac_compile") 2>conftest.er1
5525 grep -v '^ *+' conftest.er1
>conftest.err
5527 cat conftest.err
>&5
5528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5529 (exit $ac_status); } && {
5530 test -z "$ac_c_werror_flag" ||
5531 test ! -s conftest.err
5532 } && test -s conftest.
$ac_objext; then
5533 ac_header_compiler
=yes
5535 echo "$as_me: failed program was:" >&5
5536 sed 's/^/| /' conftest.
$ac_ext >&5
5538 ac_header_compiler
=no
5541 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5542 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5543 echo "${ECHO_T}$ac_header_compiler" >&6; }
5545 # Is the header present?
5546 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5547 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5548 cat >conftest.
$ac_ext <<_ACEOF
5551 cat confdefs.h
>>conftest.
$ac_ext
5552 cat >>conftest.
$ac_ext <<_ACEOF
5553 /* end confdefs.h. */
5554 #include <$ac_header>
5556 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5558 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5559 *) ac_try_echo=$ac_try;;
5561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5562 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5564 grep -v '^ *+' conftest.er1 >conftest.err
5566 cat conftest.err >&5
5567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5568 (exit $ac_status); } >/dev/null && {
5569 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5570 test ! -s conftest.err
5572 ac_header_preproc=yes
5574 echo "$as_me: failed program was:" >&5
5575 sed 's/^/| /' conftest.$ac_ext >&5
5577 ac_header_preproc=no
5580 rm -f conftest.err conftest.$ac_ext
5581 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5582 echo "${ECHO_T}$ac_header_preproc" >&6; }
5584 # So? What about this header?
5585 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5587 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5588 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5590 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5591 ac_header_preproc=yes
5594 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5595 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5596 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5597 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5598 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5599 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5600 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5601 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5603 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5604 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5605 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5607 ## ------------------------------------------- ##
5608 ## Report this to systemtap@sources.redhat.com ##
5609 ## ------------------------------------------- ##
5611 ) | sed "s/^/$as_me: WARNING: /" >&2
5614 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5616 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5617 echo $ECHO_N "(cached) $ECHO_C" >&6
5619 eval "$as_ac_Header=\$ac_header_preproc"
5621 ac_res=`eval echo '${'$as_ac_Header'}'`
5622 { echo "$as_me:$LINENO: result: $ac_res" >&5
5623 echo "${ECHO_T}$ac_res" >&6; }
5626 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5627 cat >>confdefs.h <<_ACEOF
5628 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5636 if test -n "$ac_tool_prefix"; then
5637 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5638 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5639 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5641 if test "${ac_cv_prog_RANLIB+set}" = set; then
5642 echo $ECHO_N "(cached) $ECHO_C" >&6
5644 if test -n "$RANLIB"; then
5645 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5651 test -z "$as_dir" && as_dir=.
5652 for ac_exec_ext in '' $ac_executable_extensions; do
5653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5654 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5664 RANLIB=$ac_cv_prog_RANLIB
5665 if test -n "$RANLIB"; then
5666 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5667 echo "${ECHO_T}$RANLIB" >&6; }
5669 { echo "$as_me:$LINENO: result: no" >&5
5670 echo "${ECHO_T}no" >&6; }
5675 if test -z "$ac_cv_prog_RANLIB"; then
5676 ac_ct_RANLIB=$RANLIB
5677 # Extract the first word of "ranlib", so it can be a program name with args.
5678 set dummy ranlib; ac_word=$2
5679 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5681 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5682 echo $ECHO_N "(cached) $ECHO_C" >&6
5684 if test -n "$ac_ct_RANLIB"; then
5685 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5691 test -z "$as_dir" && as_dir=.
5692 for ac_exec_ext in '' $ac_executable_extensions; do
5693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5694 ac_cv_prog_ac_ct_RANLIB="ranlib"
5695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5704 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5705 if test -n "$ac_ct_RANLIB"; then
5706 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5707 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5709 { echo "$as_me:$LINENO: result: no" >&5
5710 echo "${ECHO_T}no" >&6; }
5713 if test "x$ac_ct_RANLIB" = x; then
5716 case $cross_compiling:$ac_tool_warned in
5718 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5719 whose name does not start with the host triplet. If you think this
5720 configuration is useful to you, please write to autoconf@gnu.org." >&5
5721 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5722 whose name does not start with the host triplet. If you think this
5723 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5724 ac_tool_warned=yes ;;
5726 RANLIB=$ac_ct_RANLIB
5729 RANLIB="$ac_cv_prog_RANLIB"
5734 # Find a good install program. We prefer a C program (faster),
5735 # so one script is as good as another. But avoid the broken or
5736 # incompatible versions:
5737 # SysV /etc/install, /usr/sbin/install
5738 # SunOS /usr/etc/install
5739 # IRIX /sbin/install
5741 # AmigaOS /C/install, which installs bootblocks on floppy discs
5742 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5743 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5744 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5745 # OS/2's system install, which has a completely different semantic
5746 # ./install, which can be erroneously created by make from ./install.sh.
5747 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5748 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5749 if test -z "$INSTALL"; then
5750 if test "${ac_cv_path_install+set}" = set; then
5751 echo $ECHO_N "(cached) $ECHO_C" >&6
5753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5757 test -z "$as_dir" && as_dir=.
5758 # Account for people who put trailing slashes in PATH elements.
5760 ./ | .// | /cC/* | \
5761 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5762 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5765 # OSF1 and SCO ODT 3.0 have their own names for install.
5766 # Don't use installbsd from OSF since it installs stuff as root
5768 for ac_prog in ginstall scoinst install; do
5769 for ac_exec_ext in '' $ac_executable_extensions; do
5770 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5771 if test $ac_prog = install &&
5772 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5773 # AIX install. It has an incompatible calling convention.
5775 elif test $ac_prog = install &&
5776 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5777 # program-specific install script used by HP pwplus--don't use.
5780 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5793 if test "${ac_cv_path_install+set}" = set; then
5794 INSTALL=$ac_cv_path_install
5796 # As a last resort, use the slow shell script. Don't cache a
5797 # value for INSTALL within a source directory, because that will
5798 # break other packages using the cache if that directory is
5799 # removed, or if the value is a relative name.
5800 INSTALL=$ac_install_sh
5803 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5804 echo "${ECHO_T}$INSTALL" >&6; }
5806 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5807 # It thinks the first close brace ends the variable substitution.
5808 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5810 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5812 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5814 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5815 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
5816 set x ${MAKE-make}; ac_make=`echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5817 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
5818 echo $ECHO_N "(cached) $ECHO_C" >&6
5820 cat >conftest.make <<\_ACEOF
5823 @echo '@@@%%%=$(MAKE)=@@@%%%'
5825 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5826 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
5828 eval ac_cv_prog_make_${ac_make}_set=yes;;
5830 eval ac_cv_prog_make_${ac_make}_set=no;;
5834 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5835 { echo "$as_me:$LINENO: result: yes" >&5
5836 echo "${ECHO_T}yes" >&6; }
5839 { echo "$as_me:$LINENO: result: no" >&5
5840 echo "${ECHO_T}no" >&6; }
5841 SET_MAKE="MAKE=${MAKE-make}"
5847 # Check whether --enable-perfmon was given.
5848 if test "${enable_perfmon+set}" = set; then
5849 enableval=$enable_perfmon;
5850 if test "$enable_perfmon" != "no"; then
5851 CPPFLAGS="$CPPFLAGS -DPERFMON"
5853 if test "$enable_perfmon" != "yes"; then
5854 CPPFLAGS="$CPPFLAGS -I$enable_perfmon/include"
5855 LDFLAGS="$LDFLAGS -L$enable_perfmon/lib"
5858 { echo "$as_me:$LINENO: checking for pfm_start in -lpfm" >&5
5859 echo $ECHO_N "checking for pfm_start in -lpfm... $ECHO_C" >&6; }
5860 if test "${ac_cv_lib_pfm_pfm_start+set}" = set; then
5861 echo $ECHO_N "(cached) $ECHO_C" >&6
5863 ac_check_lib_save_LIBS=$LIBS
5865 cat >conftest.$ac_ext <<_ACEOF
5868 cat confdefs.h >>conftest.$ac_ext
5869 cat >>conftest.$ac_ext <<_ACEOF
5870 /* end confdefs.h. */
5872 /* Override any GCC internal prototype to avoid an error.
5873 Use char because int might match the return type of a GCC
5874 builtin and then its argument prototype would still apply. */
5882 return pfm_start ();
5887 rm -f conftest.$ac_objext conftest$ac_exeext
5888 if { (ac_try="$ac_link"
5890 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5891 *) ac_try_echo
=$ac_try;;
5893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5894 (eval "$ac_link") 2>conftest.er1
5896 grep -v '^ *+' conftest.er1
>conftest.err
5898 cat conftest.err
>&5
5899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5900 (exit $ac_status); } && {
5901 test -z "$ac_c_werror_flag" ||
5902 test ! -s conftest.err
5903 } && test -s conftest
$ac_exeext &&
5904 $as_test_x conftest
$ac_exeext; then
5905 ac_cv_lib_pfm_pfm_start
=yes
5907 echo "$as_me: failed program was:" >&5
5908 sed 's/^/| /' conftest.
$ac_ext >&5
5910 ac_cv_lib_pfm_pfm_start
=no
5913 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5914 conftest
$ac_exeext conftest.
$ac_ext
5915 LIBS
=$ac_check_lib_save_LIBS
5917 { echo "$as_me:$LINENO: result: $ac_cv_lib_pfm_pfm_start" >&5
5918 echo "${ECHO_T}$ac_cv_lib_pfm_pfm_start" >&6; }
5919 if test $ac_cv_lib_pfm_pfm_start = yes; then
5920 cat >>confdefs.h
<<_ACEOF
5921 #define HAVE_LIBPFM 1
5928 { { echo "$as_me:$LINENO: error: systemtap cannot find required perfmon libs (libpfm-devel may need to be installed" >&5
5929 echo "$as_me: error: systemtap cannot find required perfmon libs (libpfm-devel may need to be installed" >&2;}
5930 { (exit 1); exit 1; }; }
5937 if test "${enable_prologues+set}" != set; then
5938 { echo "$as_me:$LINENO: checking to see if prologue searching should be the default" >&5
5939 echo $ECHO_N "checking to see if prologue searching should be the default... $ECHO_C" >&6; }
5940 if { echo '#if __i386__ == 1 && __GNUC__ < 4'
5942 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
5943 enable_prologues
=yes
5944 { echo "$as_me:$LINENO: result: yes" >&5
5945 echo "${ECHO_T}yes" >&6; }
5947 { echo "$as_me:$LINENO: result: no" >&5
5948 echo "${ECHO_T}no" >&6; }
5951 # Check whether --enable-prologues was given.
5952 if test "${enable_prologues+set}" = set; then
5953 enableval
=$enable_prologues;
5954 if test "$enable_prologues" = yes; then
5956 cat >>confdefs.h
<<\_ACEOF
5957 #define ENABLE_PROLOGUES
5964 # Check whether --enable-ssp was given.
5965 if test "${enable_ssp+set}" = set; then
5966 enableval
=$enable_ssp;
5969 if test "x$enable_ssp" != xno
; then
5971 save_CFLAGS
="$CFLAGS"
5972 save_CXXFLAGS
="$CXXFLAGS"
5973 CXXFLAGS
="$CXXFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
5974 CFLAGS
="$CFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
5975 cat >conftest.
$ac_ext <<_ACEOF
5978 rm -f conftest.
$ac_objext
5979 if { (ac_try
="$ac_compile"
5981 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5982 *) ac_try_echo=$ac_try;;
5984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5985 (eval "$ac_compile") 2>conftest.er1
5987 grep -v '^ *+' conftest.er1 >conftest.err
5989 cat conftest.err >&5
5990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5991 (exit $ac_status); } && {
5992 test -z "$ac_c_werror_flag" ||
5993 test ! -s conftest.err
5994 } && test -s conftest.$ac_objext; then
5996 { echo "$as_me:$LINENO: Compiling with gcc -fstack-protector-all et al." >&5
5997 echo "$as_me: Compiling with gcc -fstack-protector-all et al." >&6;}
5998 CFLAGS="$save_CFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
5999 CXFXLAGS="$save_CXXFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
6001 echo "$as_me: failed program was:" >&5
6002 sed 's/^/| /' conftest.$ac_ext >&5
6005 { echo "$as_me:$LINENO: Compiler does not support -fstack-protector-all et al." >&5
6006 echo "$as_me: Compiler does not support -fstack-protector-all et al." >&6;}
6007 CFLAGS="$save_CFLAGS"
6008 CXXFLAGS="$save_CXXFLAGS"
6011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6015 # Check whether --enable-pie was given.
6016 if test "${enable_pie+set}" = set; then
6017 enableval=$enable_pie;
6020 if test "x$enable_pie" != xno; then
6022 save_CFLAGS="$CFLAGS"
6023 save_CXXFLAGS="$CXXFLAGS"
6024 save_LDFLAGS="$LDFLAGS"
6025 CFLAGS="$CFLAGS -fPIE"
6026 CXXFLAGS="$CXXFLAGS -fPIE"
6027 LDFLAGS="$LDFLAGS -pie -Wl,-z,relro -Wl,-z,now"
6028 cat >conftest.$ac_ext <<_ACEOF
6031 rm -f conftest.$ac_objext conftest$ac_exeext
6032 if { (ac_try="$ac_link"
6034 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6035 *) ac_try_echo
=$ac_try;;
6037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6038 (eval "$ac_link") 2>conftest.er1
6040 grep -v '^ *+' conftest.er1
>conftest.err
6042 cat conftest.err
>&5
6043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6044 (exit $ac_status); } && {
6045 test -z "$ac_c_werror_flag" ||
6046 test ! -s conftest.err
6047 } && test -s conftest
$ac_exeext &&
6048 $as_test_x conftest
$ac_exeext; then
6050 { echo "$as_me:$LINENO: Compiling with gcc pie et al." >&5
6051 echo "$as_me: Compiling with gcc pie et al." >&6;}
6052 # LDFLAGS is special since it may be passed down to bundled-elfutils,
6053 # and interfere with the .so's built therein
6054 PIELDFLAGS
="$LDFLAGS -pie -Wl,-z,relro -Wl,-z,now"
6055 LDFLAGS
="$save_LDFLAGS"
6058 echo "$as_me: failed program was:" >&5
6059 sed 's/^/| /' conftest.
$ac_ext >&5
6062 { echo "$as_me:$LINENO: Compiler does not support -pie et al." >&5
6063 echo "$as_me: Compiler does not support -pie et al." >&6;}
6064 CFLAGS
="$save_CFLAGS"
6065 CXXFLAGS
="$save_CXXFLAGS"
6067 LDFLAGS
="$save_LDFLAGS"
6070 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6071 conftest
$ac_exeext conftest.
$ac_ext
6076 # Check whether --enable-sqlite was given.
6077 if test "${enable_sqlite+set}" = set; then
6078 enableval
=$enable_sqlite;
6083 if test "x$enable_sqlite" != xno
; then
6084 { echo "$as_me:$LINENO: checking for sqlite3_open in -lsqlite3" >&5
6085 echo $ECHO_N "checking for sqlite3_open in -lsqlite3... $ECHO_C" >&6; }
6086 if test "${ac_cv_lib_sqlite3_sqlite3_open+set}" = set; then
6087 echo $ECHO_N "(cached) $ECHO_C" >&6
6089 ac_check_lib_save_LIBS
=$LIBS
6090 LIBS
="-lsqlite3 $LIBS"
6091 cat >conftest.
$ac_ext <<_ACEOF
6094 cat confdefs.h
>>conftest.
$ac_ext
6095 cat >>conftest.
$ac_ext <<_ACEOF
6096 /* end confdefs.h. */
6098 /* Override any GCC internal prototype to avoid an error.
6099 Use char because int might match the return type of a GCC
6100 builtin and then its argument prototype would still apply. */
6104 char sqlite3_open ();
6108 return sqlite3_open ();
6113 rm -f conftest.
$ac_objext conftest
$ac_exeext
6114 if { (ac_try
="$ac_link"
6116 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6117 *) ac_try_echo=$ac_try;;
6119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6120 (eval "$ac_link") 2>conftest.er1
6122 grep -v '^ *+' conftest.er1 >conftest.err
6124 cat conftest.err >&5
6125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126 (exit $ac_status); } && {
6127 test -z "$ac_c_werror_flag" ||
6128 test ! -s conftest.err
6129 } && test -s conftest$ac_exeext &&
6130 $as_test_x conftest$ac_exeext; then
6131 ac_cv_lib_sqlite3_sqlite3_open=yes
6133 echo "$as_me: failed program was:" >&5
6134 sed 's/^/| /' conftest.$ac_ext >&5
6136 ac_cv_lib_sqlite3_sqlite3_open=no
6139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6140 conftest$ac_exeext conftest.$ac_ext
6141 LIBS=$ac_check_lib_save_LIBS
6143 { echo "$as_me:$LINENO: result: $ac_cv_lib_sqlite3_sqlite3_open" >&5
6144 echo "${ECHO_T}$ac_cv_lib_sqlite3_sqlite3_open" >&6; }
6145 if test $ac_cv_lib_sqlite3_sqlite3_open = yes; then
6146 sqlite3_LIBS=-lsqlite3
6149 cat >>confdefs.h <<\_ACEOF
6150 #define HAVE_LIBSQLITE3 1
6154 if test "x$enable_sqlite" != xcheck; then
6155 { { echo "$as_me:$LINENO: error: --enable-sqlite was given, but test for sqlite failed
6156 See \`config.log
' for more details." >&5
6157 echo "$as_me: error: --enable-sqlite was given, but test for sqlite failed
6158 See \`config.log' for more details.
" >&2;}
6159 { (exit 1); exit 1; }; }
6166 # Check whether --enable-crash was given.
6167 if test "${enable_crash+set}" = set; then
6168 enableval=$enable_crash; if test "$enable_crash" != "no
"; then
6169 save_CPPFLAGS="$CPPFLAGS"
6170 if test "$enable_crash" != "yes"; then
6171 staplog_CPPFLAGS=-I$enable_crash
6172 CPPFLAGS="${staplog_CPPFLAGS} $CPPFLAGS"
6176 for ac_header in crash/defs.h
6178 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
6179 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
6180 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
6181 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6182 echo $ECHO_N "(cached
) $ECHO_C" >&6
6184 cat >conftest.$ac_ext <<_ACEOF
6187 cat confdefs.h >>conftest.$ac_ext
6188 cat >>conftest.$ac_ext <<_ACEOF
6189 /* end confdefs.h. */
6194 #include <$ac_header>
6196 rm -f conftest.$ac_objext
6197 if { (ac_try="$ac_compile"
6199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6200 *) ac_try_echo=$ac_try;;
6202 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6203 (eval "$ac_compile") 2>conftest.er1
6205 grep -v '^ *+' conftest.er1 >conftest.err
6207 cat conftest.err >&5
6208 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6209 (exit $ac_status); } && {
6210 test -z "$ac_c_werror_flag" ||
6211 test ! -s conftest.err
6212 } && test -s conftest.$ac_objext; then
6213 eval "$as_ac_Header=yes"
6215 echo "$as_me: failed program was
:" >&5
6216 sed 's/^/| /' conftest.$ac_ext >&5
6218 eval "$as_ac_Header=no
"
6221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6223 ac_res=`eval echo '${'$as_ac_Header'}'`
6224 { echo "$as_me:$LINENO: result
: $ac_res" >&5
6225 echo "${ECHO_T}$ac_res" >&6; }
6226 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6227 cat >>confdefs.h <<_ACEOF
6228 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
6232 { { echo "$as_me:$LINENO: error
: cannot
find required crash header
(crash-devel may need to be installed
)" >&5
6233 echo "$as_me: error
: cannot
find required crash header
(crash-devel may need to be installed
)" >&2;}
6234 { (exit 1); exit 1; }; }
6239 CPPFLAGS="$save_CPPFLAGS"
6245 if test "$enable_crash" != "no
"; then
6246 BUILD_CRASHMOD_TRUE=
6247 BUILD_CRASHMOD_FALSE='#'
6249 BUILD_CRASHMOD_TRUE='#'
6250 BUILD_CRASHMOD_FALSE=
6254 # Check whether --enable-docs was given.
6255 if test "${enable_docs+set}" = set; then
6256 enableval=$enable_docs; enable_docs=$enableval
6261 # Extract the first word of "latex
", so it can be a program name with args.
6262 set dummy latex; ac_word=$2
6263 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6264 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6265 if test "${ac_cv_prog_have_latex+set}" = set; then
6266 echo $ECHO_N "(cached
) $ECHO_C" >&6
6268 if test -n "$have_latex"; then
6269 ac_cv_prog_have_latex="$have_latex" # Let the user override the test.
6271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6275 test -z "$as_dir" && as_dir=.
6276 for ac_exec_ext in '' $ac_executable_extensions; do
6277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6278 ac_cv_prog_have_latex="yes"
6279 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6286 test -z "$ac_cv_prog_have_latex" && ac_cv_prog_have_latex="no
"
6289 have_latex=$ac_cv_prog_have_latex
6290 if test -n "$have_latex"; then
6291 { echo "$as_me:$LINENO: result
: $have_latex" >&5
6292 echo "${ECHO_T}$have_latex" >&6; }
6294 { echo "$as_me:$LINENO: result
: no
" >&5
6295 echo "${ECHO_T}no
" >&6; }
6299 # Extract the first word of "dvips
", so it can be a program name with args.
6300 set dummy dvips; ac_word=$2
6301 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6302 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6303 if test "${ac_cv_prog_have_dvips+set}" = set; then
6304 echo $ECHO_N "(cached
) $ECHO_C" >&6
6306 if test -n "$have_dvips"; then
6307 ac_cv_prog_have_dvips="$have_dvips" # Let the user override the test.
6309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6313 test -z "$as_dir" && as_dir=.
6314 for ac_exec_ext in '' $ac_executable_extensions; do
6315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6316 ac_cv_prog_have_dvips="yes"
6317 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6324 test -z "$ac_cv_prog_have_dvips" && ac_cv_prog_have_dvips="no
"
6327 have_dvips=$ac_cv_prog_have_dvips
6328 if test -n "$have_dvips"; then
6329 { echo "$as_me:$LINENO: result
: $have_dvips" >&5
6330 echo "${ECHO_T}$have_dvips" >&6; }
6332 { echo "$as_me:$LINENO: result
: no
" >&5
6333 echo "${ECHO_T}no
" >&6; }
6337 # Extract the first word of "ps2pdf
", so it can be a program name with args.
6338 set dummy ps2pdf; ac_word=$2
6339 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6340 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6341 if test "${ac_cv_prog_have_ps2pdf+set}" = set; then
6342 echo $ECHO_N "(cached
) $ECHO_C" >&6
6344 if test -n "$have_ps2pdf"; then
6345 ac_cv_prog_have_ps2pdf="$have_ps2pdf" # Let the user override the test.
6347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6351 test -z "$as_dir" && as_dir=.
6352 for ac_exec_ext in '' $ac_executable_extensions; do
6353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6354 ac_cv_prog_have_ps2pdf="yes"
6355 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6362 test -z "$ac_cv_prog_have_ps2pdf" && ac_cv_prog_have_ps2pdf="no
"
6365 have_ps2pdf=$ac_cv_prog_have_ps2pdf
6366 if test -n "$have_ps2pdf"; then
6367 { echo "$as_me:$LINENO: result
: $have_ps2pdf" >&5
6368 echo "${ECHO_T}$have_ps2pdf" >&6; }
6370 { echo "$as_me:$LINENO: result
: no
" >&5
6371 echo "${ECHO_T}no
" >&6; }
6375 # Extract the first word of "latex2html
", so it can be a program name with args.
6376 set dummy latex2html; ac_word=$2
6377 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6378 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6379 if test "${ac_cv_prog_have_latex2html+set}" = set; then
6380 echo $ECHO_N "(cached
) $ECHO_C" >&6
6382 if test -n "$have_latex2html"; then
6383 ac_cv_prog_have_latex2html="$have_latex2html" # Let the user override the test.
6385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6389 test -z "$as_dir" && as_dir=.
6390 for ac_exec_ext in '' $ac_executable_extensions; do
6391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6392 ac_cv_prog_have_latex2html="yes"
6393 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6400 test -z "$ac_cv_prog_have_latex2html" && ac_cv_prog_have_latex2html="no
"
6403 have_latex2html=$ac_cv_prog_have_latex2html
6404 if test -n "$have_latex2html"; then
6405 { echo "$as_me:$LINENO: result
: $have_latex2html" >&5
6406 echo "${ECHO_T}$have_latex2html" >&6; }
6408 { echo "$as_me:$LINENO: result
: no
" >&5
6409 echo "${ECHO_T}no
" >&6; }
6413 if test "$enable_docs" == "yes"; then
6414 if test "x
${have_latex}${have_dvips}${have_ps2pdf}${have_latex2html}" != "xyesyesyesyes
"; then
6415 { { echo "$as_me:$LINENO: error
: cannot
find all tools
for building documentation
" >&5
6416 echo "$as_me: error
: cannot
find all tools
for building documentation
" >&2;}
6417 { (exit 1); exit 1; }; }
6420 if test "x
${have_latex}${have_dvips}${have_ps2pdf}${have_latex2html}" == "xyesyesyesyes
" -a "$enable_docs" != "no
"; then
6422 BUILD_DOCS_FALSE='#'
6430 for ac_header in sys/capability.h
6432 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
6433 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6434 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
6435 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
6436 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6437 echo $ECHO_N "(cached
) $ECHO_C" >&6
6439 ac_res=`eval echo '${'$as_ac_Header'}'`
6440 { echo "$as_me:$LINENO: result
: $ac_res" >&5
6441 echo "${ECHO_T}$ac_res" >&6; }
6443 # Is the header compilable?
6444 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
6445 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
6446 cat >conftest.$ac_ext <<_ACEOF
6449 cat confdefs.h >>conftest.$ac_ext
6450 cat >>conftest.$ac_ext <<_ACEOF
6451 /* end confdefs.h. */
6452 $ac_includes_default
6453 #include <$ac_header>
6455 rm -f conftest.$ac_objext
6456 if { (ac_try="$ac_compile"
6458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6459 *) ac_try_echo=$ac_try;;
6461 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6462 (eval "$ac_compile") 2>conftest.er1
6464 grep -v '^ *+' conftest.er1 >conftest.err
6466 cat conftest.err >&5
6467 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6468 (exit $ac_status); } && {
6469 test -z "$ac_c_werror_flag" ||
6470 test ! -s conftest.err
6471 } && test -s conftest.$ac_objext; then
6472 ac_header_compiler=yes
6474 echo "$as_me: failed program was
:" >&5
6475 sed 's/^/| /' conftest.$ac_ext >&5
6477 ac_header_compiler=no
6480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6481 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
6482 echo "${ECHO_T}$ac_header_compiler" >&6; }
6484 # Is the header present?
6485 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
6486 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
6487 cat >conftest.$ac_ext <<_ACEOF
6490 cat confdefs.h >>conftest.$ac_ext
6491 cat >>conftest.$ac_ext <<_ACEOF
6492 /* end confdefs.h. */
6493 #include <$ac_header>
6495 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6498 *) ac_try_echo=$ac_try;;
6500 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6501 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6503 grep -v '^ *+' conftest.er1 >conftest.err
6505 cat conftest.err >&5
6506 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6507 (exit $ac_status); } >/dev/null && {
6508 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6509 test ! -s conftest.err
6511 ac_header_preproc=yes
6513 echo "$as_me: failed program was
:" >&5
6514 sed 's/^/| /' conftest.$ac_ext >&5
6516 ac_header_preproc=no
6519 rm -f conftest.err conftest.$ac_ext
6520 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
6521 echo "${ECHO_T}$ac_header_preproc" >&6; }
6523 # So? What about this header?
6524 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6526 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
6527 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
6528 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
6529 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
6530 ac_header_preproc=yes
6533 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
6534 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
6535 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
6536 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
6537 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
6538 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
6539 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
6540 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
6541 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
6542 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
6543 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
6544 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
6546 ## ------------------------------------------- ##
6547 ## Report this to systemtap@sources.redhat.com ##
6548 ## ------------------------------------------- ##
6550 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
6553 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
6554 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
6555 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6556 echo $ECHO_N "(cached
) $ECHO_C" >&6
6558 eval "$as_ac_Header=\
$ac_header_preproc"
6560 ac_res=`eval echo '${'$as_ac_Header'}'`
6561 { echo "$as_me:$LINENO: result
: $ac_res" >&5
6562 echo "${ECHO_T}$ac_res" >&6; }
6565 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6566 cat >>confdefs.h <<_ACEOF
6567 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
6571 { { echo "$as_me:$LINENO: error
: cannot
find required libcap header
(libcap-devel may need to be installed
)" >&5
6572 echo "$as_me: error
: cannot
find required libcap header
(libcap-devel may need to be installed
)" >&2;}
6573 { (exit 1); exit 1; }; }
6581 # Check whether --with-elfutils was given.
6582 if test "${with_elfutils+set}" = set; then
6583 withval=$with_elfutils;
6584 case "$with_elfutils" in
6585 yes) { { echo "$as_me:$LINENO: error
: --with-elfutils requires an argument
" >&5
6586 echo "$as_me: error
: --with-elfutils requires an argument
" >&2;}
6587 { (exit 1); exit 1; }; } ;;
6589 *) build_elfutils=yes ;;
6593 if test $build_elfutils = yes; then
6594 BUILD_ELFUTILS_TRUE=
6595 BUILD_ELFUTILS_FALSE='#'
6597 BUILD_ELFUTILS_TRUE='#'
6598 BUILD_ELFUTILS_FALSE=
6601 elfutils_abs_srcdir=`if test $build_elfutils = yes; then
6602 cd $with_elfutils && pwd
6607 if test $build_elfutils = no; then
6608 # Need libdwfl-capable recent elfutils from Fedora
6611 { echo "$as_me:$LINENO: checking
for dwfl_module_getsym
in -ldw" >&5
6612 echo $ECHO_N "checking
for dwfl_module_getsym
in -ldw...
$ECHO_C" >&6; }
6613 if test "${ac_cv_lib_dw_dwfl_module_getsym+set}" = set; then
6614 echo $ECHO_N "(cached
) $ECHO_C" >&6
6616 ac_check_lib_save_LIBS=$LIBS
6618 cat >conftest.$ac_ext <<_ACEOF
6621 cat confdefs.h >>conftest.$ac_ext
6622 cat >>conftest.$ac_ext <<_ACEOF
6623 /* end confdefs.h. */
6625 /* Override any GCC internal prototype to avoid an error.
6626 Use char because int might match the return type of a GCC
6627 builtin and then its argument prototype would still apply. */
6631 char dwfl_module_getsym ();
6635 return dwfl_module_getsym ();
6640 rm -f conftest.$ac_objext conftest$ac_exeext
6641 if { (ac_try="$ac_link"
6643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6644 *) ac_try_echo=$ac_try;;
6646 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6647 (eval "$ac_link") 2>conftest.er1
6649 grep -v '^ *+' conftest.er1 >conftest.err
6651 cat conftest.err >&5
6652 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6653 (exit $ac_status); } && {
6654 test -z "$ac_c_werror_flag" ||
6655 test ! -s conftest.err
6656 } && test -s conftest$ac_exeext &&
6657 $as_test_x conftest$ac_exeext; then
6658 ac_cv_lib_dw_dwfl_module_getsym=yes
6660 echo "$as_me: failed program was
:" >&5
6661 sed 's/^/| /' conftest.$ac_ext >&5
6663 ac_cv_lib_dw_dwfl_module_getsym=no
6666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6667 conftest$ac_exeext conftest.$ac_ext
6668 LIBS=$ac_check_lib_save_LIBS
6670 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dw_dwfl_module_getsym" >&5
6671 echo "${ECHO_T}$ac_cv_lib_dw_dwfl_module_getsym" >&6; }
6672 if test $ac_cv_lib_dw_dwfl_module_getsym = yes; then
6673 cat >>confdefs.h <<_ACEOF
6674 #define HAVE_LIBDW 1
6681 { { echo "$as_me:$LINENO: error
: missing elfutils development headers
/libraries
(dw
0.123+)" >&5
6682 echo "$as_me: error
: missing elfutils development headers
/libraries
(dw
0.123+)" >&2;}
6683 { (exit 1); exit 1; }; }
6687 { echo "$as_me:$LINENO: checking
for ebl_openbackend
in -lebl" >&5
6688 echo $ECHO_N "checking
for ebl_openbackend
in -lebl...
$ECHO_C" >&6; }
6689 if test "${ac_cv_lib_ebl_ebl_openbackend+set}" = set; then
6690 echo $ECHO_N "(cached
) $ECHO_C" >&6
6692 ac_check_lib_save_LIBS=$LIBS
6694 cat >conftest.$ac_ext <<_ACEOF
6697 cat confdefs.h >>conftest.$ac_ext
6698 cat >>conftest.$ac_ext <<_ACEOF
6699 /* end confdefs.h. */
6701 /* Override any GCC internal prototype to avoid an error.
6702 Use char because int might match the return type of a GCC
6703 builtin and then its argument prototype would still apply. */
6707 char ebl_openbackend ();
6711 return ebl_openbackend ();
6716 rm -f conftest.$ac_objext conftest$ac_exeext
6717 if { (ac_try="$ac_link"
6719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6720 *) ac_try_echo=$ac_try;;
6722 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6723 (eval "$ac_link") 2>conftest.er1
6725 grep -v '^ *+' conftest.er1 >conftest.err
6727 cat conftest.err >&5
6728 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6729 (exit $ac_status); } && {
6730 test -z "$ac_c_werror_flag" ||
6731 test ! -s conftest.err
6732 } && test -s conftest$ac_exeext &&
6733 $as_test_x conftest$ac_exeext; then
6734 ac_cv_lib_ebl_ebl_openbackend=yes
6736 echo "$as_me: failed program was
:" >&5
6737 sed 's/^/| /' conftest.$ac_ext >&5
6739 ac_cv_lib_ebl_ebl_openbackend=no
6742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6743 conftest$ac_exeext conftest.$ac_ext
6744 LIBS=$ac_check_lib_save_LIBS
6746 { echo "$as_me:$LINENO: result
: $ac_cv_lib_ebl_ebl_openbackend" >&5
6747 echo "${ECHO_T}$ac_cv_lib_ebl_ebl_openbackend" >&6; }
6748 if test $ac_cv_lib_ebl_ebl_openbackend = yes; then
6749 cat >>confdefs.h <<_ACEOF
6750 #define HAVE_LIBEBL 1
6757 { { echo "$as_me:$LINENO: error
: missing elfutils development headers
/libraries
(ebl
0.123+)" >&5
6758 echo "$as_me: error
: missing elfutils development headers
/libraries
(ebl
0.123+)" >&2;}
6759 { (exit 1); exit 1; }; }
6766 # We built our own and stap_LDFLAGS points at the install.
6767 stap_LIBS="-ldw -lebl"
6771 { echo "$as_me:$LINENO: stap will link
$stap_LIBS" >&5
6772 echo "$as_me: stap will link
$stap_LIBS" >&6;}
6774 date=`date +%Y-%m-%d`
6776 cat >>confdefs.h <<_ACEOF
6777 #define DATE "$date"
6784 # This procflags business is for staprun/stapio, which need to
6785 # be compiled with the same bitness as the kernel. On e.g. PPC,
6786 # userspace might be 32-bit default, but staprun needs to be
6787 # 64-bit. See also bug #4037.
6789 processor=`uname -p`
6790 case "$processor" in
6791 ppc64) PROCFLAGS=-m64 ;;
6792 x86_64) PROCFLAGS=-m64 ;;
6797 # -lcap is used for staprun, so PROCFLAGS comes in to play
6799 SAVE_CFLAGS="$CFLAGS"
6800 CFLAGS="$CFLAGS $PROCFLAGS"
6802 { echo "$as_me:$LINENO: checking
for cap_init
in -lcap" >&5
6803 echo $ECHO_N "checking
for cap_init
in -lcap...
$ECHO_C" >&6; }
6804 if test "${ac_cv_lib_cap_cap_init+set}" = set; then
6805 echo $ECHO_N "(cached
) $ECHO_C" >&6
6807 ac_check_lib_save_LIBS=$LIBS
6809 cat >conftest.$ac_ext <<_ACEOF
6812 cat confdefs.h >>conftest.$ac_ext
6813 cat >>conftest.$ac_ext <<_ACEOF
6814 /* end confdefs.h. */
6816 /* Override any GCC internal prototype to avoid an error.
6817 Use char because int might match the return type of a GCC
6818 builtin and then its argument prototype would still apply. */
6831 rm -f conftest.$ac_objext conftest$ac_exeext
6832 if { (ac_try="$ac_link"
6834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6835 *) ac_try_echo=$ac_try;;
6837 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6838 (eval "$ac_link") 2>conftest.er1
6840 grep -v '^ *+' conftest.er1 >conftest.err
6842 cat conftest.err >&5
6843 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6844 (exit $ac_status); } && {
6845 test -z "$ac_c_werror_flag" ||
6846 test ! -s conftest.err
6847 } && test -s conftest$ac_exeext &&
6848 $as_test_x conftest$ac_exeext; then
6849 ac_cv_lib_cap_cap_init=yes
6851 echo "$as_me: failed program was
:" >&5
6852 sed 's/^/| /' conftest.$ac_ext >&5
6854 ac_cv_lib_cap_cap_init=no
6857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6858 conftest$ac_exeext conftest.$ac_ext
6859 LIBS=$ac_check_lib_save_LIBS
6861 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cap_cap_init" >&5
6862 echo "${ECHO_T}$ac_cv_lib_cap_cap_init" >&6; }
6863 if test $ac_cv_lib_cap_cap_init = yes; then
6864 cat >>confdefs.h <<_ACEOF
6865 #define HAVE_LIBCAP 1
6871 { { echo "$as_me:$LINENO: error
: need
$PROCFLAGS -lcap" >&5
6872 echo "$as_me: error
: need
$PROCFLAGS -lcap" >&2;}
6873 { (exit 1); exit 1; }; }
6879 CFLAGS="$SAVE_CFLAGS"
6881 # Use tr1/unordered_map if available
6883 ac_cpp='$CXXCPP $CPPFLAGS'
6884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6890 ac_cpp='$CXXCPP $CPPFLAGS'
6891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6894 { echo "$as_me:$LINENO: checking how to run the C
++ preprocessor
" >&5
6895 echo $ECHO_N "checking how to run the C
++ preprocessor...
$ECHO_C" >&6; }
6896 if test -z "$CXXCPP"; then
6897 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6898 echo $ECHO_N "(cached
) $ECHO_C" >&6
6900 # Double quotes because CXXCPP needs to be expanded
6901 for CXXCPP in "$CXX -E" "/lib
/cpp
"
6904 for ac_cxx_preproc_warn_flag in '' yes
6906 # Use a header file that comes with gcc, so configuring glibc
6907 # with a fresh cross-compiler works.
6908 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6909 # <limits.h> exists even on freestanding compilers.
6910 # On the NeXT, cc -E runs the code through the compiler's parser,
6911 # not just through cpp. "Syntax error
" is here to catch this case.
6912 cat >conftest.$ac_ext <<_ACEOF
6915 cat confdefs.h >>conftest.$ac_ext
6916 cat >>conftest.$ac_ext <<_ACEOF
6917 /* end confdefs.h. */
6919 # include <limits.h>
6921 # include <assert.h>
6925 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6928 *) ac_try_echo=$ac_try;;
6930 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6931 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6933 grep -v '^ *+' conftest.er1 >conftest.err
6935 cat conftest.err >&5
6936 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6937 (exit $ac_status); } >/dev/null && {
6938 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6939 test ! -s conftest.err
6943 echo "$as_me: failed program was
:" >&5
6944 sed 's/^/| /' conftest.$ac_ext >&5
6946 # Broken: fails on valid input.
6950 rm -f conftest.err conftest.$ac_ext
6952 # OK, works on sane cases. Now check whether nonexistent headers
6953 # can be detected and how.
6954 cat >conftest.$ac_ext <<_ACEOF
6957 cat confdefs.h >>conftest.$ac_ext
6958 cat >>conftest.$ac_ext <<_ACEOF
6959 /* end confdefs.h. */
6960 #include <ac_nonexistent.h>
6962 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6965 *) ac_try_echo=$ac_try;;
6967 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6968 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6970 grep -v '^ *+' conftest.er1 >conftest.err
6972 cat conftest.err >&5
6973 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6974 (exit $ac_status); } >/dev/null && {
6975 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6976 test ! -s conftest.err
6978 # Broken: success on invalid input.
6981 echo "$as_me: failed program was
:" >&5
6982 sed 's/^/| /' conftest.$ac_ext >&5
6984 # Passes both tests.
6989 rm -f conftest.err conftest.$ac_ext
6992 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6993 rm -f conftest.err conftest.$ac_ext
6994 if $ac_preproc_ok; then
6999 ac_cv_prog_CXXCPP=$CXXCPP
7002 CXXCPP=$ac_cv_prog_CXXCPP
7004 ac_cv_prog_CXXCPP=$CXXCPP
7006 { echo "$as_me:$LINENO: result
: $CXXCPP" >&5
7007 echo "${ECHO_T}$CXXCPP" >&6; }
7009 for ac_cxx_preproc_warn_flag in '' yes
7011 # Use a header file that comes with gcc, so configuring glibc
7012 # with a fresh cross-compiler works.
7013 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7014 # <limits.h> exists even on freestanding compilers.
7015 # On the NeXT, cc -E runs the code through the compiler's parser,
7016 # not just through cpp. "Syntax error
" is here to catch this case.
7017 cat >conftest.$ac_ext <<_ACEOF
7020 cat confdefs.h >>conftest.$ac_ext
7021 cat >>conftest.$ac_ext <<_ACEOF
7022 /* end confdefs.h. */
7024 # include <limits.h>
7026 # include <assert.h>
7030 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7033 *) ac_try_echo=$ac_try;;
7035 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7036 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7038 grep -v '^ *+' conftest.er1 >conftest.err
7040 cat conftest.err >&5
7041 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7042 (exit $ac_status); } >/dev/null && {
7043 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7044 test ! -s conftest.err
7048 echo "$as_me: failed program was
:" >&5
7049 sed 's/^/| /' conftest.$ac_ext >&5
7051 # Broken: fails on valid input.
7055 rm -f conftest.err conftest.$ac_ext
7057 # OK, works on sane cases. Now check whether nonexistent headers
7058 # can be detected and how.
7059 cat >conftest.$ac_ext <<_ACEOF
7062 cat confdefs.h >>conftest.$ac_ext
7063 cat >>conftest.$ac_ext <<_ACEOF
7064 /* end confdefs.h. */
7065 #include <ac_nonexistent.h>
7067 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7070 *) ac_try_echo=$ac_try;;
7072 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7073 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7075 grep -v '^ *+' conftest.er1 >conftest.err
7077 cat conftest.err >&5
7078 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7079 (exit $ac_status); } >/dev/null && {
7080 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7081 test ! -s conftest.err
7083 # Broken: success on invalid input.
7086 echo "$as_me: failed program was
:" >&5
7087 sed 's/^/| /' conftest.$ac_ext >&5
7089 # Passes both tests.
7094 rm -f conftest.err conftest.$ac_ext
7097 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7098 rm -f conftest.err conftest.$ac_ext
7099 if $ac_preproc_ok; then
7102 { { echo "$as_me:$LINENO: error
: C
++ preprocessor
\"$CXXCPP\" fails sanity check
7103 See \
`config.log' for more details." >&5
7104 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7105 See \`config.log
' for more details." >&2;}
7106 { (exit 1); exit 1; }; }
7110 ac_cpp='$CXXCPP $CPPFLAGS'
7111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
7112 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7117 for ac_header in tr1/unordered_map
7119 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7120 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7121 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7123 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7124 echo $ECHO_N "(cached) $ECHO_C" >&6
7126 ac_res=`eval echo '${'$as_ac_Header'}'`
7127 { echo "$as_me:$LINENO: result: $ac_res" >&5
7128 echo "${ECHO_T}$ac_res" >&6; }
7130 # Is the header compilable?
7131 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7132 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7133 cat >conftest.$ac_ext <<_ACEOF
7136 cat confdefs.h >>conftest.$ac_ext
7137 cat >>conftest.$ac_ext <<_ACEOF
7138 /* end confdefs.h. */
7139 $ac_includes_default
7140 #include <$ac_header>
7142 rm -f conftest.$ac_objext
7143 if { (ac_try="$ac_compile"
7145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7146 *) ac_try_echo=$ac_try;;
7148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7149 (eval "$ac_compile") 2>conftest.er1
7151 grep -v '^
*+' conftest.er1 >conftest.err
7153 cat conftest.err >&5
7154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7155 (exit $ac_status); } && {
7156 test -z "$ac_cxx_werror_flag" ||
7157 test ! -s conftest.err
7158 } && test -s conftest.$ac_objext; then
7159 ac_header_compiler=yes
7161 echo "$as_me: failed program was:" >&5
7162 sed 's
/^
/|
/' conftest.$ac_ext >&5
7164 ac_header_compiler=no
7167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7168 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7169 echo "${ECHO_T}$ac_header_compiler" >&6; }
7171 # Is the header present?
7172 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7173 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7174 cat >conftest.$ac_ext <<_ACEOF
7177 cat confdefs.h >>conftest.$ac_ext
7178 cat >>conftest.$ac_ext <<_ACEOF
7179 /* end confdefs.h. */
7180 #include <$ac_header>
7182 if { (ac_try="$ac_cpp conftest.$ac_ext"
7184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7185 *) ac_try_echo=$ac_try;;
7187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7188 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7190 grep -v '^
*+' conftest.er1 >conftest.err
7192 cat conftest.err >&5
7193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7194 (exit $ac_status); } >/dev/null && {
7195 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7196 test ! -s conftest.err
7198 ac_header_preproc=yes
7200 echo "$as_me: failed program was:" >&5
7201 sed 's
/^
/|
/' conftest.$ac_ext >&5
7203 ac_header_preproc=no
7206 rm -f conftest.err conftest.$ac_ext
7207 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7208 echo "${ECHO_T}$ac_header_preproc" >&6; }
7210 # So? What about this header?
7211 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7213 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7214 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7215 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
7216 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
7217 ac_header_preproc=yes
7220 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7221 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7222 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7223 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7224 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7225 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7226 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7227 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7228 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
7229 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
7230 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7231 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7233 ## ------------------------------------------- ##
7234 ## Report this to systemtap@sources.redhat.com ##
7235 ## ------------------------------------------- ##
7237 ) | sed "s/^/$as_me: WARNING: /" >&2
7240 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7242 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7243 echo $ECHO_N "(cached) $ECHO_C" >&6
7245 eval "$as_ac_Header=\$ac_header_preproc"
7247 ac_res=`eval echo '${'$as_ac_Header'}'`
7248 { echo "$as_me:$LINENO: result: $ac_res" >&5
7249 echo "${ECHO_T}$ac_res" >&6; }
7252 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7253 cat >>confdefs.h <<_ACEOF
7254 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7262 ac_cpp='$CPP $CPPFLAGS'
7263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
7264 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7268 ac_config_headers="$ac_config_headers config.h:config.in"
7270 ac_config_files="$ac_config_files Makefile doc/Makefile systemtap.spec stap.1 stapprobes.5 stapfuncs.5 stapex.5 staprun.8 man/stapprobes.iosched.5 man/stapprobes.netdev.5 man/stapprobes.nfs.5 man/stapprobes.nfsd.5 man/stapprobes.pagefault.5 man/stapprobes.process.5 man/stapprobes.rpc.5 man/stapprobes.scsi.5 man/stapprobes.signal.5 man/stapprobes.socket.5 man/stapprobes.tcp.5 man/stapprobes.udp.5"
7272 subdirs="$subdirs testsuite"
7275 cat >confcache <<\_ACEOF
7276 # This file is a shell script that caches the results of configure
7277 # tests run on this system so they can be shared between configure
7278 # scripts and configure runs, see configure's option
--config-cache.
7279 # It is not useful on other systems. If it contains results you don't
7280 # want to keep, you may remove or edit it.
7282 # config.status only pays attention to the cache file if you give it
7283 # the --recheck option to rerun configure.
7285 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7286 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7291 # The following way of writing the cache mishandles newlines in values,
7292 # but we know of no workaround that is simple, portable, and efficient.
7293 # So, we kill variables containing newlines.
7294 # Ultrix sh set writes to stderr and can't be redirected directly,
7295 # and sets the high bit in the cache file unless we assign to the vars.
7297 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7298 eval ac_val
=\$
$ac_var
7302 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
7303 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
7306 _ | IFS | as_nl
) ;; #(
7307 *) $as_unset $ac_var ;;
7313 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7314 *${as_nl}ac_space
=\
*)
7315 # `set' does not quote correctly, so add quotes (double-quote
7316 # substitution turns \\\\ into \\, and sed turns \\ into \).
7319 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7322 # `set' quotes correctly as required by POSIX, so do not add quotes.
7323 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7332 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7334 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7336 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7337 if test -w "$cache_file"; then
7338 test "x$cache_file" != "x/dev/null" &&
7339 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
7340 echo "$as_me: updating cache $cache_file" >&6;}
7341 cat confcache
>$cache_file
7343 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
7344 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7349 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7350 # Let make expand exec_prefix.
7351 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7353 DEFS
=-DHAVE_CONFIG_H
7357 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7358 # 1. Remove the extension, and $U if already installed.
7359 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7360 ac_i
=`echo "$ac_i" | sed "$ac_script"`
7361 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7362 # will be set to the directory where LIBOBJS objects are built.
7363 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7364 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
7368 LTLIBOBJS
=$ac_ltlibobjs
7371 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7372 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
7373 Usually this means the macro was only invoked conditionally." >&5
7374 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
7375 Usually this means the macro was only invoked conditionally." >&2;}
7376 { (exit 1); exit 1; }; }
7378 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7379 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7380 Usually this means the macro was only invoked conditionally." >&5
7381 echo "$as_me: error: conditional \"AMDEP\" was never defined.
7382 Usually this means the macro was only invoked conditionally." >&2;}
7383 { (exit 1); exit 1; }; }
7385 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7386 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7387 Usually this means the macro was only invoked conditionally." >&5
7388 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7389 Usually this means the macro was only invoked conditionally." >&2;}
7390 { (exit 1); exit 1; }; }
7392 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7393 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
7394 Usually this means the macro was only invoked conditionally." >&5
7395 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
7396 Usually this means the macro was only invoked conditionally." >&2;}
7397 { (exit 1); exit 1; }; }
7399 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7400 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7401 Usually this means the macro was only invoked conditionally." >&5
7402 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7403 Usually this means the macro was only invoked conditionally." >&2;}
7404 { (exit 1); exit 1; }; }
7406 if test -z "${BUILD_CRASHMOD_TRUE}" && test -z "${BUILD_CRASHMOD_FALSE}"; then
7407 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CRASHMOD\" was never defined.
7408 Usually this means the macro was only invoked conditionally." >&5
7409 echo "$as_me: error: conditional \"BUILD_CRASHMOD\" was never defined.
7410 Usually this means the macro was only invoked conditionally." >&2;}
7411 { (exit 1); exit 1; }; }
7413 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
7414 { { echo "$as_me:$LINENO: error: conditional \"BUILD_DOCS\" was never defined.
7415 Usually this means the macro was only invoked conditionally." >&5
7416 echo "$as_me: error: conditional \"BUILD_DOCS\" was never defined.
7417 Usually this means the macro was only invoked conditionally." >&2;}
7418 { (exit 1); exit 1; }; }
7420 if test -z "${BUILD_ELFUTILS_TRUE}" && test -z "${BUILD_ELFUTILS_FALSE}"; then
7421 { { echo "$as_me:$LINENO: error: conditional \"BUILD_ELFUTILS\" was never defined.
7422 Usually this means the macro was only invoked conditionally." >&5
7423 echo "$as_me: error: conditional \"BUILD_ELFUTILS\" was never defined.
7424 Usually this means the macro was only invoked conditionally." >&2;}
7425 { (exit 1); exit 1; }; }
7428 : ${CONFIG_STATUS=./config.status}
7429 ac_clean_files_save
=$ac_clean_files
7430 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7431 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7432 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7433 cat >$CONFIG_STATUS <<_ACEOF
7435 # Generated by $as_me.
7436 # Run this file to recreate the current configuration.
7437 # Compiler output produced by configure, useful for debugging
7438 # configure, is in config.log if it exists.
7443 SHELL=\${CONFIG_SHELL-$SHELL}
7446 cat >>$CONFIG_STATUS <<\_ACEOF
7447 ## --------------------- ##
7448 ## M4sh Initialization. ##
7449 ## --------------------- ##
7451 # Be more Bourne compatible
7452 DUALCASE
=1; export DUALCASE
# for MKS sh
7453 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7456 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7457 # is contrary to our usage. Disable this feature.
7458 alias -g '${1+"$@"}'='"$@"'
7459 setopt NO_GLOB_SUBST
7461 case `(set -o) 2>/dev/null` in
7462 *posix
*) set -o posix
;;
7471 # Avoid depending upon Character Ranges.
7472 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7473 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7474 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7475 as_cr_digits
='0123456789'
7476 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7478 # The user is always right.
7479 if test "${PATH_SEPARATOR+set}" != set; then
7480 echo "#! /bin/sh" >conf$$.sh
7481 echo "exit 0" >>conf$$.sh
7483 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7491 # Support unset when possible.
7492 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7500 # We need space, tab and new line, in precisely that order. Quoting is
7501 # there to prevent editors from complaining about space-tab.
7502 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7503 # splitting by setting IFS to empty value.)
7508 # Find who we are. Look in the path if we contain no directory separator.
7510 *[\\/]* ) as_myself
=$0 ;;
7511 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7515 test -z "$as_dir" && as_dir
=.
7516 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7522 # We did not find ourselves, most probably we were run as `sh COMMAND'
7523 # in which case we are not to be found in the path.
7524 if test "x$as_myself" = x
; then
7527 if test ! -f "$as_myself"; then
7528 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7529 { (exit 1); exit 1; }
7532 # Work around bugs in pre-3.0 UWIN ksh.
7533 for as_var
in ENV MAIL MAILPATH
7534 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
7542 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7543 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7544 LC_TELEPHONE LC_TIME
7546 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7547 eval $as_var=C
; export $as_var
7549 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
7553 # Required to use basename.
7554 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7555 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7561 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7562 as_basename
=basename
7568 # Name of the executable.
7569 as_me
=`$as_basename -- "$0" ||
7570 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7571 X"$0" : 'X\(//\)$' \| \
7572 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7574 sed '/^.*\/\([^/][^/]*\)\/*$/{
7595 test "x$as_lineno_1" != "x$as_lineno_2" &&
7596 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
7598 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7599 # uniformly replaced by the line number. The first 'sed' inserts a
7600 # line-number line after each line using $LINENO; the second 'sed'
7601 # does the real work. The second script uses 'N' to pair each
7602 # line-number line with the line containing $LINENO, and appends
7603 # trailing '-' during substitution so that $LINENO is not a special
7605 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7606 # scripts with optimization help from Paolo Bonzini. Blame Lee
7607 # E. McMahon (1931-1989) for sed's syntax. :-)
7619 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7623 chmod +x
"$as_me.lineno" ||
7624 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7625 { (exit 1); exit 1; }; }
7627 # Don't try to exec as it changes $[0], causing all sort of problems
7628 # (the dirname of $[0] is not the place where we might find the
7629 # original and so on. Autoconf is especially sensitive to this).
7631 # Exit status is that of the last command.
7636 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7642 ECHO_C
= ECHO_N
= ECHO_T
=
7645 case `echo 'x\c'` in
7646 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7653 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7654 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7660 rm -f conf$$ conf$$.exe conf$$.
file
7661 if test -d conf$$.dir
; then
7662 rm -f conf$$.dir
/conf$$.
file
7668 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7670 # ... but there are two gotchas:
7671 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7672 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7673 # In both cases, we have to default to `cp -p'.
7674 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7676 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7681 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7682 rmdir conf$$.dir
2>/dev
/null
7684 if mkdir
-p .
2>/dev
/null
; then
7687 test -d .
/-p && rmdir .
/-p
7691 if test -x / >/dev
/null
2>&1; then
7694 if ls -dL / >/dev
/null
2>&1; then
7701 if test -d "$1"; then
7707 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
7708 ???[sx]*):;;*)false;;esac;fi
7712 as_executable_p
=$as_test_x
7714 # Sed expression to map a string onto a valid CPP name.
7715 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7717 # Sed expression to map a string onto a valid variable name.
7718 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7723 # Save the log message, to keep $[0] and so on meaningful, and to
7724 # report actual input values of CONFIG_FILES etc. instead of their
7725 # values after options handling.
7727 This file was extended by systemtap $as_me 0.7, which was
7728 generated by GNU Autoconf 2.61. Invocation command line was
7730 CONFIG_FILES = $CONFIG_FILES
7731 CONFIG_HEADERS = $CONFIG_HEADERS
7732 CONFIG_LINKS = $CONFIG_LINKS
7733 CONFIG_COMMANDS = $CONFIG_COMMANDS
7736 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7741 cat >>$CONFIG_STATUS <<_ACEOF
7742 # Files that config.status was made for.
7743 config_files="$ac_config_files"
7744 config_headers="$ac_config_headers"
7745 config_commands="$ac_config_commands"
7749 cat >>$CONFIG_STATUS <<\_ACEOF
7751 \`$as_me' instantiates files from templates according to the
7752 current configuration.
7754 Usage: $0 [OPTIONS] [FILE]...
7756 -h, --help print this help, then exit
7757 -V, --version print version number and configuration settings, then exit
7758 -q, --quiet do not print progress messages
7759 -d, --debug don't remove temporary files
7760 --recheck update $as_me by reconfiguring in the same conditions
7761 --file=FILE[:TEMPLATE]
7762 instantiate the configuration file FILE
7763 --header=FILE[:TEMPLATE]
7764 instantiate the configuration header FILE
7766 Configuration files:
7769 Configuration headers:
7772 Configuration commands:
7775 Report bugs to <bug-autoconf@gnu.org>."
7778 cat >>$CONFIG_STATUS <<_ACEOF
7780 systemtap config.status 0.7
7781 configured by $0, generated by GNU Autoconf 2.61,
7782 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7784 Copyright (C) 2006 Free Software Foundation, Inc.
7785 This config.status script is free software; the Free Software Foundation
7786 gives unlimited permission to copy, distribute and modify it."
7794 cat >>$CONFIG_STATUS <<\_ACEOF
7795 # If no file are specified by the user, then we need to provide default
7796 # value. By we need to know if files were specified by the user.
7802 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7803 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7814 # Handling of the options.
7815 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7817 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7818 echo "$ac_cs_version"; exit ;;
7819 --debug |
--debu |
--deb |
--de |
--d |
-d )
7821 --file |
--fil |
--fi |
--f )
7823 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7824 ac_need_defaults
=false
;;
7825 --header |
--heade |
--head |
--hea )
7827 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7828 ac_need_defaults
=false
;;
7830 # Conflict between --help and --header
7831 { echo "$as_me: error: ambiguous option: $1
7832 Try \`$0 --help' for more information." >&2
7833 { (exit 1); exit 1; }; };;
7834 --help |
--hel |
-h )
7835 echo "$ac_cs_usage"; exit ;;
7836 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7837 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7841 -*) { echo "$as_me: error: unrecognized option: $1
7842 Try \`$0 --help' for more information." >&2
7843 { (exit 1); exit 1; }; } ;;
7845 *) ac_config_targets
="$ac_config_targets $1"
7846 ac_need_defaults
=false
;;
7852 ac_configure_extra_args
=
7854 if $ac_cs_silent; then
7856 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7860 cat >>$CONFIG_STATUS <<_ACEOF
7861 if \$ac_cs_recheck; then
7862 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7865 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7869 cat >>$CONFIG_STATUS <<\_ACEOF
7873 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7874 ## Running $as_me. ##
7880 cat >>$CONFIG_STATUS <<_ACEOF
7884 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7888 cat >>$CONFIG_STATUS <<\_ACEOF
7890 # Handling of arguments.
7891 for ac_config_target
in $ac_config_targets
7893 case $ac_config_target in
7894 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7895 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
7896 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7897 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
7898 "systemtap.spec") CONFIG_FILES
="$CONFIG_FILES systemtap.spec" ;;
7899 "stap.1") CONFIG_FILES
="$CONFIG_FILES stap.1" ;;
7900 "stapprobes.5") CONFIG_FILES
="$CONFIG_FILES stapprobes.5" ;;
7901 "stapfuncs.5") CONFIG_FILES
="$CONFIG_FILES stapfuncs.5" ;;
7902 "stapex.5") CONFIG_FILES
="$CONFIG_FILES stapex.5" ;;
7903 "staprun.8") CONFIG_FILES
="$CONFIG_FILES staprun.8" ;;
7904 "man/stapprobes.iosched.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.iosched.5" ;;
7905 "man/stapprobes.netdev.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.netdev.5" ;;
7906 "man/stapprobes.nfs.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.nfs.5" ;;
7907 "man/stapprobes.nfsd.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.nfsd.5" ;;
7908 "man/stapprobes.pagefault.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.pagefault.5" ;;
7909 "man/stapprobes.process.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.process.5" ;;
7910 "man/stapprobes.rpc.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.rpc.5" ;;
7911 "man/stapprobes.scsi.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.scsi.5" ;;
7912 "man/stapprobes.signal.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.signal.5" ;;
7913 "man/stapprobes.socket.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.socket.5" ;;
7914 "man/stapprobes.tcp.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.tcp.5" ;;
7915 "man/stapprobes.udp.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.udp.5" ;;
7917 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7918 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7919 { (exit 1); exit 1; }; };;
7924 # If the user did not use the arguments to specify the items to instantiate,
7925 # then the envvar interface is used. Set only those that are not.
7926 # We use the long form for the default assignment because of an extremely
7927 # bizarre bug on SunOS 4.1.3.
7928 if $ac_need_defaults; then
7929 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7930 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7931 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7934 # Have a temporary directory for convenience. Make it in the build tree
7935 # simply because there is no reason against having it here, and in addition,
7936 # creating and moving files from /tmp can sometimes cause problems.
7937 # Hook for its removal unless debugging.
7938 # Note that there is a small window in which the directory will not be cleaned:
7939 # after its creation but before its name has been assigned to `$tmp'.
7943 trap 'exit_status=$?
7944 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7946 trap '{ (exit 1); exit 1; }' 1 2 13 15
7948 # Create a (secure) tmp directory for tmp files.
7951 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7952 test -n "$tmp" && test -d "$tmp"
7955 tmp
=.
/conf$$
-$RANDOM
7956 (umask 077 && mkdir
"$tmp")
7959 echo "$me: cannot create a temporary directory in ." >&2
7960 { (exit 1); exit 1; }
7964 # Set up the sed scripts for CONFIG_FILES section.
7967 # No need to generate the scripts if there are no CONFIG_FILES.
7968 # This happens for instance when ./config.status config.h
7969 if test -n "$CONFIG_FILES"; then
7976 for ac_last_try
in false false false false false
:; do
7977 cat >conf$
$subs.
sed <<_ACEOF
7978 SHELL!$SHELL$ac_delim
7979 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
7980 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
7981 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
7982 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
7983 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
7984 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
7985 exec_prefix!$exec_prefix$ac_delim
7986 prefix!$prefix$ac_delim
7987 program_transform_name!$program_transform_name$ac_delim
7988 bindir!$bindir$ac_delim
7989 sbindir!$sbindir$ac_delim
7990 libexecdir!$libexecdir$ac_delim
7991 datarootdir!$datarootdir$ac_delim
7992 datadir!$datadir$ac_delim
7993 sysconfdir!$sysconfdir$ac_delim
7994 sharedstatedir!$sharedstatedir$ac_delim
7995 localstatedir!$localstatedir$ac_delim
7996 includedir!$includedir$ac_delim
7997 oldincludedir!$oldincludedir$ac_delim
7998 docdir!$docdir$ac_delim
7999 infodir!$infodir$ac_delim
8000 htmldir!$htmldir$ac_delim
8001 dvidir!$dvidir$ac_delim
8002 pdfdir!$pdfdir$ac_delim
8003 psdir!$psdir$ac_delim
8004 libdir!$libdir$ac_delim
8005 localedir!$localedir$ac_delim
8006 mandir!$mandir$ac_delim
8008 ECHO_C!$ECHO_C$ac_delim
8009 ECHO_N!$ECHO_N$ac_delim
8010 ECHO_T!$ECHO_T$ac_delim
8012 build_alias!$build_alias$ac_delim
8013 host_alias!$host_alias$ac_delim
8014 target_alias!$target_alias$ac_delim
8015 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
8016 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
8017 INSTALL_DATA!$INSTALL_DATA$ac_delim
8018 am__isrc!$am__isrc$ac_delim
8019 CYGPATH_W!$CYGPATH_W$ac_delim
8020 PACKAGE!$PACKAGE$ac_delim
8021 VERSION!$VERSION$ac_delim
8022 ACLOCAL!$ACLOCAL$ac_delim
8023 AUTOCONF!$AUTOCONF$ac_delim
8024 AUTOMAKE!$AUTOMAKE$ac_delim
8025 AUTOHEADER!$AUTOHEADER$ac_delim
8026 MAKEINFO!$MAKEINFO$ac_delim
8027 install_sh!$install_sh$ac_delim
8028 STRIP!$STRIP$ac_delim
8029 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
8030 mkdir_p!$mkdir_p$ac_delim
8032 SET_MAKE!$SET_MAKE$ac_delim
8033 am__leading_dot!$am__leading_dot$ac_delim
8034 AMTAR!$AMTAR$ac_delim
8035 am__tar!$am__tar$ac_delim
8036 am__untar!$am__untar$ac_delim
8037 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
8038 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
8039 MAINT!$MAINT$ac_delim
8042 CFLAGS!$CFLAGS$ac_delim
8043 LDFLAGS!$LDFLAGS$ac_delim
8044 CPPFLAGS!$CPPFLAGS$ac_delim
8045 ac_ct_CC!$ac_ct_CC$ac_delim
8046 EXEEXT!$EXEEXT$ac_delim
8047 OBJEXT!$OBJEXT$ac_delim
8048 DEPDIR!$DEPDIR$ac_delim
8049 am__include!$am__include$ac_delim
8050 am__quote!$am__quote$ac_delim
8051 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
8052 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
8053 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
8054 CCDEPMODE!$CCDEPMODE$ac_delim
8055 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
8056 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
8058 CXXFLAGS!$CXXFLAGS$ac_delim
8059 ac_ct_CXX!$ac_ct_CXX$ac_delim
8060 CXXDEPMODE!$CXXDEPMODE$ac_delim
8061 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
8062 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
8065 EGREP!$EGREP$ac_delim
8067 ANSI2KNR!$ANSI2KNR$ac_delim
8068 RANLIB!$RANLIB$ac_delim
8069 PIELDFLAGS!$PIELDFLAGS$ac_delim
8070 sqlite3_LIBS!$sqlite3_LIBS$ac_delim
8071 staplog_CPPFLAGS!$staplog_CPPFLAGS$ac_delim
8072 BUILD_CRASHMOD_TRUE!$BUILD_CRASHMOD_TRUE$ac_delim
8073 BUILD_CRASHMOD_FALSE!$BUILD_CRASHMOD_FALSE$ac_delim
8074 have_latex!$have_latex$ac_delim
8077 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
8079 elif $ac_last_try; then
8080 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8081 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8082 { (exit 1); exit 1; }; }
8084 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
8088 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8089 if test -n "$ac_eof"; then
8090 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
8091 ac_eof
=`expr $ac_eof + 1`
8094 cat >>$CONFIG_STATUS <<_ACEOF
8095 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
8096 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8099 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
8100 s/^/s,@/; s/!/@,|#_!!_#|/
8103 s/'"$ac_delim"'$/,g/; t
8105 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8106 ' >>$CONFIG_STATUS <conf$
$subs.
sed
8107 rm -f conf$
$subs.
sed
8108 cat >>$CONFIG_STATUS <<_ACEOF
8114 for ac_last_try
in false false false false false
:; do
8115 cat >conf$
$subs.
sed <<_ACEOF
8116 have_dvips!$have_dvips$ac_delim
8117 have_ps2pdf!$have_ps2pdf$ac_delim
8118 have_latex2html!$have_latex2html$ac_delim
8119 BUILD_DOCS_TRUE!$BUILD_DOCS_TRUE$ac_delim
8120 BUILD_DOCS_FALSE!$BUILD_DOCS_FALSE$ac_delim
8121 BUILD_ELFUTILS_TRUE!$BUILD_ELFUTILS_TRUE$ac_delim
8122 BUILD_ELFUTILS_FALSE!$BUILD_ELFUTILS_FALSE$ac_delim
8123 elfutils_abs_srcdir!$elfutils_abs_srcdir$ac_delim
8124 stap_LIBS!$stap_LIBS$ac_delim
8126 PROCFLAGS!$PROCFLAGS$ac_delim
8127 cap_LIBS!$cap_LIBS$ac_delim
8128 CXXCPP!$CXXCPP$ac_delim
8129 subdirs!$subdirs$ac_delim
8130 LIBOBJS!$LIBOBJS$ac_delim
8131 LTLIBOBJS!$LTLIBOBJS$ac_delim
8134 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 16; then
8136 elif $ac_last_try; then
8137 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8138 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8139 { (exit 1); exit 1; }; }
8141 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
8145 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8146 if test -n "$ac_eof"; then
8147 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
8148 ac_eof
=`expr $ac_eof + 1`
8151 cat >>$CONFIG_STATUS <<_ACEOF
8152 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
8153 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
8156 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
8157 s/^/s,@/; s/!/@,|#_!!_#|/
8160 s/'"$ac_delim"'$/,g/; t
8162 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8163 ' >>$CONFIG_STATUS <conf$
$subs.
sed
8164 rm -f conf$
$subs.
sed
8165 cat >>$CONFIG_STATUS <<_ACEOF
8172 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8173 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8174 # trailing colons and then remove the whole line if VPATH becomes empty
8175 # (actually we leave an empty line to preserve line numbers).
8176 if test "x$srcdir" = x.
; then
8177 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8181 s/^\([^=]*=[ ]*\):*/\1/
8187 cat >>$CONFIG_STATUS <<\_ACEOF
8188 fi # test -n "$CONFIG_FILES"
8191 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
8194 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8196 case $ac_mode$ac_tag in
8198 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
8199 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
8200 { (exit 1); exit 1; }; };;
8201 :[FH
]-) ac_tag
=-:-;;
8202 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8219 -) ac_f
="$tmp/stdin";;
8220 *) # Look for the file first in the build tree, then in the source tree
8221 # (if the path is not absolute). The absolute path cannot be DOS-style,
8222 # because $ac_f cannot contain `:'.
8226 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8228 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8229 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8230 { (exit 1); exit 1; }; };;
8232 ac_file_inputs
="$ac_file_inputs $ac_f"
8235 # Let's still pretend it is `configure' which instantiates (i.e., don't
8236 # use $as_me), people would be surprised to read:
8237 # /* config.h. Generated by config.status. */
8238 configure_input
="Generated from "`IFS=:
8239 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
8240 if test x
"$ac_file" != x-
; then
8241 configure_input
="$ac_file. $configure_input"
8242 { echo "$as_me:$LINENO: creating $ac_file" >&5
8243 echo "$as_me: creating $ac_file" >&6;}
8247 *:-:* |
*:-) cat >"$tmp/stdin";;
8252 ac_dir
=`$as_dirname -- "$ac_file" ||
8253 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8254 X"$ac_file" : 'X\(//\)[^/]' \| \
8255 X"$ac_file" : 'X\(//\)$' \| \
8256 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8277 -*) as_dir
=.
/$as_dir;;
8279 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
8283 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8284 *) as_qdir
=$as_dir;;
8286 as_dirs
="'$as_qdir' $as_dirs"
8287 as_dir
=`$as_dirname -- "$as_dir" ||
8288 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8289 X"$as_dir" : 'X\(//\)[^/]' \| \
8290 X"$as_dir" : 'X\(//\)$' \| \
8291 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8310 test -d "$as_dir" && break
8312 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8313 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8314 echo "$as_me: error: cannot create directory $as_dir" >&2;}
8315 { (exit 1); exit 1; }; }; }
8319 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8321 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8322 # A ".." for each directory in $ac_dir_suffix.
8323 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
8324 case $ac_top_builddir_sub in
8325 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8326 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8329 ac_abs_top_builddir
=$ac_pwd
8330 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8331 # for backward compatibility:
8332 ac_top_builddir
=$ac_top_build_prefix
8335 .
) # We are building in place.
8337 ac_top_srcdir
=$ac_top_builddir_sub
8338 ac_abs_top_srcdir
=$ac_pwd ;;
8339 [\\/]* | ?
:[\\/]* ) # Absolute name.
8340 ac_srcdir
=$srcdir$ac_dir_suffix;
8341 ac_top_srcdir
=$srcdir
8342 ac_abs_top_srcdir
=$srcdir ;;
8344 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8345 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8346 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8348 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8358 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8359 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8363 [\\/$
]* | ?
:[\\/]* ) ;;
8364 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
8368 cat >>$CONFIG_STATUS <<\_ACEOF
8369 # If the template does not know about datarootdir, expand it.
8370 # FIXME: This hack should be removed a few years after 2.60.
8371 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8373 case `sed -n '/datarootdir/ {
8382 ' $ac_file_inputs` in
8383 *datarootdir
*) ac_datarootdir_seen
=yes;;
8384 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8385 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8386 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8388 cat >>$CONFIG_STATUS <<_ACEOF
8389 ac_datarootdir_hack='
8390 s&@datadir@&$datadir&g
8391 s&@docdir@&$docdir&g
8392 s&@infodir@&$infodir&g
8393 s&@localedir@&$localedir&g
8394 s&@mandir@&$mandir&g
8395 s&\\\${datarootdir}&$datarootdir&g' ;;
8399 # Neutralize VPATH when `$srcdir' = `.'.
8400 # Shell code in configure.ac might set extrasub.
8401 # FIXME: do we really want to maintain this feature?
8402 cat >>$CONFIG_STATUS <<_ACEOF
8406 cat >>$CONFIG_STATUS <<\_ACEOF
8408 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8409 s
&@configure_input@
&$configure_input&;t t
8410 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8411 s
&@srcdir@
&$ac_srcdir&;t t
8412 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8413 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8414 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8415 s
&@builddir@
&$ac_builddir&;t t
8416 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8417 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8418 s
&@INSTALL@
&$ac_INSTALL&;t t
8419 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
8420 $ac_datarootdir_hack
8421 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
8423 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8424 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
8425 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
8426 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8427 which seems to be undefined. Please make sure it is defined." >&5
8428 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8429 which seems to be undefined. Please make sure it is defined." >&2;}
8433 -) cat "$tmp/out"; rm -f "$tmp/out";;
8434 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
8443 # Transform confdefs.h into a sed script `conftest.defines', that
8444 # substitutes the proper values into config.h.in to produce config.h.
8445 rm -f conftest.defines conftest.
tail
8446 # First, append a space to every undef/define line, to ease matching.
8447 echo 's/$/ /' >conftest.defines
8448 # Then, protect against being on the right side of a sed subst, or in
8449 # an unquoted here document, in config.status. If some macros were
8450 # called several times there might be several #defines for the same
8451 # symbol, which is useless. But do not sort them, since the last
8452 # AC_DEFINE must be honored.
8453 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
8454 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
8455 # NAME is the cpp macro being defined, VALUE is the value it is being given.
8456 # PARAMS is the parameter list in the macro definition--in most cases, it's
8457 # just an empty string.
8458 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
8459 ac_dB
='\\)[ (].*,\\1define\\2'
8467 s/^[ ]*#[ ]*define[ ][ ]*//
8472 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
8473 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
8474 ' >>conftest.defines
8476 # Remove the space that was appended to ease matching.
8477 # Then replace #undef with comments. This is necessary, for
8478 # example, in the case of _POSIX_SOURCE, which is predefined and required
8479 # on some systems where configure will not decide to define it.
8480 # (The regexp can be short, since the line contains either #define or #undef.)
8482 s,^[ #]*u.*,/* & */,' >>conftest.defines
8484 # Break up conftest.defines:
8487 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
8488 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
8489 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
8491 ac_in
='$ac_file_inputs'
8492 ac_out
='"$tmp/out1"'
8493 ac_nxt
='"$tmp/out2"'
8497 # Write a here document:
8498 cat >>$CONFIG_STATUS <<_ACEOF
8499 # First, check the format of the line:
8500 cat >"\$tmp/defines.sed" <<\\CEOF
8501 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
8502 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
8506 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
8508 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
8509 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
8510 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
8511 grep . conftest.
tail >/dev
/null ||
break
8512 rm -f conftest.defines
8513 mv conftest.
tail conftest.defines
8515 rm -f conftest.defines conftest.
tail
8517 echo "ac_result=$ac_in" >>$CONFIG_STATUS
8518 cat >>$CONFIG_STATUS <<\_ACEOF
8519 if test x
"$ac_file" != x-
; then
8520 echo "/* $configure_input */" >"$tmp/config.h"
8521 cat "$ac_result" >>"$tmp/config.h"
8522 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
8523 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8524 echo "$as_me: $ac_file is unchanged" >&6;}
8527 mv "$tmp/config.h" $ac_file
8530 echo "/* $configure_input */"
8534 # Compute $ac_file's index in $config_headers.
8536 for _am_header
in $config_headers :; do
8538 $ac_file |
$ac_file:* )
8541 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8544 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
8545 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8546 X$ac_file : 'X\(//\)[^/]' \| \
8547 X$ac_file : 'X\(//\)$' \| \
8548 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
8550 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8566 s/.*/./; q'`/stamp-h
$_am_stamp_count
8569 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
8570 echo "$as_me: executing $ac_file commands" >&6;}
8575 case $ac_file$ac_mode in
8576 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
8577 # Strip MF so we end up with the name of the file.
8578 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8579 # Check whether this is an Automake generated Makefile or not.
8580 # We used to match only the files named `Makefile.in', but
8581 # some people rename them; so instead we look at the file content.
8582 # Grep'ing the first line is not enough: some people post-process
8583 # each Makefile.in and add a new line on top of each file to say so.
8584 # Grep'ing the whole file is not good either: AIX grep has a line
8585 # limit of 2048, but all sed's we know have understand at least 4000.
8586 if sed 10q
"$mf" |
grep '^#.*generated by automake' > /dev
/null
2>&1; then
8587 dirpart
=`$as_dirname -- "$mf" ||
8588 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8589 X"$mf" : 'X\(//\)[^/]' \| \
8590 X"$mf" : 'X\(//\)$' \| \
8591 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8593 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8613 # Extract the definition of DEPDIR, am__include, and am__quote
8614 # from the Makefile without running `make'.
8615 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8616 test -z "$DEPDIR" && continue
8617 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8618 test -z "am__include" && continue
8619 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8620 # When using ansi2knr, U may be empty or an underscore; expand it
8621 U
=`sed -n 's/^U = //p' < "$mf"`
8622 # Find all dependency output files, they are included files with
8623 # $(DEPDIR) in their names. We invoke sed twice because it is the
8624 # simplest approach to changing $(DEPDIR) to its actual value in the
8626 for file in `sed -n "
8627 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8628 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8629 # Make sure the directory exists.
8630 test -f "$dirpart/$file" && continue
8631 fdir
=`$as_dirname -- "$file" ||
8632 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8633 X"$file" : 'X\(//\)[^/]' \| \
8634 X"$file" : 'X\(//\)$' \| \
8635 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8654 { as_dir
=$dirpart/$fdir
8656 -*) as_dir
=.
/$as_dir;;
8658 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
8662 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8663 *) as_qdir
=$as_dir;;
8665 as_dirs
="'$as_qdir' $as_dirs"
8666 as_dir
=`$as_dirname -- "$as_dir" ||
8667 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8668 X"$as_dir" : 'X\(//\)[^/]' \| \
8669 X"$as_dir" : 'X\(//\)$' \| \
8670 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8672 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8689 test -d "$as_dir" && break
8691 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8692 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8693 echo "$as_me: error: cannot create directory $as_dir" >&2;}
8694 { (exit 1); exit 1; }; }; }
8695 # echo "creating $dirpart/$file"
8696 echo '# dummy' > "$dirpart/$file"
8705 { (exit 0); exit 0; }
8707 chmod +x
$CONFIG_STATUS
8708 ac_clean_files
=$ac_clean_files_save
8711 # configure is writing to config.log, and then calls config.status.
8712 # config.status does its own redirection, appending to config.log.
8713 # Unfortunately, on DOS this fails, as config.log is still kept open
8714 # by configure, so config.status won't be able to write to it; its
8715 # output is simply discarded. So we exec the FD to /dev/null,
8716 # effectively closing config.log, so it can be properly (re)opened and
8717 # appended to by config.status. When coming back to configure, we
8718 # need to make the FD available again.
8719 if test "$no_create" != yes; then
8721 ac_config_status_args
=
8722 test "$silent" = yes &&
8723 ac_config_status_args
="$ac_config_status_args --quiet"
8725 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8727 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8728 # would make configure fail if this is the last instruction.
8729 $ac_cs_success ||
{ (exit 1); exit 1; }
8733 # CONFIG_SUBDIRS section.
8735 if test "$no_recursion" != yes; then
8737 # Remove --cache-file and --srcdir arguments so they do not pile up.
8738 ac_sub_configure_args
=
8740 eval "set x $ac_configure_args"
8744 if test -n "$ac_prev"; then
8749 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
8750 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
8751 ac_prev
=cache_file
;;
8752 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
8753 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
8756 --config-cache |
-C)
8758 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
8760 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
8762 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
8764 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
8768 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8770 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
8774 # Always prepend --prefix to ensure using the same prefix
8775 # in subdir configurations.
8776 ac_arg
="--prefix=$prefix"
8778 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8780 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
8783 if test "$silent" = yes; then
8784 ac_sub_configure_args
="--silent $ac_sub_configure_args"
8788 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
8790 # Do not complain, so a configure script can configure whichever
8791 # parts of a large source tree are present.
8792 test -d "$srcdir/$ac_dir" ||
continue
8794 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
8795 echo "$as_me:$LINENO: $ac_msg" >&5
8799 -*) as_dir
=.
/$as_dir;;
8801 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
8805 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8806 *) as_qdir
=$as_dir;;
8808 as_dirs
="'$as_qdir' $as_dirs"
8809 as_dir
=`$as_dirname -- "$as_dir" ||
8810 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8811 X"$as_dir" : 'X\(//\)[^/]' \| \
8812 X"$as_dir" : 'X\(//\)$' \| \
8813 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8832 test -d "$as_dir" && break
8834 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8835 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8836 echo "$as_me: error: cannot create directory $as_dir" >&2;}
8837 { (exit 1); exit 1; }; }; }
8841 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8843 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8844 # A ".." for each directory in $ac_dir_suffix.
8845 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
8846 case $ac_top_builddir_sub in
8847 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8848 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8851 ac_abs_top_builddir
=$ac_pwd
8852 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8853 # for backward compatibility:
8854 ac_top_builddir
=$ac_top_build_prefix
8857 .
) # We are building in place.
8859 ac_top_srcdir
=$ac_top_builddir_sub
8860 ac_abs_top_srcdir
=$ac_pwd ;;
8861 [\\/]* | ?
:[\\/]* ) # Absolute name.
8862 ac_srcdir
=$srcdir$ac_dir_suffix;
8863 ac_top_srcdir
=$srcdir
8864 ac_abs_top_srcdir
=$srcdir ;;
8866 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8867 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8868 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8870 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8875 # Check for guested configure; otherwise get Cygnus style configure.
8876 if test -f "$ac_srcdir/configure.gnu"; then
8877 ac_sub_configure
=$ac_srcdir/configure.gnu
8878 elif test -f "$ac_srcdir/configure"; then
8879 ac_sub_configure
=$ac_srcdir/configure
8880 elif test -f "$ac_srcdir/configure.in"; then
8881 # This should be Cygnus configure.
8882 ac_sub_configure
=$ac_aux_dir/configure
8884 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
8885 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
8889 # The recursion is here.
8890 if test -n "$ac_sub_configure"; then
8891 # Make the cache file name correct relative to the subdirectory.
8893 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
8895 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
8898 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
8899 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
8900 # The eval makes quoting arguments work.
8901 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
8902 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
8903 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
8904 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
8905 { (exit 1); exit 1; }; }
8913 if test $build_elfutils = yes; then
8914 case "$with_elfutils" in
8915 /*) elfutils_srcdir
="$with_elfutils" ;;
8916 *) elfutils_srcdir
="../$with_elfutils" ;;
8918 { echo "$as_me:$LINENO: running ${elfutils_srcdir}/configure" >&5
8919 echo "$as_me: running ${elfutils_srcdir}/configure" >&6;}
8920 # Our libdw.so's libebl will look in $ORIGIN/../lib/... but that
8921 # $ORIGIN is where libdw.so resides, which is not where there is a ../lib.
8922 # Note that $libdir might be using a quoted use of $exec_prefix or $prefix.
8923 # So we must make sure to pass those settings to elfutils configure.
8924 elfutils_rpath
="-Wl,--enable-new-dtags,-rpath,${libdir}/${PACKAGE_NAME}"
8926 (mkdir
-p build-elfutils
&& cd build-elfutils
&&
8927 ${elfutils_srcdir}/configure
--enable-libebl-subdir=${PACKAGE_NAME} \
8928 --includedir="${here}/include-elfutils" \
8929 --libdir="${here}/lib-elfutils" \
8930 --exec-prefix="$exec_prefix" \
8931 --prefix="$prefix" \
8932 CFLAGS
="${CFLAGS/-Wall/}" \
8933 LDFLAGS
="$LDFLAGS $elfutils_rpath"