2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for systemtap 0.6.
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.6'
578 PACKAGE_STRING
='systemtap 0.6'
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
722 ac_precious_vars
='build_alias
734 ac_subdirs_all
='testsuite'
736 # Initialize some variables set by options.
738 ac_init_version
=false
739 # The variables have the same names as the options, with
740 # dashes changed to underlines.
748 program_transform_name
=s
,x
,x
,
756 # Installation directory options.
757 # These are left unexpanded so users can "make install exec_prefix=/foo"
758 # and all the variables that are supposed to be based on exec_prefix
759 # by default will actually change.
760 # Use braces instead of parens because sh, perl, etc. also accept them.
761 # (The list follows the same order as the GNU Coding Standards.)
762 bindir
='${exec_prefix}/bin'
763 sbindir
='${exec_prefix}/sbin'
764 libexecdir
='${exec_prefix}/libexec'
765 datarootdir
='${prefix}/share'
766 datadir
='${datarootdir}'
767 sysconfdir
='${prefix}/etc'
768 sharedstatedir
='${prefix}/com'
769 localstatedir
='${prefix}/var'
770 includedir
='${prefix}/include'
771 oldincludedir
='/usr/include'
772 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
773 infodir
='${datarootdir}/info'
778 libdir
='${exec_prefix}/lib'
779 localedir
='${datarootdir}/locale'
780 mandir
='${datarootdir}/man'
786 # If the previous option needs an argument, assign it.
787 if test -n "$ac_prev"; then
788 eval $ac_prev=\
$ac_option
794 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
798 # Accept the important Cygnus configure options, so we can diagnose typos.
800 case $ac_dashdash$ac_option in
804 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
806 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
809 -build |
--build |
--buil |
--bui |
--bu)
810 ac_prev
=build_alias
;;
811 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
812 build_alias
=$ac_optarg ;;
814 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
815 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
816 ac_prev
=cache_file
;;
817 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
818 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
819 cache_file
=$ac_optarg ;;
822 cache_file
=config.cache
;;
824 -datadir |
--datadir |
--datadi |
--datad)
826 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
827 datadir
=$ac_optarg ;;
829 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
830 |
--dataroo |
--dataro |
--datar)
831 ac_prev
=datarootdir
;;
832 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
833 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
834 datarootdir
=$ac_optarg ;;
836 -disable-* |
--disable-*)
837 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
838 # Reject names that are not valid shell variable names.
839 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
840 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
841 { (exit 1); exit 1; }; }
842 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
843 eval enable_
$ac_feature=no
;;
845 -docdir |
--docdir |
--docdi |
--doc |
--do)
847 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
850 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
852 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
855 -enable-* |
--enable-*)
856 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
857 # Reject names that are not valid shell variable names.
858 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
859 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
860 { (exit 1); exit 1; }; }
861 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
862 eval enable_
$ac_feature=\
$ac_optarg ;;
864 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
865 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
866 |
--exec |
--exe |
--ex)
867 ac_prev
=exec_prefix
;;
868 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
869 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
870 |
--exec=* |
--exe=* |
--ex=*)
871 exec_prefix
=$ac_optarg ;;
873 -gas |
--gas |
--ga |
--g)
874 # Obsolete; use --with-gas.
877 -help |
--help |
--hel |
--he |
-h)
879 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
880 ac_init_help
=recursive
;;
881 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
882 ac_init_help
=short
;;
884 -host |
--host |
--hos |
--ho)
885 ac_prev
=host_alias
;;
886 -host=* |
--host=* |
--hos=* |
--ho=*)
887 host_alias
=$ac_optarg ;;
889 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
891 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
893 htmldir
=$ac_optarg ;;
895 -includedir |
--includedir |
--includedi |
--included |
--include \
896 |
--includ |
--inclu |
--incl |
--inc)
897 ac_prev
=includedir
;;
898 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
899 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
900 includedir
=$ac_optarg ;;
902 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
904 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
905 infodir
=$ac_optarg ;;
907 -libdir |
--libdir |
--libdi |
--libd)
909 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
912 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
913 |
--libexe |
--libex |
--libe)
914 ac_prev
=libexecdir
;;
915 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
916 |
--libexe=* |
--libex=* |
--libe=*)
917 libexecdir
=$ac_optarg ;;
919 -localedir |
--localedir |
--localedi |
--localed |
--locale)
921 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
922 localedir
=$ac_optarg ;;
924 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
925 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
926 ac_prev
=localstatedir
;;
927 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
928 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
929 localstatedir
=$ac_optarg ;;
931 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
933 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
937 # Obsolete; use --without-fp.
940 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
941 |
--no-cr |
--no-c |
-n)
944 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
945 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
948 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
949 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
950 |
--oldin |
--oldi |
--old |
--ol |
--o)
951 ac_prev
=oldincludedir
;;
952 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
953 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
954 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
955 oldincludedir
=$ac_optarg ;;
957 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
959 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
962 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
963 |
--program-pre |
--program-pr |
--program-p)
964 ac_prev
=program_prefix
;;
965 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
966 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
967 program_prefix
=$ac_optarg ;;
969 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
970 |
--program-suf |
--program-su |
--program-s)
971 ac_prev
=program_suffix
;;
972 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
973 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
974 program_suffix
=$ac_optarg ;;
976 -program-transform-name |
--program-transform-name \
977 |
--program-transform-nam |
--program-transform-na \
978 |
--program-transform-n |
--program-transform- \
979 |
--program-transform |
--program-transfor \
980 |
--program-transfo |
--program-transf \
981 |
--program-trans |
--program-tran \
982 |
--progr-tra |
--program-tr |
--program-t)
983 ac_prev
=program_transform_name
;;
984 -program-transform-name=* |
--program-transform-name=* \
985 |
--program-transform-nam=* |
--program-transform-na=* \
986 |
--program-transform-n=* |
--program-transform-=* \
987 |
--program-transform=* |
--program-transfor=* \
988 |
--program-transfo=* |
--program-transf=* \
989 |
--program-trans=* |
--program-tran=* \
990 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
991 program_transform_name
=$ac_optarg ;;
993 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
995 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
998 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1000 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1003 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1004 |
-silent |
--silent |
--silen |
--sile |
--sil)
1007 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1009 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1011 sbindir
=$ac_optarg ;;
1013 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1014 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1015 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1017 ac_prev
=sharedstatedir
;;
1018 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1019 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1020 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1022 sharedstatedir
=$ac_optarg ;;
1024 -site |
--site |
--sit)
1026 -site=* |
--site=* |
--sit=*)
1029 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1031 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1032 srcdir
=$ac_optarg ;;
1034 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1035 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1036 ac_prev
=sysconfdir
;;
1037 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1038 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1039 sysconfdir
=$ac_optarg ;;
1041 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1042 ac_prev
=target_alias
;;
1043 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1044 target_alias
=$ac_optarg ;;
1046 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1049 -version |
--version |
--versio |
--versi |
--vers |
-V)
1050 ac_init_version
=: ;;
1053 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1056 { echo "$as_me: error: invalid package name: $ac_package" >&2
1057 { (exit 1); exit 1; }; }
1058 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1059 eval with_
$ac_package=\
$ac_optarg ;;
1061 -without-* |
--without-*)
1062 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1063 # Reject names that are not valid shell variable names.
1064 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1065 { echo "$as_me: error: invalid package name: $ac_package" >&2
1066 { (exit 1); exit 1; }; }
1067 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1068 eval with_
$ac_package=no
;;
1071 # Obsolete; use --with-x.
1074 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1075 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1076 ac_prev
=x_includes
;;
1077 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1078 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1079 x_includes
=$ac_optarg ;;
1081 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1082 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1083 ac_prev
=x_libraries
;;
1084 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1085 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1086 x_libraries
=$ac_optarg ;;
1088 -*) { echo "$as_me: error: unrecognized option: $ac_option
1089 Try \`$0 --help' for more information." >&2
1090 { (exit 1); exit 1; }; }
1094 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1095 # Reject names that are not valid shell variable names.
1096 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1097 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1098 { (exit 1); exit 1; }; }
1099 eval $ac_envvar=\
$ac_optarg
1100 export $ac_envvar ;;
1103 # FIXME: should be removed in autoconf 3.0.
1104 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1105 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1106 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1107 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1113 if test -n "$ac_prev"; then
1114 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1115 { echo "$as_me: error: missing argument to $ac_option" >&2
1116 { (exit 1); exit 1; }; }
1119 # Be sure to have absolute directory names.
1120 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1121 datadir sysconfdir sharedstatedir localstatedir includedir \
1122 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1123 libdir localedir mandir
1125 eval ac_val
=\$
$ac_var
1127 [\\/$
]* | ?
:[\\/]* ) continue;;
1128 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1130 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1131 { (exit 1); exit 1; }; }
1134 # There might be people who depend on the old broken behavior: `$host'
1135 # used to hold the argument of --host etc.
1136 # FIXME: To remove some day.
1139 target
=$target_alias
1141 # FIXME: To remove some day.
1142 if test "x$host_alias" != x
; then
1143 if test "x$build_alias" = x
; then
1144 cross_compiling
=maybe
1145 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1146 If a cross compiler is detected then cross compile mode will be used." >&2
1147 elif test "x$build_alias" != "x$host_alias"; then
1153 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1155 test "$silent" = yes && exec 6>/dev
/null
1158 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1159 ac_ls_di
=`ls -di .` &&
1160 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1161 { echo "$as_me: error: Working directory cannot be determined" >&2
1162 { (exit 1); exit 1; }; }
1163 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1164 { echo "$as_me: error: pwd does not report name of working directory" >&2
1165 { (exit 1); exit 1; }; }
1168 # Find the source files, if location was not specified.
1169 if test -z "$srcdir"; then
1170 ac_srcdir_defaulted
=yes
1171 # Try the directory containing this script, then the parent directory.
1172 ac_confdir
=`$as_dirname -- "$0" ||
1173 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1174 X"$0" : 'X\(//\)[^/]' \| \
1175 X"$0" : 'X\(//\)$' \| \
1176 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1196 if test ! -r "$srcdir/$ac_unique_file"; then
1200 ac_srcdir_defaulted
=no
1202 if test ! -r "$srcdir/$ac_unique_file"; then
1203 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1204 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1205 { (exit 1); exit 1; }; }
1207 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1209 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1210 { (exit 1); exit 1; }; }
1212 # When building in place, set srcdir=.
1213 if test "$ac_abs_confdir" = "$ac_pwd"; then
1216 # Remove unnecessary trailing slashes from srcdir.
1217 # Double slashes in file names in object file debugging info
1218 # mess up M-x gdb in Emacs.
1220 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1222 for ac_var
in $ac_precious_vars; do
1223 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1224 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1225 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1226 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1230 # Report the --help message.
1232 if test "$ac_init_help" = "long"; then
1233 # Omit some internal or obsolete options to make the list less imposing.
1234 # This message is too long to be a string in the A/UX 3.1 sh.
1236 \`configure' configures systemtap 0.6 to adapt to many kinds of systems.
1238 Usage: $0 [OPTION]... [VAR=VALUE]...
1240 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1241 VAR=VALUE. See below for descriptions of some of the useful variables.
1243 Defaults for the options are specified in brackets.
1246 -h, --help display this help and exit
1247 --help=short display options specific to this package
1248 --help=recursive display the short help of all the included packages
1249 -V, --version display version information and exit
1250 -q, --quiet, --silent do not print \`checking...' messages
1251 --cache-file=FILE cache test results in FILE [disabled]
1252 -C, --config-cache alias for \`--cache-file=config.cache'
1253 -n, --no-create do not create output files
1254 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1256 Installation directories:
1257 --prefix=PREFIX install architecture-independent files in PREFIX
1258 [$ac_default_prefix]
1259 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1262 By default, \`make install' will install all the files in
1263 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1264 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1265 for instance \`--prefix=\$HOME'.
1267 For better control, use the options below.
1269 Fine tuning of the installation directories:
1270 --bindir=DIR user executables [EPREFIX/bin]
1271 --sbindir=DIR system admin executables [EPREFIX/sbin]
1272 --libexecdir=DIR program executables [EPREFIX/libexec]
1273 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1274 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1275 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1276 --libdir=DIR object code libraries [EPREFIX/lib]
1277 --includedir=DIR C header files [PREFIX/include]
1278 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1279 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1280 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1281 --infodir=DIR info documentation [DATAROOTDIR/info]
1282 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1283 --mandir=DIR man documentation [DATAROOTDIR/man]
1284 --docdir=DIR documentation root [DATAROOTDIR/doc/systemtap]
1285 --htmldir=DIR html documentation [DOCDIR]
1286 --dvidir=DIR dvi documentation [DOCDIR]
1287 --pdfdir=DIR pdf documentation [DOCDIR]
1288 --psdir=DIR ps documentation [DOCDIR]
1294 --program-prefix=PREFIX prepend PREFIX to installed program names
1295 --program-suffix=SUFFIX append SUFFIX to installed program names
1296 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1300 if test -n "$ac_init_help"; then
1301 case $ac_init_help in
1302 short | recursive
) echo "Configuration of systemtap 0.6:";;
1307 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1308 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1309 --enable-maintainer-mode enable make rules and dependencies not useful
1310 (and sometimes confusing
) to the casual installer
1311 --disable-dependency-tracking speeds up one-time build
1312 --enable-dependency-tracking do not reject slow dependency extractors
1313 --enable-perfmon enable perfmon support
(default is disabled
)
1314 --enable-prologues make -P prologue-searching default
1317 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1318 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1319 --with-perfmon=DIRECTORY
1320 Path to Perfmon installation to use
1321 --with-elfutils=DIRECTORY
1322 find elfutils
source code
in DIRECTORY
1324 Some influential environment variables
:
1325 CC C compiler
command
1326 CFLAGS C compiler flags
1327 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1328 nonstandard directory
<lib dir
>
1329 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1330 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1331 you have headers
in a nonstandard directory
<include dir
>
1332 CXX C
++ compiler
command
1333 CXXFLAGS C
++ compiler flags
1336 Use these variables to override the choices made by
`configure' or to help
1337 it to find libraries and programs with nonstandard names/locations.
1339 Report bugs to <systemtap@sources.redhat.com>.
1344 if test "$ac_init_help" = "recursive"; then
1345 # If there are subdirs, report their specific --help.
1346 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1347 test -d "$ac_dir" || continue
1351 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1353 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1354 # A ".." for each directory in $ac_dir_suffix.
1355 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1356 case $ac_top_builddir_sub in
1357 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1358 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1361 ac_abs_top_builddir=$ac_pwd
1362 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1363 # for backward compatibility:
1364 ac_top_builddir=$ac_top_build_prefix
1367 .) # We are building in place.
1369 ac_top_srcdir=$ac_top_builddir_sub
1370 ac_abs_top_srcdir=$ac_pwd ;;
1371 [\\/]* | ?:[\\/]* ) # Absolute name.
1372 ac_srcdir=$srcdir$ac_dir_suffix;
1373 ac_top_srcdir=$srcdir
1374 ac_abs_top_srcdir=$srcdir ;;
1376 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1377 ac_top_srcdir=$ac_top_build_prefix$srcdir
1378 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1380 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1382 cd "$ac_dir" || { ac_status=$?; continue; }
1383 # Check for guested configure.
1384 if test -f "$ac_srcdir/configure.gnu"; then
1386 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1387 elif test -f "$ac_srcdir/configure"; then
1389 $SHELL "$ac_srcdir/configure" --help=recursive
1391 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1393 cd "$ac_pwd" || { ac_status=$?; break; }
1397 test -n "$ac_init_help" && exit $ac_status
1398 if $ac_init_version; then
1400 systemtap configure 0.6
1401 generated by GNU Autoconf 2.61
1403 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1404 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1405 This configure script is free software; the Free Software Foundation
1406 gives unlimited permission to copy, distribute and modify it.
1410 cat >config.log <<_ACEOF
1411 This file contains any messages produced by compilers while
1412 running configure, to aid debugging if configure makes a mistake.
1414 It was created by systemtap $as_me 0.6, which was
1415 generated by GNU Autoconf 2.61. Invocation command line was
1427 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1428 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1429 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1430 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1431 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1433 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1434 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1436 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1437 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1438 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1439 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1440 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1441 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1442 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1450 test -z "$as_dir" && as_dir=.
1451 echo "PATH: $as_dir"
1467 # Keep a trace of the command line.
1468 # Strip out --no-create and --no-recursion so they do not pile up.
1469 # Strip out --silent because we don't want to record it for future runs.
1470 # Also quote any args containing shell meta-characters.
1471 # Make two passes to allow for proper duplicate-argument suppression.
1475 ac_must_keep_next=false
1481 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1482 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1483 | -silent | --silent | --silen | --sile | --sil)
1486 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1489 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1491 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1492 if test $ac_must_keep_next = true; then
1493 ac_must_keep_next=false # Got value, back to normal.
1496 *=* | --config-cache | -C | -disable-* | --disable-* \
1497 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1498 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1499 | -with-* | --with-* | -without-* | --without-* | --x)
1500 case "$ac_configure_args0 " in
1501 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1504 -* ) ac_must_keep_next=true ;;
1507 ac_configure_args="$ac_configure_args '$ac_arg'"
1512 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1513 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1515 # When interrupted or exit'd, cleanup temporary files, and complete
1516 # config.log. We remove comments because anyway the quotes in there
1517 # would cause problems or look ugly.
1518 # WARNING: Use '\'' to represent an apostrophe within the trap.
1519 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1520 trap 'exit_status=$?
1521 # Save into config.log some information that might help in debugging.
1526 ## ---------------- ##
1527 ## Cache variables. ##
1528 ## ---------------- ##
1531 # The following way of writing the cache mishandles newlines in values,
1533 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1534 eval ac_val=\$$ac_var
1538 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1539 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1542 _ | IFS | as_nl) ;; #(
1543 *) $as_unset $ac_var ;;
1548 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1549 *${as_nl}ac_space=\ *)
1551 "s/'\''/'\''\\\\'\'''\''/g;
1552 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1555 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1563 ## ----------------- ##
1564 ## Output variables. ##
1565 ## ----------------- ##
1568 for ac_var in $ac_subst_vars
1570 eval ac_val=\$$ac_var
1572 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1574 echo "$ac_var='\''$ac_val'\''"
1578 if test -n "$ac_subst_files"; then
1580 ## ------------------- ##
1581 ## File substitutions. ##
1582 ## ------------------- ##
1585 for ac_var in $ac_subst_files
1587 eval ac_val=\$$ac_var
1589 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1591 echo "$ac_var='\''$ac_val'\''"
1596 if test -s confdefs.h; then
1606 test "$ac_signal" != 0 &&
1607 echo "$as_me: caught signal $ac_signal"
1608 echo "$as_me: exit $exit_status"
1610 rm -f core *.core core.conftest.* &&
1611 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1614 for ac_signal in 1 2 13 15; do
1615 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1619 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1620 rm -f -r conftest* confdefs.h
1622 # Predefined preprocessor variables.
1624 cat >>confdefs.h <<_ACEOF
1625 #define PACKAGE_NAME "$PACKAGE_NAME"
1629 cat >>confdefs.h <<_ACEOF
1630 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1634 cat >>confdefs.h <<_ACEOF
1635 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1639 cat >>confdefs.h <<_ACEOF
1640 #define PACKAGE_STRING "$PACKAGE_STRING"
1644 cat >>confdefs.h <<_ACEOF
1645 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1649 # Let the site file select an alternate cache file if it wants to.
1650 # Prefer explicitly selected file to automatically selected ones.
1651 if test -n "$CONFIG_SITE"; then
1652 set x "$CONFIG_SITE"
1653 elif test "x$prefix" != xNONE; then
1654 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1656 set x "$ac_default_prefix/share/config.site" \
1657 "$ac_default_prefix/etc/config.site"
1662 if test -r "$ac_site_file"; then
1663 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1664 echo "$as_me: loading site script $ac_site_file" >&6;}
1665 sed 's/^/| /' "$ac_site_file" >&5
1670 if test -r "$cache_file"; then
1671 # Some versions of bash will fail to source /dev/null (special
1672 # files actually), so we avoid doing that.
1673 if test -f "$cache_file"; then
1674 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1675 echo "$as_me: loading cache $cache_file" >&6;}
1677 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1678 *) . "./$cache_file";;
1682 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1683 echo "$as_me: creating cache $cache_file" >&6;}
1687 # Check that the precious variables saved in the cache have kept the same
1689 ac_cache_corrupted=false
1690 for ac_var in $ac_precious_vars; do
1691 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1692 eval ac_new_set=\$ac_env_${ac_var}_set
1693 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1694 eval ac_new_val=\$ac_env_${ac_var}_value
1695 case $ac_old_set,$ac_new_set in
1697 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1698 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1699 ac_cache_corrupted=: ;;
1701 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1702 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1703 ac_cache_corrupted=: ;;
1706 if test "x$ac_old_val" != "x$ac_new_val"; then
1707 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1708 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1709 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1710 echo "$as_me: former value
: $ac_old_val" >&2;}
1711 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1712 echo "$as_me: current value
: $ac_new_val" >&2;}
1713 ac_cache_corrupted=:
1716 # Pass precious variables to config.status.
1717 if test "$ac_new_set" = set; then
1719 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1720 *) ac_arg=$ac_var=$ac_new_val ;;
1722 case " $ac_configure_args " in
1723 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1724 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1728 if $ac_cache_corrupted; then
1729 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1730 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1731 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1732 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1733 { (exit 1); exit 1; }; }
1761 ac_cpp='$CPP $CPPFLAGS'
1762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1770 am__api_version='1.10'
1773 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1774 if test -f "$ac_dir/install-sh"; then
1776 ac_install_sh="$ac_aux_dir/install-sh -c"
1778 elif test -f "$ac_dir/install.sh"; then
1780 ac_install_sh="$ac_aux_dir/install.sh -c"
1782 elif test -f "$ac_dir/shtool"; then
1784 ac_install_sh="$ac_aux_dir/shtool install -c"
1788 if test -z "$ac_aux_dir"; then
1789 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1790 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1791 { (exit 1); exit 1; }; }
1794 # These three variables are undocumented and unsupported,
1795 # and are intended to be withdrawn in a future Autoconf release.
1796 # They can cause serious problems if a builder's source tree is in a directory
1797 # whose full name contains unusual characters.
1798 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1799 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1800 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1803 # Find a good install program. We prefer a C program (faster),
1804 # so one script is as good as another. But avoid the broken or
1805 # incompatible versions:
1806 # SysV /etc/install, /usr/sbin/install
1807 # SunOS /usr/etc/install
1808 # IRIX /sbin/install
1810 # AmigaOS /C/install, which installs bootblocks on floppy discs
1811 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1812 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1813 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1814 # OS/2's system install, which has a completely different semantic
1815 # ./install, which can be erroneously created by make from ./install.sh.
1816 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1817 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1818 if test -z "$INSTALL"; then
1819 if test "${ac_cv_path_install+set}" = set; then
1820 echo $ECHO_N "(cached) $ECHO_C" >&6
1822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1826 test -z "$as_dir" && as_dir=.
1827 # Account for people who put trailing slashes in PATH elements.
1829 ./ | .// | /cC/* | \
1830 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1831 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1834 # OSF1 and SCO ODT 3.0 have their own names for install.
1835 # Don't use installbsd from OSF since it installs stuff as root
1837 for ac_prog in ginstall scoinst install; do
1838 for ac_exec_ext in '' $ac_executable_extensions; do
1839 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1840 if test $ac_prog = install &&
1841 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1842 # AIX install. It has an incompatible calling convention.
1844 elif test $ac_prog = install &&
1845 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1846 # program-specific install script used by HP pwplus--don't use.
1849 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1862 if test "${ac_cv_path_install+set}" = set; then
1863 INSTALL=$ac_cv_path_install
1865 # As a last resort, use the slow shell script. Don't cache a
1866 # value for INSTALL within a source directory, because that will
1867 # break other packages using the cache if that directory is
1868 # removed, or if the value is a relative name.
1869 INSTALL=$ac_install_sh
1872 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1873 echo "${ECHO_T}$INSTALL" >&6; }
1875 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1876 # It thinks the first close brace ends the variable substitution.
1877 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1879 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1881 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1883 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1884 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1887 echo timestamp > conftest.file
1888 # Do `set' in a subshell so we don't clobber the current shell
's
1889 # arguments. Must try -L first in case configure is actually a
1890 # symlink; some systems play weird games with the mod time of symlinks
1891 # (eg FreeBSD returns the mod time of the symlink's containing
1894 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1895 if test "$*" = "X"; then
1897 set X
`ls -t $srcdir/configure conftest.file`
1900 if test "$*" != "X $srcdir/configure conftest.file" \
1901 && test "$*" != "X conftest.file $srcdir/configure"; then
1903 # If neither matched, then we have a broken ls. This can happen
1904 # if, for instance, CONFIG_SHELL is bash and it inherits a
1905 # broken ls alias from the environment. This has actually
1906 # happened. Such a system could not be considered "sane".
1907 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1908 alias in your environment" >&5
1909 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1910 alias in your environment" >&2;}
1911 { (exit 1); exit 1; }; }
1914 test "$2" = conftest.
file
1920 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1921 Check your system clock" >&5
1922 echo "$as_me: error: newly created file is older than distributed files!
1923 Check your system clock" >&2;}
1924 { (exit 1); exit 1; }; }
1926 { echo "$as_me:$LINENO: result: yes" >&5
1927 echo "${ECHO_T}yes" >&6; }
1928 test "$program_prefix" != NONE
&&
1929 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1930 # Use a double $ so make ignores it.
1931 test "$program_suffix" != NONE
&&
1932 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1933 # Double any \ or $. echo might interpret backslashes.
1934 # By default was `s,x,x', remove it if useless.
1935 cat <<\_ACEOF
>conftest.
sed
1936 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1938 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1941 # expand $ac_aux_dir to an absolute path
1942 am_aux_dir
=`cd $ac_aux_dir && pwd`
1944 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1945 # Use eval to expand $SHELL
1946 if eval "$MISSING --run true"; then
1947 am_missing_run
="$MISSING --run "
1950 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1951 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1954 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1955 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1956 if test -z "$MKDIR_P"; then
1957 if test "${ac_cv_path_mkdir+set}" = set; then
1958 echo $ECHO_N "(cached) $ECHO_C" >&6
1960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1961 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
1964 test -z "$as_dir" && as_dir
=.
1965 for ac_prog
in mkdir gmkdir
; do
1966 for ac_exec_ext
in '' $ac_executable_extensions; do
1967 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
1968 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1969 'mkdir (GNU coreutils) '* | \
1970 'mkdir (coreutils) '* | \
1971 'mkdir (fileutils) '4.1*)
1972 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
1982 if test "${ac_cv_path_mkdir+set}" = set; then
1983 MKDIR_P
="$ac_cv_path_mkdir -p"
1985 # As a last resort, use the slow shell script. Don't cache a
1986 # value for MKDIR_P within a source directory, because that will
1987 # break other packages using the cache if that directory is
1988 # removed, or if the value is a relative name.
1989 test -d .
/--version && rmdir .
/--version
1990 MKDIR_P
="$ac_install_sh -d"
1993 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1994 echo "${ECHO_T}$MKDIR_P" >&6; }
1998 [\\/$
]* | ?
:[\\/]*) ;;
1999 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2002 for ac_prog
in gawk mawk nawk
awk
2004 # Extract the first word of "$ac_prog", so it can be a program name with args.
2005 set dummy
$ac_prog; ac_word
=$2
2006 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2008 if test "${ac_cv_prog_AWK+set}" = set; then
2009 echo $ECHO_N "(cached) $ECHO_C" >&6
2011 if test -n "$AWK"; then
2012 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2018 test -z "$as_dir" && as_dir
=.
2019 for ac_exec_ext
in '' $ac_executable_extensions; do
2020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2021 ac_cv_prog_AWK
="$ac_prog"
2022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2032 if test -n "$AWK"; then
2033 { echo "$as_me:$LINENO: result: $AWK" >&5
2034 echo "${ECHO_T}$AWK" >&6; }
2036 { echo "$as_me:$LINENO: result: no" >&5
2037 echo "${ECHO_T}no" >&6; }
2041 test -n "$AWK" && break
2044 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2045 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2046 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2047 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2048 echo $ECHO_N "(cached) $ECHO_C" >&6
2050 cat >conftest.
make <<\_ACEOF
2053 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2055 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2056 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2058 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2060 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2064 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2065 { echo "$as_me:$LINENO: result: yes" >&5
2066 echo "${ECHO_T}yes" >&6; }
2069 { echo "$as_me:$LINENO: result: no" >&5
2070 echo "${ECHO_T}no" >&6; }
2071 SET_MAKE
="MAKE=${MAKE-make}"
2074 rm -rf .tst
2>/dev
/null
2075 mkdir .tst
2>/dev
/null
2076 if test -d .tst
; then
2081 rmdir .tst
2>/dev
/null
2083 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2084 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2085 # is not polluted with repeated "-I."
2086 am__isrc
=' -I$(srcdir)'
2087 # test to see if srcdir already configured
2088 if test -f $srcdir/config.status
; then
2089 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2090 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2091 { (exit 1); exit 1; }; }
2095 # test whether we have cygpath
2096 if test -z "$CYGPATH_W"; then
2097 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2098 CYGPATH_W
='cygpath -w'
2105 # Define the identity of the package.
2110 cat >>confdefs.h
<<_ACEOF
2111 #define PACKAGE "$PACKAGE"
2115 cat >>confdefs.h
<<_ACEOF
2116 #define VERSION "$VERSION"
2119 # Some tools Automake needs.
2121 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2124 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2127 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2130 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2133 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2135 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2137 # Installed binaries are usually stripped using `strip' when the user
2138 # run `make install-strip'. However `strip' might not be the right
2139 # tool to use in cross-compilation environments, therefore Automake
2140 # will honor the `STRIP' environment variable to overrule this program.
2141 if test "$cross_compiling" != no
; then
2142 if test -n "$ac_tool_prefix"; then
2143 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2144 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2147 if test "${ac_cv_prog_STRIP+set}" = set; then
2148 echo $ECHO_N "(cached) $ECHO_C" >&6
2150 if test -n "$STRIP"; then
2151 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2157 test -z "$as_dir" && as_dir
=.
2158 for ac_exec_ext
in '' $ac_executable_extensions; do
2159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2160 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2170 STRIP
=$ac_cv_prog_STRIP
2171 if test -n "$STRIP"; then
2172 { echo "$as_me:$LINENO: result: $STRIP" >&5
2173 echo "${ECHO_T}$STRIP" >&6; }
2175 { echo "$as_me:$LINENO: result: no" >&5
2176 echo "${ECHO_T}no" >&6; }
2181 if test -z "$ac_cv_prog_STRIP"; then
2183 # Extract the first word of "strip", so it can be a program name with args.
2184 set dummy strip
; ac_word
=$2
2185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2187 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2188 echo $ECHO_N "(cached) $ECHO_C" >&6
2190 if test -n "$ac_ct_STRIP"; then
2191 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2197 test -z "$as_dir" && as_dir
=.
2198 for ac_exec_ext
in '' $ac_executable_extensions; do
2199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2200 ac_cv_prog_ac_ct_STRIP
="strip"
2201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2210 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2211 if test -n "$ac_ct_STRIP"; then
2212 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2213 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2215 { echo "$as_me:$LINENO: result: no" >&5
2216 echo "${ECHO_T}no" >&6; }
2219 if test "x$ac_ct_STRIP" = x
; then
2222 case $cross_compiling:$ac_tool_warned in
2224 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2225 whose name does not start with the host triplet. If you think this
2226 configuration is useful to you, please write to autoconf@gnu.org." >&5
2227 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2228 whose name does not start with the host triplet. If you think this
2229 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2230 ac_tool_warned
=yes ;;
2235 STRIP
="$ac_cv_prog_STRIP"
2239 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2241 # We need awk for the "check" target. The system "awk" is bad on
2243 # Always define AMTAR for backward compatibility.
2245 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2247 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2253 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2254 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2255 # Check whether --enable-maintainer-mode was given.
2256 if test "${enable_maintainer_mode+set}" = set; then
2257 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2259 USE_MAINTAINER_MODE
=no
2262 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2263 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2264 if test $USE_MAINTAINER_MODE = yes; then
2265 MAINTAINER_MODE_TRUE
=
2266 MAINTAINER_MODE_FALSE
='#'
2268 MAINTAINER_MODE_TRUE
='#'
2269 MAINTAINER_MODE_FALSE
=
2272 MAINT
=$MAINTAINER_MODE_TRUE
2276 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2277 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2278 if test -z "$MKDIR_P"; then
2279 if test "${ac_cv_path_mkdir+set}" = set; then
2280 echo $ECHO_N "(cached) $ECHO_C" >&6
2282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2283 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2286 test -z "$as_dir" && as_dir
=.
2287 for ac_prog
in mkdir gmkdir
; do
2288 for ac_exec_ext
in '' $ac_executable_extensions; do
2289 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2290 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2291 'mkdir (GNU coreutils) '* | \
2292 'mkdir (coreutils) '* | \
2293 'mkdir (fileutils) '4.1*)
2294 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2304 if test "${ac_cv_path_mkdir+set}" = set; then
2305 MKDIR_P
="$ac_cv_path_mkdir -p"
2307 # As a last resort, use the slow shell script. Don't cache a
2308 # value for MKDIR_P within a source directory, because that will
2309 # break other packages using the cache if that directory is
2310 # removed, or if the value is a relative name.
2311 test -d .
/--version && rmdir .
/--version
2312 MKDIR_P
="$ac_install_sh -d"
2315 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2316 echo "${ECHO_T}$MKDIR_P" >&6; }
2318 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
2319 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2321 if test "$LN_S" = "ln -s"; then
2322 { echo "$as_me:$LINENO: result: yes" >&5
2323 echo "${ECHO_T}yes" >&6; }
2325 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2326 echo "${ECHO_T}no, using $LN_S" >&6; }
2330 ac_cpp
='$CPP $CPPFLAGS'
2331 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2332 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2333 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2334 if test -n "$ac_tool_prefix"; then
2335 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2336 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2339 if test "${ac_cv_prog_CC+set}" = set; then
2340 echo $ECHO_N "(cached) $ECHO_C" >&6
2342 if test -n "$CC"; then
2343 ac_cv_prog_CC
="$CC" # Let the user override the test.
2345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2349 test -z "$as_dir" && as_dir
=.
2350 for ac_exec_ext
in '' $ac_executable_extensions; do
2351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2352 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2363 if test -n "$CC"; then
2364 { echo "$as_me:$LINENO: result: $CC" >&5
2365 echo "${ECHO_T}$CC" >&6; }
2367 { echo "$as_me:$LINENO: result: no" >&5
2368 echo "${ECHO_T}no" >&6; }
2373 if test -z "$ac_cv_prog_CC"; then
2375 # Extract the first word of "gcc", so it can be a program name with args.
2376 set dummy gcc
; ac_word
=$2
2377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2379 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2380 echo $ECHO_N "(cached) $ECHO_C" >&6
2382 if test -n "$ac_ct_CC"; then
2383 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2389 test -z "$as_dir" && as_dir
=.
2390 for ac_exec_ext
in '' $ac_executable_extensions; do
2391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2392 ac_cv_prog_ac_ct_CC
="gcc"
2393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2402 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2403 if test -n "$ac_ct_CC"; then
2404 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2405 echo "${ECHO_T}$ac_ct_CC" >&6; }
2407 { echo "$as_me:$LINENO: result: no" >&5
2408 echo "${ECHO_T}no" >&6; }
2411 if test "x$ac_ct_CC" = x
; then
2414 case $cross_compiling:$ac_tool_warned in
2416 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2417 whose name does not start with the host triplet. If you think this
2418 configuration is useful to you, please write to autoconf@gnu.org." >&5
2419 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2420 whose name does not start with the host triplet. If you think this
2421 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2422 ac_tool_warned
=yes ;;
2430 if test -z "$CC"; then
2431 if test -n "$ac_tool_prefix"; then
2432 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2433 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2436 if test "${ac_cv_prog_CC+set}" = set; then
2437 echo $ECHO_N "(cached) $ECHO_C" >&6
2439 if test -n "$CC"; then
2440 ac_cv_prog_CC
="$CC" # Let the user override the test.
2442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2446 test -z "$as_dir" && as_dir
=.
2447 for ac_exec_ext
in '' $ac_executable_extensions; do
2448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2449 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2460 if test -n "$CC"; then
2461 { echo "$as_me:$LINENO: result: $CC" >&5
2462 echo "${ECHO_T}$CC" >&6; }
2464 { echo "$as_me:$LINENO: result: no" >&5
2465 echo "${ECHO_T}no" >&6; }
2471 if test -z "$CC"; then
2472 # Extract the first word of "cc", so it can be a program name with args.
2473 set dummy cc
; ac_word
=$2
2474 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2476 if test "${ac_cv_prog_CC+set}" = set; then
2477 echo $ECHO_N "(cached) $ECHO_C" >&6
2479 if test -n "$CC"; then
2480 ac_cv_prog_CC
="$CC" # Let the user override the test.
2483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2487 test -z "$as_dir" && as_dir
=.
2488 for ac_exec_ext
in '' $ac_executable_extensions; do
2489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2490 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2491 ac_prog_rejected
=yes
2495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2502 if test $ac_prog_rejected = yes; then
2503 # We found a bogon in the path, so make sure we never use it.
2504 set dummy
$ac_cv_prog_CC
2506 if test $# != 0; then
2507 # We chose a different compiler from the bogus one.
2508 # However, it has the same basename, so the bogon will be chosen
2509 # first if we set CC to just the basename; use the full file name.
2511 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2517 if test -n "$CC"; then
2518 { echo "$as_me:$LINENO: result: $CC" >&5
2519 echo "${ECHO_T}$CC" >&6; }
2521 { echo "$as_me:$LINENO: result: no" >&5
2522 echo "${ECHO_T}no" >&6; }
2527 if test -z "$CC"; then
2528 if test -n "$ac_tool_prefix"; then
2529 for ac_prog
in cl.exe
2531 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2532 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2533 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2535 if test "${ac_cv_prog_CC+set}" = set; then
2536 echo $ECHO_N "(cached) $ECHO_C" >&6
2538 if test -n "$CC"; then
2539 ac_cv_prog_CC
="$CC" # Let the user override the test.
2541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2545 test -z "$as_dir" && as_dir
=.
2546 for ac_exec_ext
in '' $ac_executable_extensions; do
2547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2548 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2559 if test -n "$CC"; then
2560 { echo "$as_me:$LINENO: result: $CC" >&5
2561 echo "${ECHO_T}$CC" >&6; }
2563 { echo "$as_me:$LINENO: result: no" >&5
2564 echo "${ECHO_T}no" >&6; }
2568 test -n "$CC" && break
2571 if test -z "$CC"; then
2573 for ac_prog
in cl.exe
2575 # Extract the first word of "$ac_prog", so it can be a program name with args.
2576 set dummy
$ac_prog; ac_word
=$2
2577 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2579 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2580 echo $ECHO_N "(cached) $ECHO_C" >&6
2582 if test -n "$ac_ct_CC"; then
2583 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2589 test -z "$as_dir" && as_dir
=.
2590 for ac_exec_ext
in '' $ac_executable_extensions; do
2591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2592 ac_cv_prog_ac_ct_CC
="$ac_prog"
2593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2602 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2603 if test -n "$ac_ct_CC"; then
2604 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2605 echo "${ECHO_T}$ac_ct_CC" >&6; }
2607 { echo "$as_me:$LINENO: result: no" >&5
2608 echo "${ECHO_T}no" >&6; }
2612 test -n "$ac_ct_CC" && break
2615 if test "x$ac_ct_CC" = x
; then
2618 case $cross_compiling:$ac_tool_warned in
2620 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2621 whose name does not start with the host triplet. If you think this
2622 configuration is useful to you, please write to autoconf@gnu.org." >&5
2623 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2624 whose name does not start with the host triplet. If you think this
2625 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2626 ac_tool_warned
=yes ;;
2635 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2636 See \`config.log' for more details." >&5
2637 echo "$as_me: error: no acceptable C compiler found in \$PATH
2638 See \`config.log' for more details." >&2;}
2639 { (exit 1); exit 1; }; }
2641 # Provide some information about the compiler.
2642 echo "$as_me:$LINENO: checking for C compiler version" >&5
2643 ac_compiler
=`set X $ac_compile; echo $2`
2644 { (ac_try
="$ac_compiler --version >&5"
2646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2647 *) ac_try_echo=$ac_try;;
2649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2650 (eval "$ac_compiler --version >&5") 2>&5
2652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653 (exit $ac_status); }
2654 { (ac_try="$ac_compiler -v >&5"
2656 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2657 *) ac_try_echo
=$ac_try;;
2659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2660 (eval "$ac_compiler -v >&5") 2>&5
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); }
2664 { (ac_try
="$ac_compiler -V >&5"
2666 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2667 *) ac_try_echo=$ac_try;;
2669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2670 (eval "$ac_compiler -V >&5") 2>&5
2672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2673 (exit $ac_status); }
2675 cat >conftest.$ac_ext <<_ACEOF
2678 cat confdefs.h >>conftest.$ac_ext
2679 cat >>conftest.$ac_ext <<_ACEOF
2680 /* end confdefs.h. */
2690 ac_clean_files_save=$ac_clean_files
2691 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2692 # Try to create an executable without -o first, disregard a.out.
2693 # It will help us diagnose broken compilers, and finding out an intuition
2695 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2696 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2697 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2699 # List of possible output files, starting from the most likely.
2700 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2701 # only as a last resort. b.out is created by i960 compilers.
2702 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2704 # The IRIX 6 linker writes into existing files which may not be
2705 # executable, retaining their permissions. Remove them first so a
2706 # subsequent execution test works.
2708 for ac_file in $ac_files
2711 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2712 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2717 if { (ac_try="$ac_link_default"
2719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2720 *) ac_try_echo=$ac_try;;
2722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2723 (eval "$ac_link_default") 2>&5
2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726 (exit $ac_status); }; then
2727 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2728 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2729 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2730 # so that the user can short-circuit this test for compilers unknown to
2732 for ac_file
in $ac_files ''
2734 test -f "$ac_file" ||
continue
2736 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2739 # We found the default executable, but exeext='' is most
2743 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2745 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2747 # We set ac_cv_exeext here because the later test for it is not
2748 # safe: cross compilers may not add the suffix if given an `-o'
2749 # argument, so we may need to know it at that point already.
2750 # Even if this section looks crufty: it has the advantage of
2757 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2763 { echo "$as_me:$LINENO: result: $ac_file" >&5
2764 echo "${ECHO_T}$ac_file" >&6; }
2765 if test -z "$ac_file"; then
2766 echo "$as_me: failed program was:" >&5
2767 sed 's/^/| /' conftest.
$ac_ext >&5
2769 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2770 See \`config.log' for more details." >&5
2771 echo "$as_me: error: C compiler cannot create executables
2772 See \`config.log' for more details." >&2;}
2773 { (exit 77); exit 77; }; }
2776 ac_exeext
=$ac_cv_exeext
2778 # Check that the compiler produces executables we can run. If not, either
2779 # the compiler is broken, or we cross compile.
2780 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2781 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2782 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2783 # If not cross compiling, check that we can run a simple program.
2784 if test "$cross_compiling" != yes; then
2785 if { ac_try
='./$ac_file'
2786 { (case "(($ac_try" in
2787 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2788 *) ac_try_echo=$ac_try;;
2790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2791 (eval "$ac_try") 2>&5
2793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794 (exit $ac_status); }; }; then
2797 if test "$cross_compiling" = maybe; then
2800 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2801 If you meant to cross compile, use \`--host'.
2802 See \`config.log' for more details.
" >&5
2803 echo "$as_me: error
: cannot run C compiled programs.
2804 If you meant to cross compile
, use \
`--host'.
2805 See \`config.log
' for more details." >&2;}
2806 { (exit 1); exit 1; }; }
2810 { echo "$as_me:$LINENO: result: yes" >&5
2811 echo "${ECHO_T}yes" >&6; }
2813 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2814 ac_clean_files=$ac_clean_files_save
2815 # Check that the compiler produces executables we can run. If not, either
2816 # the compiler is broken, or we cross compile.
2817 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2818 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2819 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2820 echo "${ECHO_T}$cross_compiling" >&6; }
2822 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2823 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2824 if { (ac_try="$ac_link"
2826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2827 *) ac_try_echo=$ac_try;;
2829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2830 (eval "$ac_link") 2>&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); }; then
2834 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2835 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2836 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2838 for ac_file
in conftest.exe conftest conftest.
*; do
2839 test -f "$ac_file" ||
continue
2841 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2842 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2848 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2849 See \`config.log' for more details." >&5
2850 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2851 See \`config.log' for more details." >&2;}
2852 { (exit 1); exit 1; }; }
2855 rm -f conftest
$ac_cv_exeext
2856 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2857 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2859 rm -f conftest.
$ac_ext
2860 EXEEXT
=$ac_cv_exeext
2862 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2863 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2864 if test "${ac_cv_objext+set}" = set; then
2865 echo $ECHO_N "(cached) $ECHO_C" >&6
2867 cat >conftest.
$ac_ext <<_ACEOF
2870 cat confdefs.h
>>conftest.
$ac_ext
2871 cat >>conftest.
$ac_ext <<_ACEOF
2872 /* end confdefs.h. */
2882 rm -f conftest.o conftest.obj
2883 if { (ac_try
="$ac_compile"
2885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2886 *) ac_try_echo=$ac_try;;
2888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2889 (eval "$ac_compile") 2>&5
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); }; then
2893 for ac_file in conftest.o conftest.obj conftest.*; do
2894 test -f "$ac_file" || continue;
2896 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2897 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2902 echo "$as_me: failed program was:" >&5
2903 sed 's/^/| /' conftest.$ac_ext >&5
2905 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2906 See \`config.log
' for more details." >&5
2907 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2908 See \`config.log' for more details.
" >&2;}
2909 { (exit 1); exit 1; }; }
2912 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2914 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2915 echo "${ECHO_T}$ac_cv_objext" >&6; }
2916 OBJEXT=$ac_cv_objext
2918 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2919 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2920 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2921 echo $ECHO_N "(cached
) $ECHO_C" >&6
2923 cat >conftest.$ac_ext <<_ACEOF
2926 cat confdefs.h >>conftest.$ac_ext
2927 cat >>conftest.$ac_ext <<_ACEOF
2928 /* end confdefs.h. */
2941 rm -f conftest.$ac_objext
2942 if { (ac_try="$ac_compile"
2944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2945 *) ac_try_echo=$ac_try;;
2947 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2948 (eval "$ac_compile") 2>conftest.er1
2950 grep -v '^ *+' conftest.er1 >conftest.err
2952 cat conftest.err >&5
2953 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2954 (exit $ac_status); } && {
2955 test -z "$ac_c_werror_flag" ||
2956 test ! -s conftest.err
2957 } && test -s conftest.$ac_objext; then
2960 echo "$as_me: failed program was
:" >&5
2961 sed 's/^/| /' conftest.$ac_ext >&5
2966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2967 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2970 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2971 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2972 GCC=`test $ac_compiler_gnu = yes && echo yes`
2973 ac_test_CFLAGS=${CFLAGS+set}
2974 ac_save_CFLAGS=$CFLAGS
2975 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2976 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2977 if test "${ac_cv_prog_cc_g+set}" = set; then
2978 echo $ECHO_N "(cached
) $ECHO_C" >&6
2980 ac_save_c_werror_flag=$ac_c_werror_flag
2981 ac_c_werror_flag=yes
2984 cat >conftest.$ac_ext <<_ACEOF
2987 cat confdefs.h >>conftest.$ac_ext
2988 cat >>conftest.$ac_ext <<_ACEOF
2989 /* end confdefs.h. */
2999 rm -f conftest.$ac_objext
3000 if { (ac_try="$ac_compile"
3002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3003 *) ac_try_echo=$ac_try;;
3005 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3006 (eval "$ac_compile") 2>conftest.er1
3008 grep -v '^ *+' conftest.er1 >conftest.err
3010 cat conftest.err >&5
3011 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3012 (exit $ac_status); } && {
3013 test -z "$ac_c_werror_flag" ||
3014 test ! -s conftest.err
3015 } && test -s conftest.$ac_objext; then
3018 echo "$as_me: failed program was
:" >&5
3019 sed 's/^/| /' conftest.$ac_ext >&5
3022 cat >conftest.$ac_ext <<_ACEOF
3025 cat confdefs.h >>conftest.$ac_ext
3026 cat >>conftest.$ac_ext <<_ACEOF
3027 /* end confdefs.h. */
3037 rm -f conftest.$ac_objext
3038 if { (ac_try="$ac_compile"
3040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3041 *) ac_try_echo=$ac_try;;
3043 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3044 (eval "$ac_compile") 2>conftest.er1
3046 grep -v '^ *+' conftest.er1 >conftest.err
3048 cat conftest.err >&5
3049 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3050 (exit $ac_status); } && {
3051 test -z "$ac_c_werror_flag" ||
3052 test ! -s conftest.err
3053 } && test -s conftest.$ac_objext; then
3056 echo "$as_me: failed program was
:" >&5
3057 sed 's/^/| /' conftest.$ac_ext >&5
3059 ac_c_werror_flag=$ac_save_c_werror_flag
3061 cat >conftest.$ac_ext <<_ACEOF
3064 cat confdefs.h >>conftest.$ac_ext
3065 cat >>conftest.$ac_ext <<_ACEOF
3066 /* end confdefs.h. */
3076 rm -f conftest.$ac_objext
3077 if { (ac_try="$ac_compile"
3079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3080 *) ac_try_echo=$ac_try;;
3082 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3083 (eval "$ac_compile") 2>conftest.er1
3085 grep -v '^ *+' conftest.er1 >conftest.err
3087 cat conftest.err >&5
3088 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3089 (exit $ac_status); } && {
3090 test -z "$ac_c_werror_flag" ||
3091 test ! -s conftest.err
3092 } && test -s conftest.$ac_objext; then
3095 echo "$as_me: failed program was
:" >&5
3096 sed 's/^/| /' conftest.$ac_ext >&5
3101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3108 ac_c_werror_flag=$ac_save_c_werror_flag
3110 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3111 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3112 if test "$ac_test_CFLAGS" = set; then
3113 CFLAGS=$ac_save_CFLAGS
3114 elif test $ac_cv_prog_cc_g = yes; then
3115 if test "$GCC" = yes; then
3121 if test "$GCC" = yes; then
3127 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3128 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3129 if test "${ac_cv_prog_cc_c89+set}" = set; then
3130 echo $ECHO_N "(cached
) $ECHO_C" >&6
3132 ac_cv_prog_cc_c89=no
3134 cat >conftest.$ac_ext <<_ACEOF
3137 cat confdefs.h >>conftest.$ac_ext
3138 cat >>conftest.$ac_ext <<_ACEOF
3139 /* end confdefs.h. */
3142 #include <sys/types.h>
3143 #include <sys/stat.h>
3144 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3145 struct buf { int x; };
3146 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3147 static char *e (p, i)
3153 static char *f (char * (*g) (char **, int), char **p, ...)
3158 s = g (p, va_arg (v,int));
3163 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3164 function prototypes and stuff, but not '\xHH' hex character constants.
3165 These don't provoke an error unfortunately, instead are silently treated
3166 as 'x'. The following induces an error, until -std is added to get
3167 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3168 array size at least. It's necessary to write '\x00'==0 to get something
3169 that's true only with -std. */
3170 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3172 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3173 inside strings and character constants. */
3175 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3177 int test (int i, double x);
3178 struct s1 {int (*f) (int a);};
3179 struct s2 {int (*f) (double a);};
3180 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3186 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3191 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3192 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3194 CC="$ac_save_CC $ac_arg"
3195 rm -f conftest.$ac_objext
3196 if { (ac_try="$ac_compile"
3198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3199 *) ac_try_echo=$ac_try;;
3201 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3202 (eval "$ac_compile") 2>conftest.er1
3204 grep -v '^ *+' conftest.er1 >conftest.err
3206 cat conftest.err >&5
3207 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3208 (exit $ac_status); } && {
3209 test -z "$ac_c_werror_flag" ||
3210 test ! -s conftest.err
3211 } && test -s conftest.$ac_objext; then
3212 ac_cv_prog_cc_c89=$ac_arg
3214 echo "$as_me: failed program was
:" >&5
3215 sed 's/^/| /' conftest.$ac_ext >&5
3220 rm -f core conftest.err conftest.$ac_objext
3221 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3223 rm -f conftest.$ac_ext
3228 case "x
$ac_cv_prog_cc_c89" in
3230 { echo "$as_me:$LINENO: result
: none needed
" >&5
3231 echo "${ECHO_T}none needed
" >&6; } ;;
3233 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3234 echo "${ECHO_T}unsupported
" >&6; } ;;
3236 CC="$CC $ac_cv_prog_cc_c89"
3237 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3238 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3243 ac_cpp='$CPP $CPPFLAGS'
3244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3247 DEPDIR="${am__leading_dot}deps
"
3249 ac_config_commands="$ac_config_commands depfiles
"
3252 am_make=${MAKE-make}
3253 cat > confinc << 'END'
3258 # If we don't find an include directive, just comment out the code.
3259 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3260 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3264 # First try GNU make style include.
3265 echo "include confinc" > confmf
3266 # We grep out `Entering directory' and `Leaving directory'
3267 # messages which can occur if `w' ends up in MAKEFLAGS.
3268 # In particular we don't look at `^make:' because GNU make might
3269 # be invoked under some other name (usually "gmake"), in which
3270 # case it prints its new name instead of `make'.
3271 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3276 # Now try BSD make style include.
3277 if test "$am__include" = "#"; then
3278 echo '.include "confinc"' > confmf
3279 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3280 am__include
=.include
3287 { echo "$as_me:$LINENO: result: $_am_result" >&5
3288 echo "${ECHO_T}$_am_result" >&6; }
3289 rm -f confinc confmf
3291 # Check whether --enable-dependency-tracking was given.
3292 if test "${enable_dependency_tracking+set}" = set; then
3293 enableval
=$enable_dependency_tracking;
3296 if test "x$enable_dependency_tracking" != xno
; then
3297 am_depcomp
="$ac_aux_dir/depcomp"
3300 if test "x$enable_dependency_tracking" != xno; then
3310 depcc
="$CC" am_compiler_list
=
3312 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3313 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3314 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3315 echo $ECHO_N "(cached) $ECHO_C" >&6
3317 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3318 # We make a subdir and do the tests there. Otherwise we can end up
3319 # making bogus files that we don't know about and never remove. For
3320 # instance it was reported that on HP-UX the gcc test will end up
3321 # making a dummy file named `D' -- because `-MD' means `put the output
3324 # Copy depcomp to subdir because otherwise we won't find it if we're
3325 # using a relative directory.
3326 cp "$am_depcomp" conftest.dir
3328 # We will build objects and dependencies in a subdirectory because
3329 # it helps to detect inapplicable dependency modes. For instance
3330 # both Tru64's cc and ICC support -MD to output dependencies as a
3331 # side effect of compilation, but ICC will put the dependencies in
3332 # the current directory while Tru64 will put them in the object
3336 am_cv_CC_dependencies_compiler_type
=none
3337 if test "$am_compiler_list" = ""; then
3338 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3340 for depmode
in $am_compiler_list; do
3341 # Setup a source with many dependencies, because some compilers
3342 # like to wrap large dependency lists on column 80 (with \), and
3343 # we should not choose a depcomp mode which is confused by this.
3345 # We need to recreate these files for each test, as the compiler may
3346 # overwrite some of them when testing with obscure command lines.
3347 # This happens at least with the AIX C compiler.
3349 for i
in 1 2 3 4 5 6; do
3350 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3351 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3352 # Solaris 8's {/usr,}/bin/sh.
3353 touch sub
/conftst
$i.h
3355 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3359 # after this tag, mechanisms are not by side-effect, so they'll
3360 # only be used when explicitly requested
3361 if test "x$enable_dependency_tracking" = xyes
; then
3369 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3370 # mode. It turns out that the SunPro C++ compiler does not properly
3371 # handle `-M -o', and we need to detect this.
3372 if depmode
=$depmode \
3373 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3374 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3375 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3376 >/dev
/null
2>conftest.err
&&
3377 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3378 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3379 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3380 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3381 # icc doesn't choke on unknown options, it will just issue warnings
3382 # or remarks (even with -Werror). So we grep stderr for any message
3383 # that says an option was ignored or not supported.
3384 # When given -MP, icc 7.0 and 7.1 complain thusly:
3385 # icc: Command line warning: ignoring option '-M'; no argument required
3386 # The diagnosis changed in icc 8.0:
3387 # icc: Command line remark: option '-MP' not supported
3388 if (grep 'ignoring option' conftest.err ||
3389 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3390 am_cv_CC_dependencies_compiler_type
=$depmode
3399 am_cv_CC_dependencies_compiler_type
=none
3403 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3404 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3405 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3408 test "x$enable_dependency_tracking" != xno \
3409 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3411 am__fastdepCC_FALSE
='#'
3413 am__fastdepCC_TRUE
='#'
3414 am__fastdepCC_FALSE
=
3419 ac_cpp
='$CXXCPP $CPPFLAGS'
3420 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3421 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3422 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3423 if test -z "$CXX"; then
3424 if test -n "$CCC"; then
3427 if test -n "$ac_tool_prefix"; then
3428 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3430 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3431 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3432 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3434 if test "${ac_cv_prog_CXX+set}" = set; then
3435 echo $ECHO_N "(cached) $ECHO_C" >&6
3437 if test -n "$CXX"; then
3438 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3444 test -z "$as_dir" && as_dir
=.
3445 for ac_exec_ext
in '' $ac_executable_extensions; do
3446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3447 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3458 if test -n "$CXX"; then
3459 { echo "$as_me:$LINENO: result: $CXX" >&5
3460 echo "${ECHO_T}$CXX" >&6; }
3462 { echo "$as_me:$LINENO: result: no" >&5
3463 echo "${ECHO_T}no" >&6; }
3467 test -n "$CXX" && break
3470 if test -z "$CXX"; then
3472 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3474 # Extract the first word of "$ac_prog", so it can be a program name with args.
3475 set dummy
$ac_prog; ac_word
=$2
3476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3478 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3479 echo $ECHO_N "(cached) $ECHO_C" >&6
3481 if test -n "$ac_ct_CXX"; then
3482 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3488 test -z "$as_dir" && as_dir
=.
3489 for ac_exec_ext
in '' $ac_executable_extensions; do
3490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3491 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3501 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3502 if test -n "$ac_ct_CXX"; then
3503 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3504 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3506 { echo "$as_me:$LINENO: result: no" >&5
3507 echo "${ECHO_T}no" >&6; }
3511 test -n "$ac_ct_CXX" && break
3514 if test "x$ac_ct_CXX" = x
; then
3517 case $cross_compiling:$ac_tool_warned in
3519 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3520 whose name does not start with the host triplet. If you think this
3521 configuration is useful to you, please write to autoconf@gnu.org." >&5
3522 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3523 whose name does not start with the host triplet. If you think this
3524 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3525 ac_tool_warned
=yes ;;
3533 # Provide some information about the compiler.
3534 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3535 ac_compiler
=`set X $ac_compile; echo $2`
3536 { (ac_try
="$ac_compiler --version >&5"
3538 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3539 *) ac_try_echo=$ac_try;;
3541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3542 (eval "$ac_compiler --version >&5") 2>&5
3544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545 (exit $ac_status); }
3546 { (ac_try="$ac_compiler -v >&5"
3548 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3549 *) ac_try_echo
=$ac_try;;
3551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3552 (eval "$ac_compiler -v >&5") 2>&5
3554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555 (exit $ac_status); }
3556 { (ac_try
="$ac_compiler -V >&5"
3558 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3559 *) ac_try_echo=$ac_try;;
3561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3562 (eval "$ac_compiler -V >&5") 2>&5
3564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565 (exit $ac_status); }
3567 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3568 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3569 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3570 echo $ECHO_N "(cached) $ECHO_C" >&6
3572 cat >conftest.$ac_ext <<_ACEOF
3575 cat confdefs.h >>conftest.$ac_ext
3576 cat >>conftest.$ac_ext <<_ACEOF
3577 /* end confdefs.h. */
3590 rm -f conftest.$ac_objext
3591 if { (ac_try="$ac_compile"
3593 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3594 *) ac_try_echo
=$ac_try;;
3596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3597 (eval "$ac_compile") 2>conftest.er1
3599 grep -v '^ *+' conftest.er1
>conftest.err
3601 cat conftest.err
>&5
3602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3603 (exit $ac_status); } && {
3604 test -z "$ac_cxx_werror_flag" ||
3605 test ! -s conftest.err
3606 } && test -s conftest.
$ac_objext; then
3609 echo "$as_me: failed program was:" >&5
3610 sed 's/^/| /' conftest.
$ac_ext >&5
3615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3616 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3619 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3620 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3621 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3622 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3623 ac_save_CXXFLAGS
=$CXXFLAGS
3624 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3625 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3626 if test "${ac_cv_prog_cxx_g+set}" = set; then
3627 echo $ECHO_N "(cached) $ECHO_C" >&6
3629 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3630 ac_cxx_werror_flag
=yes
3633 cat >conftest.
$ac_ext <<_ACEOF
3636 cat confdefs.h
>>conftest.
$ac_ext
3637 cat >>conftest.
$ac_ext <<_ACEOF
3638 /* end confdefs.h. */
3648 rm -f conftest.
$ac_objext
3649 if { (ac_try
="$ac_compile"
3651 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3652 *) ac_try_echo=$ac_try;;
3654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3655 (eval "$ac_compile") 2>conftest.er1
3657 grep -v '^ *+' conftest.er1 >conftest.err
3659 cat conftest.err >&5
3660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3661 (exit $ac_status); } && {
3662 test -z "$ac_cxx_werror_flag" ||
3663 test ! -s conftest.err
3664 } && test -s conftest.$ac_objext; then
3665 ac_cv_prog_cxx_g=yes
3667 echo "$as_me: failed program was:" >&5
3668 sed 's/^/| /' conftest.$ac_ext >&5
3671 cat >conftest.$ac_ext <<_ACEOF
3674 cat confdefs.h >>conftest.$ac_ext
3675 cat >>conftest.$ac_ext <<_ACEOF
3676 /* end confdefs.h. */
3686 rm -f conftest.$ac_objext
3687 if { (ac_try="$ac_compile"
3689 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3690 *) ac_try_echo
=$ac_try;;
3692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3693 (eval "$ac_compile") 2>conftest.er1
3695 grep -v '^ *+' conftest.er1
>conftest.err
3697 cat conftest.err
>&5
3698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699 (exit $ac_status); } && {
3700 test -z "$ac_cxx_werror_flag" ||
3701 test ! -s conftest.err
3702 } && test -s conftest.
$ac_objext; then
3705 echo "$as_me: failed program was:" >&5
3706 sed 's/^/| /' conftest.
$ac_ext >&5
3708 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3710 cat >conftest.
$ac_ext <<_ACEOF
3713 cat confdefs.h
>>conftest.
$ac_ext
3714 cat >>conftest.
$ac_ext <<_ACEOF
3715 /* end confdefs.h. */
3725 rm -f conftest.
$ac_objext
3726 if { (ac_try
="$ac_compile"
3728 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3729 *) ac_try_echo=$ac_try;;
3731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3732 (eval "$ac_compile") 2>conftest.er1
3734 grep -v '^ *+' conftest.er1 >conftest.err
3736 cat conftest.err >&5
3737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738 (exit $ac_status); } && {
3739 test -z "$ac_cxx_werror_flag" ||
3740 test ! -s conftest.err
3741 } && test -s conftest.$ac_objext; then
3742 ac_cv_prog_cxx_g=yes
3744 echo "$as_me: failed program was:" >&5
3745 sed 's/^/| /' conftest.$ac_ext >&5
3750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3757 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3759 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3760 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3761 if test "$ac_test_CXXFLAGS" = set; then
3762 CXXFLAGS=$ac_save_CXXFLAGS
3763 elif test $ac_cv_prog_cxx_g = yes; then
3764 if test "$GXX" = yes; then
3770 if test "$GXX" = yes; then
3777 ac_cpp='$CPP $CPPFLAGS'
3778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3782 depcc="$CXX" am_compiler_list=
3784 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3785 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3786 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3787 echo $ECHO_N "(cached) $ECHO_C" >&6
3789 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3790 # We make a subdir and do the tests there. Otherwise we can end up
3791 # making bogus files that we don't know about and never remove. For
3792 # instance it was reported that on HP-UX the gcc test will end up
3793 # making a dummy file named `D
' -- because `-MD' means
`put the output
3796 # Copy depcomp to subdir because otherwise we won't find it if we're
3797 # using a relative directory.
3798 cp "$am_depcomp" conftest.dir
3800 # We will build objects and dependencies in a subdirectory because
3801 # it helps to detect inapplicable dependency modes. For instance
3802 # both Tru64's cc and ICC support -MD to output dependencies as a
3803 # side effect of compilation, but ICC will put the dependencies in
3804 # the current directory while Tru64 will put them in the object
3808 am_cv_CXX_dependencies_compiler_type=none
3809 if test "$am_compiler_list" = ""; then
3810 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3812 for depmode in $am_compiler_list; do
3813 # Setup a source with many dependencies, because some compilers
3814 # like to wrap large dependency lists on column 80 (with \), and
3815 # we should not choose a depcomp mode which is confused by this.
3817 # We need to recreate these files for each test, as the compiler may
3818 # overwrite some of them when testing with obscure command lines.
3819 # This happens at least with the AIX C compiler.
3821 for i in 1 2 3 4 5 6; do
3822 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3823 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3824 # Solaris 8's
{/usr
,}/bin
/sh.
3825 touch sub
/conftst
$i.h
3827 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3831 # after this tag, mechanisms are not by side-effect, so they'll
3832 # only be used when explicitly requested
3833 if test "x$enable_dependency_tracking" = xyes
; then
3841 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3842 # mode. It turns out that the SunPro C++ compiler does not properly
3843 # handle `-M -o', and we need to detect this.
3844 if depmode
=$depmode \
3845 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3846 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3847 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3848 >/dev
/null
2>conftest.err
&&
3849 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3850 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3851 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3852 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3853 # icc doesn't choke on unknown options, it will just issue warnings
3854 # or remarks (even with -Werror). So we grep stderr for any message
3855 # that says an option was ignored or not supported.
3856 # When given -MP, icc 7.0 and 7.1 complain thusly:
3857 # icc: Command line warning: ignoring option '-M'; no argument required
3858 # The diagnosis changed in icc 8.0:
3859 # icc: Command line remark: option '-MP' not supported
3860 if (grep 'ignoring option' conftest.err ||
3861 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3862 am_cv_CXX_dependencies_compiler_type
=$depmode
3871 am_cv_CXX_dependencies_compiler_type
=none
3875 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3876 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3877 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3880 test "x$enable_dependency_tracking" != xno \
3881 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3882 am__fastdepCXX_TRUE
=
3883 am__fastdepCXX_FALSE
='#'
3885 am__fastdepCXX_TRUE
='#'
3886 am__fastdepCXX_FALSE
=
3891 ac_cpp
='$CPP $CPPFLAGS'
3892 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3893 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3894 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3895 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3896 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3897 # On Suns, sometimes $CPP names a directory.
3898 if test -n "$CPP" && test -d "$CPP"; then
3901 if test -z "$CPP"; then
3902 if test "${ac_cv_prog_CPP+set}" = set; then
3903 echo $ECHO_N "(cached) $ECHO_C" >&6
3905 # Double quotes because CPP needs to be expanded
3906 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3909 for ac_c_preproc_warn_flag
in '' yes
3911 # Use a header file that comes with gcc, so configuring glibc
3912 # with a fresh cross-compiler works.
3913 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3914 # <limits.h> exists even on freestanding compilers.
3915 # On the NeXT, cc -E runs the code through the compiler's parser,
3916 # not just through cpp. "Syntax error" is here to catch this case.
3917 cat >conftest.
$ac_ext <<_ACEOF
3920 cat confdefs.h
>>conftest.
$ac_ext
3921 cat >>conftest.
$ac_ext <<_ACEOF
3922 /* end confdefs.h. */
3924 # include <limits.h>
3926 # include <assert.h>
3930 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3932 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3933 *) ac_try_echo=$ac_try;;
3935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3936 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3938 grep -v '^ *+' conftest.er1 >conftest.err
3940 cat conftest.err >&5
3941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3942 (exit $ac_status); } >/dev/null && {
3943 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3944 test ! -s conftest.err
3948 echo "$as_me: failed program was:" >&5
3949 sed 's/^/| /' conftest.$ac_ext >&5
3951 # Broken: fails on valid input.
3955 rm -f conftest.err conftest.$ac_ext
3957 # OK, works on sane cases. Now check whether nonexistent headers
3958 # can be detected and how.
3959 cat >conftest.$ac_ext <<_ACEOF
3962 cat confdefs.h >>conftest.$ac_ext
3963 cat >>conftest.$ac_ext <<_ACEOF
3964 /* end confdefs.h. */
3965 #include <ac_nonexistent.h>
3967 if { (ac_try="$ac_cpp conftest.$ac_ext"
3969 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3970 *) ac_try_echo
=$ac_try;;
3972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3973 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3975 grep -v '^ *+' conftest.er1
>conftest.err
3977 cat conftest.err
>&5
3978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3979 (exit $ac_status); } >/dev
/null
&& {
3980 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3981 test ! -s conftest.err
3983 # Broken: success on invalid input.
3986 echo "$as_me: failed program was:" >&5
3987 sed 's/^/| /' conftest.
$ac_ext >&5
3989 # Passes both tests.
3994 rm -f conftest.err conftest.
$ac_ext
3997 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3998 rm -f conftest.err conftest.
$ac_ext
3999 if $ac_preproc_ok; then
4011 { echo "$as_me:$LINENO: result: $CPP" >&5
4012 echo "${ECHO_T}$CPP" >&6; }
4014 for ac_c_preproc_warn_flag
in '' yes
4016 # Use a header file that comes with gcc, so configuring glibc
4017 # with a fresh cross-compiler works.
4018 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4019 # <limits.h> exists even on freestanding compilers.
4020 # On the NeXT, cc -E runs the code through the compiler's parser,
4021 # not just through cpp. "Syntax error" is here to catch this case.
4022 cat >conftest.
$ac_ext <<_ACEOF
4025 cat confdefs.h
>>conftest.
$ac_ext
4026 cat >>conftest.
$ac_ext <<_ACEOF
4027 /* end confdefs.h. */
4029 # include <limits.h>
4031 # include <assert.h>
4035 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4037 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4038 *) ac_try_echo=$ac_try;;
4040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4041 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4043 grep -v '^ *+' conftest.er1 >conftest.err
4045 cat conftest.err >&5
4046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); } >/dev/null && {
4048 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4049 test ! -s conftest.err
4053 echo "$as_me: failed program was:" >&5
4054 sed 's/^/| /' conftest.$ac_ext >&5
4056 # Broken: fails on valid input.
4060 rm -f conftest.err conftest.$ac_ext
4062 # OK, works on sane cases. Now check whether nonexistent headers
4063 # can be detected and how.
4064 cat >conftest.$ac_ext <<_ACEOF
4067 cat confdefs.h >>conftest.$ac_ext
4068 cat >>conftest.$ac_ext <<_ACEOF
4069 /* end confdefs.h. */
4070 #include <ac_nonexistent.h>
4072 if { (ac_try="$ac_cpp conftest.$ac_ext"
4074 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4075 *) ac_try_echo
=$ac_try;;
4077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4078 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4080 grep -v '^ *+' conftest.er1
>conftest.err
4082 cat conftest.err
>&5
4083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4084 (exit $ac_status); } >/dev
/null
&& {
4085 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4086 test ! -s conftest.err
4088 # Broken: success on invalid input.
4091 echo "$as_me: failed program was:" >&5
4092 sed 's/^/| /' conftest.
$ac_ext >&5
4094 # Passes both tests.
4099 rm -f conftest.err conftest.
$ac_ext
4102 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4103 rm -f conftest.err conftest.
$ac_ext
4104 if $ac_preproc_ok; then
4107 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4108 See \`config.log' for more details." >&5
4109 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4110 See \`config.log' for more details." >&2;}
4111 { (exit 1); exit 1; }; }
4115 ac_cpp
='$CPP $CPPFLAGS'
4116 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4117 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4118 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4121 ac_cpp
='$CPP $CPPFLAGS'
4122 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4123 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4124 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4125 if test -n "$ac_tool_prefix"; then
4126 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4127 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4130 if test "${ac_cv_prog_CC+set}" = set; then
4131 echo $ECHO_N "(cached) $ECHO_C" >&6
4133 if test -n "$CC"; then
4134 ac_cv_prog_CC
="$CC" # Let the user override the test.
4136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4140 test -z "$as_dir" && as_dir
=.
4141 for ac_exec_ext
in '' $ac_executable_extensions; do
4142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4143 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4154 if test -n "$CC"; then
4155 { echo "$as_me:$LINENO: result: $CC" >&5
4156 echo "${ECHO_T}$CC" >&6; }
4158 { echo "$as_me:$LINENO: result: no" >&5
4159 echo "${ECHO_T}no" >&6; }
4164 if test -z "$ac_cv_prog_CC"; then
4166 # Extract the first word of "gcc", so it can be a program name with args.
4167 set dummy gcc
; ac_word
=$2
4168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4170 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4171 echo $ECHO_N "(cached) $ECHO_C" >&6
4173 if test -n "$ac_ct_CC"; then
4174 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4180 test -z "$as_dir" && as_dir
=.
4181 for ac_exec_ext
in '' $ac_executable_extensions; do
4182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4183 ac_cv_prog_ac_ct_CC
="gcc"
4184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4193 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4194 if test -n "$ac_ct_CC"; then
4195 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4196 echo "${ECHO_T}$ac_ct_CC" >&6; }
4198 { echo "$as_me:$LINENO: result: no" >&5
4199 echo "${ECHO_T}no" >&6; }
4202 if test "x$ac_ct_CC" = x
; then
4205 case $cross_compiling:$ac_tool_warned in
4207 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4208 whose name does not start with the host triplet. If you think this
4209 configuration is useful to you, please write to autoconf@gnu.org." >&5
4210 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4211 whose name does not start with the host triplet. If you think this
4212 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4213 ac_tool_warned
=yes ;;
4221 if test -z "$CC"; then
4222 if test -n "$ac_tool_prefix"; then
4223 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4224 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4227 if test "${ac_cv_prog_CC+set}" = set; then
4228 echo $ECHO_N "(cached) $ECHO_C" >&6
4230 if test -n "$CC"; then
4231 ac_cv_prog_CC
="$CC" # Let the user override the test.
4233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4237 test -z "$as_dir" && as_dir
=.
4238 for ac_exec_ext
in '' $ac_executable_extensions; do
4239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4240 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4251 if test -n "$CC"; then
4252 { echo "$as_me:$LINENO: result: $CC" >&5
4253 echo "${ECHO_T}$CC" >&6; }
4255 { echo "$as_me:$LINENO: result: no" >&5
4256 echo "${ECHO_T}no" >&6; }
4262 if test -z "$CC"; then
4263 # Extract the first word of "cc", so it can be a program name with args.
4264 set dummy cc
; ac_word
=$2
4265 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4267 if test "${ac_cv_prog_CC+set}" = set; then
4268 echo $ECHO_N "(cached) $ECHO_C" >&6
4270 if test -n "$CC"; then
4271 ac_cv_prog_CC
="$CC" # Let the user override the test.
4274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4278 test -z "$as_dir" && as_dir
=.
4279 for ac_exec_ext
in '' $ac_executable_extensions; do
4280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4281 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4282 ac_prog_rejected
=yes
4286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4293 if test $ac_prog_rejected = yes; then
4294 # We found a bogon in the path, so make sure we never use it.
4295 set dummy
$ac_cv_prog_CC
4297 if test $# != 0; then
4298 # We chose a different compiler from the bogus one.
4299 # However, it has the same basename, so the bogon will be chosen
4300 # first if we set CC to just the basename; use the full file name.
4302 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4308 if test -n "$CC"; then
4309 { echo "$as_me:$LINENO: result: $CC" >&5
4310 echo "${ECHO_T}$CC" >&6; }
4312 { echo "$as_me:$LINENO: result: no" >&5
4313 echo "${ECHO_T}no" >&6; }
4318 if test -z "$CC"; then
4319 if test -n "$ac_tool_prefix"; then
4320 for ac_prog
in cl.exe
4322 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4323 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4326 if test "${ac_cv_prog_CC+set}" = set; then
4327 echo $ECHO_N "(cached) $ECHO_C" >&6
4329 if test -n "$CC"; then
4330 ac_cv_prog_CC
="$CC" # Let the user override the test.
4332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4336 test -z "$as_dir" && as_dir
=.
4337 for ac_exec_ext
in '' $ac_executable_extensions; do
4338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4339 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4350 if test -n "$CC"; then
4351 { echo "$as_me:$LINENO: result: $CC" >&5
4352 echo "${ECHO_T}$CC" >&6; }
4354 { echo "$as_me:$LINENO: result: no" >&5
4355 echo "${ECHO_T}no" >&6; }
4359 test -n "$CC" && break
4362 if test -z "$CC"; then
4364 for ac_prog
in cl.exe
4366 # Extract the first word of "$ac_prog", so it can be a program name with args.
4367 set dummy
$ac_prog; ac_word
=$2
4368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4370 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4371 echo $ECHO_N "(cached) $ECHO_C" >&6
4373 if test -n "$ac_ct_CC"; then
4374 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4380 test -z "$as_dir" && as_dir
=.
4381 for ac_exec_ext
in '' $ac_executable_extensions; do
4382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4383 ac_cv_prog_ac_ct_CC
="$ac_prog"
4384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4393 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4394 if test -n "$ac_ct_CC"; then
4395 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4396 echo "${ECHO_T}$ac_ct_CC" >&6; }
4398 { echo "$as_me:$LINENO: result: no" >&5
4399 echo "${ECHO_T}no" >&6; }
4403 test -n "$ac_ct_CC" && break
4406 if test "x$ac_ct_CC" = x
; then
4409 case $cross_compiling:$ac_tool_warned in
4411 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4412 whose name does not start with the host triplet. If you think this
4413 configuration is useful to you, please write to autoconf@gnu.org." >&5
4414 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4415 whose name does not start with the host triplet. If you think this
4416 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4417 ac_tool_warned
=yes ;;
4426 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4427 See \`config.log' for more details." >&5
4428 echo "$as_me: error: no acceptable C compiler found in \$PATH
4429 See \`config.log' for more details." >&2;}
4430 { (exit 1); exit 1; }; }
4432 # Provide some information about the compiler.
4433 echo "$as_me:$LINENO: checking for C compiler version" >&5
4434 ac_compiler
=`set X $ac_compile; echo $2`
4435 { (ac_try
="$ac_compiler --version >&5"
4437 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4438 *) ac_try_echo=$ac_try;;
4440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4441 (eval "$ac_compiler --version >&5") 2>&5
4443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4444 (exit $ac_status); }
4445 { (ac_try="$ac_compiler -v >&5"
4447 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4448 *) ac_try_echo
=$ac_try;;
4450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4451 (eval "$ac_compiler -v >&5") 2>&5
4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454 (exit $ac_status); }
4455 { (ac_try
="$ac_compiler -V >&5"
4457 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4458 *) ac_try_echo=$ac_try;;
4460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4461 (eval "$ac_compiler -V >&5") 2>&5
4463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); }
4466 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4467 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4468 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4469 echo $ECHO_N "(cached) $ECHO_C" >&6
4471 cat >conftest.$ac_ext <<_ACEOF
4474 cat confdefs.h >>conftest.$ac_ext
4475 cat >>conftest.$ac_ext <<_ACEOF
4476 /* end confdefs.h. */
4489 rm -f conftest.$ac_objext
4490 if { (ac_try="$ac_compile"
4492 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4493 *) ac_try_echo
=$ac_try;;
4495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4496 (eval "$ac_compile") 2>conftest.er1
4498 grep -v '^ *+' conftest.er1
>conftest.err
4500 cat conftest.err
>&5
4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); } && {
4503 test -z "$ac_c_werror_flag" ||
4504 test ! -s conftest.err
4505 } && test -s conftest.
$ac_objext; then
4508 echo "$as_me: failed program was:" >&5
4509 sed 's/^/| /' conftest.
$ac_ext >&5
4514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4515 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4518 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4519 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4520 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4521 ac_test_CFLAGS
=${CFLAGS+set}
4522 ac_save_CFLAGS
=$CFLAGS
4523 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4524 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4525 if test "${ac_cv_prog_cc_g+set}" = set; then
4526 echo $ECHO_N "(cached) $ECHO_C" >&6
4528 ac_save_c_werror_flag
=$ac_c_werror_flag
4529 ac_c_werror_flag
=yes
4532 cat >conftest.
$ac_ext <<_ACEOF
4535 cat confdefs.h
>>conftest.
$ac_ext
4536 cat >>conftest.
$ac_ext <<_ACEOF
4537 /* end confdefs.h. */
4547 rm -f conftest.
$ac_objext
4548 if { (ac_try
="$ac_compile"
4550 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4551 *) ac_try_echo=$ac_try;;
4553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4554 (eval "$ac_compile") 2>conftest.er1
4556 grep -v '^ *+' conftest.er1 >conftest.err
4558 cat conftest.err >&5
4559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4560 (exit $ac_status); } && {
4561 test -z "$ac_c_werror_flag" ||
4562 test ! -s conftest.err
4563 } && test -s conftest.$ac_objext; then
4566 echo "$as_me: failed program was:" >&5
4567 sed 's/^/| /' conftest.$ac_ext >&5
4570 cat >conftest.$ac_ext <<_ACEOF
4573 cat confdefs.h >>conftest.$ac_ext
4574 cat >>conftest.$ac_ext <<_ACEOF
4575 /* end confdefs.h. */
4585 rm -f conftest.$ac_objext
4586 if { (ac_try="$ac_compile"
4588 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4589 *) ac_try_echo
=$ac_try;;
4591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4592 (eval "$ac_compile") 2>conftest.er1
4594 grep -v '^ *+' conftest.er1
>conftest.err
4596 cat conftest.err
>&5
4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598 (exit $ac_status); } && {
4599 test -z "$ac_c_werror_flag" ||
4600 test ! -s conftest.err
4601 } && test -s conftest.
$ac_objext; then
4604 echo "$as_me: failed program was:" >&5
4605 sed 's/^/| /' conftest.
$ac_ext >&5
4607 ac_c_werror_flag
=$ac_save_c_werror_flag
4609 cat >conftest.
$ac_ext <<_ACEOF
4612 cat confdefs.h
>>conftest.
$ac_ext
4613 cat >>conftest.
$ac_ext <<_ACEOF
4614 /* end confdefs.h. */
4624 rm -f conftest.
$ac_objext
4625 if { (ac_try
="$ac_compile"
4627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4628 *) ac_try_echo=$ac_try;;
4630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4631 (eval "$ac_compile") 2>conftest.er1
4633 grep -v '^ *+' conftest.er1 >conftest.err
4635 cat conftest.err >&5
4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637 (exit $ac_status); } && {
4638 test -z "$ac_c_werror_flag" ||
4639 test ! -s conftest.err
4640 } && test -s conftest.$ac_objext; then
4643 echo "$as_me: failed program was:" >&5
4644 sed 's/^/| /' conftest.$ac_ext >&5
4649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4656 ac_c_werror_flag=$ac_save_c_werror_flag
4658 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4659 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4660 if test "$ac_test_CFLAGS" = set; then
4661 CFLAGS=$ac_save_CFLAGS
4662 elif test $ac_cv_prog_cc_g = yes; then
4663 if test "$GCC" = yes; then
4669 if test "$GCC" = yes; then
4675 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4676 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4677 if test "${ac_cv_prog_cc_c89+set}" = set; then
4678 echo $ECHO_N "(cached) $ECHO_C" >&6
4680 ac_cv_prog_cc_c89=no
4682 cat >conftest.$ac_ext <<_ACEOF
4685 cat confdefs.h >>conftest.$ac_ext
4686 cat >>conftest.$ac_ext <<_ACEOF
4687 /* end confdefs.h. */
4690 #include <sys/types.h>
4691 #include <sys/stat.h>
4692 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4693 struct buf { int x; };
4694 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4695 static char *e (p, i)
4701 static char *f (char * (*g) (char **, int), char **p, ...)
4706 s = g (p, va_arg (v,int));
4711 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4712 function prototypes and stuff, but not '\xHH' hex character constants.
4713 These don't provoke an error unfortunately, instead are silently treated
4714 as 'x'. The following induces an error, until -std is added to get
4715 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4716 array size at least. It's necessary to write '\x00'==0 to get something
4717 that's true only with -std. */
4718 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4720 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4721 inside strings and character constants. */
4723 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4725 int test (int i, double x);
4726 struct s1 {int (*f) (int a);};
4727 struct s2 {int (*f) (double a);};
4728 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4734 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4739 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4740 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4742 CC="$ac_save_CC $ac_arg"
4743 rm -f conftest.$ac_objext
4744 if { (ac_try="$ac_compile"
4746 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4747 *) ac_try_echo
=$ac_try;;
4749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4750 (eval "$ac_compile") 2>conftest.er1
4752 grep -v '^ *+' conftest.er1
>conftest.err
4754 cat conftest.err
>&5
4755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756 (exit $ac_status); } && {
4757 test -z "$ac_c_werror_flag" ||
4758 test ! -s conftest.err
4759 } && test -s conftest.
$ac_objext; then
4760 ac_cv_prog_cc_c89
=$ac_arg
4762 echo "$as_me: failed program was:" >&5
4763 sed 's/^/| /' conftest.
$ac_ext >&5
4768 rm -f core conftest.err conftest.
$ac_objext
4769 test "x$ac_cv_prog_cc_c89" != "xno" && break
4771 rm -f conftest.
$ac_ext
4776 case "x$ac_cv_prog_cc_c89" in
4778 { echo "$as_me:$LINENO: result: none needed" >&5
4779 echo "${ECHO_T}none needed" >&6; } ;;
4781 { echo "$as_me:$LINENO: result: unsupported" >&5
4782 echo "${ECHO_T}unsupported" >&6; } ;;
4784 CC
="$CC $ac_cv_prog_cc_c89"
4785 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4786 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4791 ac_cpp
='$CPP $CPPFLAGS'
4792 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4793 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4794 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4796 depcc
="$CC" am_compiler_list
=
4798 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4799 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4800 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4801 echo $ECHO_N "(cached) $ECHO_C" >&6
4803 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4804 # We make a subdir and do the tests there. Otherwise we can end up
4805 # making bogus files that we don't know about and never remove. For
4806 # instance it was reported that on HP-UX the gcc test will end up
4807 # making a dummy file named `D' -- because `-MD' means `put the output
4810 # Copy depcomp to subdir because otherwise we won't find it if we're
4811 # using a relative directory.
4812 cp "$am_depcomp" conftest.dir
4814 # We will build objects and dependencies in a subdirectory because
4815 # it helps to detect inapplicable dependency modes. For instance
4816 # both Tru64's cc and ICC support -MD to output dependencies as a
4817 # side effect of compilation, but ICC will put the dependencies in
4818 # the current directory while Tru64 will put them in the object
4822 am_cv_CC_dependencies_compiler_type
=none
4823 if test "$am_compiler_list" = ""; then
4824 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4826 for depmode
in $am_compiler_list; do
4827 # Setup a source with many dependencies, because some compilers
4828 # like to wrap large dependency lists on column 80 (with \), and
4829 # we should not choose a depcomp mode which is confused by this.
4831 # We need to recreate these files for each test, as the compiler may
4832 # overwrite some of them when testing with obscure command lines.
4833 # This happens at least with the AIX C compiler.
4835 for i
in 1 2 3 4 5 6; do
4836 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4837 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4838 # Solaris 8's {/usr,}/bin/sh.
4839 touch sub
/conftst
$i.h
4841 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4845 # after this tag, mechanisms are not by side-effect, so they'll
4846 # only be used when explicitly requested
4847 if test "x$enable_dependency_tracking" = xyes
; then
4855 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4856 # mode. It turns out that the SunPro C++ compiler does not properly
4857 # handle `-M -o', and we need to detect this.
4858 if depmode
=$depmode \
4859 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4860 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4861 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4862 >/dev
/null
2>conftest.err
&&
4863 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4864 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4865 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4866 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4867 # icc doesn't choke on unknown options, it will just issue warnings
4868 # or remarks (even with -Werror). So we grep stderr for any message
4869 # that says an option was ignored or not supported.
4870 # When given -MP, icc 7.0 and 7.1 complain thusly:
4871 # icc: Command line warning: ignoring option '-M'; no argument required
4872 # The diagnosis changed in icc 8.0:
4873 # icc: Command line remark: option '-MP' not supported
4874 if (grep 'ignoring option' conftest.err ||
4875 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4876 am_cv_CC_dependencies_compiler_type
=$depmode
4885 am_cv_CC_dependencies_compiler_type
=none
4889 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4890 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4891 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4894 test "x$enable_dependency_tracking" != xno \
4895 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4897 am__fastdepCC_FALSE
='#'
4899 am__fastdepCC_TRUE
='#'
4900 am__fastdepCC_FALSE
=
4905 am_cv_prog_cc_stdc
=$ac_cv_prog_cc_stdc
4907 if test "x$CC" != xcc
; then
4908 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
4909 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
4911 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
4912 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
4914 set dummy
$CC; ac_cc
=`echo $2 |
4915 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4916 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
4917 echo $ECHO_N "(cached) $ECHO_C" >&6
4919 cat >conftest.
$ac_ext <<_ACEOF
4922 cat confdefs.h
>>conftest.
$ac_ext
4923 cat >>conftest.
$ac_ext <<_ACEOF
4924 /* end confdefs.h. */
4934 # Make sure it works both with $CC and with simple cc.
4935 # We do the test twice because some compilers refuse to overwrite an
4936 # existing .o file with -o, though they will create one.
4937 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4939 if { (case "(($ac_try" in
4940 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4941 *) ac_try_echo=$ac_try;;
4943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4944 (eval "$ac_try") 2>&5
4946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947 (exit $ac_status); } &&
4948 test -f conftest2.$ac_objext && { (case "(($ac_try" in
4949 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4950 *) ac_try_echo
=$ac_try;;
4952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4953 (eval "$ac_try") 2>&5
4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956 (exit $ac_status); };
4958 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
4959 if test "x$CC" != xcc
; then
4960 # Test first that cc exists at all.
4961 if { ac_try
='cc -c conftest.$ac_ext >&5'
4962 { (case "(($ac_try" in
4963 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4964 *) ac_try_echo=$ac_try;;
4966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4967 (eval "$ac_try") 2>&5
4969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970 (exit $ac_status); }; }; then
4971 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4973 if { (case "(($ac_try" in
4974 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4975 *) ac_try_echo
=$ac_try;;
4977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4978 (eval "$ac_try") 2>&5
4980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4981 (exit $ac_status); } &&
4982 test -f conftest2.
$ac_objext && { (case "(($ac_try" in
4983 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4984 *) ac_try_echo=$ac_try;;
4986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4987 (eval "$ac_try") 2>&5
4989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990 (exit $ac_status); };
4995 # cc exists but doesn't like -o.
4996 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5001 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5003 rm -f core conftest*
5006 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5007 { echo "$as_me:$LINENO: result: yes" >&5
5008 echo "${ECHO_T}yes" >&6; }
5010 { echo "$as_me:$LINENO: result: no" >&5
5011 echo "${ECHO_T}no" >&6; }
5013 cat >>confdefs.h <<\_ACEOF
5014 #define NO_MINUS_C_MINUS_O 1
5019 # FIXME: we rely on the cache variable name because
5020 # there is no other way.
5022 ac_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5023 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o
`\" != yes"; then
5024 # Losing compiler, so override with the script.
5025 # FIXME: It is wrong to rewrite CC.
5026 # But if we don't then we get into trouble of one sort or another.
5027 # A longer-term fix would be to have automake use am__CC in this case,
5028 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5029 CC="$am_aux_dir/compile $CC"
5033 { echo "$as_me:$LINENO: checking for function prototypes" >&5
5034 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
5035 if test "$ac_cv_prog_cc_c89" != no; then
5036 { echo "$as_me:$LINENO: result: yes" >&5
5037 echo "${ECHO_T}yes" >&6; }
5039 cat >>confdefs.h <<\_ACEOF
5040 #define PROTOTYPES 1
5044 cat >>confdefs.h <<\_ACEOF
5045 #define __PROTOTYPES 1
5049 { echo "$as_me:$LINENO: result: no" >&5
5050 echo "${ECHO_T}no" >&6; }
5055 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5056 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5057 if test "${ac_cv_path_GREP+set}" = set; then
5058 echo $ECHO_N "(cached) $ECHO_C" >&6
5060 # Extract the first word of "grep ggrep" to use in msg output
5061 if test -z "$GREP"; then
5062 set dummy grep ggrep; ac_prog_name=$2
5063 if test "${ac_cv_path_GREP+set}" = set; then
5064 echo $ECHO_N "(cached) $ECHO_C" >&6
5066 ac_path_GREP_found=false
5067 # Loop through the user's path and test for each of PROGNAME-LIST
5068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5069 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5072 test -z "$as_dir" && as_dir=.
5073 for ac_prog in grep ggrep; do
5074 for ac_exec_ext in '' $ac_executable_extensions; do
5075 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5076 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5077 # Check for GNU ac_path_GREP and select it if it is found.
5078 # Check for GNU $ac_path_GREP
5079 case `"$ac_path_GREP" --version 2>&1` in
5081 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5084 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5087 cat "conftest.in" "conftest.in" >"conftest.tmp"
5088 mv "conftest.tmp" "conftest.in"
5089 cp "conftest.in" "conftest.nl"
5090 echo 'GREP' >> "conftest.nl"
5091 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5092 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5093 ac_count=`expr $ac_count + 1`
5094 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5095 # Best one so far, save it but keep looking for a better one
5096 ac_cv_path_GREP="$ac_path_GREP"
5097 ac_path_GREP_max=$ac_count
5099 # 10*(2^10) chars as input seems more than enough
5100 test $ac_count -gt 10 && break
5102 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5106 $ac_path_GREP_found && break 3
5116 GREP="$ac_cv_path_GREP"
5117 if test -z "$GREP"; then
5118 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5119 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5120 { (exit 1); exit 1; }; }
5124 ac_cv_path_GREP=$GREP
5129 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5130 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5131 GREP="$ac_cv_path_GREP"
5134 { echo "$as_me:$LINENO: checking for egrep" >&5
5135 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5136 if test "${ac_cv_path_EGREP+set}" = set; then
5137 echo $ECHO_N "(cached) $ECHO_C" >&6
5139 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5140 then ac_cv_path_EGREP="$GREP -E"
5142 # Extract the first word of "egrep" to use in msg output
5143 if test -z "$EGREP"; then
5144 set dummy egrep; ac_prog_name=$2
5145 if test "${ac_cv_path_EGREP+set}" = set; then
5146 echo $ECHO_N "(cached) $ECHO_C" >&6
5148 ac_path_EGREP_found=false
5149 # Loop through the user's path and test for each of PROGNAME-LIST
5150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5151 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5154 test -z "$as_dir" && as_dir=.
5155 for ac_prog in egrep; do
5156 for ac_exec_ext in '' $ac_executable_extensions; do
5157 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5158 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5159 # Check for GNU ac_path_EGREP and select it if it is found.
5160 # Check for GNU $ac_path_EGREP
5161 case `"$ac_path_EGREP" --version 2>&1` in
5163 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5166 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5169 cat "conftest.in" "conftest.in" >"conftest.tmp"
5170 mv "conftest.tmp" "conftest.in"
5171 cp "conftest.in" "conftest.nl"
5172 echo 'EGREP' >> "conftest.nl"
5173 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5174 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5175 ac_count=`expr $ac_count + 1`
5176 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5177 # Best one so far, save it but keep looking for a better one
5178 ac_cv_path_EGREP="$ac_path_EGREP"
5179 ac_path_EGREP_max=$ac_count
5181 # 10*(2^10) chars as input seems more than enough
5182 test $ac_count -gt 10 && break
5184 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5188 $ac_path_EGREP_found && break 3
5198 EGREP="$ac_cv_path_EGREP"
5199 if test -z "$EGREP"; then
5200 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5201 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5202 { (exit 1); exit 1; }; }
5206 ac_cv_path_EGREP=$EGREP
5212 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5213 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5214 EGREP="$ac_cv_path_EGREP"
5217 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5218 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5219 if test "${ac_cv_header_stdc+set}" = set; then
5220 echo $ECHO_N "(cached) $ECHO_C" >&6
5222 cat >conftest.$ac_ext <<_ACEOF
5225 cat confdefs.h >>conftest.$ac_ext
5226 cat >>conftest.$ac_ext <<_ACEOF
5227 /* end confdefs.h. */
5241 rm -f conftest.$ac_objext
5242 if { (ac_try="$ac_compile"
5244 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5245 *) ac_try_echo
=$ac_try;;
5247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5248 (eval "$ac_compile") 2>conftest.er1
5250 grep -v '^ *+' conftest.er1
>conftest.err
5252 cat conftest.err
>&5
5253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5254 (exit $ac_status); } && {
5255 test -z "$ac_c_werror_flag" ||
5256 test ! -s conftest.err
5257 } && test -s conftest.
$ac_objext; then
5258 ac_cv_header_stdc
=yes
5260 echo "$as_me: failed program was:" >&5
5261 sed 's/^/| /' conftest.
$ac_ext >&5
5263 ac_cv_header_stdc
=no
5266 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5268 if test $ac_cv_header_stdc = yes; then
5269 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5270 cat >conftest.
$ac_ext <<_ACEOF
5273 cat confdefs.h
>>conftest.
$ac_ext
5274 cat >>conftest.
$ac_ext <<_ACEOF
5275 /* end confdefs.h. */
5279 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5280 $EGREP "memchr" >/dev
/null
2>&1; then
5283 ac_cv_header_stdc
=no
5289 if test $ac_cv_header_stdc = yes; then
5290 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5291 cat >conftest.
$ac_ext <<_ACEOF
5294 cat confdefs.h
>>conftest.
$ac_ext
5295 cat >>conftest.
$ac_ext <<_ACEOF
5296 /* end confdefs.h. */
5300 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5301 $EGREP "free" >/dev
/null
2>&1; then
5304 ac_cv_header_stdc
=no
5310 if test $ac_cv_header_stdc = yes; then
5311 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5312 if test "$cross_compiling" = yes; then
5315 cat >conftest.
$ac_ext <<_ACEOF
5318 cat confdefs.h
>>conftest.
$ac_ext
5319 cat >>conftest.
$ac_ext <<_ACEOF
5320 /* end confdefs.h. */
5323 #if ((' ' & 0x0FF) == 0x020)
5324 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5325 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5327 # define ISLOWER(c) \
5328 (('a' <= (c) && (c) <= 'i') \
5329 || ('j' <= (c) && (c) <= 'r') \
5330 || ('s' <= (c) && (c) <= 'z'))
5331 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5334 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5339 for (i = 0; i < 256; i++)
5340 if (XOR (islower (i), ISLOWER (i))
5341 || toupper (i) != TOUPPER (i))
5346 rm -f conftest
$ac_exeext
5347 if { (ac_try
="$ac_link"
5349 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5350 *) ac_try_echo=$ac_try;;
5352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5353 (eval "$ac_link") 2>&5
5355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5356 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5357 { (case "(($ac_try" in
5358 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5359 *) ac_try_echo
=$ac_try;;
5361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5362 (eval "$ac_try") 2>&5
5364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5365 (exit $ac_status); }; }; then
5368 echo "$as_me: program exited with status $ac_status" >&5
5369 echo "$as_me: failed program was:" >&5
5370 sed 's/^/| /' conftest.
$ac_ext >&5
5373 ac_cv_header_stdc
=no
5375 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5381 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5382 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5383 if test $ac_cv_header_stdc = yes; then
5385 cat >>confdefs.h
<<\_ACEOF
5386 #define STDC_HEADERS 1
5391 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5401 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5402 inttypes.h stdint.h unistd.h
5404 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5405 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5407 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5408 echo $ECHO_N "(cached) $ECHO_C" >&6
5410 cat >conftest.
$ac_ext <<_ACEOF
5413 cat confdefs.h
>>conftest.
$ac_ext
5414 cat >>conftest.
$ac_ext <<_ACEOF
5415 /* end confdefs.h. */
5416 $ac_includes_default
5418 #include <$ac_header>
5420 rm -f conftest.
$ac_objext
5421 if { (ac_try
="$ac_compile"
5423 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5424 *) ac_try_echo=$ac_try;;
5426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5427 (eval "$ac_compile") 2>conftest.er1
5429 grep -v '^ *+' conftest.er1 >conftest.err
5431 cat conftest.err >&5
5432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5433 (exit $ac_status); } && {
5434 test -z "$ac_c_werror_flag" ||
5435 test ! -s conftest.err
5436 } && test -s conftest.$ac_objext; then
5437 eval "$as_ac_Header=yes"
5439 echo "$as_me: failed program was:" >&5
5440 sed 's/^/| /' conftest.$ac_ext >&5
5442 eval "$as_ac_Header=no"
5445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5447 ac_res=`eval echo '${'$as_ac_Header'}'`
5448 { echo "$as_me:$LINENO: result: $ac_res" >&5
5449 echo "${ECHO_T}$ac_res" >&6; }
5450 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5451 cat >>confdefs.h <<_ACEOF
5452 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5461 if test "$ac_cv_prog_cc_stdc" != no; then
5464 U=_ ANSI2KNR=./ansi2knr
5466 # Ensure some checks needed by ansi2knr itself.
5469 for ac_header in string.h
5471 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5472 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5473 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5475 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5476 echo $ECHO_N "(cached) $ECHO_C" >&6
5478 ac_res=`eval echo '${'$as_ac_Header'}'`
5479 { echo "$as_me:$LINENO: result: $ac_res" >&5
5480 echo "${ECHO_T}$ac_res" >&6; }
5482 # Is the header compilable?
5483 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5484 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5485 cat >conftest.$ac_ext <<_ACEOF
5488 cat confdefs.h >>conftest.$ac_ext
5489 cat >>conftest.$ac_ext <<_ACEOF
5490 /* end confdefs.h. */
5491 $ac_includes_default
5492 #include <$ac_header>
5494 rm -f conftest.$ac_objext
5495 if { (ac_try="$ac_compile"
5497 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5498 *) ac_try_echo
=$ac_try;;
5500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5501 (eval "$ac_compile") 2>conftest.er1
5503 grep -v '^ *+' conftest.er1
>conftest.err
5505 cat conftest.err
>&5
5506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5507 (exit $ac_status); } && {
5508 test -z "$ac_c_werror_flag" ||
5509 test ! -s conftest.err
5510 } && test -s conftest.
$ac_objext; then
5511 ac_header_compiler
=yes
5513 echo "$as_me: failed program was:" >&5
5514 sed 's/^/| /' conftest.
$ac_ext >&5
5516 ac_header_compiler
=no
5519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5520 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5521 echo "${ECHO_T}$ac_header_compiler" >&6; }
5523 # Is the header present?
5524 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5525 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5526 cat >conftest.
$ac_ext <<_ACEOF
5529 cat confdefs.h
>>conftest.
$ac_ext
5530 cat >>conftest.
$ac_ext <<_ACEOF
5531 /* end confdefs.h. */
5532 #include <$ac_header>
5534 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5536 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5537 *) ac_try_echo=$ac_try;;
5539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5540 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5542 grep -v '^ *+' conftest.er1 >conftest.err
5544 cat conftest.err >&5
5545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546 (exit $ac_status); } >/dev/null && {
5547 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5548 test ! -s conftest.err
5550 ac_header_preproc=yes
5552 echo "$as_me: failed program was:" >&5
5553 sed 's/^/| /' conftest.$ac_ext >&5
5555 ac_header_preproc=no
5558 rm -f conftest.err conftest.$ac_ext
5559 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5560 echo "${ECHO_T}$ac_header_preproc" >&6; }
5562 # So? What about this header?
5563 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5565 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5566 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5567 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5568 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5569 ac_header_preproc=yes
5572 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5573 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5574 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5575 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5576 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5577 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5578 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5579 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5580 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5581 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5582 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5583 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5585 ## ------------------------------------------- ##
5586 ## Report this to systemtap@sources.redhat.com ##
5587 ## ------------------------------------------- ##
5589 ) | sed "s/^/$as_me: WARNING: /" >&2
5592 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5594 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5595 echo $ECHO_N "(cached) $ECHO_C" >&6
5597 eval "$as_ac_Header=\$ac_header_preproc"
5599 ac_res=`eval echo '${'$as_ac_Header'}'`
5600 { echo "$as_me:$LINENO: result: $ac_res" >&5
5601 echo "${ECHO_T}$ac_res" >&6; }
5604 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5605 cat >>confdefs.h <<_ACEOF
5606 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5614 if test -n "$ac_tool_prefix"; then
5615 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5616 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5617 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5619 if test "${ac_cv_prog_RANLIB+set}" = set; then
5620 echo $ECHO_N "(cached) $ECHO_C" >&6
5622 if test -n "$RANLIB"; then
5623 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5629 test -z "$as_dir" && as_dir=.
5630 for ac_exec_ext in '' $ac_executable_extensions; do
5631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5632 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5642 RANLIB=$ac_cv_prog_RANLIB
5643 if test -n "$RANLIB"; then
5644 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5645 echo "${ECHO_T}$RANLIB" >&6; }
5647 { echo "$as_me:$LINENO: result: no" >&5
5648 echo "${ECHO_T}no" >&6; }
5653 if test -z "$ac_cv_prog_RANLIB"; then
5654 ac_ct_RANLIB=$RANLIB
5655 # Extract the first word of "ranlib", so it can be a program name with args.
5656 set dummy ranlib; ac_word=$2
5657 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5659 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5660 echo $ECHO_N "(cached) $ECHO_C" >&6
5662 if test -n "$ac_ct_RANLIB"; then
5663 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5669 test -z "$as_dir" && as_dir=.
5670 for ac_exec_ext in '' $ac_executable_extensions; do
5671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5672 ac_cv_prog_ac_ct_RANLIB="ranlib"
5673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5682 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5683 if test -n "$ac_ct_RANLIB"; then
5684 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5685 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5687 { echo "$as_me:$LINENO: result: no" >&5
5688 echo "${ECHO_T}no" >&6; }
5691 if test "x$ac_ct_RANLIB" = x; then
5694 case $cross_compiling:$ac_tool_warned in
5696 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5697 whose name does not start with the host triplet. If you think this
5698 configuration is useful to you, please write to autoconf@gnu.org." >&5
5699 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5700 whose name does not start with the host triplet. If you think this
5701 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5702 ac_tool_warned=yes ;;
5704 RANLIB=$ac_ct_RANLIB
5707 RANLIB="$ac_cv_prog_RANLIB"
5712 # Find a good install program. We prefer a C program (faster),
5713 # so one script is as good as another. But avoid the broken or
5714 # incompatible versions:
5715 # SysV /etc/install, /usr/sbin/install
5716 # SunOS /usr/etc/install
5717 # IRIX /sbin/install
5719 # AmigaOS /C/install, which installs bootblocks on floppy discs
5720 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5721 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5722 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5723 # OS/2's system install, which has a completely different semantic
5724 # ./install, which can be erroneously created by make from ./install.sh.
5725 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5726 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5727 if test -z "$INSTALL"; then
5728 if test "${ac_cv_path_install+set}" = set; then
5729 echo $ECHO_N "(cached) $ECHO_C" >&6
5731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5735 test -z "$as_dir" && as_dir=.
5736 # Account for people who put trailing slashes in PATH elements.
5738 ./ | .// | /cC/* | \
5739 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5740 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5743 # OSF1 and SCO ODT 3.0 have their own names for install.
5744 # Don't use installbsd from OSF since it installs stuff as root
5746 for ac_prog in ginstall scoinst install; do
5747 for ac_exec_ext in '' $ac_executable_extensions; do
5748 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5749 if test $ac_prog = install &&
5750 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5751 # AIX install. It has an incompatible calling convention.
5753 elif test $ac_prog = install &&
5754 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5755 # program-specific install script used by HP pwplus--don't use.
5758 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5771 if test "${ac_cv_path_install+set}" = set; then
5772 INSTALL=$ac_cv_path_install
5774 # As a last resort, use the slow shell script. Don't cache a
5775 # value for INSTALL within a source directory, because that will
5776 # break other packages using the cache if that directory is
5777 # removed, or if the value is a relative name.
5778 INSTALL=$ac_install_sh
5781 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5782 echo "${ECHO_T}$INSTALL" >&6; }
5784 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5785 # It thinks the first close brace ends the variable substitution.
5786 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5788 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5790 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5792 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5793 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
5794 set x ${MAKE-make}; ac_make=`echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5795 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
5796 echo $ECHO_N "(cached) $ECHO_C" >&6
5798 cat >conftest.make <<\_ACEOF
5801 @echo '@@@%%%=$(MAKE)=@@@%%%'
5803 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5804 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
5806 eval ac_cv_prog_make_${ac_make}_set=yes;;
5808 eval ac_cv_prog_make_${ac_make}_set=no;;
5812 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5813 { echo "$as_me:$LINENO: result: yes" >&5
5814 echo "${ECHO_T}yes" >&6; }
5817 { echo "$as_me:$LINENO: result: no" >&5
5818 echo "${ECHO_T}no" >&6; }
5819 SET_MAKE="MAKE=${MAKE-make}"
5825 # Check whether --enable-perfmon was given.
5826 if test "${enable_perfmon+set}" = set; then
5827 enableval=$enable_perfmon; perfmon_support=$enableval
5834 # Check whether --with-perfmon was given.
5835 if test "${with_perfmon+set}" = set; then
5836 withval=$with_perfmon;
5837 case "$with_perfmon" in
5838 yes ) { { echo "$as_me:$LINENO: error: --with-perfmon requires an argument" >&5
5839 echo "$as_me: error: --with-perfmon requires an argument" >&2;}
5840 { (exit 1); exit 1; }; } ;;
5842 *) perfmon_support=yes ;;
5848 if test $perfmon_support = yes; then
5850 { echo "$as_me:$LINENO: checking for pfm_start in -lpfm" >&5
5851 echo $ECHO_N "checking for pfm_start in -lpfm... $ECHO_C" >&6; }
5852 if test "${ac_cv_lib_pfm_pfm_start+set}" = set; then
5853 echo $ECHO_N "(cached) $ECHO_C" >&6
5855 ac_check_lib_save_LIBS=$LIBS
5857 cat >conftest.$ac_ext <<_ACEOF
5860 cat confdefs.h >>conftest.$ac_ext
5861 cat >>conftest.$ac_ext <<_ACEOF
5862 /* end confdefs.h. */
5864 /* Override any GCC internal prototype to avoid an error.
5865 Use char because int might match the return type of a GCC
5866 builtin and then its argument prototype would still apply. */
5874 return pfm_start ();
5879 rm -f conftest.$ac_objext conftest$ac_exeext
5880 if { (ac_try="$ac_link"
5882 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5883 *) ac_try_echo
=$ac_try;;
5885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5886 (eval "$ac_link") 2>conftest.er1
5888 grep -v '^ *+' conftest.er1
>conftest.err
5890 cat conftest.err
>&5
5891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5892 (exit $ac_status); } && {
5893 test -z "$ac_c_werror_flag" ||
5894 test ! -s conftest.err
5895 } && test -s conftest
$ac_exeext &&
5896 $as_test_x conftest
$ac_exeext; then
5897 ac_cv_lib_pfm_pfm_start
=yes
5899 echo "$as_me: failed program was:" >&5
5900 sed 's/^/| /' conftest.
$ac_ext >&5
5902 ac_cv_lib_pfm_pfm_start
=no
5905 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5906 conftest
$ac_exeext conftest.
$ac_ext
5907 LIBS
=$ac_check_lib_save_LIBS
5909 { echo "$as_me:$LINENO: result: $ac_cv_lib_pfm_pfm_start" >&5
5910 echo "${ECHO_T}$ac_cv_lib_pfm_pfm_start" >&6; }
5911 if test $ac_cv_lib_pfm_pfm_start = yes; then
5912 cat >>confdefs.h
<<_ACEOF
5913 #define HAVE_LIBPFM 1
5920 { { echo "$as_me:$LINENO: error: systemtap cannot find required perfmon libs" >&5
5921 echo "$as_me: error: systemtap cannot find required perfmon libs" >&2;}
5922 { (exit 1); exit 1; }; }
5925 CFLAGS
="$CFLAGS -DPERFMON -I$with_perfmon/include"
5926 CXXFLAGS
="$CXXFLAGS -DPERFMON -I$with_perfmon/include"
5927 LDFLAGS
="$LDFLAGS -DPERFMON -L$with_perfmon/lib -lpfm"
5931 if test "${enable_prologues+set}" != set; then
5932 { echo "$as_me:$LINENO: checking to see if prologue searching should be the default" >&5
5933 echo $ECHO_N "checking to see if prologue searching should be the default... $ECHO_C" >&6; }
5934 if { echo '#if __i386__ == 1 && __GNUC__ < 4'
5936 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
5937 enable_prologues
=yes
5938 { echo "$as_me:$LINENO: result: yes" >&5
5939 echo "${ECHO_T}yes" >&6; }
5941 { echo "$as_me:$LINENO: result: no" >&5
5942 echo "${ECHO_T}no" >&6; }
5946 # Check whether --enable-prologues was given.
5947 if test "${enable_prologues+set}" = set; then
5948 enableval
=$enable_prologues;
5949 if test "$enable_prologues" = yes; then
5951 cat >>confdefs.h
<<\_ACEOF
5952 #define ENABLE_PROLOGUES
5962 { echo "$as_me:$LINENO: checking for sqlite3_open in -lsqlite3" >&5
5963 echo $ECHO_N "checking for sqlite3_open in -lsqlite3... $ECHO_C" >&6; }
5964 if test "${ac_cv_lib_sqlite3_sqlite3_open+set}" = set; then
5965 echo $ECHO_N "(cached) $ECHO_C" >&6
5967 ac_check_lib_save_LIBS
=$LIBS
5968 LIBS
="-lsqlite3 $LIBS"
5969 cat >conftest.
$ac_ext <<_ACEOF
5972 cat confdefs.h
>>conftest.
$ac_ext
5973 cat >>conftest.
$ac_ext <<_ACEOF
5974 /* end confdefs.h. */
5976 /* Override any GCC internal prototype to avoid an error.
5977 Use char because int might match the return type of a GCC
5978 builtin and then its argument prototype would still apply. */
5982 char sqlite3_open ();
5986 return sqlite3_open ();
5991 rm -f conftest.
$ac_objext conftest
$ac_exeext
5992 if { (ac_try
="$ac_link"
5994 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5995 *) ac_try_echo=$ac_try;;
5997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5998 (eval "$ac_link") 2>conftest.er1
6000 grep -v '^ *+' conftest.er1 >conftest.err
6002 cat conftest.err >&5
6003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6004 (exit $ac_status); } && {
6005 test -z "$ac_c_werror_flag" ||
6006 test ! -s conftest.err
6007 } && test -s conftest$ac_exeext &&
6008 $as_test_x conftest$ac_exeext; then
6009 ac_cv_lib_sqlite3_sqlite3_open=yes
6011 echo "$as_me: failed program was:" >&5
6012 sed 's/^/| /' conftest.$ac_ext >&5
6014 ac_cv_lib_sqlite3_sqlite3_open=no
6017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6018 conftest$ac_exeext conftest.$ac_ext
6019 LIBS=$ac_check_lib_save_LIBS
6021 { echo "$as_me:$LINENO: result: $ac_cv_lib_sqlite3_sqlite3_open" >&5
6022 echo "${ECHO_T}$ac_cv_lib_sqlite3_sqlite3_open" >&6; }
6023 if test $ac_cv_lib_sqlite3_sqlite3_open = yes; then
6024 cat >>confdefs.h <<_ACEOF
6025 #define HAVE_LIBSQLITE3 1
6028 LIBS="-lsqlite3 $LIBS"
6032 sqlite3_LIBS="$LIBS"
6038 # Check whether --with-elfutils was given.
6039 if test "${with_elfutils+set}" = set; then
6040 withval=$with_elfutils;
6041 case "$with_elfutils" in
6042 yes) { { echo "$as_me:$LINENO: error: --with-elfutils requires an argument" >&5
6043 echo "$as_me: error: --with-elfutils requires an argument" >&2;}
6044 { (exit 1); exit 1; }; } ;;
6046 *) build_elfutils=yes ;;
6050 if test $build_elfutils = yes; then
6051 BUILD_ELFUTILS_TRUE=
6052 BUILD_ELFUTILS_FALSE='#'
6054 BUILD_ELFUTILS_TRUE='#'
6055 BUILD_ELFUTILS_FALSE=
6058 elfutils_abs_srcdir=`if test $build_elfutils = yes; then
6059 cd $with_elfutils && pwd
6065 for ac_header in crash/defs.h
6067 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6068 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6070 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6071 echo $ECHO_N "(cached) $ECHO_C" >&6
6073 cat >conftest.$ac_ext <<_ACEOF
6076 cat confdefs.h >>conftest.$ac_ext
6077 cat >>conftest.$ac_ext <<_ACEOF
6078 /* end confdefs.h. */
6083 #include <$ac_header>
6085 rm -f conftest.$ac_objext
6086 if { (ac_try="$ac_compile"
6088 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6089 *) ac_try_echo
=$ac_try;;
6091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6092 (eval "$ac_compile") 2>conftest.er1
6094 grep -v '^ *+' conftest.er1
>conftest.err
6096 cat conftest.err
>&5
6097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6098 (exit $ac_status); } && {
6099 test -z "$ac_c_werror_flag" ||
6100 test ! -s conftest.err
6101 } && test -s conftest.
$ac_objext; then
6102 eval "$as_ac_Header=yes"
6104 echo "$as_me: failed program was:" >&5
6105 sed 's/^/| /' conftest.
$ac_ext >&5
6107 eval "$as_ac_Header=no"
6110 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6112 ac_res
=`eval echo '${'$as_ac_Header'}'`
6113 { echo "$as_me:$LINENO: result: $ac_res" >&5
6114 echo "${ECHO_T}$ac_res" >&6; }
6115 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6116 cat >>confdefs.h
<<_ACEOF
6117 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6126 if test $build_crashmod = yes; then
6127 BUILD_CRASHMOD_TRUE
=
6128 BUILD_CRASHMOD_FALSE
='#'
6130 BUILD_CRASHMOD_TRUE
='#'
6131 BUILD_CRASHMOD_FALSE
=
6136 for ac_header
in sys
/capability.h
6138 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6139 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6140 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6142 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6143 echo $ECHO_N "(cached) $ECHO_C" >&6
6145 ac_res
=`eval echo '${'$as_ac_Header'}'`
6146 { echo "$as_me:$LINENO: result: $ac_res" >&5
6147 echo "${ECHO_T}$ac_res" >&6; }
6149 # Is the header compilable?
6150 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6151 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6152 cat >conftest.
$ac_ext <<_ACEOF
6155 cat confdefs.h
>>conftest.
$ac_ext
6156 cat >>conftest.
$ac_ext <<_ACEOF
6157 /* end confdefs.h. */
6158 $ac_includes_default
6159 #include <$ac_header>
6161 rm -f conftest.
$ac_objext
6162 if { (ac_try
="$ac_compile"
6164 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6165 *) ac_try_echo=$ac_try;;
6167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6168 (eval "$ac_compile") 2>conftest.er1
6170 grep -v '^ *+' conftest.er1 >conftest.err
6172 cat conftest.err >&5
6173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6174 (exit $ac_status); } && {
6175 test -z "$ac_c_werror_flag" ||
6176 test ! -s conftest.err
6177 } && test -s conftest.$ac_objext; then
6178 ac_header_compiler=yes
6180 echo "$as_me: failed program was:" >&5
6181 sed 's/^/| /' conftest.$ac_ext >&5
6183 ac_header_compiler=no
6186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6187 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6188 echo "${ECHO_T}$ac_header_compiler" >&6; }
6190 # Is the header present?
6191 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6192 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6193 cat >conftest.$ac_ext <<_ACEOF
6196 cat confdefs.h >>conftest.$ac_ext
6197 cat >>conftest.$ac_ext <<_ACEOF
6198 /* end confdefs.h. */
6199 #include <$ac_header>
6201 if { (ac_try="$ac_cpp conftest.$ac_ext"
6203 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6204 *) ac_try_echo
=$ac_try;;
6206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6207 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6209 grep -v '^ *+' conftest.er1
>conftest.err
6211 cat conftest.err
>&5
6212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6213 (exit $ac_status); } >/dev
/null
&& {
6214 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6215 test ! -s conftest.err
6217 ac_header_preproc
=yes
6219 echo "$as_me: failed program was:" >&5
6220 sed 's/^/| /' conftest.
$ac_ext >&5
6222 ac_header_preproc
=no
6225 rm -f conftest.err conftest.
$ac_ext
6226 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6227 echo "${ECHO_T}$ac_header_preproc" >&6; }
6229 # So? What about this header?
6230 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6232 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6233 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6234 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6235 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6236 ac_header_preproc
=yes
6239 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6240 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6241 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6242 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6243 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6244 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6245 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6246 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6247 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6248 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6249 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6250 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6252 ## ------------------------------------------- ##
6253 ## Report this to systemtap@sources.redhat.com ##
6254 ## ------------------------------------------- ##
6256 ) |
sed "s/^/$as_me: WARNING: /" >&2
6259 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6260 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6261 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6262 echo $ECHO_N "(cached) $ECHO_C" >&6
6264 eval "$as_ac_Header=\$ac_header_preproc"
6266 ac_res
=`eval echo '${'$as_ac_Header'}'`
6267 { echo "$as_me:$LINENO: result: $ac_res" >&5
6268 echo "${ECHO_T}$ac_res" >&6; }
6271 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6272 cat >>confdefs.h
<<_ACEOF
6273 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6277 { { echo "$as_me:$LINENO: error: cannot find required libcap header (libcap-devel may need to be installed)" >&5
6278 echo "$as_me: error: cannot find required libcap header (libcap-devel may need to be installed)" >&2;}
6279 { (exit 1); exit 1; }; }
6285 if test $build_elfutils = no
; then
6286 # Need libdwfl-capable recent elfutils from Fedora
6289 { echo "$as_me:$LINENO: checking for dwfl_module_getsym in -ldw" >&5
6290 echo $ECHO_N "checking for dwfl_module_getsym in -ldw... $ECHO_C" >&6; }
6291 if test "${ac_cv_lib_dw_dwfl_module_getsym+set}" = set; then
6292 echo $ECHO_N "(cached) $ECHO_C" >&6
6294 ac_check_lib_save_LIBS
=$LIBS
6296 cat >conftest.
$ac_ext <<_ACEOF
6299 cat confdefs.h
>>conftest.
$ac_ext
6300 cat >>conftest.
$ac_ext <<_ACEOF
6301 /* end confdefs.h. */
6303 /* Override any GCC internal prototype to avoid an error.
6304 Use char because int might match the return type of a GCC
6305 builtin and then its argument prototype would still apply. */
6309 char dwfl_module_getsym ();
6313 return dwfl_module_getsym ();
6318 rm -f conftest.
$ac_objext conftest
$ac_exeext
6319 if { (ac_try
="$ac_link"
6321 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6322 *) ac_try_echo=$ac_try;;
6324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6325 (eval "$ac_link") 2>conftest.er1
6327 grep -v '^ *+' conftest.er1 >conftest.err
6329 cat conftest.err >&5
6330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6331 (exit $ac_status); } && {
6332 test -z "$ac_c_werror_flag" ||
6333 test ! -s conftest.err
6334 } && test -s conftest$ac_exeext &&
6335 $as_test_x conftest$ac_exeext; then
6336 ac_cv_lib_dw_dwfl_module_getsym=yes
6338 echo "$as_me: failed program was:" >&5
6339 sed 's/^/| /' conftest.$ac_ext >&5
6341 ac_cv_lib_dw_dwfl_module_getsym=no
6344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6345 conftest$ac_exeext conftest.$ac_ext
6346 LIBS=$ac_check_lib_save_LIBS
6348 { echo "$as_me:$LINENO: result: $ac_cv_lib_dw_dwfl_module_getsym" >&5
6349 echo "${ECHO_T}$ac_cv_lib_dw_dwfl_module_getsym" >&6; }
6350 if test $ac_cv_lib_dw_dwfl_module_getsym = yes; then
6351 cat >>confdefs.h <<_ACEOF
6352 #define HAVE_LIBDW 1
6359 { { echo "$as_me:$LINENO: error: missing elfutils development headers/libraries (dw 0.123+)" >&5
6360 echo "$as_me: error: missing elfutils development headers/libraries (dw 0.123+)" >&2;}
6361 { (exit 1); exit 1; }; }
6365 { echo "$as_me:$LINENO: checking for ebl_openbackend in -lebl" >&5
6366 echo $ECHO_N "checking for ebl_openbackend in -lebl... $ECHO_C" >&6; }
6367 if test "${ac_cv_lib_ebl_ebl_openbackend+set}" = set; then
6368 echo $ECHO_N "(cached) $ECHO_C" >&6
6370 ac_check_lib_save_LIBS=$LIBS
6372 cat >conftest.$ac_ext <<_ACEOF
6375 cat confdefs.h >>conftest.$ac_ext
6376 cat >>conftest.$ac_ext <<_ACEOF
6377 /* end confdefs.h. */
6379 /* Override any GCC internal prototype to avoid an error.
6380 Use char because int might match the return type of a GCC
6381 builtin and then its argument prototype would still apply. */
6385 char ebl_openbackend ();
6389 return ebl_openbackend ();
6394 rm -f conftest.$ac_objext conftest$ac_exeext
6395 if { (ac_try="$ac_link"
6397 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6398 *) ac_try_echo
=$ac_try;;
6400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6401 (eval "$ac_link") 2>conftest.er1
6403 grep -v '^ *+' conftest.er1
>conftest.err
6405 cat conftest.err
>&5
6406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6407 (exit $ac_status); } && {
6408 test -z "$ac_c_werror_flag" ||
6409 test ! -s conftest.err
6410 } && test -s conftest
$ac_exeext &&
6411 $as_test_x conftest
$ac_exeext; then
6412 ac_cv_lib_ebl_ebl_openbackend
=yes
6414 echo "$as_me: failed program was:" >&5
6415 sed 's/^/| /' conftest.
$ac_ext >&5
6417 ac_cv_lib_ebl_ebl_openbackend
=no
6420 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6421 conftest
$ac_exeext conftest.
$ac_ext
6422 LIBS
=$ac_check_lib_save_LIBS
6424 { echo "$as_me:$LINENO: result: $ac_cv_lib_ebl_ebl_openbackend" >&5
6425 echo "${ECHO_T}$ac_cv_lib_ebl_ebl_openbackend" >&6; }
6426 if test $ac_cv_lib_ebl_ebl_openbackend = yes; then
6427 cat >>confdefs.h
<<_ACEOF
6428 #define HAVE_LIBEBL 1
6435 { { echo "$as_me:$LINENO: error: missing elfutils development headers/libraries (ebl 0.123+)" >&5
6436 echo "$as_me: error: missing elfutils development headers/libraries (ebl 0.123+)" >&2;}
6437 { (exit 1); exit 1; }; }
6443 # We built our own and stap_LDFLAGS points at the install.
6444 stap_LIBS
="-ldw -lebl"
6448 { echo "$as_me:$LINENO: stap will link $stap_LIBS" >&5
6449 echo "$as_me: stap will link $stap_LIBS" >&6;}
6451 date=`date +%Y-%m-%d`
6453 cat >>confdefs.h
<<_ACEOF
6454 #define DATE "$date"
6461 # This procflags business is for staprun/stapio, which need to
6462 # be compiled with the same bitness as the kernel. On e.g. PPC,
6463 # userspace might be 32-bit default, but staprun needs to be
6464 # 64-bit. See also bug #4037.
6466 processor
=`uname -p`
6467 case "$processor" in
6468 ppc64
) PROCFLAGS
=-m64 ;;
6469 x86_64
) PROCFLAGS
=-m64 ;;
6474 # -lcap is used for staprun, so PROCFLAGS comes in to play
6476 SAVE_CFLAGS
="$CFLAGS"
6477 CFLAGS
="$CFLAGS $PROCFLAGS"
6479 { echo "$as_me:$LINENO: checking for cap_init in -lcap" >&5
6480 echo $ECHO_N "checking for cap_init in -lcap... $ECHO_C" >&6; }
6481 if test "${ac_cv_lib_cap_cap_init+set}" = set; then
6482 echo $ECHO_N "(cached) $ECHO_C" >&6
6484 ac_check_lib_save_LIBS
=$LIBS
6486 cat >conftest.
$ac_ext <<_ACEOF
6489 cat confdefs.h
>>conftest.
$ac_ext
6490 cat >>conftest.
$ac_ext <<_ACEOF
6491 /* end confdefs.h. */
6493 /* Override any GCC internal prototype to avoid an error.
6494 Use char because int might match the return type of a GCC
6495 builtin and then its argument prototype would still apply. */
6508 rm -f conftest.
$ac_objext conftest
$ac_exeext
6509 if { (ac_try
="$ac_link"
6511 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6512 *) ac_try_echo=$ac_try;;
6514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6515 (eval "$ac_link") 2>conftest.er1
6517 grep -v '^ *+' conftest.er1 >conftest.err
6519 cat conftest.err >&5
6520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6521 (exit $ac_status); } && {
6522 test -z "$ac_c_werror_flag" ||
6523 test ! -s conftest.err
6524 } && test -s conftest$ac_exeext &&
6525 $as_test_x conftest$ac_exeext; then
6526 ac_cv_lib_cap_cap_init=yes
6528 echo "$as_me: failed program was:" >&5
6529 sed 's/^/| /' conftest.$ac_ext >&5
6531 ac_cv_lib_cap_cap_init=no
6534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6535 conftest$ac_exeext conftest.$ac_ext
6536 LIBS=$ac_check_lib_save_LIBS
6538 { echo "$as_me:$LINENO: result: $ac_cv_lib_cap_cap_init" >&5
6539 echo "${ECHO_T}$ac_cv_lib_cap_cap_init" >&6; }
6540 if test $ac_cv_lib_cap_cap_init = yes; then
6541 cat >>confdefs.h <<_ACEOF
6542 #define HAVE_LIBCAP 1
6548 { { echo "$as_me:$LINENO: error: need $PROCFLAGS -lcap" >&5
6549 echo "$as_me: error: need $PROCFLAGS -lcap" >&2;}
6550 { (exit 1); exit 1; }; }
6556 CFLAGS="$SAVE_CFLAGS"
6558 ac_config_headers="$ac_config_headers config.h:config.in"
6560 ac_config_files="$ac_config_files 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"
6562 subdirs="$subdirs testsuite"
6565 cat >confcache <<\_ACEOF
6566 # This file is a shell script that caches the results of configure
6567 # tests run on this system so they can be shared between configure
6568 # scripts and configure runs, see configure's option --config-cache.
6569 # It is not useful on other systems. If it contains results you don't
6570 # want to keep, you may remove or edit it.
6572 # config.status only pays attention to the cache file if you give it
6573 # the --recheck option to rerun configure.
6575 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
6576 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6581 # The following way of writing the cache mishandles newlines in values,
6582 # but we know of no workaround that is simple, portable, and efficient.
6583 # So, we kill variables containing newlines.
6584 # Ultrix sh set writes to stderr and can't be redirected directly,
6585 # and sets the high bit in the cache file unless we assign to the vars.
6587 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6588 eval ac_val
=\$
$ac_var
6592 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6593 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6596 _ | IFS | as_nl
) ;; #(
6597 *) $as_unset $ac_var ;;
6603 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6604 *${as_nl}ac_space
=\
*)
6605 # `set' does not quote correctly, so add quotes (double-quote
6606 # substitution turns \\\\ into \\, and sed turns \\ into \).
6609 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6612 # `set' quotes correctly as required by POSIX, so do not add quotes.
6613 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6622 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6624 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6626 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6627 if test -w "$cache_file"; then
6628 test "x$cache_file" != "x/dev/null" &&
6629 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
6630 echo "$as_me: updating cache $cache_file" >&6;}
6631 cat confcache
>$cache_file
6633 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6634 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6639 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6640 # Let make expand exec_prefix.
6641 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6643 DEFS
=-DHAVE_CONFIG_H
6647 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6648 # 1. Remove the extension, and $U if already installed.
6649 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6650 ac_i
=`echo "$ac_i" | sed "$ac_script"`
6651 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6652 # will be set to the directory where LIBOBJS objects are built.
6653 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6654 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6658 LTLIBOBJS
=$ac_ltlibobjs
6661 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6662 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
6663 Usually this means the macro was only invoked conditionally." >&5
6664 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
6665 Usually this means the macro was only invoked conditionally." >&2;}
6666 { (exit 1); exit 1; }; }
6668 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6669 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6670 Usually this means the macro was only invoked conditionally." >&5
6671 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6672 Usually this means the macro was only invoked conditionally." >&2;}
6673 { (exit 1); exit 1; }; }
6675 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6676 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6677 Usually this means the macro was only invoked conditionally." >&5
6678 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6679 Usually this means the macro was only invoked conditionally." >&2;}
6680 { (exit 1); exit 1; }; }
6682 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6683 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
6684 Usually this means the macro was only invoked conditionally." >&5
6685 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
6686 Usually this means the macro was only invoked conditionally." >&2;}
6687 { (exit 1); exit 1; }; }
6689 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6690 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6691 Usually this means the macro was only invoked conditionally." >&5
6692 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6693 Usually this means the macro was only invoked conditionally." >&2;}
6694 { (exit 1); exit 1; }; }
6696 if test -z "${BUILD_ELFUTILS_TRUE}" && test -z "${BUILD_ELFUTILS_FALSE}"; then
6697 { { echo "$as_me:$LINENO: error: conditional \"BUILD_ELFUTILS\" was never defined.
6698 Usually this means the macro was only invoked conditionally." >&5
6699 echo "$as_me: error: conditional \"BUILD_ELFUTILS\" was never defined.
6700 Usually this means the macro was only invoked conditionally." >&2;}
6701 { (exit 1); exit 1; }; }
6703 if test -z "${BUILD_CRASHMOD_TRUE}" && test -z "${BUILD_CRASHMOD_FALSE}"; then
6704 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CRASHMOD\" was never defined.
6705 Usually this means the macro was only invoked conditionally." >&5
6706 echo "$as_me: error: conditional \"BUILD_CRASHMOD\" was never defined.
6707 Usually this means the macro was only invoked conditionally." >&2;}
6708 { (exit 1); exit 1; }; }
6711 : ${CONFIG_STATUS=./config.status}
6712 ac_clean_files_save
=$ac_clean_files
6713 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6714 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6715 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6716 cat >$CONFIG_STATUS <<_ACEOF
6718 # Generated by $as_me.
6719 # Run this file to recreate the current configuration.
6720 # Compiler output produced by configure, useful for debugging
6721 # configure, is in config.log if it exists.
6726 SHELL=\${CONFIG_SHELL-$SHELL}
6729 cat >>$CONFIG_STATUS <<\_ACEOF
6730 ## --------------------- ##
6731 ## M4sh Initialization. ##
6732 ## --------------------- ##
6734 # Be more Bourne compatible
6735 DUALCASE
=1; export DUALCASE
# for MKS sh
6736 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6739 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6740 # is contrary to our usage. Disable this feature.
6741 alias -g '${1+"$@"}'='"$@"'
6742 setopt NO_GLOB_SUBST
6744 case `(set -o) 2>/dev/null` in
6745 *posix
*) set -o posix
;;
6754 # Avoid depending upon Character Ranges.
6755 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6756 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6757 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6758 as_cr_digits
='0123456789'
6759 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6761 # The user is always right.
6762 if test "${PATH_SEPARATOR+set}" != set; then
6763 echo "#! /bin/sh" >conf$$.sh
6764 echo "exit 0" >>conf$$.sh
6766 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6774 # Support unset when possible.
6775 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6783 # We need space, tab and new line, in precisely that order. Quoting is
6784 # there to prevent editors from complaining about space-tab.
6785 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6786 # splitting by setting IFS to empty value.)
6791 # Find who we are. Look in the path if we contain no directory separator.
6793 *[\\/]* ) as_myself
=$0 ;;
6794 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6798 test -z "$as_dir" && as_dir
=.
6799 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6805 # We did not find ourselves, most probably we were run as `sh COMMAND'
6806 # in which case we are not to be found in the path.
6807 if test "x$as_myself" = x
; then
6810 if test ! -f "$as_myself"; then
6811 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6812 { (exit 1); exit 1; }
6815 # Work around bugs in pre-3.0 UWIN ksh.
6816 for as_var
in ENV MAIL MAILPATH
6817 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
6825 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6826 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6827 LC_TELEPHONE LC_TIME
6829 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6830 eval $as_var=C
; export $as_var
6832 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
6836 # Required to use basename.
6837 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6838 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6844 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6845 as_basename
=basename
6851 # Name of the executable.
6852 as_me
=`$as_basename -- "$0" ||
6853 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6854 X"$0" : 'X\(//\)$' \| \
6855 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6857 sed '/^.*\/\([^/][^/]*\)\/*$/{
6878 test "x$as_lineno_1" != "x$as_lineno_2" &&
6879 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
6881 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6882 # uniformly replaced by the line number. The first 'sed' inserts a
6883 # line-number line after each line using $LINENO; the second 'sed'
6884 # does the real work. The second script uses 'N' to pair each
6885 # line-number line with the line containing $LINENO, and appends
6886 # trailing '-' during substitution so that $LINENO is not a special
6888 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6889 # scripts with optimization help from Paolo Bonzini. Blame Lee
6890 # E. McMahon (1931-1989) for sed's syntax. :-)
6902 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6906 chmod +x
"$as_me.lineno" ||
6907 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6908 { (exit 1); exit 1; }; }
6910 # Don't try to exec as it changes $[0], causing all sort of problems
6911 # (the dirname of $[0] is not the place where we might find the
6912 # original and so on. Autoconf is especially sensitive to this).
6914 # Exit status is that of the last command.
6919 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6925 ECHO_C
= ECHO_N
= ECHO_T
=
6928 case `echo 'x\c'` in
6929 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6936 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6937 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6943 rm -f conf$$ conf$$.exe conf$$.
file
6944 if test -d conf$$.dir
; then
6945 rm -f conf$$.dir
/conf$$.
file
6951 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6953 # ... but there are two gotchas:
6954 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6955 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6956 # In both cases, we have to default to `cp -p'.
6957 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6959 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6964 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6965 rmdir conf$$.dir
2>/dev
/null
6967 if mkdir
-p .
2>/dev
/null
; then
6970 test -d .
/-p && rmdir .
/-p
6974 if test -x / >/dev
/null
2>&1; then
6977 if ls -dL / >/dev
/null
2>&1; then
6984 if test -d "$1"; then
6990 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6991 ???[sx]*):;;*)false;;esac;fi
6995 as_executable_p
=$as_test_x
6997 # Sed expression to map a string onto a valid CPP name.
6998 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7000 # Sed expression to map a string onto a valid variable name.
7001 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7006 # Save the log message, to keep $[0] and so on meaningful, and to
7007 # report actual input values of CONFIG_FILES etc. instead of their
7008 # values after options handling.
7010 This file was extended by systemtap $as_me 0.6, which was
7011 generated by GNU Autoconf 2.61. Invocation command line was
7013 CONFIG_FILES = $CONFIG_FILES
7014 CONFIG_HEADERS = $CONFIG_HEADERS
7015 CONFIG_LINKS = $CONFIG_LINKS
7016 CONFIG_COMMANDS = $CONFIG_COMMANDS
7019 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7024 cat >>$CONFIG_STATUS <<_ACEOF
7025 # Files that config.status was made for.
7026 config_files="$ac_config_files"
7027 config_headers="$ac_config_headers"
7028 config_commands="$ac_config_commands"
7032 cat >>$CONFIG_STATUS <<\_ACEOF
7034 \`$as_me' instantiates files from templates according to the
7035 current configuration.
7037 Usage: $0 [OPTIONS] [FILE]...
7039 -h, --help print this help, then exit
7040 -V, --version print version number and configuration settings, then exit
7041 -q, --quiet do not print progress messages
7042 -d, --debug don't remove temporary files
7043 --recheck update $as_me by reconfiguring in the same conditions
7044 --file=FILE[:TEMPLATE]
7045 instantiate the configuration file FILE
7046 --header=FILE[:TEMPLATE]
7047 instantiate the configuration header FILE
7049 Configuration files:
7052 Configuration headers:
7055 Configuration commands:
7058 Report bugs to <bug-autoconf@gnu.org>."
7061 cat >>$CONFIG_STATUS <<_ACEOF
7063 systemtap config.status 0.6
7064 configured by $0, generated by GNU Autoconf 2.61,
7065 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7067 Copyright (C) 2006 Free Software Foundation, Inc.
7068 This config.status script is free software; the Free Software Foundation
7069 gives unlimited permission to copy, distribute and modify it."
7077 cat >>$CONFIG_STATUS <<\_ACEOF
7078 # If no file are specified by the user, then we need to provide default
7079 # value. By we need to know if files were specified by the user.
7085 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7086 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7097 # Handling of the options.
7098 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7100 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7101 echo "$ac_cs_version"; exit ;;
7102 --debug |
--debu |
--deb |
--de |
--d |
-d )
7104 --file |
--fil |
--fi |
--f )
7106 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7107 ac_need_defaults
=false
;;
7108 --header |
--heade |
--head |
--hea )
7110 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7111 ac_need_defaults
=false
;;
7113 # Conflict between --help and --header
7114 { echo "$as_me: error: ambiguous option: $1
7115 Try \`$0 --help' for more information." >&2
7116 { (exit 1); exit 1; }; };;
7117 --help |
--hel |
-h )
7118 echo "$ac_cs_usage"; exit ;;
7119 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7120 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7124 -*) { echo "$as_me: error: unrecognized option: $1
7125 Try \`$0 --help' for more information." >&2
7126 { (exit 1); exit 1; }; } ;;
7128 *) ac_config_targets
="$ac_config_targets $1"
7129 ac_need_defaults
=false
;;
7135 ac_configure_extra_args
=
7137 if $ac_cs_silent; then
7139 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7143 cat >>$CONFIG_STATUS <<_ACEOF
7144 if \$ac_cs_recheck; then
7145 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7148 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7152 cat >>$CONFIG_STATUS <<\_ACEOF
7156 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7157 ## Running $as_me. ##
7163 cat >>$CONFIG_STATUS <<_ACEOF
7167 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7171 cat >>$CONFIG_STATUS <<\_ACEOF
7173 # Handling of arguments.
7174 for ac_config_target
in $ac_config_targets
7176 case $ac_config_target in
7177 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7178 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
7179 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7180 "systemtap.spec") CONFIG_FILES
="$CONFIG_FILES systemtap.spec" ;;
7181 "stap.1") CONFIG_FILES
="$CONFIG_FILES stap.1" ;;
7182 "stapprobes.5") CONFIG_FILES
="$CONFIG_FILES stapprobes.5" ;;
7183 "stapfuncs.5") CONFIG_FILES
="$CONFIG_FILES stapfuncs.5" ;;
7184 "stapex.5") CONFIG_FILES
="$CONFIG_FILES stapex.5" ;;
7185 "staprun.8") CONFIG_FILES
="$CONFIG_FILES staprun.8" ;;
7186 "man/stapprobes.iosched.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.iosched.5" ;;
7187 "man/stapprobes.netdev.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.netdev.5" ;;
7188 "man/stapprobes.nfs.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.nfs.5" ;;
7189 "man/stapprobes.nfsd.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.nfsd.5" ;;
7190 "man/stapprobes.pagefault.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.pagefault.5" ;;
7191 "man/stapprobes.process.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.process.5" ;;
7192 "man/stapprobes.rpc.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.rpc.5" ;;
7193 "man/stapprobes.scsi.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.scsi.5" ;;
7194 "man/stapprobes.signal.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.signal.5" ;;
7195 "man/stapprobes.socket.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.socket.5" ;;
7196 "man/stapprobes.tcp.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.tcp.5" ;;
7197 "man/stapprobes.udp.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.udp.5" ;;
7199 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7200 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7201 { (exit 1); exit 1; }; };;
7206 # If the user did not use the arguments to specify the items to instantiate,
7207 # then the envvar interface is used. Set only those that are not.
7208 # We use the long form for the default assignment because of an extremely
7209 # bizarre bug on SunOS 4.1.3.
7210 if $ac_need_defaults; then
7211 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7212 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7213 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7216 # Have a temporary directory for convenience. Make it in the build tree
7217 # simply because there is no reason against having it here, and in addition,
7218 # creating and moving files from /tmp can sometimes cause problems.
7219 # Hook for its removal unless debugging.
7220 # Note that there is a small window in which the directory will not be cleaned:
7221 # after its creation but before its name has been assigned to `$tmp'.
7225 trap 'exit_status=$?
7226 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7228 trap '{ (exit 1); exit 1; }' 1 2 13 15
7230 # Create a (secure) tmp directory for tmp files.
7233 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7234 test -n "$tmp" && test -d "$tmp"
7237 tmp
=.
/conf$$
-$RANDOM
7238 (umask 077 && mkdir
"$tmp")
7241 echo "$me: cannot create a temporary directory in ." >&2
7242 { (exit 1); exit 1; }
7246 # Set up the sed scripts for CONFIG_FILES section.
7249 # No need to generate the scripts if there are no CONFIG_FILES.
7250 # This happens for instance when ./config.status config.h
7251 if test -n "$CONFIG_FILES"; then
7258 for ac_last_try
in false false false false false
:; do
7259 cat >conf$
$subs.
sed <<_ACEOF
7260 SHELL!$SHELL$ac_delim
7261 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
7262 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
7263 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
7264 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
7265 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
7266 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
7267 exec_prefix!$exec_prefix$ac_delim
7268 prefix!$prefix$ac_delim
7269 program_transform_name!$program_transform_name$ac_delim
7270 bindir!$bindir$ac_delim
7271 sbindir!$sbindir$ac_delim
7272 libexecdir!$libexecdir$ac_delim
7273 datarootdir!$datarootdir$ac_delim
7274 datadir!$datadir$ac_delim
7275 sysconfdir!$sysconfdir$ac_delim
7276 sharedstatedir!$sharedstatedir$ac_delim
7277 localstatedir!$localstatedir$ac_delim
7278 includedir!$includedir$ac_delim
7279 oldincludedir!$oldincludedir$ac_delim
7280 docdir!$docdir$ac_delim
7281 infodir!$infodir$ac_delim
7282 htmldir!$htmldir$ac_delim
7283 dvidir!$dvidir$ac_delim
7284 pdfdir!$pdfdir$ac_delim
7285 psdir!$psdir$ac_delim
7286 libdir!$libdir$ac_delim
7287 localedir!$localedir$ac_delim
7288 mandir!$mandir$ac_delim
7290 ECHO_C!$ECHO_C$ac_delim
7291 ECHO_N!$ECHO_N$ac_delim
7292 ECHO_T!$ECHO_T$ac_delim
7294 build_alias!$build_alias$ac_delim
7295 host_alias!$host_alias$ac_delim
7296 target_alias!$target_alias$ac_delim
7297 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
7298 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
7299 INSTALL_DATA!$INSTALL_DATA$ac_delim
7300 am__isrc!$am__isrc$ac_delim
7301 CYGPATH_W!$CYGPATH_W$ac_delim
7302 PACKAGE!$PACKAGE$ac_delim
7303 VERSION!$VERSION$ac_delim
7304 ACLOCAL!$ACLOCAL$ac_delim
7305 AUTOCONF!$AUTOCONF$ac_delim
7306 AUTOMAKE!$AUTOMAKE$ac_delim
7307 AUTOHEADER!$AUTOHEADER$ac_delim
7308 MAKEINFO!$MAKEINFO$ac_delim
7309 install_sh!$install_sh$ac_delim
7310 STRIP!$STRIP$ac_delim
7311 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
7312 mkdir_p!$mkdir_p$ac_delim
7314 SET_MAKE!$SET_MAKE$ac_delim
7315 am__leading_dot!$am__leading_dot$ac_delim
7316 AMTAR!$AMTAR$ac_delim
7317 am__tar!$am__tar$ac_delim
7318 am__untar!$am__untar$ac_delim
7319 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
7320 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
7321 MAINT!$MAINT$ac_delim
7324 CFLAGS!$CFLAGS$ac_delim
7325 LDFLAGS!$LDFLAGS$ac_delim
7326 CPPFLAGS!$CPPFLAGS$ac_delim
7327 ac_ct_CC!$ac_ct_CC$ac_delim
7328 EXEEXT!$EXEEXT$ac_delim
7329 OBJEXT!$OBJEXT$ac_delim
7330 DEPDIR!$DEPDIR$ac_delim
7331 am__include!$am__include$ac_delim
7332 am__quote!$am__quote$ac_delim
7333 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
7334 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
7335 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
7336 CCDEPMODE!$CCDEPMODE$ac_delim
7337 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
7338 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
7340 CXXFLAGS!$CXXFLAGS$ac_delim
7341 ac_ct_CXX!$ac_ct_CXX$ac_delim
7342 CXXDEPMODE!$CXXDEPMODE$ac_delim
7343 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
7344 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
7347 EGREP!$EGREP$ac_delim
7349 ANSI2KNR!$ANSI2KNR$ac_delim
7350 RANLIB!$RANLIB$ac_delim
7351 sqlite3_LIBS!$sqlite3_LIBS$ac_delim
7352 BUILD_ELFUTILS_TRUE!$BUILD_ELFUTILS_TRUE$ac_delim
7353 BUILD_ELFUTILS_FALSE!$BUILD_ELFUTILS_FALSE$ac_delim
7354 elfutils_abs_srcdir!$elfutils_abs_srcdir$ac_delim
7355 BUILD_CRASHMOD_TRUE!$BUILD_CRASHMOD_TRUE$ac_delim
7356 BUILD_CRASHMOD_FALSE!$BUILD_CRASHMOD_FALSE$ac_delim
7359 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
7361 elif $ac_last_try; then
7362 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7363 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7364 { (exit 1); exit 1; }; }
7366 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
7370 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7371 if test -n "$ac_eof"; then
7372 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
7373 ac_eof
=`expr $ac_eof + 1`
7376 cat >>$CONFIG_STATUS <<_ACEOF
7377 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7378 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7381 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7382 s/^/s,@/; s/!/@,|#_!!_#|/
7385 s/'"$ac_delim"'$/,g/; t
7387 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7388 ' >>$CONFIG_STATUS <conf$
$subs.
sed
7389 rm -f conf$
$subs.
sed
7390 cat >>$CONFIG_STATUS <<_ACEOF
7396 for ac_last_try
in false false false false false
:; do
7397 cat >conf$
$subs.
sed <<_ACEOF
7398 stap_LIBS!$stap_LIBS$ac_delim
7400 PROCFLAGS!$PROCFLAGS$ac_delim
7401 cap_LIBS!$cap_LIBS$ac_delim
7402 subdirs!$subdirs$ac_delim
7403 LIBOBJS!$LIBOBJS$ac_delim
7404 LTLIBOBJS!$LTLIBOBJS$ac_delim
7407 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 7; then
7409 elif $ac_last_try; then
7410 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7411 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7412 { (exit 1); exit 1; }; }
7414 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
7418 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7419 if test -n "$ac_eof"; then
7420 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
7421 ac_eof
=`expr $ac_eof + 1`
7424 cat >>$CONFIG_STATUS <<_ACEOF
7425 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
7426 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7429 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7430 s/^/s,@/; s/!/@,|#_!!_#|/
7433 s/'"$ac_delim"'$/,g/; t
7435 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7436 ' >>$CONFIG_STATUS <conf$
$subs.
sed
7437 rm -f conf$
$subs.
sed
7438 cat >>$CONFIG_STATUS <<_ACEOF
7445 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7446 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7447 # trailing colons and then remove the whole line if VPATH becomes empty
7448 # (actually we leave an empty line to preserve line numbers).
7449 if test "x$srcdir" = x.
; then
7450 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7454 s/^\([^=]*=[ ]*\):*/\1/
7460 cat >>$CONFIG_STATUS <<\_ACEOF
7461 fi # test -n "$CONFIG_FILES"
7464 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
7467 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7469 case $ac_mode$ac_tag in
7471 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7472 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
7473 { (exit 1); exit 1; }; };;
7474 :[FH
]-) ac_tag
=-:-;;
7475 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7492 -) ac_f
="$tmp/stdin";;
7493 *) # Look for the file first in the build tree, then in the source tree
7494 # (if the path is not absolute). The absolute path cannot be DOS-style,
7495 # because $ac_f cannot contain `:'.
7499 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7501 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7502 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7503 { (exit 1); exit 1; }; };;
7505 ac_file_inputs
="$ac_file_inputs $ac_f"
7508 # Let's still pretend it is `configure' which instantiates (i.e., don't
7509 # use $as_me), people would be surprised to read:
7510 # /* config.h. Generated by config.status. */
7511 configure_input
="Generated from "`IFS=:
7512 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7513 if test x
"$ac_file" != x-
; then
7514 configure_input
="$ac_file. $configure_input"
7515 { echo "$as_me:$LINENO: creating $ac_file" >&5
7516 echo "$as_me: creating $ac_file" >&6;}
7520 *:-:* |
*:-) cat >"$tmp/stdin";;
7525 ac_dir
=`$as_dirname -- "$ac_file" ||
7526 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7527 X"$ac_file" : 'X\(//\)[^/]' \| \
7528 X"$ac_file" : 'X\(//\)$' \| \
7529 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7550 -*) as_dir
=.
/$as_dir;;
7552 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
7556 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7557 *) as_qdir
=$as_dir;;
7559 as_dirs
="'$as_qdir' $as_dirs"
7560 as_dir
=`$as_dirname -- "$as_dir" ||
7561 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7562 X"$as_dir" : 'X\(//\)[^/]' \| \
7563 X"$as_dir" : 'X\(//\)$' \| \
7564 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7566 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7583 test -d "$as_dir" && break
7585 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7586 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7587 echo "$as_me: error: cannot create directory $as_dir" >&2;}
7588 { (exit 1); exit 1; }; }; }
7592 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7594 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7595 # A ".." for each directory in $ac_dir_suffix.
7596 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7597 case $ac_top_builddir_sub in
7598 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7599 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7602 ac_abs_top_builddir
=$ac_pwd
7603 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7604 # for backward compatibility:
7605 ac_top_builddir
=$ac_top_build_prefix
7608 .
) # We are building in place.
7610 ac_top_srcdir
=$ac_top_builddir_sub
7611 ac_abs_top_srcdir
=$ac_pwd ;;
7612 [\\/]* | ?
:[\\/]* ) # Absolute name.
7613 ac_srcdir
=$srcdir$ac_dir_suffix;
7614 ac_top_srcdir
=$srcdir
7615 ac_abs_top_srcdir
=$srcdir ;;
7617 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7618 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7619 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7621 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7631 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7632 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7636 [\\/$
]* | ?
:[\\/]* ) ;;
7637 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
7641 cat >>$CONFIG_STATUS <<\_ACEOF
7642 # If the template does not know about datarootdir, expand it.
7643 # FIXME: This hack should be removed a few years after 2.60.
7644 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7646 case `sed -n '/datarootdir/ {
7655 ' $ac_file_inputs` in
7656 *datarootdir
*) ac_datarootdir_seen
=yes;;
7657 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7658 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7659 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7661 cat >>$CONFIG_STATUS <<_ACEOF
7662 ac_datarootdir_hack='
7663 s&@datadir@&$datadir&g
7664 s&@docdir@&$docdir&g
7665 s&@infodir@&$infodir&g
7666 s&@localedir@&$localedir&g
7667 s&@mandir@&$mandir&g
7668 s&\\\${datarootdir}&$datarootdir&g' ;;
7672 # Neutralize VPATH when `$srcdir' = `.'.
7673 # Shell code in configure.ac might set extrasub.
7674 # FIXME: do we really want to maintain this feature?
7675 cat >>$CONFIG_STATUS <<_ACEOF
7679 cat >>$CONFIG_STATUS <<\_ACEOF
7681 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7682 s
&@configure_input@
&$configure_input&;t t
7683 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7684 s
&@srcdir@
&$ac_srcdir&;t t
7685 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7686 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7687 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7688 s
&@builddir@
&$ac_builddir&;t t
7689 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7690 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7691 s
&@INSTALL@
&$ac_INSTALL&;t t
7692 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
7693 $ac_datarootdir_hack
7694 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
7696 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7697 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
7698 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
7699 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7700 which seems to be undefined. Please make sure it is defined." >&5
7701 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7702 which seems to be undefined. Please make sure it is defined." >&2;}
7706 -) cat "$tmp/out"; rm -f "$tmp/out";;
7707 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
7716 # Transform confdefs.h into a sed script `conftest.defines', that
7717 # substitutes the proper values into config.h.in to produce config.h.
7718 rm -f conftest.defines conftest.
tail
7719 # First, append a space to every undef/define line, to ease matching.
7720 echo 's/$/ /' >conftest.defines
7721 # Then, protect against being on the right side of a sed subst, or in
7722 # an unquoted here document, in config.status. If some macros were
7723 # called several times there might be several #defines for the same
7724 # symbol, which is useless. But do not sort them, since the last
7725 # AC_DEFINE must be honored.
7726 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
7727 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
7728 # NAME is the cpp macro being defined, VALUE is the value it is being given.
7729 # PARAMS is the parameter list in the macro definition--in most cases, it's
7730 # just an empty string.
7731 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
7732 ac_dB
='\\)[ (].*,\\1define\\2'
7740 s/^[ ]*#[ ]*define[ ][ ]*//
7745 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
7746 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
7747 ' >>conftest.defines
7749 # Remove the space that was appended to ease matching.
7750 # Then replace #undef with comments. This is necessary, for
7751 # example, in the case of _POSIX_SOURCE, which is predefined and required
7752 # on some systems where configure will not decide to define it.
7753 # (The regexp can be short, since the line contains either #define or #undef.)
7755 s,^[ #]*u.*,/* & */,' >>conftest.defines
7757 # Break up conftest.defines:
7760 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
7761 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
7762 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
7764 ac_in
='$ac_file_inputs'
7765 ac_out
='"$tmp/out1"'
7766 ac_nxt
='"$tmp/out2"'
7770 # Write a here document:
7771 cat >>$CONFIG_STATUS <<_ACEOF
7772 # First, check the format of the line:
7773 cat >"\$tmp/defines.sed" <<\\CEOF
7774 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
7775 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
7779 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
7781 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
7782 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
7783 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
7784 grep . conftest.
tail >/dev
/null ||
break
7785 rm -f conftest.defines
7786 mv conftest.
tail conftest.defines
7788 rm -f conftest.defines conftest.
tail
7790 echo "ac_result=$ac_in" >>$CONFIG_STATUS
7791 cat >>$CONFIG_STATUS <<\_ACEOF
7792 if test x
"$ac_file" != x-
; then
7793 echo "/* $configure_input */" >"$tmp/config.h"
7794 cat "$ac_result" >>"$tmp/config.h"
7795 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
7796 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7797 echo "$as_me: $ac_file is unchanged" >&6;}
7800 mv "$tmp/config.h" $ac_file
7803 echo "/* $configure_input */"
7807 # Compute $ac_file's index in $config_headers.
7809 for _am_header
in $config_headers :; do
7811 $ac_file |
$ac_file:* )
7814 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
7817 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
7818 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7819 X$ac_file : 'X\(//\)[^/]' \| \
7820 X$ac_file : 'X\(//\)$' \| \
7821 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
7823 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7839 s/.*/./; q'`/stamp-h
$_am_stamp_count
7842 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
7843 echo "$as_me: executing $ac_file commands" >&6;}
7848 case $ac_file$ac_mode in
7849 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
7850 # Strip MF so we end up with the name of the file.
7851 mf
=`echo "$mf" | sed -e 's/:.*$//'`
7852 # Check whether this is an Automake generated Makefile or not.
7853 # We used to match only the files named `Makefile.in', but
7854 # some people rename them; so instead we look at the file content.
7855 # Grep'ing the first line is not enough: some people post-process
7856 # each Makefile.in and add a new line on top of each file to say so.
7857 # Grep'ing the whole file is not good either: AIX grep has a line
7858 # limit of 2048, but all sed's we know have understand at least 4000.
7859 if sed 10q
"$mf" |
grep '^#.*generated by automake' > /dev
/null
2>&1; then
7860 dirpart
=`$as_dirname -- "$mf" ||
7861 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7862 X"$mf" : 'X\(//\)[^/]' \| \
7863 X"$mf" : 'X\(//\)$' \| \
7864 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7886 # Extract the definition of DEPDIR, am__include, and am__quote
7887 # from the Makefile without running `make'.
7888 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
7889 test -z "$DEPDIR" && continue
7890 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
7891 test -z "am__include" && continue
7892 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
7893 # When using ansi2knr, U may be empty or an underscore; expand it
7894 U
=`sed -n 's/^U = //p' < "$mf"`
7895 # Find all dependency output files, they are included files with
7896 # $(DEPDIR) in their names. We invoke sed twice because it is the
7897 # simplest approach to changing $(DEPDIR) to its actual value in the
7899 for file in `sed -n "
7900 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7901 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7902 # Make sure the directory exists.
7903 test -f "$dirpart/$file" && continue
7904 fdir
=`$as_dirname -- "$file" ||
7905 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7906 X"$file" : 'X\(//\)[^/]' \| \
7907 X"$file" : 'X\(//\)$' \| \
7908 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7910 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7927 { as_dir
=$dirpart/$fdir
7929 -*) as_dir
=.
/$as_dir;;
7931 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
7935 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7936 *) as_qdir
=$as_dir;;
7938 as_dirs
="'$as_qdir' $as_dirs"
7939 as_dir
=`$as_dirname -- "$as_dir" ||
7940 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7941 X"$as_dir" : 'X\(//\)[^/]' \| \
7942 X"$as_dir" : 'X\(//\)$' \| \
7943 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7945 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7962 test -d "$as_dir" && break
7964 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7965 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7966 echo "$as_me: error: cannot create directory $as_dir" >&2;}
7967 { (exit 1); exit 1; }; }; }
7968 # echo "creating $dirpart/$file"
7969 echo '# dummy' > "$dirpart/$file"
7978 { (exit 0); exit 0; }
7980 chmod +x
$CONFIG_STATUS
7981 ac_clean_files
=$ac_clean_files_save
7984 # configure is writing to config.log, and then calls config.status.
7985 # config.status does its own redirection, appending to config.log.
7986 # Unfortunately, on DOS this fails, as config.log is still kept open
7987 # by configure, so config.status won't be able to write to it; its
7988 # output is simply discarded. So we exec the FD to /dev/null,
7989 # effectively closing config.log, so it can be properly (re)opened and
7990 # appended to by config.status. When coming back to configure, we
7991 # need to make the FD available again.
7992 if test "$no_create" != yes; then
7994 ac_config_status_args
=
7995 test "$silent" = yes &&
7996 ac_config_status_args
="$ac_config_status_args --quiet"
7998 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8000 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8001 # would make configure fail if this is the last instruction.
8002 $ac_cs_success ||
{ (exit 1); exit 1; }
8006 # CONFIG_SUBDIRS section.
8008 if test "$no_recursion" != yes; then
8010 # Remove --cache-file and --srcdir arguments so they do not pile up.
8011 ac_sub_configure_args
=
8013 eval "set x $ac_configure_args"
8017 if test -n "$ac_prev"; then
8022 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
8023 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
8024 ac_prev
=cache_file
;;
8025 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
8026 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
8029 --config-cache |
-C)
8031 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
8033 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
8035 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
8037 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
8041 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8043 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
8047 # Always prepend --prefix to ensure using the same prefix
8048 # in subdir configurations.
8049 ac_arg
="--prefix=$prefix"
8051 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8053 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
8056 if test "$silent" = yes; then
8057 ac_sub_configure_args
="--silent $ac_sub_configure_args"
8061 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
8063 # Do not complain, so a configure script can configure whichever
8064 # parts of a large source tree are present.
8065 test -d "$srcdir/$ac_dir" ||
continue
8067 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
8068 echo "$as_me:$LINENO: $ac_msg" >&5
8072 -*) as_dir
=.
/$as_dir;;
8074 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
8078 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8079 *) as_qdir
=$as_dir;;
8081 as_dirs
="'$as_qdir' $as_dirs"
8082 as_dir
=`$as_dirname -- "$as_dir" ||
8083 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8084 X"$as_dir" : 'X\(//\)[^/]' \| \
8085 X"$as_dir" : 'X\(//\)$' \| \
8086 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8088 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8105 test -d "$as_dir" && break
8107 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8108 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8109 echo "$as_me: error: cannot create directory $as_dir" >&2;}
8110 { (exit 1); exit 1; }; }; }
8114 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8116 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8117 # A ".." for each directory in $ac_dir_suffix.
8118 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
8119 case $ac_top_builddir_sub in
8120 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8121 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8124 ac_abs_top_builddir
=$ac_pwd
8125 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8126 # for backward compatibility:
8127 ac_top_builddir
=$ac_top_build_prefix
8130 .
) # We are building in place.
8132 ac_top_srcdir
=$ac_top_builddir_sub
8133 ac_abs_top_srcdir
=$ac_pwd ;;
8134 [\\/]* | ?
:[\\/]* ) # Absolute name.
8135 ac_srcdir
=$srcdir$ac_dir_suffix;
8136 ac_top_srcdir
=$srcdir
8137 ac_abs_top_srcdir
=$srcdir ;;
8139 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8140 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8141 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8143 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8148 # Check for guested configure; otherwise get Cygnus style configure.
8149 if test -f "$ac_srcdir/configure.gnu"; then
8150 ac_sub_configure
=$ac_srcdir/configure.gnu
8151 elif test -f "$ac_srcdir/configure"; then
8152 ac_sub_configure
=$ac_srcdir/configure
8153 elif test -f "$ac_srcdir/configure.in"; then
8154 # This should be Cygnus configure.
8155 ac_sub_configure
=$ac_aux_dir/configure
8157 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
8158 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
8162 # The recursion is here.
8163 if test -n "$ac_sub_configure"; then
8164 # Make the cache file name correct relative to the subdirectory.
8166 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
8168 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
8171 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
8172 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
8173 # The eval makes quoting arguments work.
8174 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
8175 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
8176 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
8177 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
8178 { (exit 1); exit 1; }; }
8186 if test $build_elfutils = yes; then
8187 case "$with_elfutils" in
8188 /*) elfutils_srcdir
="$with_elfutils" ;;
8189 *) elfutils_srcdir
="../$with_elfutils" ;;
8191 { echo "$as_me:$LINENO: running ${elfutils_srcdir}/configure" >&5
8192 echo "$as_me: running ${elfutils_srcdir}/configure" >&6;}
8193 # Our libdw.so's libebl will look in $ORIGIN/../lib/... but that
8194 # $ORIGIN is where libdw.so resides, which is not where there is a ../lib.
8195 # Note that $libdir might be using a quoted use of $exec_prefix or $prefix.
8196 # So we must make sure to pass those settings to elfutils configure.
8197 elfutils_rpath
="-Wl,--enable-new-dtags,-rpath,${libdir}/${PACKAGE_NAME}"
8199 (mkdir
-p build-elfutils
&& cd build-elfutils
&&
8200 ${elfutils_srcdir}/configure
--enable-libebl-subdir=${PACKAGE_NAME} \
8201 --includedir="${here}/include-elfutils" \
8202 --libdir="${here}/lib-elfutils" \
8203 --exec-prefix="$exec_prefix" \
8204 --prefix="$prefix" \
8205 CFLAGS
="${CFLAGS/-Wall/}" \
8206 LDFLAGS
="$LDFLAGS $elfutils_rpath"