2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for systemtap 0.6.1.
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.1'
578 PACKAGE_STRING
='systemtap 0.6.1'
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
729 ac_precious_vars
='build_alias
741 ac_subdirs_all
='testsuite'
743 # Initialize some variables set by options.
745 ac_init_version
=false
746 # The variables have the same names as the options, with
747 # dashes changed to underlines.
755 program_transform_name
=s
,x
,x
,
763 # Installation directory options.
764 # These are left unexpanded so users can "make install exec_prefix=/foo"
765 # and all the variables that are supposed to be based on exec_prefix
766 # by default will actually change.
767 # Use braces instead of parens because sh, perl, etc. also accept them.
768 # (The list follows the same order as the GNU Coding Standards.)
769 bindir
='${exec_prefix}/bin'
770 sbindir
='${exec_prefix}/sbin'
771 libexecdir
='${exec_prefix}/libexec'
772 datarootdir
='${prefix}/share'
773 datadir
='${datarootdir}'
774 sysconfdir
='${prefix}/etc'
775 sharedstatedir
='${prefix}/com'
776 localstatedir
='${prefix}/var'
777 includedir
='${prefix}/include'
778 oldincludedir
='/usr/include'
779 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
780 infodir
='${datarootdir}/info'
785 libdir
='${exec_prefix}/lib'
786 localedir
='${datarootdir}/locale'
787 mandir
='${datarootdir}/man'
793 # If the previous option needs an argument, assign it.
794 if test -n "$ac_prev"; then
795 eval $ac_prev=\
$ac_option
801 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
805 # Accept the important Cygnus configure options, so we can diagnose typos.
807 case $ac_dashdash$ac_option in
811 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
813 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
816 -build |
--build |
--buil |
--bui |
--bu)
817 ac_prev
=build_alias
;;
818 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
819 build_alias
=$ac_optarg ;;
821 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
822 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
823 ac_prev
=cache_file
;;
824 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
825 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
826 cache_file
=$ac_optarg ;;
829 cache_file
=config.cache
;;
831 -datadir |
--datadir |
--datadi |
--datad)
833 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
834 datadir
=$ac_optarg ;;
836 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
837 |
--dataroo |
--dataro |
--datar)
838 ac_prev
=datarootdir
;;
839 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
840 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
841 datarootdir
=$ac_optarg ;;
843 -disable-* |
--disable-*)
844 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
845 # Reject names that are not valid shell variable names.
846 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
847 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
848 { (exit 1); exit 1; }; }
849 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
850 eval enable_
$ac_feature=no
;;
852 -docdir |
--docdir |
--docdi |
--doc |
--do)
854 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
857 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
859 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
862 -enable-* |
--enable-*)
863 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
864 # Reject names that are not valid shell variable names.
865 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
866 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
867 { (exit 1); exit 1; }; }
868 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
869 eval enable_
$ac_feature=\
$ac_optarg ;;
871 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
872 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
873 |
--exec |
--exe |
--ex)
874 ac_prev
=exec_prefix
;;
875 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
876 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
877 |
--exec=* |
--exe=* |
--ex=*)
878 exec_prefix
=$ac_optarg ;;
880 -gas |
--gas |
--ga |
--g)
881 # Obsolete; use --with-gas.
884 -help |
--help |
--hel |
--he |
-h)
886 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
887 ac_init_help
=recursive
;;
888 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
889 ac_init_help
=short
;;
891 -host |
--host |
--hos |
--ho)
892 ac_prev
=host_alias
;;
893 -host=* |
--host=* |
--hos=* |
--ho=*)
894 host_alias
=$ac_optarg ;;
896 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
898 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
900 htmldir
=$ac_optarg ;;
902 -includedir |
--includedir |
--includedi |
--included |
--include \
903 |
--includ |
--inclu |
--incl |
--inc)
904 ac_prev
=includedir
;;
905 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
906 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
907 includedir
=$ac_optarg ;;
909 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
911 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
912 infodir
=$ac_optarg ;;
914 -libdir |
--libdir |
--libdi |
--libd)
916 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
919 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
920 |
--libexe |
--libex |
--libe)
921 ac_prev
=libexecdir
;;
922 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
923 |
--libexe=* |
--libex=* |
--libe=*)
924 libexecdir
=$ac_optarg ;;
926 -localedir |
--localedir |
--localedi |
--localed |
--locale)
928 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
929 localedir
=$ac_optarg ;;
931 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
932 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
933 ac_prev
=localstatedir
;;
934 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
935 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
936 localstatedir
=$ac_optarg ;;
938 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
940 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
944 # Obsolete; use --without-fp.
947 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
948 |
--no-cr |
--no-c |
-n)
951 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
952 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
955 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
956 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
957 |
--oldin |
--oldi |
--old |
--ol |
--o)
958 ac_prev
=oldincludedir
;;
959 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
960 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
961 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
962 oldincludedir
=$ac_optarg ;;
964 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
966 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
969 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
970 |
--program-pre |
--program-pr |
--program-p)
971 ac_prev
=program_prefix
;;
972 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
973 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
974 program_prefix
=$ac_optarg ;;
976 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
977 |
--program-suf |
--program-su |
--program-s)
978 ac_prev
=program_suffix
;;
979 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
980 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
981 program_suffix
=$ac_optarg ;;
983 -program-transform-name |
--program-transform-name \
984 |
--program-transform-nam |
--program-transform-na \
985 |
--program-transform-n |
--program-transform- \
986 |
--program-transform |
--program-transfor \
987 |
--program-transfo |
--program-transf \
988 |
--program-trans |
--program-tran \
989 |
--progr-tra |
--program-tr |
--program-t)
990 ac_prev
=program_transform_name
;;
991 -program-transform-name=* |
--program-transform-name=* \
992 |
--program-transform-nam=* |
--program-transform-na=* \
993 |
--program-transform-n=* |
--program-transform-=* \
994 |
--program-transform=* |
--program-transfor=* \
995 |
--program-transfo=* |
--program-transf=* \
996 |
--program-trans=* |
--program-tran=* \
997 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
998 program_transform_name
=$ac_optarg ;;
1000 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1002 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1003 pdfdir
=$ac_optarg ;;
1005 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1007 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1010 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1011 |
-silent |
--silent |
--silen |
--sile |
--sil)
1014 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1016 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1018 sbindir
=$ac_optarg ;;
1020 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1021 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1022 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1024 ac_prev
=sharedstatedir
;;
1025 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1026 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1027 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1029 sharedstatedir
=$ac_optarg ;;
1031 -site |
--site |
--sit)
1033 -site=* |
--site=* |
--sit=*)
1036 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1038 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1039 srcdir
=$ac_optarg ;;
1041 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1042 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1043 ac_prev
=sysconfdir
;;
1044 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1045 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1046 sysconfdir
=$ac_optarg ;;
1048 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1049 ac_prev
=target_alias
;;
1050 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1051 target_alias
=$ac_optarg ;;
1053 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1056 -version |
--version |
--versio |
--versi |
--vers |
-V)
1057 ac_init_version
=: ;;
1060 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1061 # Reject names that are not valid shell variable names.
1062 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1063 { echo "$as_me: error: invalid package name: $ac_package" >&2
1064 { (exit 1); exit 1; }; }
1065 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1066 eval with_
$ac_package=\
$ac_optarg ;;
1068 -without-* |
--without-*)
1069 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1070 # Reject names that are not valid shell variable names.
1071 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1072 { echo "$as_me: error: invalid package name: $ac_package" >&2
1073 { (exit 1); exit 1; }; }
1074 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1075 eval with_
$ac_package=no
;;
1078 # Obsolete; use --with-x.
1081 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1082 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1083 ac_prev
=x_includes
;;
1084 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1085 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1086 x_includes
=$ac_optarg ;;
1088 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1089 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1090 ac_prev
=x_libraries
;;
1091 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1092 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1093 x_libraries
=$ac_optarg ;;
1095 -*) { echo "$as_me: error: unrecognized option: $ac_option
1096 Try \`$0 --help' for more information." >&2
1097 { (exit 1); exit 1; }; }
1101 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1102 # Reject names that are not valid shell variable names.
1103 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1104 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1105 { (exit 1); exit 1; }; }
1106 eval $ac_envvar=\
$ac_optarg
1107 export $ac_envvar ;;
1110 # FIXME: should be removed in autoconf 3.0.
1111 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1112 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1113 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1114 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1120 if test -n "$ac_prev"; then
1121 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1122 { echo "$as_me: error: missing argument to $ac_option" >&2
1123 { (exit 1); exit 1; }; }
1126 # Be sure to have absolute directory names.
1127 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1128 datadir sysconfdir sharedstatedir localstatedir includedir \
1129 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1130 libdir localedir mandir
1132 eval ac_val
=\$
$ac_var
1134 [\\/$
]* | ?
:[\\/]* ) continue;;
1135 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1137 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1138 { (exit 1); exit 1; }; }
1141 # There might be people who depend on the old broken behavior: `$host'
1142 # used to hold the argument of --host etc.
1143 # FIXME: To remove some day.
1146 target
=$target_alias
1148 # FIXME: To remove some day.
1149 if test "x$host_alias" != x
; then
1150 if test "x$build_alias" = x
; then
1151 cross_compiling
=maybe
1152 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1153 If a cross compiler is detected then cross compile mode will be used." >&2
1154 elif test "x$build_alias" != "x$host_alias"; then
1160 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1162 test "$silent" = yes && exec 6>/dev
/null
1165 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1166 ac_ls_di
=`ls -di .` &&
1167 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1168 { echo "$as_me: error: Working directory cannot be determined" >&2
1169 { (exit 1); exit 1; }; }
1170 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1171 { echo "$as_me: error: pwd does not report name of working directory" >&2
1172 { (exit 1); exit 1; }; }
1175 # Find the source files, if location was not specified.
1176 if test -z "$srcdir"; then
1177 ac_srcdir_defaulted
=yes
1178 # Try the directory containing this script, then the parent directory.
1179 ac_confdir
=`$as_dirname -- "$0" ||
1180 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1181 X"$0" : 'X\(//\)[^/]' \| \
1182 X"$0" : 'X\(//\)$' \| \
1183 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1203 if test ! -r "$srcdir/$ac_unique_file"; then
1207 ac_srcdir_defaulted
=no
1209 if test ! -r "$srcdir/$ac_unique_file"; then
1210 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1211 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1212 { (exit 1); exit 1; }; }
1214 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1216 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1217 { (exit 1); exit 1; }; }
1219 # When building in place, set srcdir=.
1220 if test "$ac_abs_confdir" = "$ac_pwd"; then
1223 # Remove unnecessary trailing slashes from srcdir.
1224 # Double slashes in file names in object file debugging info
1225 # mess up M-x gdb in Emacs.
1227 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1229 for ac_var
in $ac_precious_vars; do
1230 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1231 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1232 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1233 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1237 # Report the --help message.
1239 if test "$ac_init_help" = "long"; then
1240 # Omit some internal or obsolete options to make the list less imposing.
1241 # This message is too long to be a string in the A/UX 3.1 sh.
1243 \`configure' configures systemtap 0.6.1 to adapt to many kinds of systems.
1245 Usage: $0 [OPTION]... [VAR=VALUE]...
1247 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1248 VAR=VALUE. See below for descriptions of some of the useful variables.
1250 Defaults for the options are specified in brackets.
1253 -h, --help display this help and exit
1254 --help=short display options specific to this package
1255 --help=recursive display the short help of all the included packages
1256 -V, --version display version information and exit
1257 -q, --quiet, --silent do not print \`checking...' messages
1258 --cache-file=FILE cache test results in FILE [disabled]
1259 -C, --config-cache alias for \`--cache-file=config.cache'
1260 -n, --no-create do not create output files
1261 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1263 Installation directories:
1264 --prefix=PREFIX install architecture-independent files in PREFIX
1265 [$ac_default_prefix]
1266 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1269 By default, \`make install' will install all the files in
1270 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1271 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1272 for instance \`--prefix=\$HOME'.
1274 For better control, use the options below.
1276 Fine tuning of the installation directories:
1277 --bindir=DIR user executables [EPREFIX/bin]
1278 --sbindir=DIR system admin executables [EPREFIX/sbin]
1279 --libexecdir=DIR program executables [EPREFIX/libexec]
1280 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1281 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1282 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1283 --libdir=DIR object code libraries [EPREFIX/lib]
1284 --includedir=DIR C header files [PREFIX/include]
1285 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1286 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1287 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1288 --infodir=DIR info documentation [DATAROOTDIR/info]
1289 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1290 --mandir=DIR man documentation [DATAROOTDIR/man]
1291 --docdir=DIR documentation root [DATAROOTDIR/doc/systemtap]
1292 --htmldir=DIR html documentation [DOCDIR]
1293 --dvidir=DIR dvi documentation [DOCDIR]
1294 --pdfdir=DIR pdf documentation [DOCDIR]
1295 --psdir=DIR ps documentation [DOCDIR]
1301 --program-prefix=PREFIX prepend PREFIX to installed program names
1302 --program-suffix=SUFFIX append SUFFIX to installed program names
1303 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1307 if test -n "$ac_init_help"; then
1308 case $ac_init_help in
1309 short | recursive
) echo "Configuration of systemtap 0.6.1:";;
1314 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1315 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1316 --enable-maintainer-mode enable make rules and dependencies not useful
1317 (and sometimes confusing
) to the casual installer
1318 --disable-dependency-tracking speeds up one-time build
1319 --enable-dependency-tracking do not reject slow dependency extractors
1320 --enable-perfmon[=DIRECTORY
]
1321 enable perfmon support
(default is disabled
).
1322 Optional DIRECTORY is the path to the perfmon
1323 installation
(needed
if installed
in a non-standard
1325 --enable-prologues make -P prologue-searching default
1326 --disable-ssp disable gcc stack-protector
1327 --enable-sqlite build with sqlite support
1328 --enable-crash[=DIRECTORY
]
1329 enable crash extension
(default is disabled
).
1330 Optional DIRECTORY is the path to the crash header
1331 file (needed
if installed
in a non-standard
1333 --enable-docs enable building documentation
(default on
if latex
1337 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1338 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1339 --with-elfutils=DIRECTORY
1340 find elfutils
source code
in DIRECTORY
1342 Some influential environment variables
:
1343 CC C compiler
command
1344 CFLAGS C compiler flags
1345 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1346 nonstandard directory
<lib dir
>
1347 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1348 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1349 you have headers
in a nonstandard directory
<include dir
>
1350 CXX C
++ compiler
command
1351 CXXFLAGS C
++ compiler flags
1354 Use these variables to override the choices made by
`configure' or to help
1355 it to find libraries and programs with nonstandard names/locations.
1357 Report bugs to <systemtap@sources.redhat.com>.
1362 if test "$ac_init_help" = "recursive"; then
1363 # If there are subdirs, report their specific --help.
1364 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1365 test -d "$ac_dir" || continue
1369 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1371 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1372 # A ".." for each directory in $ac_dir_suffix.
1373 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1374 case $ac_top_builddir_sub in
1375 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1376 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1379 ac_abs_top_builddir=$ac_pwd
1380 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1381 # for backward compatibility:
1382 ac_top_builddir=$ac_top_build_prefix
1385 .) # We are building in place.
1387 ac_top_srcdir=$ac_top_builddir_sub
1388 ac_abs_top_srcdir=$ac_pwd ;;
1389 [\\/]* | ?:[\\/]* ) # Absolute name.
1390 ac_srcdir=$srcdir$ac_dir_suffix;
1391 ac_top_srcdir=$srcdir
1392 ac_abs_top_srcdir=$srcdir ;;
1394 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1395 ac_top_srcdir=$ac_top_build_prefix$srcdir
1396 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1398 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1400 cd "$ac_dir" || { ac_status=$?; continue; }
1401 # Check for guested configure.
1402 if test -f "$ac_srcdir/configure.gnu"; then
1404 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1405 elif test -f "$ac_srcdir/configure"; then
1407 $SHELL "$ac_srcdir/configure" --help=recursive
1409 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1411 cd "$ac_pwd" || { ac_status=$?; break; }
1415 test -n "$ac_init_help" && exit $ac_status
1416 if $ac_init_version; then
1418 systemtap configure 0.6.1
1419 generated by GNU Autoconf 2.61
1421 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1422 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1423 This configure script is free software; the Free Software Foundation
1424 gives unlimited permission to copy, distribute and modify it.
1428 cat >config.log <<_ACEOF
1429 This file contains any messages produced by compilers while
1430 running configure, to aid debugging if configure makes a mistake.
1432 It was created by systemtap $as_me 0.6.1, which was
1433 generated by GNU Autoconf 2.61. Invocation command line was
1445 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1446 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1447 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1448 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1449 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1451 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1452 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1454 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1455 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1456 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1457 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1458 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1459 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1460 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1468 test -z "$as_dir" && as_dir=.
1469 echo "PATH: $as_dir"
1485 # Keep a trace of the command line.
1486 # Strip out --no-create and --no-recursion so they do not pile up.
1487 # Strip out --silent because we don't want to record it for future runs.
1488 # Also quote any args containing shell meta-characters.
1489 # Make two passes to allow for proper duplicate-argument suppression.
1493 ac_must_keep_next=false
1499 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1501 | -silent | --silent | --silen | --sile | --sil)
1504 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1507 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1509 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1510 if test $ac_must_keep_next = true; then
1511 ac_must_keep_next=false # Got value, back to normal.
1514 *=* | --config-cache | -C | -disable-* | --disable-* \
1515 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1516 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1517 | -with-* | --with-* | -without-* | --without-* | --x)
1518 case "$ac_configure_args0 " in
1519 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1522 -* ) ac_must_keep_next=true ;;
1525 ac_configure_args="$ac_configure_args '$ac_arg'"
1530 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1531 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1533 # When interrupted or exit'd, cleanup temporary files, and complete
1534 # config.log. We remove comments because anyway the quotes in there
1535 # would cause problems or look ugly.
1536 # WARNING: Use '\'' to represent an apostrophe within the trap.
1537 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1538 trap 'exit_status=$?
1539 # Save into config.log some information that might help in debugging.
1544 ## ---------------- ##
1545 ## Cache variables. ##
1546 ## ---------------- ##
1549 # The following way of writing the cache mishandles newlines in values,
1551 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1552 eval ac_val=\$$ac_var
1556 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1557 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1560 _ | IFS | as_nl) ;; #(
1561 *) $as_unset $ac_var ;;
1566 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1567 *${as_nl}ac_space=\ *)
1569 "s/'\''/'\''\\\\'\'''\''/g;
1570 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1573 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1581 ## ----------------- ##
1582 ## Output variables. ##
1583 ## ----------------- ##
1586 for ac_var in $ac_subst_vars
1588 eval ac_val=\$$ac_var
1590 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1592 echo "$ac_var='\''$ac_val'\''"
1596 if test -n "$ac_subst_files"; then
1598 ## ------------------- ##
1599 ## File substitutions. ##
1600 ## ------------------- ##
1603 for ac_var in $ac_subst_files
1605 eval ac_val=\$$ac_var
1607 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1609 echo "$ac_var='\''$ac_val'\''"
1614 if test -s confdefs.h; then
1624 test "$ac_signal" != 0 &&
1625 echo "$as_me: caught signal $ac_signal"
1626 echo "$as_me: exit $exit_status"
1628 rm -f core *.core core.conftest.* &&
1629 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1632 for ac_signal in 1 2 13 15; do
1633 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1637 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1638 rm -f -r conftest* confdefs.h
1640 # Predefined preprocessor variables.
1642 cat >>confdefs.h <<_ACEOF
1643 #define PACKAGE_NAME "$PACKAGE_NAME"
1647 cat >>confdefs.h <<_ACEOF
1648 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1652 cat >>confdefs.h <<_ACEOF
1653 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1657 cat >>confdefs.h <<_ACEOF
1658 #define PACKAGE_STRING "$PACKAGE_STRING"
1662 cat >>confdefs.h <<_ACEOF
1663 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1667 # Let the site file select an alternate cache file if it wants to.
1668 # Prefer explicitly selected file to automatically selected ones.
1669 if test -n "$CONFIG_SITE"; then
1670 set x "$CONFIG_SITE"
1671 elif test "x$prefix" != xNONE; then
1672 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1674 set x "$ac_default_prefix/share/config.site" \
1675 "$ac_default_prefix/etc/config.site"
1680 if test -r "$ac_site_file"; then
1681 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1682 echo "$as_me: loading site script $ac_site_file" >&6;}
1683 sed 's/^/| /' "$ac_site_file" >&5
1688 if test -r "$cache_file"; then
1689 # Some versions of bash will fail to source /dev/null (special
1690 # files actually), so we avoid doing that.
1691 if test -f "$cache_file"; then
1692 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1693 echo "$as_me: loading cache $cache_file" >&6;}
1695 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1696 *) . "./$cache_file";;
1700 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1701 echo "$as_me: creating cache $cache_file" >&6;}
1705 # Check that the precious variables saved in the cache have kept the same
1707 ac_cache_corrupted=false
1708 for ac_var in $ac_precious_vars; do
1709 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1710 eval ac_new_set=\$ac_env_${ac_var}_set
1711 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1712 eval ac_new_val=\$ac_env_${ac_var}_value
1713 case $ac_old_set,$ac_new_set in
1715 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1716 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1717 ac_cache_corrupted=: ;;
1719 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1720 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1721 ac_cache_corrupted=: ;;
1724 if test "x$ac_old_val" != "x$ac_new_val"; then
1725 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1726 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1727 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1728 echo "$as_me: former value
: $ac_old_val" >&2;}
1729 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1730 echo "$as_me: current value
: $ac_new_val" >&2;}
1731 ac_cache_corrupted=:
1734 # Pass precious variables to config.status.
1735 if test "$ac_new_set" = set; then
1737 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1738 *) ac_arg=$ac_var=$ac_new_val ;;
1740 case " $ac_configure_args " in
1741 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1742 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1746 if $ac_cache_corrupted; then
1747 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1748 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1749 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1750 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1751 { (exit 1); exit 1; }; }
1779 ac_cpp='$CPP $CPPFLAGS'
1780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1787 am__api_version='1.10'
1790 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1791 if test -f "$ac_dir/install-sh"; then
1793 ac_install_sh="$ac_aux_dir/install-sh -c"
1795 elif test -f "$ac_dir/install.sh"; then
1797 ac_install_sh="$ac_aux_dir/install.sh -c"
1799 elif test -f "$ac_dir/shtool"; then
1801 ac_install_sh="$ac_aux_dir/shtool install -c"
1805 if test -z "$ac_aux_dir"; then
1806 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1807 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1808 { (exit 1); exit 1; }; }
1811 # These three variables are undocumented and unsupported,
1812 # and are intended to be withdrawn in a future Autoconf release.
1813 # They can cause serious problems if a builder's source tree is in a directory
1814 # whose full name contains unusual characters.
1815 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1816 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1817 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1820 # Find a good install program. We prefer a C program (faster),
1821 # so one script is as good as another. But avoid the broken or
1822 # incompatible versions:
1823 # SysV /etc/install, /usr/sbin/install
1824 # SunOS /usr/etc/install
1825 # IRIX /sbin/install
1827 # AmigaOS /C/install, which installs bootblocks on floppy discs
1828 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1829 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1830 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1831 # OS/2's system install, which has a completely different semantic
1832 # ./install, which can be erroneously created by make from ./install.sh.
1833 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1834 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1835 if test -z "$INSTALL"; then
1836 if test "${ac_cv_path_install+set}" = set; then
1837 echo $ECHO_N "(cached) $ECHO_C" >&6
1839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1843 test -z "$as_dir" && as_dir=.
1844 # Account for people who put trailing slashes in PATH elements.
1846 ./ | .// | /cC/* | \
1847 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1848 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1851 # OSF1 and SCO ODT 3.0 have their own names for install.
1852 # Don't use installbsd from OSF since it installs stuff as root
1854 for ac_prog in ginstall scoinst install; do
1855 for ac_exec_ext in '' $ac_executable_extensions; do
1856 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1857 if test $ac_prog = install &&
1858 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1859 # AIX install. It has an incompatible calling convention.
1861 elif test $ac_prog = install &&
1862 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1863 # program-specific install script used by HP pwplus--don't use.
1866 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1879 if test "${ac_cv_path_install+set}" = set; then
1880 INSTALL=$ac_cv_path_install
1882 # As a last resort, use the slow shell script. Don't cache a
1883 # value for INSTALL within a source directory, because that will
1884 # break other packages using the cache if that directory is
1885 # removed, or if the value is a relative name.
1886 INSTALL=$ac_install_sh
1889 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1890 echo "${ECHO_T}$INSTALL" >&6; }
1892 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1893 # It thinks the first close brace ends the variable substitution.
1894 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1896 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1898 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1900 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1901 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1904 echo timestamp > conftest.file
1905 # Do `set' in a subshell so we don't clobber the current shell
's
1906 # arguments. Must try -L first in case configure is actually a
1907 # symlink; some systems play weird games with the mod time of symlinks
1908 # (eg FreeBSD returns the mod time of the symlink's containing
1911 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1912 if test "$*" = "X"; then
1914 set X
`ls -t $srcdir/configure conftest.file`
1917 if test "$*" != "X $srcdir/configure conftest.file" \
1918 && test "$*" != "X conftest.file $srcdir/configure"; then
1920 # If neither matched, then we have a broken ls. This can happen
1921 # if, for instance, CONFIG_SHELL is bash and it inherits a
1922 # broken ls alias from the environment. This has actually
1923 # happened. Such a system could not be considered "sane".
1924 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1925 alias in your environment" >&5
1926 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1927 alias in your environment" >&2;}
1928 { (exit 1); exit 1; }; }
1931 test "$2" = conftest.
file
1937 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1938 Check your system clock" >&5
1939 echo "$as_me: error: newly created file is older than distributed files!
1940 Check your system clock" >&2;}
1941 { (exit 1); exit 1; }; }
1943 { echo "$as_me:$LINENO: result: yes" >&5
1944 echo "${ECHO_T}yes" >&6; }
1945 test "$program_prefix" != NONE
&&
1946 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1947 # Use a double $ so make ignores it.
1948 test "$program_suffix" != NONE
&&
1949 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1950 # Double any \ or $. echo might interpret backslashes.
1951 # By default was `s,x,x', remove it if useless.
1952 cat <<\_ACEOF
>conftest.
sed
1953 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1955 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1958 # expand $ac_aux_dir to an absolute path
1959 am_aux_dir
=`cd $ac_aux_dir && pwd`
1961 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1962 # Use eval to expand $SHELL
1963 if eval "$MISSING --run true"; then
1964 am_missing_run
="$MISSING --run "
1967 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1968 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1971 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1972 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1973 if test -z "$MKDIR_P"; then
1974 if test "${ac_cv_path_mkdir+set}" = set; then
1975 echo $ECHO_N "(cached) $ECHO_C" >&6
1977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1978 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
1981 test -z "$as_dir" && as_dir
=.
1982 for ac_prog
in mkdir gmkdir
; do
1983 for ac_exec_ext
in '' $ac_executable_extensions; do
1984 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
1985 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1986 'mkdir (GNU coreutils) '* | \
1987 'mkdir (coreutils) '* | \
1988 'mkdir (fileutils) '4.1*)
1989 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
1999 if test "${ac_cv_path_mkdir+set}" = set; then
2000 MKDIR_P
="$ac_cv_path_mkdir -p"
2002 # As a last resort, use the slow shell script. Don't cache a
2003 # value for MKDIR_P within a source directory, because that will
2004 # break other packages using the cache if that directory is
2005 # removed, or if the value is a relative name.
2006 test -d .
/--version && rmdir .
/--version
2007 MKDIR_P
="$ac_install_sh -d"
2010 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2011 echo "${ECHO_T}$MKDIR_P" >&6; }
2015 [\\/$
]* | ?
:[\\/]*) ;;
2016 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2019 for ac_prog
in gawk mawk nawk
awk
2021 # Extract the first word of "$ac_prog", so it can be a program name with args.
2022 set dummy
$ac_prog; ac_word
=$2
2023 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2025 if test "${ac_cv_prog_AWK+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2028 if test -n "$AWK"; then
2029 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2035 test -z "$as_dir" && as_dir
=.
2036 for ac_exec_ext
in '' $ac_executable_extensions; do
2037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2038 ac_cv_prog_AWK
="$ac_prog"
2039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2049 if test -n "$AWK"; then
2050 { echo "$as_me:$LINENO: result: $AWK" >&5
2051 echo "${ECHO_T}$AWK" >&6; }
2053 { echo "$as_me:$LINENO: result: no" >&5
2054 echo "${ECHO_T}no" >&6; }
2058 test -n "$AWK" && break
2061 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2062 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2063 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2064 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2065 echo $ECHO_N "(cached) $ECHO_C" >&6
2067 cat >conftest.
make <<\_ACEOF
2070 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2072 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2073 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2075 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2077 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2081 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2082 { echo "$as_me:$LINENO: result: yes" >&5
2083 echo "${ECHO_T}yes" >&6; }
2086 { echo "$as_me:$LINENO: result: no" >&5
2087 echo "${ECHO_T}no" >&6; }
2088 SET_MAKE
="MAKE=${MAKE-make}"
2091 rm -rf .tst
2>/dev
/null
2092 mkdir .tst
2>/dev
/null
2093 if test -d .tst
; then
2098 rmdir .tst
2>/dev
/null
2100 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2101 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2102 # is not polluted with repeated "-I."
2103 am__isrc
=' -I$(srcdir)'
2104 # test to see if srcdir already configured
2105 if test -f $srcdir/config.status
; then
2106 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2107 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2108 { (exit 1); exit 1; }; }
2112 # test whether we have cygpath
2113 if test -z "$CYGPATH_W"; then
2114 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2115 CYGPATH_W
='cygpath -w'
2122 # Define the identity of the package.
2127 cat >>confdefs.h
<<_ACEOF
2128 #define PACKAGE "$PACKAGE"
2132 cat >>confdefs.h
<<_ACEOF
2133 #define VERSION "$VERSION"
2136 # Some tools Automake needs.
2138 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2141 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2144 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2147 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2150 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2152 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2154 # Installed binaries are usually stripped using `strip' when the user
2155 # run `make install-strip'. However `strip' might not be the right
2156 # tool to use in cross-compilation environments, therefore Automake
2157 # will honor the `STRIP' environment variable to overrule this program.
2158 if test "$cross_compiling" != no
; then
2159 if test -n "$ac_tool_prefix"; then
2160 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2161 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2162 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2164 if test "${ac_cv_prog_STRIP+set}" = set; then
2165 echo $ECHO_N "(cached) $ECHO_C" >&6
2167 if test -n "$STRIP"; then
2168 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2174 test -z "$as_dir" && as_dir
=.
2175 for ac_exec_ext
in '' $ac_executable_extensions; do
2176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2177 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2187 STRIP
=$ac_cv_prog_STRIP
2188 if test -n "$STRIP"; then
2189 { echo "$as_me:$LINENO: result: $STRIP" >&5
2190 echo "${ECHO_T}$STRIP" >&6; }
2192 { echo "$as_me:$LINENO: result: no" >&5
2193 echo "${ECHO_T}no" >&6; }
2198 if test -z "$ac_cv_prog_STRIP"; then
2200 # Extract the first word of "strip", so it can be a program name with args.
2201 set dummy strip
; ac_word
=$2
2202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2204 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2205 echo $ECHO_N "(cached) $ECHO_C" >&6
2207 if test -n "$ac_ct_STRIP"; then
2208 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2214 test -z "$as_dir" && as_dir
=.
2215 for ac_exec_ext
in '' $ac_executable_extensions; do
2216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2217 ac_cv_prog_ac_ct_STRIP
="strip"
2218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2227 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2228 if test -n "$ac_ct_STRIP"; then
2229 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2230 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2232 { echo "$as_me:$LINENO: result: no" >&5
2233 echo "${ECHO_T}no" >&6; }
2236 if test "x$ac_ct_STRIP" = x
; then
2239 case $cross_compiling:$ac_tool_warned in
2241 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2242 whose name does not start with the host triplet. If you think this
2243 configuration is useful to you, please write to autoconf@gnu.org." >&5
2244 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2245 whose name does not start with the host triplet. If you think this
2246 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2247 ac_tool_warned
=yes ;;
2252 STRIP
="$ac_cv_prog_STRIP"
2256 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2258 # We need awk for the "check" target. The system "awk" is bad on
2260 # Always define AMTAR for backward compatibility.
2262 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2264 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2270 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2271 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2272 # Check whether --enable-maintainer-mode was given.
2273 if test "${enable_maintainer_mode+set}" = set; then
2274 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2276 USE_MAINTAINER_MODE
=no
2279 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2280 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2281 if test $USE_MAINTAINER_MODE = yes; then
2282 MAINTAINER_MODE_TRUE
=
2283 MAINTAINER_MODE_FALSE
='#'
2285 MAINTAINER_MODE_TRUE
='#'
2286 MAINTAINER_MODE_FALSE
=
2289 MAINT
=$MAINTAINER_MODE_TRUE
2293 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2294 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2295 if test -z "$MKDIR_P"; then
2296 if test "${ac_cv_path_mkdir+set}" = set; then
2297 echo $ECHO_N "(cached) $ECHO_C" >&6
2299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2300 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2303 test -z "$as_dir" && as_dir
=.
2304 for ac_prog
in mkdir gmkdir
; do
2305 for ac_exec_ext
in '' $ac_executable_extensions; do
2306 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2307 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2308 'mkdir (GNU coreutils) '* | \
2309 'mkdir (coreutils) '* | \
2310 'mkdir (fileutils) '4.1*)
2311 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2321 if test "${ac_cv_path_mkdir+set}" = set; then
2322 MKDIR_P
="$ac_cv_path_mkdir -p"
2324 # As a last resort, use the slow shell script. Don't cache a
2325 # value for MKDIR_P within a source directory, because that will
2326 # break other packages using the cache if that directory is
2327 # removed, or if the value is a relative name.
2328 test -d .
/--version && rmdir .
/--version
2329 MKDIR_P
="$ac_install_sh -d"
2332 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2333 echo "${ECHO_T}$MKDIR_P" >&6; }
2335 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
2336 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2338 if test "$LN_S" = "ln -s"; then
2339 { echo "$as_me:$LINENO: result: yes" >&5
2340 echo "${ECHO_T}yes" >&6; }
2342 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2343 echo "${ECHO_T}no, using $LN_S" >&6; }
2347 ac_cpp
='$CPP $CPPFLAGS'
2348 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2349 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2350 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2351 if test -n "$ac_tool_prefix"; then
2352 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2353 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2354 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2356 if test "${ac_cv_prog_CC+set}" = set; then
2357 echo $ECHO_N "(cached) $ECHO_C" >&6
2359 if test -n "$CC"; then
2360 ac_cv_prog_CC
="$CC" # Let the user override the test.
2362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2366 test -z "$as_dir" && as_dir
=.
2367 for ac_exec_ext
in '' $ac_executable_extensions; do
2368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2369 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2380 if test -n "$CC"; then
2381 { echo "$as_me:$LINENO: result: $CC" >&5
2382 echo "${ECHO_T}$CC" >&6; }
2384 { echo "$as_me:$LINENO: result: no" >&5
2385 echo "${ECHO_T}no" >&6; }
2390 if test -z "$ac_cv_prog_CC"; then
2392 # Extract the first word of "gcc", so it can be a program name with args.
2393 set dummy gcc
; ac_word
=$2
2394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2396 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2397 echo $ECHO_N "(cached) $ECHO_C" >&6
2399 if test -n "$ac_ct_CC"; then
2400 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2406 test -z "$as_dir" && as_dir
=.
2407 for ac_exec_ext
in '' $ac_executable_extensions; do
2408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2409 ac_cv_prog_ac_ct_CC
="gcc"
2410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2419 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2420 if test -n "$ac_ct_CC"; then
2421 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2422 echo "${ECHO_T}$ac_ct_CC" >&6; }
2424 { echo "$as_me:$LINENO: result: no" >&5
2425 echo "${ECHO_T}no" >&6; }
2428 if test "x$ac_ct_CC" = x
; then
2431 case $cross_compiling:$ac_tool_warned in
2433 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2434 whose name does not start with the host triplet. If you think this
2435 configuration is useful to you, please write to autoconf@gnu.org." >&5
2436 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2437 whose name does not start with the host triplet. If you think this
2438 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2439 ac_tool_warned
=yes ;;
2447 if test -z "$CC"; then
2448 if test -n "$ac_tool_prefix"; then
2449 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2450 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2453 if test "${ac_cv_prog_CC+set}" = set; then
2454 echo $ECHO_N "(cached) $ECHO_C" >&6
2456 if test -n "$CC"; then
2457 ac_cv_prog_CC
="$CC" # Let the user override the test.
2459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2463 test -z "$as_dir" && as_dir
=.
2464 for ac_exec_ext
in '' $ac_executable_extensions; do
2465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2466 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2477 if test -n "$CC"; then
2478 { echo "$as_me:$LINENO: result: $CC" >&5
2479 echo "${ECHO_T}$CC" >&6; }
2481 { echo "$as_me:$LINENO: result: no" >&5
2482 echo "${ECHO_T}no" >&6; }
2488 if test -z "$CC"; then
2489 # Extract the first word of "cc", so it can be a program name with args.
2490 set dummy cc
; ac_word
=$2
2491 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2493 if test "${ac_cv_prog_CC+set}" = set; then
2494 echo $ECHO_N "(cached) $ECHO_C" >&6
2496 if test -n "$CC"; then
2497 ac_cv_prog_CC
="$CC" # Let the user override the test.
2500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2504 test -z "$as_dir" && as_dir
=.
2505 for ac_exec_ext
in '' $ac_executable_extensions; do
2506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2507 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2508 ac_prog_rejected
=yes
2512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2519 if test $ac_prog_rejected = yes; then
2520 # We found a bogon in the path, so make sure we never use it.
2521 set dummy
$ac_cv_prog_CC
2523 if test $# != 0; then
2524 # We chose a different compiler from the bogus one.
2525 # However, it has the same basename, so the bogon will be chosen
2526 # first if we set CC to just the basename; use the full file name.
2528 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2534 if test -n "$CC"; then
2535 { echo "$as_me:$LINENO: result: $CC" >&5
2536 echo "${ECHO_T}$CC" >&6; }
2538 { echo "$as_me:$LINENO: result: no" >&5
2539 echo "${ECHO_T}no" >&6; }
2544 if test -z "$CC"; then
2545 if test -n "$ac_tool_prefix"; then
2546 for ac_prog
in cl.exe
2548 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2549 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2552 if test "${ac_cv_prog_CC+set}" = set; then
2553 echo $ECHO_N "(cached) $ECHO_C" >&6
2555 if test -n "$CC"; then
2556 ac_cv_prog_CC
="$CC" # Let the user override the test.
2558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2562 test -z "$as_dir" && as_dir
=.
2563 for ac_exec_ext
in '' $ac_executable_extensions; do
2564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2565 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2576 if test -n "$CC"; then
2577 { echo "$as_me:$LINENO: result: $CC" >&5
2578 echo "${ECHO_T}$CC" >&6; }
2580 { echo "$as_me:$LINENO: result: no" >&5
2581 echo "${ECHO_T}no" >&6; }
2585 test -n "$CC" && break
2588 if test -z "$CC"; then
2590 for ac_prog
in cl.exe
2592 # Extract the first word of "$ac_prog", so it can be a program name with args.
2593 set dummy
$ac_prog; ac_word
=$2
2594 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2596 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2597 echo $ECHO_N "(cached) $ECHO_C" >&6
2599 if test -n "$ac_ct_CC"; then
2600 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2606 test -z "$as_dir" && as_dir
=.
2607 for ac_exec_ext
in '' $ac_executable_extensions; do
2608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2609 ac_cv_prog_ac_ct_CC
="$ac_prog"
2610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2619 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2620 if test -n "$ac_ct_CC"; then
2621 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2622 echo "${ECHO_T}$ac_ct_CC" >&6; }
2624 { echo "$as_me:$LINENO: result: no" >&5
2625 echo "${ECHO_T}no" >&6; }
2629 test -n "$ac_ct_CC" && break
2632 if test "x$ac_ct_CC" = x
; then
2635 case $cross_compiling:$ac_tool_warned in
2637 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2638 whose name does not start with the host triplet. If you think this
2639 configuration is useful to you, please write to autoconf@gnu.org." >&5
2640 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2641 whose name does not start with the host triplet. If you think this
2642 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2643 ac_tool_warned
=yes ;;
2652 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2653 See \`config.log' for more details." >&5
2654 echo "$as_me: error: no acceptable C compiler found in \$PATH
2655 See \`config.log' for more details." >&2;}
2656 { (exit 1); exit 1; }; }
2658 # Provide some information about the compiler.
2659 echo "$as_me:$LINENO: checking for C compiler version" >&5
2660 ac_compiler
=`set X $ac_compile; echo $2`
2661 { (ac_try
="$ac_compiler --version >&5"
2663 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2664 *) ac_try_echo=$ac_try;;
2666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2667 (eval "$ac_compiler --version >&5") 2>&5
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }
2671 { (ac_try="$ac_compiler -v >&5"
2673 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2674 *) ac_try_echo
=$ac_try;;
2676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2677 (eval "$ac_compiler -v >&5") 2>&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); }
2681 { (ac_try
="$ac_compiler -V >&5"
2683 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2684 *) ac_try_echo=$ac_try;;
2686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2687 (eval "$ac_compiler -V >&5") 2>&5
2689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2690 (exit $ac_status); }
2692 cat >conftest.$ac_ext <<_ACEOF
2695 cat confdefs.h >>conftest.$ac_ext
2696 cat >>conftest.$ac_ext <<_ACEOF
2697 /* end confdefs.h. */
2707 ac_clean_files_save=$ac_clean_files
2708 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2709 # Try to create an executable without -o first, disregard a.out.
2710 # It will help us diagnose broken compilers, and finding out an intuition
2712 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2713 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2714 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2716 # List of possible output files, starting from the most likely.
2717 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2718 # only as a last resort. b.out is created by i960 compilers.
2719 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2721 # The IRIX 6 linker writes into existing files which may not be
2722 # executable, retaining their permissions. Remove them first so a
2723 # subsequent execution test works.
2725 for ac_file in $ac_files
2728 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2729 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2734 if { (ac_try="$ac_link_default"
2736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2737 *) ac_try_echo=$ac_try;;
2739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2740 (eval "$ac_link_default") 2>&5
2742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); }; then
2744 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2745 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2746 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2747 # so that the user can short-circuit this test for compilers unknown to
2749 for ac_file
in $ac_files ''
2751 test -f "$ac_file" ||
continue
2753 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2756 # We found the default executable, but exeext='' is most
2760 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2762 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2764 # We set ac_cv_exeext here because the later test for it is not
2765 # safe: cross compilers may not add the suffix if given an `-o'
2766 # argument, so we may need to know it at that point already.
2767 # Even if this section looks crufty: it has the advantage of
2774 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2780 { echo "$as_me:$LINENO: result: $ac_file" >&5
2781 echo "${ECHO_T}$ac_file" >&6; }
2782 if test -z "$ac_file"; then
2783 echo "$as_me: failed program was:" >&5
2784 sed 's/^/| /' conftest.
$ac_ext >&5
2786 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2787 See \`config.log' for more details." >&5
2788 echo "$as_me: error: C compiler cannot create executables
2789 See \`config.log' for more details." >&2;}
2790 { (exit 77); exit 77; }; }
2793 ac_exeext
=$ac_cv_exeext
2795 # Check that the compiler produces executables we can run. If not, either
2796 # the compiler is broken, or we cross compile.
2797 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2798 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2799 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2800 # If not cross compiling, check that we can run a simple program.
2801 if test "$cross_compiling" != yes; then
2802 if { ac_try
='./$ac_file'
2803 { (case "(($ac_try" in
2804 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2805 *) ac_try_echo=$ac_try;;
2807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2808 (eval "$ac_try") 2>&5
2810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2811 (exit $ac_status); }; }; then
2814 if test "$cross_compiling" = maybe; then
2817 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2818 If you meant to cross compile, use \`--host'.
2819 See \`config.log' for more details.
" >&5
2820 echo "$as_me: error
: cannot run C compiled programs.
2821 If you meant to cross compile
, use \
`--host'.
2822 See \`config.log
' for more details." >&2;}
2823 { (exit 1); exit 1; }; }
2827 { echo "$as_me:$LINENO: result: yes" >&5
2828 echo "${ECHO_T}yes" >&6; }
2830 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2831 ac_clean_files=$ac_clean_files_save
2832 # Check that the compiler produces executables we can run. If not, either
2833 # the compiler is broken, or we cross compile.
2834 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2835 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2836 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2837 echo "${ECHO_T}$cross_compiling" >&6; }
2839 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2840 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2841 if { (ac_try="$ac_link"
2843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844 *) ac_try_echo=$ac_try;;
2846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2847 (eval "$ac_link") 2>&5
2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); }; then
2851 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2852 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2853 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2855 for ac_file
in conftest.exe conftest conftest.
*; do
2856 test -f "$ac_file" ||
continue
2858 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2859 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2865 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2866 See \`config.log' for more details." >&5
2867 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2868 See \`config.log' for more details." >&2;}
2869 { (exit 1); exit 1; }; }
2872 rm -f conftest
$ac_cv_exeext
2873 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2874 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2876 rm -f conftest.
$ac_ext
2877 EXEEXT
=$ac_cv_exeext
2879 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2880 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2881 if test "${ac_cv_objext+set}" = set; then
2882 echo $ECHO_N "(cached) $ECHO_C" >&6
2884 cat >conftest.
$ac_ext <<_ACEOF
2887 cat confdefs.h
>>conftest.
$ac_ext
2888 cat >>conftest.
$ac_ext <<_ACEOF
2889 /* end confdefs.h. */
2899 rm -f conftest.o conftest.obj
2900 if { (ac_try
="$ac_compile"
2902 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2903 *) ac_try_echo=$ac_try;;
2905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2906 (eval "$ac_compile") 2>&5
2908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909 (exit $ac_status); }; then
2910 for ac_file in conftest.o conftest.obj conftest.*; do
2911 test -f "$ac_file" || continue;
2913 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2914 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2919 echo "$as_me: failed program was:" >&5
2920 sed 's/^/| /' conftest.$ac_ext >&5
2922 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2923 See \`config.log
' for more details." >&5
2924 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2925 See \`config.log' for more details.
" >&2;}
2926 { (exit 1); exit 1; }; }
2929 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2931 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2932 echo "${ECHO_T}$ac_cv_objext" >&6; }
2933 OBJEXT=$ac_cv_objext
2935 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2936 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2937 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2938 echo $ECHO_N "(cached
) $ECHO_C" >&6
2940 cat >conftest.$ac_ext <<_ACEOF
2943 cat confdefs.h >>conftest.$ac_ext
2944 cat >>conftest.$ac_ext <<_ACEOF
2945 /* end confdefs.h. */
2958 rm -f conftest.$ac_objext
2959 if { (ac_try="$ac_compile"
2961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2962 *) ac_try_echo=$ac_try;;
2964 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2965 (eval "$ac_compile") 2>conftest.er1
2967 grep -v '^ *+' conftest.er1 >conftest.err
2969 cat conftest.err >&5
2970 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2971 (exit $ac_status); } && {
2972 test -z "$ac_c_werror_flag" ||
2973 test ! -s conftest.err
2974 } && test -s conftest.$ac_objext; then
2977 echo "$as_me: failed program was
:" >&5
2978 sed 's/^/| /' conftest.$ac_ext >&5
2983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2984 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2987 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2988 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2989 GCC=`test $ac_compiler_gnu = yes && echo yes`
2990 ac_test_CFLAGS=${CFLAGS+set}
2991 ac_save_CFLAGS=$CFLAGS
2992 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2993 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2994 if test "${ac_cv_prog_cc_g+set}" = set; then
2995 echo $ECHO_N "(cached
) $ECHO_C" >&6
2997 ac_save_c_werror_flag=$ac_c_werror_flag
2998 ac_c_werror_flag=yes
3001 cat >conftest.$ac_ext <<_ACEOF
3004 cat confdefs.h >>conftest.$ac_ext
3005 cat >>conftest.$ac_ext <<_ACEOF
3006 /* end confdefs.h. */
3016 rm -f conftest.$ac_objext
3017 if { (ac_try="$ac_compile"
3019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3020 *) ac_try_echo=$ac_try;;
3022 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3023 (eval "$ac_compile") 2>conftest.er1
3025 grep -v '^ *+' conftest.er1 >conftest.err
3027 cat conftest.err >&5
3028 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3029 (exit $ac_status); } && {
3030 test -z "$ac_c_werror_flag" ||
3031 test ! -s conftest.err
3032 } && test -s conftest.$ac_objext; then
3035 echo "$as_me: failed program was
:" >&5
3036 sed 's/^/| /' conftest.$ac_ext >&5
3039 cat >conftest.$ac_ext <<_ACEOF
3042 cat confdefs.h >>conftest.$ac_ext
3043 cat >>conftest.$ac_ext <<_ACEOF
3044 /* end confdefs.h. */
3054 rm -f conftest.$ac_objext
3055 if { (ac_try="$ac_compile"
3057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3058 *) ac_try_echo=$ac_try;;
3060 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3061 (eval "$ac_compile") 2>conftest.er1
3063 grep -v '^ *+' conftest.er1 >conftest.err
3065 cat conftest.err >&5
3066 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3067 (exit $ac_status); } && {
3068 test -z "$ac_c_werror_flag" ||
3069 test ! -s conftest.err
3070 } && test -s conftest.$ac_objext; then
3073 echo "$as_me: failed program was
:" >&5
3074 sed 's/^/| /' conftest.$ac_ext >&5
3076 ac_c_werror_flag=$ac_save_c_werror_flag
3078 cat >conftest.$ac_ext <<_ACEOF
3081 cat confdefs.h >>conftest.$ac_ext
3082 cat >>conftest.$ac_ext <<_ACEOF
3083 /* end confdefs.h. */
3093 rm -f conftest.$ac_objext
3094 if { (ac_try="$ac_compile"
3096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3097 *) ac_try_echo=$ac_try;;
3099 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3100 (eval "$ac_compile") 2>conftest.er1
3102 grep -v '^ *+' conftest.er1 >conftest.err
3104 cat conftest.err >&5
3105 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3106 (exit $ac_status); } && {
3107 test -z "$ac_c_werror_flag" ||
3108 test ! -s conftest.err
3109 } && test -s conftest.$ac_objext; then
3112 echo "$as_me: failed program was
:" >&5
3113 sed 's/^/| /' conftest.$ac_ext >&5
3118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3125 ac_c_werror_flag=$ac_save_c_werror_flag
3127 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3128 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3129 if test "$ac_test_CFLAGS" = set; then
3130 CFLAGS=$ac_save_CFLAGS
3131 elif test $ac_cv_prog_cc_g = yes; then
3132 if test "$GCC" = yes; then
3138 if test "$GCC" = yes; then
3144 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3145 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3146 if test "${ac_cv_prog_cc_c89+set}" = set; then
3147 echo $ECHO_N "(cached
) $ECHO_C" >&6
3149 ac_cv_prog_cc_c89=no
3151 cat >conftest.$ac_ext <<_ACEOF
3154 cat confdefs.h >>conftest.$ac_ext
3155 cat >>conftest.$ac_ext <<_ACEOF
3156 /* end confdefs.h. */
3159 #include <sys/types.h>
3160 #include <sys/stat.h>
3161 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3162 struct buf { int x; };
3163 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3164 static char *e (p, i)
3170 static char *f (char * (*g) (char **, int), char **p, ...)
3175 s = g (p, va_arg (v,int));
3180 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3181 function prototypes and stuff, but not '\xHH' hex character constants.
3182 These don't provoke an error unfortunately, instead are silently treated
3183 as 'x'. The following induces an error, until -std is added to get
3184 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3185 array size at least. It's necessary to write '\x00'==0 to get something
3186 that's true only with -std. */
3187 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3189 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3190 inside strings and character constants. */
3192 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3194 int test (int i, double x);
3195 struct s1 {int (*f) (int a);};
3196 struct s2 {int (*f) (double a);};
3197 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3203 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3208 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3209 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3211 CC="$ac_save_CC $ac_arg"
3212 rm -f conftest.$ac_objext
3213 if { (ac_try="$ac_compile"
3215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3216 *) ac_try_echo=$ac_try;;
3218 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3219 (eval "$ac_compile") 2>conftest.er1
3221 grep -v '^ *+' conftest.er1 >conftest.err
3223 cat conftest.err >&5
3224 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3225 (exit $ac_status); } && {
3226 test -z "$ac_c_werror_flag" ||
3227 test ! -s conftest.err
3228 } && test -s conftest.$ac_objext; then
3229 ac_cv_prog_cc_c89=$ac_arg
3231 echo "$as_me: failed program was
:" >&5
3232 sed 's/^/| /' conftest.$ac_ext >&5
3237 rm -f core conftest.err conftest.$ac_objext
3238 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3240 rm -f conftest.$ac_ext
3245 case "x
$ac_cv_prog_cc_c89" in
3247 { echo "$as_me:$LINENO: result
: none needed
" >&5
3248 echo "${ECHO_T}none needed
" >&6; } ;;
3250 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3251 echo "${ECHO_T}unsupported
" >&6; } ;;
3253 CC="$CC $ac_cv_prog_cc_c89"
3254 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3255 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3260 ac_cpp='$CPP $CPPFLAGS'
3261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3264 DEPDIR="${am__leading_dot}deps
"
3266 ac_config_commands="$ac_config_commands depfiles
"
3269 am_make=${MAKE-make}
3270 cat > confinc << 'END'
3275 # If we don't find an include directive, just comment out the code.
3276 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3277 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3281 # First try GNU make style include.
3282 echo "include confinc" > confmf
3283 # We grep out `Entering directory' and `Leaving directory'
3284 # messages which can occur if `w' ends up in MAKEFLAGS.
3285 # In particular we don't look at `^make:' because GNU make might
3286 # be invoked under some other name (usually "gmake"), in which
3287 # case it prints its new name instead of `make'.
3288 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3293 # Now try BSD make style include.
3294 if test "$am__include" = "#"; then
3295 echo '.include "confinc"' > confmf
3296 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3297 am__include
=.include
3304 { echo "$as_me:$LINENO: result: $_am_result" >&5
3305 echo "${ECHO_T}$_am_result" >&6; }
3306 rm -f confinc confmf
3308 # Check whether --enable-dependency-tracking was given.
3309 if test "${enable_dependency_tracking+set}" = set; then
3310 enableval
=$enable_dependency_tracking;
3313 if test "x$enable_dependency_tracking" != xno
; then
3314 am_depcomp
="$ac_aux_dir/depcomp"
3317 if test "x$enable_dependency_tracking" != xno; then
3327 depcc
="$CC" am_compiler_list
=
3329 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3330 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3331 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3332 echo $ECHO_N "(cached) $ECHO_C" >&6
3334 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3335 # We make a subdir and do the tests there. Otherwise we can end up
3336 # making bogus files that we don't know about and never remove. For
3337 # instance it was reported that on HP-UX the gcc test will end up
3338 # making a dummy file named `D' -- because `-MD' means `put the output
3341 # Copy depcomp to subdir because otherwise we won't find it if we're
3342 # using a relative directory.
3343 cp "$am_depcomp" conftest.dir
3345 # We will build objects and dependencies in a subdirectory because
3346 # it helps to detect inapplicable dependency modes. For instance
3347 # both Tru64's cc and ICC support -MD to output dependencies as a
3348 # side effect of compilation, but ICC will put the dependencies in
3349 # the current directory while Tru64 will put them in the object
3353 am_cv_CC_dependencies_compiler_type
=none
3354 if test "$am_compiler_list" = ""; then
3355 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3357 for depmode
in $am_compiler_list; do
3358 # Setup a source with many dependencies, because some compilers
3359 # like to wrap large dependency lists on column 80 (with \), and
3360 # we should not choose a depcomp mode which is confused by this.
3362 # We need to recreate these files for each test, as the compiler may
3363 # overwrite some of them when testing with obscure command lines.
3364 # This happens at least with the AIX C compiler.
3366 for i
in 1 2 3 4 5 6; do
3367 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3368 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3369 # Solaris 8's {/usr,}/bin/sh.
3370 touch sub
/conftst
$i.h
3372 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3376 # after this tag, mechanisms are not by side-effect, so they'll
3377 # only be used when explicitly requested
3378 if test "x$enable_dependency_tracking" = xyes
; then
3386 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3387 # mode. It turns out that the SunPro C++ compiler does not properly
3388 # handle `-M -o', and we need to detect this.
3389 if depmode
=$depmode \
3390 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3391 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3392 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3393 >/dev
/null
2>conftest.err
&&
3394 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3395 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3396 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3397 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3398 # icc doesn't choke on unknown options, it will just issue warnings
3399 # or remarks (even with -Werror). So we grep stderr for any message
3400 # that says an option was ignored or not supported.
3401 # When given -MP, icc 7.0 and 7.1 complain thusly:
3402 # icc: Command line warning: ignoring option '-M'; no argument required
3403 # The diagnosis changed in icc 8.0:
3404 # icc: Command line remark: option '-MP' not supported
3405 if (grep 'ignoring option' conftest.err ||
3406 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3407 am_cv_CC_dependencies_compiler_type
=$depmode
3416 am_cv_CC_dependencies_compiler_type
=none
3420 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3421 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3422 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3425 test "x$enable_dependency_tracking" != xno \
3426 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3428 am__fastdepCC_FALSE
='#'
3430 am__fastdepCC_TRUE
='#'
3431 am__fastdepCC_FALSE
=
3436 ac_cpp
='$CXXCPP $CPPFLAGS'
3437 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3438 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3439 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3440 if test -z "$CXX"; then
3441 if test -n "$CCC"; then
3444 if test -n "$ac_tool_prefix"; then
3445 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3447 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3448 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3451 if test "${ac_cv_prog_CXX+set}" = set; then
3452 echo $ECHO_N "(cached) $ECHO_C" >&6
3454 if test -n "$CXX"; then
3455 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3461 test -z "$as_dir" && as_dir
=.
3462 for ac_exec_ext
in '' $ac_executable_extensions; do
3463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3464 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3475 if test -n "$CXX"; then
3476 { echo "$as_me:$LINENO: result: $CXX" >&5
3477 echo "${ECHO_T}$CXX" >&6; }
3479 { echo "$as_me:$LINENO: result: no" >&5
3480 echo "${ECHO_T}no" >&6; }
3484 test -n "$CXX" && break
3487 if test -z "$CXX"; then
3489 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3491 # Extract the first word of "$ac_prog", so it can be a program name with args.
3492 set dummy
$ac_prog; ac_word
=$2
3493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3495 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3496 echo $ECHO_N "(cached) $ECHO_C" >&6
3498 if test -n "$ac_ct_CXX"; then
3499 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3505 test -z "$as_dir" && as_dir
=.
3506 for ac_exec_ext
in '' $ac_executable_extensions; do
3507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3508 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3518 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3519 if test -n "$ac_ct_CXX"; then
3520 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3521 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3523 { echo "$as_me:$LINENO: result: no" >&5
3524 echo "${ECHO_T}no" >&6; }
3528 test -n "$ac_ct_CXX" && break
3531 if test "x$ac_ct_CXX" = x
; then
3534 case $cross_compiling:$ac_tool_warned in
3536 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3537 whose name does not start with the host triplet. If you think this
3538 configuration is useful to you, please write to autoconf@gnu.org." >&5
3539 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3540 whose name does not start with the host triplet. If you think this
3541 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3542 ac_tool_warned
=yes ;;
3550 # Provide some information about the compiler.
3551 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3552 ac_compiler
=`set X $ac_compile; echo $2`
3553 { (ac_try
="$ac_compiler --version >&5"
3555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3556 *) ac_try_echo=$ac_try;;
3558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3559 (eval "$ac_compiler --version >&5") 2>&5
3561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3562 (exit $ac_status); }
3563 { (ac_try="$ac_compiler -v >&5"
3565 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3566 *) ac_try_echo
=$ac_try;;
3568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3569 (eval "$ac_compiler -v >&5") 2>&5
3571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3572 (exit $ac_status); }
3573 { (ac_try
="$ac_compiler -V >&5"
3575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3576 *) ac_try_echo=$ac_try;;
3578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3579 (eval "$ac_compiler -V >&5") 2>&5
3581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3582 (exit $ac_status); }
3584 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3585 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3586 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3587 echo $ECHO_N "(cached) $ECHO_C" >&6
3589 cat >conftest.$ac_ext <<_ACEOF
3592 cat confdefs.h >>conftest.$ac_ext
3593 cat >>conftest.$ac_ext <<_ACEOF
3594 /* end confdefs.h. */
3607 rm -f conftest.$ac_objext
3608 if { (ac_try="$ac_compile"
3610 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3611 *) ac_try_echo
=$ac_try;;
3613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3614 (eval "$ac_compile") 2>conftest.er1
3616 grep -v '^ *+' conftest.er1
>conftest.err
3618 cat conftest.err
>&5
3619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3620 (exit $ac_status); } && {
3621 test -z "$ac_cxx_werror_flag" ||
3622 test ! -s conftest.err
3623 } && test -s conftest.
$ac_objext; then
3626 echo "$as_me: failed program was:" >&5
3627 sed 's/^/| /' conftest.
$ac_ext >&5
3632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3633 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3636 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3637 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3638 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3639 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3640 ac_save_CXXFLAGS
=$CXXFLAGS
3641 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3642 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3643 if test "${ac_cv_prog_cxx_g+set}" = set; then
3644 echo $ECHO_N "(cached) $ECHO_C" >&6
3646 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3647 ac_cxx_werror_flag
=yes
3650 cat >conftest.
$ac_ext <<_ACEOF
3653 cat confdefs.h
>>conftest.
$ac_ext
3654 cat >>conftest.
$ac_ext <<_ACEOF
3655 /* end confdefs.h. */
3665 rm -f conftest.
$ac_objext
3666 if { (ac_try
="$ac_compile"
3668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3669 *) ac_try_echo=$ac_try;;
3671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3672 (eval "$ac_compile") 2>conftest.er1
3674 grep -v '^ *+' conftest.er1 >conftest.err
3676 cat conftest.err >&5
3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678 (exit $ac_status); } && {
3679 test -z "$ac_cxx_werror_flag" ||
3680 test ! -s conftest.err
3681 } && test -s conftest.$ac_objext; then
3682 ac_cv_prog_cxx_g=yes
3684 echo "$as_me: failed program was:" >&5
3685 sed 's/^/| /' conftest.$ac_ext >&5
3688 cat >conftest.$ac_ext <<_ACEOF
3691 cat confdefs.h >>conftest.$ac_ext
3692 cat >>conftest.$ac_ext <<_ACEOF
3693 /* end confdefs.h. */
3703 rm -f conftest.$ac_objext
3704 if { (ac_try="$ac_compile"
3706 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3707 *) ac_try_echo
=$ac_try;;
3709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3710 (eval "$ac_compile") 2>conftest.er1
3712 grep -v '^ *+' conftest.er1
>conftest.err
3714 cat conftest.err
>&5
3715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3716 (exit $ac_status); } && {
3717 test -z "$ac_cxx_werror_flag" ||
3718 test ! -s conftest.err
3719 } && test -s conftest.
$ac_objext; then
3722 echo "$as_me: failed program was:" >&5
3723 sed 's/^/| /' conftest.
$ac_ext >&5
3725 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3727 cat >conftest.
$ac_ext <<_ACEOF
3730 cat confdefs.h
>>conftest.
$ac_ext
3731 cat >>conftest.
$ac_ext <<_ACEOF
3732 /* end confdefs.h. */
3742 rm -f conftest.
$ac_objext
3743 if { (ac_try
="$ac_compile"
3745 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3746 *) ac_try_echo=$ac_try;;
3748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3749 (eval "$ac_compile") 2>conftest.er1
3751 grep -v '^ *+' conftest.er1 >conftest.err
3753 cat conftest.err >&5
3754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3755 (exit $ac_status); } && {
3756 test -z "$ac_cxx_werror_flag" ||
3757 test ! -s conftest.err
3758 } && test -s conftest.$ac_objext; then
3759 ac_cv_prog_cxx_g=yes
3761 echo "$as_me: failed program was:" >&5
3762 sed 's/^/| /' conftest.$ac_ext >&5
3767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3774 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3776 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3777 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3778 if test "$ac_test_CXXFLAGS" = set; then
3779 CXXFLAGS=$ac_save_CXXFLAGS
3780 elif test $ac_cv_prog_cxx_g = yes; then
3781 if test "$GXX" = yes; then
3787 if test "$GXX" = yes; then
3794 ac_cpp='$CPP $CPPFLAGS'
3795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3799 depcc="$CXX" am_compiler_list=
3801 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3802 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3803 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3804 echo $ECHO_N "(cached) $ECHO_C" >&6
3806 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3807 # We make a subdir and do the tests there. Otherwise we can end up
3808 # making bogus files that we don't know about and never remove. For
3809 # instance it was reported that on HP-UX the gcc test will end up
3810 # making a dummy file named `D
' -- because `-MD' means
`put the output
3813 # Copy depcomp to subdir because otherwise we won't find it if we're
3814 # using a relative directory.
3815 cp "$am_depcomp" conftest.dir
3817 # We will build objects and dependencies in a subdirectory because
3818 # it helps to detect inapplicable dependency modes. For instance
3819 # both Tru64's cc and ICC support -MD to output dependencies as a
3820 # side effect of compilation, but ICC will put the dependencies in
3821 # the current directory while Tru64 will put them in the object
3825 am_cv_CXX_dependencies_compiler_type=none
3826 if test "$am_compiler_list" = ""; then
3827 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3829 for depmode in $am_compiler_list; do
3830 # Setup a source with many dependencies, because some compilers
3831 # like to wrap large dependency lists on column 80 (with \), and
3832 # we should not choose a depcomp mode which is confused by this.
3834 # We need to recreate these files for each test, as the compiler may
3835 # overwrite some of them when testing with obscure command lines.
3836 # This happens at least with the AIX C compiler.
3838 for i in 1 2 3 4 5 6; do
3839 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3840 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3841 # Solaris 8's
{/usr
,}/bin
/sh.
3842 touch sub
/conftst
$i.h
3844 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3848 # after this tag, mechanisms are not by side-effect, so they'll
3849 # only be used when explicitly requested
3850 if test "x$enable_dependency_tracking" = xyes
; then
3858 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3859 # mode. It turns out that the SunPro C++ compiler does not properly
3860 # handle `-M -o', and we need to detect this.
3861 if depmode
=$depmode \
3862 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3863 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3864 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3865 >/dev
/null
2>conftest.err
&&
3866 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3867 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3868 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3869 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3870 # icc doesn't choke on unknown options, it will just issue warnings
3871 # or remarks (even with -Werror). So we grep stderr for any message
3872 # that says an option was ignored or not supported.
3873 # When given -MP, icc 7.0 and 7.1 complain thusly:
3874 # icc: Command line warning: ignoring option '-M'; no argument required
3875 # The diagnosis changed in icc 8.0:
3876 # icc: Command line remark: option '-MP' not supported
3877 if (grep 'ignoring option' conftest.err ||
3878 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3879 am_cv_CXX_dependencies_compiler_type
=$depmode
3888 am_cv_CXX_dependencies_compiler_type
=none
3892 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3893 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3894 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3897 test "x$enable_dependency_tracking" != xno \
3898 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3899 am__fastdepCXX_TRUE
=
3900 am__fastdepCXX_FALSE
='#'
3902 am__fastdepCXX_TRUE
='#'
3903 am__fastdepCXX_FALSE
=
3908 ac_cpp
='$CPP $CPPFLAGS'
3909 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3910 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3911 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3912 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3913 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3914 # On Suns, sometimes $CPP names a directory.
3915 if test -n "$CPP" && test -d "$CPP"; then
3918 if test -z "$CPP"; then
3919 if test "${ac_cv_prog_CPP+set}" = set; then
3920 echo $ECHO_N "(cached) $ECHO_C" >&6
3922 # Double quotes because CPP needs to be expanded
3923 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3926 for ac_c_preproc_warn_flag
in '' yes
3928 # Use a header file that comes with gcc, so configuring glibc
3929 # with a fresh cross-compiler works.
3930 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3931 # <limits.h> exists even on freestanding compilers.
3932 # On the NeXT, cc -E runs the code through the compiler's parser,
3933 # not just through cpp. "Syntax error" is here to catch this case.
3934 cat >conftest.
$ac_ext <<_ACEOF
3937 cat confdefs.h
>>conftest.
$ac_ext
3938 cat >>conftest.
$ac_ext <<_ACEOF
3939 /* end confdefs.h. */
3941 # include <limits.h>
3943 # include <assert.h>
3947 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3949 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3950 *) ac_try_echo=$ac_try;;
3952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3953 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3955 grep -v '^ *+' conftest.er1 >conftest.err
3957 cat conftest.err >&5
3958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3959 (exit $ac_status); } >/dev/null && {
3960 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3961 test ! -s conftest.err
3965 echo "$as_me: failed program was:" >&5
3966 sed 's/^/| /' conftest.$ac_ext >&5
3968 # Broken: fails on valid input.
3972 rm -f conftest.err conftest.$ac_ext
3974 # OK, works on sane cases. Now check whether nonexistent headers
3975 # can be detected and how.
3976 cat >conftest.$ac_ext <<_ACEOF
3979 cat confdefs.h >>conftest.$ac_ext
3980 cat >>conftest.$ac_ext <<_ACEOF
3981 /* end confdefs.h. */
3982 #include <ac_nonexistent.h>
3984 if { (ac_try="$ac_cpp conftest.$ac_ext"
3986 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3987 *) ac_try_echo
=$ac_try;;
3989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3990 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3992 grep -v '^ *+' conftest.er1
>conftest.err
3994 cat conftest.err
>&5
3995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3996 (exit $ac_status); } >/dev
/null
&& {
3997 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3998 test ! -s conftest.err
4000 # Broken: success on invalid input.
4003 echo "$as_me: failed program was:" >&5
4004 sed 's/^/| /' conftest.
$ac_ext >&5
4006 # Passes both tests.
4011 rm -f conftest.err conftest.
$ac_ext
4014 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4015 rm -f conftest.err conftest.
$ac_ext
4016 if $ac_preproc_ok; then
4028 { echo "$as_me:$LINENO: result: $CPP" >&5
4029 echo "${ECHO_T}$CPP" >&6; }
4031 for ac_c_preproc_warn_flag
in '' yes
4033 # Use a header file that comes with gcc, so configuring glibc
4034 # with a fresh cross-compiler works.
4035 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4036 # <limits.h> exists even on freestanding compilers.
4037 # On the NeXT, cc -E runs the code through the compiler's parser,
4038 # not just through cpp. "Syntax error" is here to catch this case.
4039 cat >conftest.
$ac_ext <<_ACEOF
4042 cat confdefs.h
>>conftest.
$ac_ext
4043 cat >>conftest.
$ac_ext <<_ACEOF
4044 /* end confdefs.h. */
4046 # include <limits.h>
4048 # include <assert.h>
4052 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4054 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4055 *) ac_try_echo=$ac_try;;
4057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4058 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4060 grep -v '^ *+' conftest.er1 >conftest.err
4062 cat conftest.err >&5
4063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4064 (exit $ac_status); } >/dev/null && {
4065 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4066 test ! -s conftest.err
4070 echo "$as_me: failed program was:" >&5
4071 sed 's/^/| /' conftest.$ac_ext >&5
4073 # Broken: fails on valid input.
4077 rm -f conftest.err conftest.$ac_ext
4079 # OK, works on sane cases. Now check whether nonexistent headers
4080 # can be detected and how.
4081 cat >conftest.$ac_ext <<_ACEOF
4084 cat confdefs.h >>conftest.$ac_ext
4085 cat >>conftest.$ac_ext <<_ACEOF
4086 /* end confdefs.h. */
4087 #include <ac_nonexistent.h>
4089 if { (ac_try="$ac_cpp conftest.$ac_ext"
4091 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4092 *) ac_try_echo
=$ac_try;;
4094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4095 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4097 grep -v '^ *+' conftest.er1
>conftest.err
4099 cat conftest.err
>&5
4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); } >/dev
/null
&& {
4102 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4103 test ! -s conftest.err
4105 # Broken: success on invalid input.
4108 echo "$as_me: failed program was:" >&5
4109 sed 's/^/| /' conftest.
$ac_ext >&5
4111 # Passes both tests.
4116 rm -f conftest.err conftest.
$ac_ext
4119 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4120 rm -f conftest.err conftest.
$ac_ext
4121 if $ac_preproc_ok; then
4124 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4125 See \`config.log' for more details." >&5
4126 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4127 See \`config.log' for more details." >&2;}
4128 { (exit 1); exit 1; }; }
4132 ac_cpp
='$CPP $CPPFLAGS'
4133 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4134 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4135 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4138 ac_cpp
='$CPP $CPPFLAGS'
4139 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4140 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4141 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4142 if test -n "$ac_tool_prefix"; then
4143 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4144 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4147 if test "${ac_cv_prog_CC+set}" = set; then
4148 echo $ECHO_N "(cached) $ECHO_C" >&6
4150 if test -n "$CC"; then
4151 ac_cv_prog_CC
="$CC" # Let the user override the test.
4153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4157 test -z "$as_dir" && as_dir
=.
4158 for ac_exec_ext
in '' $ac_executable_extensions; do
4159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4160 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4171 if test -n "$CC"; then
4172 { echo "$as_me:$LINENO: result: $CC" >&5
4173 echo "${ECHO_T}$CC" >&6; }
4175 { echo "$as_me:$LINENO: result: no" >&5
4176 echo "${ECHO_T}no" >&6; }
4181 if test -z "$ac_cv_prog_CC"; then
4183 # Extract the first word of "gcc", so it can be a program name with args.
4184 set dummy gcc
; ac_word
=$2
4185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4187 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4188 echo $ECHO_N "(cached) $ECHO_C" >&6
4190 if test -n "$ac_ct_CC"; then
4191 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4197 test -z "$as_dir" && as_dir
=.
4198 for ac_exec_ext
in '' $ac_executable_extensions; do
4199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4200 ac_cv_prog_ac_ct_CC
="gcc"
4201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4210 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4211 if test -n "$ac_ct_CC"; then
4212 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4213 echo "${ECHO_T}$ac_ct_CC" >&6; }
4215 { echo "$as_me:$LINENO: result: no" >&5
4216 echo "${ECHO_T}no" >&6; }
4219 if test "x$ac_ct_CC" = x
; then
4222 case $cross_compiling:$ac_tool_warned in
4224 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4225 whose name does not start with the host triplet. If you think this
4226 configuration is useful to you, please write to autoconf@gnu.org." >&5
4227 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4228 whose name does not start with the host triplet. If you think this
4229 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4230 ac_tool_warned
=yes ;;
4238 if test -z "$CC"; then
4239 if test -n "$ac_tool_prefix"; then
4240 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4241 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4244 if test "${ac_cv_prog_CC+set}" = set; then
4245 echo $ECHO_N "(cached) $ECHO_C" >&6
4247 if test -n "$CC"; then
4248 ac_cv_prog_CC
="$CC" # Let the user override the test.
4250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4254 test -z "$as_dir" && as_dir
=.
4255 for ac_exec_ext
in '' $ac_executable_extensions; do
4256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4257 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4268 if test -n "$CC"; then
4269 { echo "$as_me:$LINENO: result: $CC" >&5
4270 echo "${ECHO_T}$CC" >&6; }
4272 { echo "$as_me:$LINENO: result: no" >&5
4273 echo "${ECHO_T}no" >&6; }
4279 if test -z "$CC"; then
4280 # Extract the first word of "cc", so it can be a program name with args.
4281 set dummy cc
; ac_word
=$2
4282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4284 if test "${ac_cv_prog_CC+set}" = set; then
4285 echo $ECHO_N "(cached) $ECHO_C" >&6
4287 if test -n "$CC"; then
4288 ac_cv_prog_CC
="$CC" # Let the user override the test.
4291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4295 test -z "$as_dir" && as_dir
=.
4296 for ac_exec_ext
in '' $ac_executable_extensions; do
4297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4298 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4299 ac_prog_rejected
=yes
4303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4310 if test $ac_prog_rejected = yes; then
4311 # We found a bogon in the path, so make sure we never use it.
4312 set dummy
$ac_cv_prog_CC
4314 if test $# != 0; then
4315 # We chose a different compiler from the bogus one.
4316 # However, it has the same basename, so the bogon will be chosen
4317 # first if we set CC to just the basename; use the full file name.
4319 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4325 if test -n "$CC"; then
4326 { echo "$as_me:$LINENO: result: $CC" >&5
4327 echo "${ECHO_T}$CC" >&6; }
4329 { echo "$as_me:$LINENO: result: no" >&5
4330 echo "${ECHO_T}no" >&6; }
4335 if test -z "$CC"; then
4336 if test -n "$ac_tool_prefix"; then
4337 for ac_prog
in cl.exe
4339 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4340 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4343 if test "${ac_cv_prog_CC+set}" = set; then
4344 echo $ECHO_N "(cached) $ECHO_C" >&6
4346 if test -n "$CC"; then
4347 ac_cv_prog_CC
="$CC" # Let the user override the test.
4349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4353 test -z "$as_dir" && as_dir
=.
4354 for ac_exec_ext
in '' $ac_executable_extensions; do
4355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4356 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4367 if test -n "$CC"; then
4368 { echo "$as_me:$LINENO: result: $CC" >&5
4369 echo "${ECHO_T}$CC" >&6; }
4371 { echo "$as_me:$LINENO: result: no" >&5
4372 echo "${ECHO_T}no" >&6; }
4376 test -n "$CC" && break
4379 if test -z "$CC"; then
4381 for ac_prog
in cl.exe
4383 # Extract the first word of "$ac_prog", so it can be a program name with args.
4384 set dummy
$ac_prog; ac_word
=$2
4385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4387 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4388 echo $ECHO_N "(cached) $ECHO_C" >&6
4390 if test -n "$ac_ct_CC"; then
4391 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4397 test -z "$as_dir" && as_dir
=.
4398 for ac_exec_ext
in '' $ac_executable_extensions; do
4399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4400 ac_cv_prog_ac_ct_CC
="$ac_prog"
4401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4410 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4411 if test -n "$ac_ct_CC"; then
4412 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4413 echo "${ECHO_T}$ac_ct_CC" >&6; }
4415 { echo "$as_me:$LINENO: result: no" >&5
4416 echo "${ECHO_T}no" >&6; }
4420 test -n "$ac_ct_CC" && break
4423 if test "x$ac_ct_CC" = x
; then
4426 case $cross_compiling:$ac_tool_warned in
4428 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4429 whose name does not start with the host triplet. If you think this
4430 configuration is useful to you, please write to autoconf@gnu.org." >&5
4431 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4432 whose name does not start with the host triplet. If you think this
4433 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4434 ac_tool_warned
=yes ;;
4443 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4444 See \`config.log' for more details." >&5
4445 echo "$as_me: error: no acceptable C compiler found in \$PATH
4446 See \`config.log' for more details." >&2;}
4447 { (exit 1); exit 1; }; }
4449 # Provide some information about the compiler.
4450 echo "$as_me:$LINENO: checking for C compiler version" >&5
4451 ac_compiler
=`set X $ac_compile; echo $2`
4452 { (ac_try
="$ac_compiler --version >&5"
4454 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4455 *) ac_try_echo=$ac_try;;
4457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4458 (eval "$ac_compiler --version >&5") 2>&5
4460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4461 (exit $ac_status); }
4462 { (ac_try="$ac_compiler -v >&5"
4464 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4465 *) ac_try_echo
=$ac_try;;
4467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4468 (eval "$ac_compiler -v >&5") 2>&5
4470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471 (exit $ac_status); }
4472 { (ac_try
="$ac_compiler -V >&5"
4474 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4475 *) ac_try_echo=$ac_try;;
4477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4478 (eval "$ac_compiler -V >&5") 2>&5
4480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4481 (exit $ac_status); }
4483 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4484 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4485 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4486 echo $ECHO_N "(cached) $ECHO_C" >&6
4488 cat >conftest.$ac_ext <<_ACEOF
4491 cat confdefs.h >>conftest.$ac_ext
4492 cat >>conftest.$ac_ext <<_ACEOF
4493 /* end confdefs.h. */
4506 rm -f conftest.$ac_objext
4507 if { (ac_try="$ac_compile"
4509 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4510 *) ac_try_echo
=$ac_try;;
4512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4513 (eval "$ac_compile") 2>conftest.er1
4515 grep -v '^ *+' conftest.er1
>conftest.err
4517 cat conftest.err
>&5
4518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4519 (exit $ac_status); } && {
4520 test -z "$ac_c_werror_flag" ||
4521 test ! -s conftest.err
4522 } && test -s conftest.
$ac_objext; then
4525 echo "$as_me: failed program was:" >&5
4526 sed 's/^/| /' conftest.
$ac_ext >&5
4531 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4532 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4535 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4536 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4537 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4538 ac_test_CFLAGS
=${CFLAGS+set}
4539 ac_save_CFLAGS
=$CFLAGS
4540 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4541 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4542 if test "${ac_cv_prog_cc_g+set}" = set; then
4543 echo $ECHO_N "(cached) $ECHO_C" >&6
4545 ac_save_c_werror_flag
=$ac_c_werror_flag
4546 ac_c_werror_flag
=yes
4549 cat >conftest.
$ac_ext <<_ACEOF
4552 cat confdefs.h
>>conftest.
$ac_ext
4553 cat >>conftest.
$ac_ext <<_ACEOF
4554 /* end confdefs.h. */
4564 rm -f conftest.
$ac_objext
4565 if { (ac_try
="$ac_compile"
4567 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4568 *) ac_try_echo=$ac_try;;
4570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4571 (eval "$ac_compile") 2>conftest.er1
4573 grep -v '^ *+' conftest.er1 >conftest.err
4575 cat conftest.err >&5
4576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577 (exit $ac_status); } && {
4578 test -z "$ac_c_werror_flag" ||
4579 test ! -s conftest.err
4580 } && test -s conftest.$ac_objext; then
4583 echo "$as_me: failed program was:" >&5
4584 sed 's/^/| /' conftest.$ac_ext >&5
4587 cat >conftest.$ac_ext <<_ACEOF
4590 cat confdefs.h >>conftest.$ac_ext
4591 cat >>conftest.$ac_ext <<_ACEOF
4592 /* end confdefs.h. */
4602 rm -f conftest.$ac_objext
4603 if { (ac_try="$ac_compile"
4605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4606 *) ac_try_echo
=$ac_try;;
4608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4609 (eval "$ac_compile") 2>conftest.er1
4611 grep -v '^ *+' conftest.er1
>conftest.err
4613 cat conftest.err
>&5
4614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4615 (exit $ac_status); } && {
4616 test -z "$ac_c_werror_flag" ||
4617 test ! -s conftest.err
4618 } && test -s conftest.
$ac_objext; then
4621 echo "$as_me: failed program was:" >&5
4622 sed 's/^/| /' conftest.
$ac_ext >&5
4624 ac_c_werror_flag
=$ac_save_c_werror_flag
4626 cat >conftest.
$ac_ext <<_ACEOF
4629 cat confdefs.h
>>conftest.
$ac_ext
4630 cat >>conftest.
$ac_ext <<_ACEOF
4631 /* end confdefs.h. */
4641 rm -f conftest.
$ac_objext
4642 if { (ac_try
="$ac_compile"
4644 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4645 *) ac_try_echo=$ac_try;;
4647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4648 (eval "$ac_compile") 2>conftest.er1
4650 grep -v '^ *+' conftest.er1 >conftest.err
4652 cat conftest.err >&5
4653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654 (exit $ac_status); } && {
4655 test -z "$ac_c_werror_flag" ||
4656 test ! -s conftest.err
4657 } && test -s conftest.$ac_objext; then
4660 echo "$as_me: failed program was:" >&5
4661 sed 's/^/| /' conftest.$ac_ext >&5
4666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4673 ac_c_werror_flag=$ac_save_c_werror_flag
4675 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4676 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4677 if test "$ac_test_CFLAGS" = set; then
4678 CFLAGS=$ac_save_CFLAGS
4679 elif test $ac_cv_prog_cc_g = yes; then
4680 if test "$GCC" = yes; then
4686 if test "$GCC" = yes; then
4692 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4693 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4694 if test "${ac_cv_prog_cc_c89+set}" = set; then
4695 echo $ECHO_N "(cached) $ECHO_C" >&6
4697 ac_cv_prog_cc_c89=no
4699 cat >conftest.$ac_ext <<_ACEOF
4702 cat confdefs.h >>conftest.$ac_ext
4703 cat >>conftest.$ac_ext <<_ACEOF
4704 /* end confdefs.h. */
4707 #include <sys/types.h>
4708 #include <sys/stat.h>
4709 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4710 struct buf { int x; };
4711 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4712 static char *e (p, i)
4718 static char *f (char * (*g) (char **, int), char **p, ...)
4723 s = g (p, va_arg (v,int));
4728 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4729 function prototypes and stuff, but not '\xHH' hex character constants.
4730 These don't provoke an error unfortunately, instead are silently treated
4731 as 'x'. The following induces an error, until -std is added to get
4732 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4733 array size at least. It's necessary to write '\x00'==0 to get something
4734 that's true only with -std. */
4735 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4737 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4738 inside strings and character constants. */
4740 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4742 int test (int i, double x);
4743 struct s1 {int (*f) (int a);};
4744 struct s2 {int (*f) (double a);};
4745 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4751 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4756 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4757 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4759 CC="$ac_save_CC $ac_arg"
4760 rm -f conftest.$ac_objext
4761 if { (ac_try="$ac_compile"
4763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4764 *) ac_try_echo
=$ac_try;;
4766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4767 (eval "$ac_compile") 2>conftest.er1
4769 grep -v '^ *+' conftest.er1
>conftest.err
4771 cat conftest.err
>&5
4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); } && {
4774 test -z "$ac_c_werror_flag" ||
4775 test ! -s conftest.err
4776 } && test -s conftest.
$ac_objext; then
4777 ac_cv_prog_cc_c89
=$ac_arg
4779 echo "$as_me: failed program was:" >&5
4780 sed 's/^/| /' conftest.
$ac_ext >&5
4785 rm -f core conftest.err conftest.
$ac_objext
4786 test "x$ac_cv_prog_cc_c89" != "xno" && break
4788 rm -f conftest.
$ac_ext
4793 case "x$ac_cv_prog_cc_c89" in
4795 { echo "$as_me:$LINENO: result: none needed" >&5
4796 echo "${ECHO_T}none needed" >&6; } ;;
4798 { echo "$as_me:$LINENO: result: unsupported" >&5
4799 echo "${ECHO_T}unsupported" >&6; } ;;
4801 CC
="$CC $ac_cv_prog_cc_c89"
4802 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4803 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4808 ac_cpp
='$CPP $CPPFLAGS'
4809 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4810 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4811 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4813 depcc
="$CC" am_compiler_list
=
4815 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4816 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4817 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4818 echo $ECHO_N "(cached) $ECHO_C" >&6
4820 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4821 # We make a subdir and do the tests there. Otherwise we can end up
4822 # making bogus files that we don't know about and never remove. For
4823 # instance it was reported that on HP-UX the gcc test will end up
4824 # making a dummy file named `D' -- because `-MD' means `put the output
4827 # Copy depcomp to subdir because otherwise we won't find it if we're
4828 # using a relative directory.
4829 cp "$am_depcomp" conftest.dir
4831 # We will build objects and dependencies in a subdirectory because
4832 # it helps to detect inapplicable dependency modes. For instance
4833 # both Tru64's cc and ICC support -MD to output dependencies as a
4834 # side effect of compilation, but ICC will put the dependencies in
4835 # the current directory while Tru64 will put them in the object
4839 am_cv_CC_dependencies_compiler_type
=none
4840 if test "$am_compiler_list" = ""; then
4841 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4843 for depmode
in $am_compiler_list; do
4844 # Setup a source with many dependencies, because some compilers
4845 # like to wrap large dependency lists on column 80 (with \), and
4846 # we should not choose a depcomp mode which is confused by this.
4848 # We need to recreate these files for each test, as the compiler may
4849 # overwrite some of them when testing with obscure command lines.
4850 # This happens at least with the AIX C compiler.
4852 for i
in 1 2 3 4 5 6; do
4853 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4854 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4855 # Solaris 8's {/usr,}/bin/sh.
4856 touch sub
/conftst
$i.h
4858 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4862 # after this tag, mechanisms are not by side-effect, so they'll
4863 # only be used when explicitly requested
4864 if test "x$enable_dependency_tracking" = xyes
; then
4872 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4873 # mode. It turns out that the SunPro C++ compiler does not properly
4874 # handle `-M -o', and we need to detect this.
4875 if depmode
=$depmode \
4876 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4877 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4878 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4879 >/dev
/null
2>conftest.err
&&
4880 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4881 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4882 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4883 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4884 # icc doesn't choke on unknown options, it will just issue warnings
4885 # or remarks (even with -Werror). So we grep stderr for any message
4886 # that says an option was ignored or not supported.
4887 # When given -MP, icc 7.0 and 7.1 complain thusly:
4888 # icc: Command line warning: ignoring option '-M'; no argument required
4889 # The diagnosis changed in icc 8.0:
4890 # icc: Command line remark: option '-MP' not supported
4891 if (grep 'ignoring option' conftest.err ||
4892 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4893 am_cv_CC_dependencies_compiler_type
=$depmode
4902 am_cv_CC_dependencies_compiler_type
=none
4906 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4907 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4908 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4911 test "x$enable_dependency_tracking" != xno \
4912 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4914 am__fastdepCC_FALSE
='#'
4916 am__fastdepCC_TRUE
='#'
4917 am__fastdepCC_FALSE
=
4922 am_cv_prog_cc_stdc
=$ac_cv_prog_cc_stdc
4924 if test "x$CC" != xcc
; then
4925 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
4926 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
4928 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
4929 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
4931 set dummy
$CC; ac_cc
=`echo $2 |
4932 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4933 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
4934 echo $ECHO_N "(cached) $ECHO_C" >&6
4936 cat >conftest.
$ac_ext <<_ACEOF
4939 cat confdefs.h
>>conftest.
$ac_ext
4940 cat >>conftest.
$ac_ext <<_ACEOF
4941 /* end confdefs.h. */
4951 # Make sure it works both with $CC and with simple cc.
4952 # We do the test twice because some compilers refuse to overwrite an
4953 # existing .o file with -o, though they will create one.
4954 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4956 if { (case "(($ac_try" in
4957 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4958 *) ac_try_echo=$ac_try;;
4960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4961 (eval "$ac_try") 2>&5
4963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4964 (exit $ac_status); } &&
4965 test -f conftest2.$ac_objext && { (case "(($ac_try" in
4966 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4967 *) ac_try_echo
=$ac_try;;
4969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4970 (eval "$ac_try") 2>&5
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); };
4975 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
4976 if test "x$CC" != xcc
; then
4977 # Test first that cc exists at all.
4978 if { ac_try
='cc -c conftest.$ac_ext >&5'
4979 { (case "(($ac_try" in
4980 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4981 *) ac_try_echo=$ac_try;;
4983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4984 (eval "$ac_try") 2>&5
4986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987 (exit $ac_status); }; }; then
4988 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4990 if { (case "(($ac_try" in
4991 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4992 *) ac_try_echo
=$ac_try;;
4994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4995 (eval "$ac_try") 2>&5
4997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998 (exit $ac_status); } &&
4999 test -f conftest2.
$ac_objext && { (case "(($ac_try" in
5000 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5001 *) ac_try_echo=$ac_try;;
5003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5004 (eval "$ac_try") 2>&5
5006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5007 (exit $ac_status); };
5012 # cc exists but doesn't like -o.
5013 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5018 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5020 rm -f core conftest*
5023 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5024 { echo "$as_me:$LINENO: result: yes" >&5
5025 echo "${ECHO_T}yes" >&6; }
5027 { echo "$as_me:$LINENO: result: no" >&5
5028 echo "${ECHO_T}no" >&6; }
5030 cat >>confdefs.h <<\_ACEOF
5031 #define NO_MINUS_C_MINUS_O 1
5036 # FIXME: we rely on the cache variable name because
5037 # there is no other way.
5039 ac_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5040 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o
`\" != yes"; then
5041 # Losing compiler, so override with the script.
5042 # FIXME: It is wrong to rewrite CC.
5043 # But if we don't then we get into trouble of one sort or another.
5044 # A longer-term fix would be to have automake use am__CC in this case,
5045 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5046 CC="$am_aux_dir/compile $CC"
5050 { echo "$as_me:$LINENO: checking for function prototypes" >&5
5051 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
5052 if test "$ac_cv_prog_cc_c89" != no; then
5053 { echo "$as_me:$LINENO: result: yes" >&5
5054 echo "${ECHO_T}yes" >&6; }
5056 cat >>confdefs.h <<\_ACEOF
5057 #define PROTOTYPES 1
5061 cat >>confdefs.h <<\_ACEOF
5062 #define __PROTOTYPES 1
5066 { echo "$as_me:$LINENO: result: no" >&5
5067 echo "${ECHO_T}no" >&6; }
5072 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5073 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5074 if test "${ac_cv_path_GREP+set}" = set; then
5075 echo $ECHO_N "(cached) $ECHO_C" >&6
5077 # Extract the first word of "grep ggrep" to use in msg output
5078 if test -z "$GREP"; then
5079 set dummy grep ggrep; ac_prog_name=$2
5080 if test "${ac_cv_path_GREP+set}" = set; then
5081 echo $ECHO_N "(cached) $ECHO_C" >&6
5083 ac_path_GREP_found=false
5084 # Loop through the user's path and test for each of PROGNAME-LIST
5085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5086 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5089 test -z "$as_dir" && as_dir=.
5090 for ac_prog in grep ggrep; do
5091 for ac_exec_ext in '' $ac_executable_extensions; do
5092 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5093 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5094 # Check for GNU ac_path_GREP and select it if it is found.
5095 # Check for GNU $ac_path_GREP
5096 case `"$ac_path_GREP" --version 2>&1` in
5098 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5101 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5104 cat "conftest.in" "conftest.in" >"conftest.tmp"
5105 mv "conftest.tmp" "conftest.in"
5106 cp "conftest.in" "conftest.nl"
5107 echo 'GREP' >> "conftest.nl"
5108 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5109 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5110 ac_count=`expr $ac_count + 1`
5111 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5112 # Best one so far, save it but keep looking for a better one
5113 ac_cv_path_GREP="$ac_path_GREP"
5114 ac_path_GREP_max=$ac_count
5116 # 10*(2^10) chars as input seems more than enough
5117 test $ac_count -gt 10 && break
5119 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5123 $ac_path_GREP_found && break 3
5133 GREP="$ac_cv_path_GREP"
5134 if test -z "$GREP"; then
5135 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5136 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5137 { (exit 1); exit 1; }; }
5141 ac_cv_path_GREP=$GREP
5146 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5147 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5148 GREP="$ac_cv_path_GREP"
5151 { echo "$as_me:$LINENO: checking for egrep" >&5
5152 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5153 if test "${ac_cv_path_EGREP+set}" = set; then
5154 echo $ECHO_N "(cached) $ECHO_C" >&6
5156 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5157 then ac_cv_path_EGREP="$GREP -E"
5159 # Extract the first word of "egrep" to use in msg output
5160 if test -z "$EGREP"; then
5161 set dummy egrep; ac_prog_name=$2
5162 if test "${ac_cv_path_EGREP+set}" = set; then
5163 echo $ECHO_N "(cached) $ECHO_C" >&6
5165 ac_path_EGREP_found=false
5166 # Loop through the user's path and test for each of PROGNAME-LIST
5167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5168 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5171 test -z "$as_dir" && as_dir=.
5172 for ac_prog in egrep; do
5173 for ac_exec_ext in '' $ac_executable_extensions; do
5174 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5175 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5176 # Check for GNU ac_path_EGREP and select it if it is found.
5177 # Check for GNU $ac_path_EGREP
5178 case `"$ac_path_EGREP" --version 2>&1` in
5180 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5183 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5186 cat "conftest.in" "conftest.in" >"conftest.tmp"
5187 mv "conftest.tmp" "conftest.in"
5188 cp "conftest.in" "conftest.nl"
5189 echo 'EGREP' >> "conftest.nl"
5190 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5191 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5192 ac_count=`expr $ac_count + 1`
5193 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5194 # Best one so far, save it but keep looking for a better one
5195 ac_cv_path_EGREP="$ac_path_EGREP"
5196 ac_path_EGREP_max=$ac_count
5198 # 10*(2^10) chars as input seems more than enough
5199 test $ac_count -gt 10 && break
5201 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5205 $ac_path_EGREP_found && break 3
5215 EGREP="$ac_cv_path_EGREP"
5216 if test -z "$EGREP"; then
5217 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5218 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5219 { (exit 1); exit 1; }; }
5223 ac_cv_path_EGREP=$EGREP
5229 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5230 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5231 EGREP="$ac_cv_path_EGREP"
5234 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5235 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5236 if test "${ac_cv_header_stdc+set}" = set; then
5237 echo $ECHO_N "(cached) $ECHO_C" >&6
5239 cat >conftest.$ac_ext <<_ACEOF
5242 cat confdefs.h >>conftest.$ac_ext
5243 cat >>conftest.$ac_ext <<_ACEOF
5244 /* end confdefs.h. */
5258 rm -f conftest.$ac_objext
5259 if { (ac_try="$ac_compile"
5261 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5262 *) ac_try_echo
=$ac_try;;
5264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5265 (eval "$ac_compile") 2>conftest.er1
5267 grep -v '^ *+' conftest.er1
>conftest.err
5269 cat conftest.err
>&5
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); } && {
5272 test -z "$ac_c_werror_flag" ||
5273 test ! -s conftest.err
5274 } && test -s conftest.
$ac_objext; then
5275 ac_cv_header_stdc
=yes
5277 echo "$as_me: failed program was:" >&5
5278 sed 's/^/| /' conftest.
$ac_ext >&5
5280 ac_cv_header_stdc
=no
5283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5285 if test $ac_cv_header_stdc = yes; then
5286 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5287 cat >conftest.
$ac_ext <<_ACEOF
5290 cat confdefs.h
>>conftest.
$ac_ext
5291 cat >>conftest.
$ac_ext <<_ACEOF
5292 /* end confdefs.h. */
5296 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5297 $EGREP "memchr" >/dev
/null
2>&1; then
5300 ac_cv_header_stdc
=no
5306 if test $ac_cv_header_stdc = yes; then
5307 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5308 cat >conftest.
$ac_ext <<_ACEOF
5311 cat confdefs.h
>>conftest.
$ac_ext
5312 cat >>conftest.
$ac_ext <<_ACEOF
5313 /* end confdefs.h. */
5317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5318 $EGREP "free" >/dev
/null
2>&1; then
5321 ac_cv_header_stdc
=no
5327 if test $ac_cv_header_stdc = yes; then
5328 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5329 if test "$cross_compiling" = yes; then
5332 cat >conftest.
$ac_ext <<_ACEOF
5335 cat confdefs.h
>>conftest.
$ac_ext
5336 cat >>conftest.
$ac_ext <<_ACEOF
5337 /* end confdefs.h. */
5340 #if ((' ' & 0x0FF) == 0x020)
5341 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5342 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5344 # define ISLOWER(c) \
5345 (('a' <= (c) && (c) <= 'i') \
5346 || ('j' <= (c) && (c) <= 'r') \
5347 || ('s' <= (c) && (c) <= 'z'))
5348 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5351 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5356 for (i = 0; i < 256; i++)
5357 if (XOR (islower (i), ISLOWER (i))
5358 || toupper (i) != TOUPPER (i))
5363 rm -f conftest
$ac_exeext
5364 if { (ac_try
="$ac_link"
5366 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5367 *) ac_try_echo=$ac_try;;
5369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5370 (eval "$ac_link") 2>&5
5372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5373 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5374 { (case "(($ac_try" in
5375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5376 *) ac_try_echo
=$ac_try;;
5378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5379 (eval "$ac_try") 2>&5
5381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5382 (exit $ac_status); }; }; then
5385 echo "$as_me: program exited with status $ac_status" >&5
5386 echo "$as_me: failed program was:" >&5
5387 sed 's/^/| /' conftest.
$ac_ext >&5
5390 ac_cv_header_stdc
=no
5392 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5398 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5399 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5400 if test $ac_cv_header_stdc = yes; then
5402 cat >>confdefs.h
<<\_ACEOF
5403 #define STDC_HEADERS 1
5408 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5418 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5419 inttypes.h stdint.h unistd.h
5421 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5422 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5424 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5425 echo $ECHO_N "(cached) $ECHO_C" >&6
5427 cat >conftest.
$ac_ext <<_ACEOF
5430 cat confdefs.h
>>conftest.
$ac_ext
5431 cat >>conftest.
$ac_ext <<_ACEOF
5432 /* end confdefs.h. */
5433 $ac_includes_default
5435 #include <$ac_header>
5437 rm -f conftest.
$ac_objext
5438 if { (ac_try
="$ac_compile"
5440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5441 *) ac_try_echo=$ac_try;;
5443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5444 (eval "$ac_compile") 2>conftest.er1
5446 grep -v '^ *+' conftest.er1 >conftest.err
5448 cat conftest.err >&5
5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450 (exit $ac_status); } && {
5451 test -z "$ac_c_werror_flag" ||
5452 test ! -s conftest.err
5453 } && test -s conftest.$ac_objext; then
5454 eval "$as_ac_Header=yes"
5456 echo "$as_me: failed program was:" >&5
5457 sed 's/^/| /' conftest.$ac_ext >&5
5459 eval "$as_ac_Header=no"
5462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5464 ac_res=`eval echo '${'$as_ac_Header'}'`
5465 { echo "$as_me:$LINENO: result: $ac_res" >&5
5466 echo "${ECHO_T}$ac_res" >&6; }
5467 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5468 cat >>confdefs.h <<_ACEOF
5469 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5478 if test "$ac_cv_prog_cc_stdc" != no; then
5481 U=_ ANSI2KNR=./ansi2knr
5483 # Ensure some checks needed by ansi2knr itself.
5486 for ac_header in string.h
5488 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5489 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5490 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5492 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5493 echo $ECHO_N "(cached) $ECHO_C" >&6
5495 ac_res=`eval echo '${'$as_ac_Header'}'`
5496 { echo "$as_me:$LINENO: result: $ac_res" >&5
5497 echo "${ECHO_T}$ac_res" >&6; }
5499 # Is the header compilable?
5500 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5501 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5502 cat >conftest.$ac_ext <<_ACEOF
5505 cat confdefs.h >>conftest.$ac_ext
5506 cat >>conftest.$ac_ext <<_ACEOF
5507 /* end confdefs.h. */
5508 $ac_includes_default
5509 #include <$ac_header>
5511 rm -f conftest.$ac_objext
5512 if { (ac_try="$ac_compile"
5514 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5515 *) ac_try_echo
=$ac_try;;
5517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5518 (eval "$ac_compile") 2>conftest.er1
5520 grep -v '^ *+' conftest.er1
>conftest.err
5522 cat conftest.err
>&5
5523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524 (exit $ac_status); } && {
5525 test -z "$ac_c_werror_flag" ||
5526 test ! -s conftest.err
5527 } && test -s conftest.
$ac_objext; then
5528 ac_header_compiler
=yes
5530 echo "$as_me: failed program was:" >&5
5531 sed 's/^/| /' conftest.
$ac_ext >&5
5533 ac_header_compiler
=no
5536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5537 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5538 echo "${ECHO_T}$ac_header_compiler" >&6; }
5540 # Is the header present?
5541 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5542 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5543 cat >conftest.
$ac_ext <<_ACEOF
5546 cat confdefs.h
>>conftest.
$ac_ext
5547 cat >>conftest.
$ac_ext <<_ACEOF
5548 /* end confdefs.h. */
5549 #include <$ac_header>
5551 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5554 *) ac_try_echo=$ac_try;;
5556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5557 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5559 grep -v '^ *+' conftest.er1 >conftest.err
5561 cat conftest.err >&5
5562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563 (exit $ac_status); } >/dev/null && {
5564 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5565 test ! -s conftest.err
5567 ac_header_preproc=yes
5569 echo "$as_me: failed program was:" >&5
5570 sed 's/^/| /' conftest.$ac_ext >&5
5572 ac_header_preproc=no
5575 rm -f conftest.err conftest.$ac_ext
5576 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5577 echo "${ECHO_T}$ac_header_preproc" >&6; }
5579 # So? What about this header?
5580 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5582 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5583 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5584 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5585 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5586 ac_header_preproc=yes
5589 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5590 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5591 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5592 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5593 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5594 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5595 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5596 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5597 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5598 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5599 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5600 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5602 ## ------------------------------------------- ##
5603 ## Report this to systemtap@sources.redhat.com ##
5604 ## ------------------------------------------- ##
5606 ) | sed "s/^/$as_me: WARNING: /" >&2
5609 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5611 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5612 echo $ECHO_N "(cached) $ECHO_C" >&6
5614 eval "$as_ac_Header=\$ac_header_preproc"
5616 ac_res=`eval echo '${'$as_ac_Header'}'`
5617 { echo "$as_me:$LINENO: result: $ac_res" >&5
5618 echo "${ECHO_T}$ac_res" >&6; }
5621 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5622 cat >>confdefs.h <<_ACEOF
5623 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5631 if test -n "$ac_tool_prefix"; then
5632 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5633 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5634 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5636 if test "${ac_cv_prog_RANLIB+set}" = set; then
5637 echo $ECHO_N "(cached) $ECHO_C" >&6
5639 if test -n "$RANLIB"; then
5640 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5646 test -z "$as_dir" && as_dir=.
5647 for ac_exec_ext in '' $ac_executable_extensions; do
5648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5649 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5659 RANLIB=$ac_cv_prog_RANLIB
5660 if test -n "$RANLIB"; then
5661 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5662 echo "${ECHO_T}$RANLIB" >&6; }
5664 { echo "$as_me:$LINENO: result: no" >&5
5665 echo "${ECHO_T}no" >&6; }
5670 if test -z "$ac_cv_prog_RANLIB"; then
5671 ac_ct_RANLIB=$RANLIB
5672 # Extract the first word of "ranlib", so it can be a program name with args.
5673 set dummy ranlib; ac_word=$2
5674 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5676 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5677 echo $ECHO_N "(cached) $ECHO_C" >&6
5679 if test -n "$ac_ct_RANLIB"; then
5680 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5686 test -z "$as_dir" && as_dir=.
5687 for ac_exec_ext in '' $ac_executable_extensions; do
5688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5689 ac_cv_prog_ac_ct_RANLIB="ranlib"
5690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5699 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5700 if test -n "$ac_ct_RANLIB"; then
5701 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5702 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5704 { echo "$as_me:$LINENO: result: no" >&5
5705 echo "${ECHO_T}no" >&6; }
5708 if test "x$ac_ct_RANLIB" = x; then
5711 case $cross_compiling:$ac_tool_warned in
5713 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5714 whose name does not start with the host triplet. If you think this
5715 configuration is useful to you, please write to autoconf@gnu.org." >&5
5716 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5717 whose name does not start with the host triplet. If you think this
5718 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5719 ac_tool_warned=yes ;;
5721 RANLIB=$ac_ct_RANLIB
5724 RANLIB="$ac_cv_prog_RANLIB"
5729 # Find a good install program. We prefer a C program (faster),
5730 # so one script is as good as another. But avoid the broken or
5731 # incompatible versions:
5732 # SysV /etc/install, /usr/sbin/install
5733 # SunOS /usr/etc/install
5734 # IRIX /sbin/install
5736 # AmigaOS /C/install, which installs bootblocks on floppy discs
5737 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5738 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5739 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5740 # OS/2's system install, which has a completely different semantic
5741 # ./install, which can be erroneously created by make from ./install.sh.
5742 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5743 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5744 if test -z "$INSTALL"; then
5745 if test "${ac_cv_path_install+set}" = set; then
5746 echo $ECHO_N "(cached) $ECHO_C" >&6
5748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5752 test -z "$as_dir" && as_dir=.
5753 # Account for people who put trailing slashes in PATH elements.
5755 ./ | .// | /cC/* | \
5756 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5757 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5760 # OSF1 and SCO ODT 3.0 have their own names for install.
5761 # Don't use installbsd from OSF since it installs stuff as root
5763 for ac_prog in ginstall scoinst install; do
5764 for ac_exec_ext in '' $ac_executable_extensions; do
5765 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5766 if test $ac_prog = install &&
5767 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5768 # AIX install. It has an incompatible calling convention.
5770 elif test $ac_prog = install &&
5771 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5772 # program-specific install script used by HP pwplus--don't use.
5775 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5788 if test "${ac_cv_path_install+set}" = set; then
5789 INSTALL=$ac_cv_path_install
5791 # As a last resort, use the slow shell script. Don't cache a
5792 # value for INSTALL within a source directory, because that will
5793 # break other packages using the cache if that directory is
5794 # removed, or if the value is a relative name.
5795 INSTALL=$ac_install_sh
5798 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5799 echo "${ECHO_T}$INSTALL" >&6; }
5801 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5802 # It thinks the first close brace ends the variable substitution.
5803 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5805 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5807 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5809 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5810 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
5811 set x ${MAKE-make}; ac_make=`echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5812 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
5813 echo $ECHO_N "(cached) $ECHO_C" >&6
5815 cat >conftest.make <<\_ACEOF
5818 @echo '@@@%%%=$(MAKE)=@@@%%%'
5820 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5821 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
5823 eval ac_cv_prog_make_${ac_make}_set=yes;;
5825 eval ac_cv_prog_make_${ac_make}_set=no;;
5829 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5830 { echo "$as_me:$LINENO: result: yes" >&5
5831 echo "${ECHO_T}yes" >&6; }
5834 { echo "$as_me:$LINENO: result: no" >&5
5835 echo "${ECHO_T}no" >&6; }
5836 SET_MAKE="MAKE=${MAKE-make}"
5842 # Check whether --enable-perfmon was given.
5843 if test "${enable_perfmon+set}" = set; then
5844 enableval=$enable_perfmon;
5845 if test "$enable_perfmon" != "no"; then
5846 CPPFLAGS="$CPPFLAGS -DPERFMON"
5848 if test "$enable_perfmon" != "yes"; then
5849 CPPFLAGS="$CPPFLAGS -I$enable_perfmon/include"
5850 LDFLAGS="$LDFLAGS -L$enable_perfmon/lib"
5853 { echo "$as_me:$LINENO: checking for pfm_start in -lpfm" >&5
5854 echo $ECHO_N "checking for pfm_start in -lpfm... $ECHO_C" >&6; }
5855 if test "${ac_cv_lib_pfm_pfm_start+set}" = set; then
5856 echo $ECHO_N "(cached) $ECHO_C" >&6
5858 ac_check_lib_save_LIBS=$LIBS
5860 cat >conftest.$ac_ext <<_ACEOF
5863 cat confdefs.h >>conftest.$ac_ext
5864 cat >>conftest.$ac_ext <<_ACEOF
5865 /* end confdefs.h. */
5867 /* Override any GCC internal prototype to avoid an error.
5868 Use char because int might match the return type of a GCC
5869 builtin and then its argument prototype would still apply. */
5877 return pfm_start ();
5882 rm -f conftest.$ac_objext conftest$ac_exeext
5883 if { (ac_try="$ac_link"
5885 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5886 *) ac_try_echo
=$ac_try;;
5888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5889 (eval "$ac_link") 2>conftest.er1
5891 grep -v '^ *+' conftest.er1
>conftest.err
5893 cat conftest.err
>&5
5894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5895 (exit $ac_status); } && {
5896 test -z "$ac_c_werror_flag" ||
5897 test ! -s conftest.err
5898 } && test -s conftest
$ac_exeext &&
5899 $as_test_x conftest
$ac_exeext; then
5900 ac_cv_lib_pfm_pfm_start
=yes
5902 echo "$as_me: failed program was:" >&5
5903 sed 's/^/| /' conftest.
$ac_ext >&5
5905 ac_cv_lib_pfm_pfm_start
=no
5908 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5909 conftest
$ac_exeext conftest.
$ac_ext
5910 LIBS
=$ac_check_lib_save_LIBS
5912 { echo "$as_me:$LINENO: result: $ac_cv_lib_pfm_pfm_start" >&5
5913 echo "${ECHO_T}$ac_cv_lib_pfm_pfm_start" >&6; }
5914 if test $ac_cv_lib_pfm_pfm_start = yes; then
5915 cat >>confdefs.h
<<_ACEOF
5916 #define HAVE_LIBPFM 1
5923 { { echo "$as_me:$LINENO: error: systemtap cannot find required perfmon libs (libpfm-devel may need to be installed" >&5
5924 echo "$as_me: error: systemtap cannot find required perfmon libs (libpfm-devel may need to be installed" >&2;}
5925 { (exit 1); exit 1; }; }
5932 if test "${enable_prologues+set}" != set; then
5933 { echo "$as_me:$LINENO: checking to see if prologue searching should be the default" >&5
5934 echo $ECHO_N "checking to see if prologue searching should be the default... $ECHO_C" >&6; }
5935 if { echo '#if __i386__ == 1 && __GNUC__ < 4'
5937 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
5938 enable_prologues
=yes
5939 { echo "$as_me:$LINENO: result: yes" >&5
5940 echo "${ECHO_T}yes" >&6; }
5942 { echo "$as_me:$LINENO: result: no" >&5
5943 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
5959 # Check whether --enable-ssp was given.
5960 if test "${enable_ssp+set}" = set; then
5961 enableval
=$enable_ssp;
5964 if test "x$enable_ssp" != xno
; then
5966 save_CFLAGS
="$CFLAGS"
5967 save_CXXFLAGS
="$CXXFLAGS"
5968 CXXFLAGS
="$CXXFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
5969 CFLAGS
="$CFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
5970 cat >conftest.
$ac_ext <<_ACEOF
5973 rm -f conftest.
$ac_objext
5974 if { (ac_try
="$ac_compile"
5976 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5977 *) ac_try_echo=$ac_try;;
5979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5980 (eval "$ac_compile") 2>conftest.er1
5982 grep -v '^ *+' conftest.er1 >conftest.err
5984 cat conftest.err >&5
5985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5986 (exit $ac_status); } && {
5987 test -z "$ac_c_werror_flag" ||
5988 test ! -s conftest.err
5989 } && test -s conftest.$ac_objext; then
5991 { echo "$as_me:$LINENO: Compiling with gcc -fstack-protector-all et al." >&5
5992 echo "$as_me: Compiling with gcc -fstack-protector-all et al." >&6;}
5993 CFLAGS="$save_CFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
5994 CXFXLAGS="$save_CXXFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
5996 echo "$as_me: failed program was:" >&5
5997 sed 's/^/| /' conftest.$ac_ext >&5
6000 { echo "$as_me:$LINENO: Compiler does not support -fstack-protector-all et al." >&5
6001 echo "$as_me: Compiler does not support -fstack-protector-all et al." >&6;}
6002 CFLAGS="$save_CFLAGS"
6003 CXXFLAGS="$save_CXXFLAGS"
6006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6010 # Check whether --enable-sqlite was given.
6011 if test "${enable_sqlite+set}" = set; then
6012 enableval=$enable_sqlite;
6017 if test "x$enable_sqlite" != xno; then
6018 { echo "$as_me:$LINENO: checking for sqlite3_open in -lsqlite3" >&5
6019 echo $ECHO_N "checking for sqlite3_open in -lsqlite3... $ECHO_C" >&6; }
6020 if test "${ac_cv_lib_sqlite3_sqlite3_open+set}" = set; then
6021 echo $ECHO_N "(cached) $ECHO_C" >&6
6023 ac_check_lib_save_LIBS=$LIBS
6024 LIBS="-lsqlite3 $LIBS"
6025 cat >conftest.$ac_ext <<_ACEOF
6028 cat confdefs.h >>conftest.$ac_ext
6029 cat >>conftest.$ac_ext <<_ACEOF
6030 /* end confdefs.h. */
6032 /* Override any GCC internal prototype to avoid an error.
6033 Use char because int might match the return type of a GCC
6034 builtin and then its argument prototype would still apply. */
6038 char sqlite3_open ();
6042 return sqlite3_open ();
6047 rm -f conftest.$ac_objext conftest$ac_exeext
6048 if { (ac_try="$ac_link"
6050 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6051 *) ac_try_echo
=$ac_try;;
6053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6054 (eval "$ac_link") 2>conftest.er1
6056 grep -v '^ *+' conftest.er1
>conftest.err
6058 cat conftest.err
>&5
6059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6060 (exit $ac_status); } && {
6061 test -z "$ac_c_werror_flag" ||
6062 test ! -s conftest.err
6063 } && test -s conftest
$ac_exeext &&
6064 $as_test_x conftest
$ac_exeext; then
6065 ac_cv_lib_sqlite3_sqlite3_open
=yes
6067 echo "$as_me: failed program was:" >&5
6068 sed 's/^/| /' conftest.
$ac_ext >&5
6070 ac_cv_lib_sqlite3_sqlite3_open
=no
6073 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6074 conftest
$ac_exeext conftest.
$ac_ext
6075 LIBS
=$ac_check_lib_save_LIBS
6077 { echo "$as_me:$LINENO: result: $ac_cv_lib_sqlite3_sqlite3_open" >&5
6078 echo "${ECHO_T}$ac_cv_lib_sqlite3_sqlite3_open" >&6; }
6079 if test $ac_cv_lib_sqlite3_sqlite3_open = yes; then
6080 sqlite3_LIBS
=-lsqlite3
6083 cat >>confdefs.h
<<\_ACEOF
6084 #define HAVE_LIBSQLITE3 1
6088 if test "x$enable_sqlite" != xcheck
; then
6089 { { echo "$as_me:$LINENO: error: --enable-sqlite was given, but test for sqlite failed
6090 See \`config.log' for more details." >&5
6091 echo "$as_me: error: --enable-sqlite was given, but test for sqlite failed
6092 See \`config.log' for more details." >&2;}
6093 { (exit 1); exit 1; }; }
6100 # Check whether --enable-crash was given.
6101 if test "${enable_crash+set}" = set; then
6102 enableval
=$enable_crash; if test "$enable_crash" != "no"; then
6103 save_CPPFLAGS
="$CPPFLAGS"
6104 if test "$enable_crash" != "yes"; then
6105 staplog_CPPFLAGS
=-I$enable_crash
6106 CPPFLAGS
="${staplog_CPPFLAGS} $CPPFLAGS"
6110 for ac_header
in crash
/defs.h
6112 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6113 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6115 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6116 echo $ECHO_N "(cached) $ECHO_C" >&6
6118 cat >conftest.
$ac_ext <<_ACEOF
6121 cat confdefs.h
>>conftest.
$ac_ext
6122 cat >>conftest.
$ac_ext <<_ACEOF
6123 /* end confdefs.h. */
6128 #include <$ac_header>
6130 rm -f conftest.
$ac_objext
6131 if { (ac_try
="$ac_compile"
6133 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6134 *) ac_try_echo=$ac_try;;
6136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6137 (eval "$ac_compile") 2>conftest.er1
6139 grep -v '^ *+' conftest.er1 >conftest.err
6141 cat conftest.err >&5
6142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6143 (exit $ac_status); } && {
6144 test -z "$ac_c_werror_flag" ||
6145 test ! -s conftest.err
6146 } && test -s conftest.$ac_objext; then
6147 eval "$as_ac_Header=yes"
6149 echo "$as_me: failed program was:" >&5
6150 sed 's/^/| /' conftest.$ac_ext >&5
6152 eval "$as_ac_Header=no"
6155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6157 ac_res=`eval echo '${'$as_ac_Header'}'`
6158 { echo "$as_me:$LINENO: result: $ac_res" >&5
6159 echo "${ECHO_T}$ac_res" >&6; }
6160 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6161 cat >>confdefs.h <<_ACEOF
6162 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6166 { { echo "$as_me:$LINENO: error: cannot find required crash header (crash-devel may need to be installed)" >&5
6167 echo "$as_me: error: cannot find required crash header (crash-devel may need to be installed)" >&2;}
6168 { (exit 1); exit 1; }; }
6173 CPPFLAGS="$save_CPPFLAGS"
6179 if test "$enable_crash" != "no"; then
6180 BUILD_CRASHMOD_TRUE=
6181 BUILD_CRASHMOD_FALSE='#'
6183 BUILD_CRASHMOD_TRUE='#'
6184 BUILD_CRASHMOD_FALSE=
6188 # Check whether --enable-docs was given.
6189 if test "${enable_docs+set}" = set; then
6190 enableval=$enable_docs; enable_docs=$enableval
6195 # Extract the first word of "latex", so it can be a program name with args.
6196 set dummy latex; ac_word=$2
6197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6199 if test "${ac_cv_prog_have_latex+set}" = set; then
6200 echo $ECHO_N "(cached) $ECHO_C" >&6
6202 if test -n "$have_latex"; then
6203 ac_cv_prog_have_latex="$have_latex" # Let the user override the test.
6205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6209 test -z "$as_dir" && as_dir=.
6210 for ac_exec_ext in '' $ac_executable_extensions; do
6211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6212 ac_cv_prog_have_latex="yes"
6213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6220 test -z "$ac_cv_prog_have_latex" && ac_cv_prog_have_latex="no"
6223 have_latex=$ac_cv_prog_have_latex
6224 if test -n "$have_latex"; then
6225 { echo "$as_me:$LINENO: result: $have_latex" >&5
6226 echo "${ECHO_T}$have_latex" >&6; }
6228 { echo "$as_me:$LINENO: result: no" >&5
6229 echo "${ECHO_T}no" >&6; }
6233 # Extract the first word of "dvips", so it can be a program name with args.
6234 set dummy dvips; ac_word=$2
6235 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6237 if test "${ac_cv_prog_have_dvips+set}" = set; then
6238 echo $ECHO_N "(cached) $ECHO_C" >&6
6240 if test -n "$have_dvips"; then
6241 ac_cv_prog_have_dvips="$have_dvips" # Let the user override the test.
6243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6247 test -z "$as_dir" && as_dir=.
6248 for ac_exec_ext in '' $ac_executable_extensions; do
6249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6250 ac_cv_prog_have_dvips="yes"
6251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6258 test -z "$ac_cv_prog_have_dvips" && ac_cv_prog_have_dvips="no"
6261 have_dvips=$ac_cv_prog_have_dvips
6262 if test -n "$have_dvips"; then
6263 { echo "$as_me:$LINENO: result: $have_dvips" >&5
6264 echo "${ECHO_T}$have_dvips" >&6; }
6266 { echo "$as_me:$LINENO: result: no" >&5
6267 echo "${ECHO_T}no" >&6; }
6271 # Extract the first word of "ps2pdf", so it can be a program name with args.
6272 set dummy ps2pdf; ac_word=$2
6273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6275 if test "${ac_cv_prog_have_ps2pdf+set}" = set; then
6276 echo $ECHO_N "(cached) $ECHO_C" >&6
6278 if test -n "$have_ps2pdf"; then
6279 ac_cv_prog_have_ps2pdf="$have_ps2pdf" # Let the user override the test.
6281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6285 test -z "$as_dir" && as_dir=.
6286 for ac_exec_ext in '' $ac_executable_extensions; do
6287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6288 ac_cv_prog_have_ps2pdf="yes"
6289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6296 test -z "$ac_cv_prog_have_ps2pdf" && ac_cv_prog_have_ps2pdf="no"
6299 have_ps2pdf=$ac_cv_prog_have_ps2pdf
6300 if test -n "$have_ps2pdf"; then
6301 { echo "$as_me:$LINENO: result: $have_ps2pdf" >&5
6302 echo "${ECHO_T}$have_ps2pdf" >&6; }
6304 { echo "$as_me:$LINENO: result: no" >&5
6305 echo "${ECHO_T}no" >&6; }
6309 # Extract the first word of "latex2html", so it can be a program name with args.
6310 set dummy latex2html; ac_word=$2
6311 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6313 if test "${ac_cv_prog_have_latex2html+set}" = set; then
6314 echo $ECHO_N "(cached) $ECHO_C" >&6
6316 if test -n "$have_latex2html"; then
6317 ac_cv_prog_have_latex2html="$have_latex2html" # Let the user override the test.
6319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6323 test -z "$as_dir" && as_dir=.
6324 for ac_exec_ext in '' $ac_executable_extensions; do
6325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6326 ac_cv_prog_have_latex2html="yes"
6327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6334 test -z "$ac_cv_prog_have_latex2html" && ac_cv_prog_have_latex2html="no"
6337 have_latex2html=$ac_cv_prog_have_latex2html
6338 if test -n "$have_latex2html"; then
6339 { echo "$as_me:$LINENO: result: $have_latex2html" >&5
6340 echo "${ECHO_T}$have_latex2html" >&6; }
6342 { echo "$as_me:$LINENO: result: no" >&5
6343 echo "${ECHO_T}no" >&6; }
6347 if test "$enable_docs" == "yes"; then
6348 if test "x${have_latex}${have_dvips}${have_ps2pdf}${have_latex2html}" != "xyesyesyesyes"; then
6349 { { echo "$as_me:$LINENO: error: cannot find all tools for building documentation" >&5
6350 echo "$as_me: error: cannot find all tools for building documentation" >&2;}
6351 { (exit 1); exit 1; }; }
6354 if test "x${have_latex}${have_dvips}${have_ps2pdf}${have_latex2html}" == "xyesyesyesyes" -a "$enable_docs" != "no"; then
6356 BUILD_DOCS_FALSE='#'
6364 for ac_header in sys/capability.h
6366 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6367 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6368 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6370 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6371 echo $ECHO_N "(cached) $ECHO_C" >&6
6373 ac_res=`eval echo '${'$as_ac_Header'}'`
6374 { echo "$as_me:$LINENO: result: $ac_res" >&5
6375 echo "${ECHO_T}$ac_res" >&6; }
6377 # Is the header compilable?
6378 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6379 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6380 cat >conftest.$ac_ext <<_ACEOF
6383 cat confdefs.h >>conftest.$ac_ext
6384 cat >>conftest.$ac_ext <<_ACEOF
6385 /* end confdefs.h. */
6386 $ac_includes_default
6387 #include <$ac_header>
6389 rm -f conftest.$ac_objext
6390 if { (ac_try="$ac_compile"
6392 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6393 *) ac_try_echo
=$ac_try;;
6395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6396 (eval "$ac_compile") 2>conftest.er1
6398 grep -v '^ *+' conftest.er1
>conftest.err
6400 cat conftest.err
>&5
6401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6402 (exit $ac_status); } && {
6403 test -z "$ac_c_werror_flag" ||
6404 test ! -s conftest.err
6405 } && test -s conftest.
$ac_objext; then
6406 ac_header_compiler
=yes
6408 echo "$as_me: failed program was:" >&5
6409 sed 's/^/| /' conftest.
$ac_ext >&5
6411 ac_header_compiler
=no
6414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6415 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6416 echo "${ECHO_T}$ac_header_compiler" >&6; }
6418 # Is the header present?
6419 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6420 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6421 cat >conftest.
$ac_ext <<_ACEOF
6424 cat confdefs.h
>>conftest.
$ac_ext
6425 cat >>conftest.
$ac_ext <<_ACEOF
6426 /* end confdefs.h. */
6427 #include <$ac_header>
6429 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6431 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6432 *) ac_try_echo=$ac_try;;
6434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6435 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6437 grep -v '^ *+' conftest.er1 >conftest.err
6439 cat conftest.err >&5
6440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441 (exit $ac_status); } >/dev/null && {
6442 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6443 test ! -s conftest.err
6445 ac_header_preproc=yes
6447 echo "$as_me: failed program was:" >&5
6448 sed 's/^/| /' conftest.$ac_ext >&5
6450 ac_header_preproc=no
6453 rm -f conftest.err conftest.$ac_ext
6454 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6455 echo "${ECHO_T}$ac_header_preproc" >&6; }
6457 # So? What about this header?
6458 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6460 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6461 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6462 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6463 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6464 ac_header_preproc=yes
6467 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6468 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6469 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6470 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6471 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6472 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6473 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6474 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6475 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6476 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6477 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6478 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6480 ## ------------------------------------------- ##
6481 ## Report this to systemtap@sources.redhat.com ##
6482 ## ------------------------------------------- ##
6484 ) | sed "s/^/$as_me: WARNING: /" >&2
6487 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6489 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6490 echo $ECHO_N "(cached) $ECHO_C" >&6
6492 eval "$as_ac_Header=\$ac_header_preproc"
6494 ac_res=`eval echo '${'$as_ac_Header'}'`
6495 { echo "$as_me:$LINENO: result: $ac_res" >&5
6496 echo "${ECHO_T}$ac_res" >&6; }
6499 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6500 cat >>confdefs.h <<_ACEOF
6501 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6505 { { echo "$as_me:$LINENO: error: cannot find required libcap header (libcap-devel may need to be installed)" >&5
6506 echo "$as_me: error: cannot find required libcap header (libcap-devel may need to be installed)" >&2;}
6507 { (exit 1); exit 1; }; }
6515 # Check whether --with-elfutils was given.
6516 if test "${with_elfutils+set}" = set; then
6517 withval=$with_elfutils;
6518 case "$with_elfutils" in
6519 yes) { { echo "$as_me:$LINENO: error: --with-elfutils requires an argument" >&5
6520 echo "$as_me: error: --with-elfutils requires an argument" >&2;}
6521 { (exit 1); exit 1; }; } ;;
6523 *) build_elfutils=yes ;;
6527 if test $build_elfutils = yes; then
6528 BUILD_ELFUTILS_TRUE=
6529 BUILD_ELFUTILS_FALSE='#'
6531 BUILD_ELFUTILS_TRUE='#'
6532 BUILD_ELFUTILS_FALSE=
6535 elfutils_abs_srcdir=`if test $build_elfutils = yes; then
6536 cd $with_elfutils && pwd
6541 if test $build_elfutils = no; then
6542 # Need libdwfl-capable recent elfutils from Fedora
6545 { echo "$as_me:$LINENO: checking for dwfl_module_getsym in -ldw" >&5
6546 echo $ECHO_N "checking for dwfl_module_getsym in -ldw... $ECHO_C" >&6; }
6547 if test "${ac_cv_lib_dw_dwfl_module_getsym+set}" = set; then
6548 echo $ECHO_N "(cached) $ECHO_C" >&6
6550 ac_check_lib_save_LIBS=$LIBS
6552 cat >conftest.$ac_ext <<_ACEOF
6555 cat confdefs.h >>conftest.$ac_ext
6556 cat >>conftest.$ac_ext <<_ACEOF
6557 /* end confdefs.h. */
6559 /* Override any GCC internal prototype to avoid an error.
6560 Use char because int might match the return type of a GCC
6561 builtin and then its argument prototype would still apply. */
6565 char dwfl_module_getsym ();
6569 return dwfl_module_getsym ();
6574 rm -f conftest.$ac_objext conftest$ac_exeext
6575 if { (ac_try="$ac_link"
6577 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6578 *) ac_try_echo
=$ac_try;;
6580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6581 (eval "$ac_link") 2>conftest.er1
6583 grep -v '^ *+' conftest.er1
>conftest.err
6585 cat conftest.err
>&5
6586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6587 (exit $ac_status); } && {
6588 test -z "$ac_c_werror_flag" ||
6589 test ! -s conftest.err
6590 } && test -s conftest
$ac_exeext &&
6591 $as_test_x conftest
$ac_exeext; then
6592 ac_cv_lib_dw_dwfl_module_getsym
=yes
6594 echo "$as_me: failed program was:" >&5
6595 sed 's/^/| /' conftest.
$ac_ext >&5
6597 ac_cv_lib_dw_dwfl_module_getsym
=no
6600 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6601 conftest
$ac_exeext conftest.
$ac_ext
6602 LIBS
=$ac_check_lib_save_LIBS
6604 { echo "$as_me:$LINENO: result: $ac_cv_lib_dw_dwfl_module_getsym" >&5
6605 echo "${ECHO_T}$ac_cv_lib_dw_dwfl_module_getsym" >&6; }
6606 if test $ac_cv_lib_dw_dwfl_module_getsym = yes; then
6607 cat >>confdefs.h
<<_ACEOF
6608 #define HAVE_LIBDW 1
6615 { { echo "$as_me:$LINENO: error: missing elfutils development headers/libraries (dw 0.123+)" >&5
6616 echo "$as_me: error: missing elfutils development headers/libraries (dw 0.123+)" >&2;}
6617 { (exit 1); exit 1; }; }
6621 { echo "$as_me:$LINENO: checking for ebl_openbackend in -lebl" >&5
6622 echo $ECHO_N "checking for ebl_openbackend in -lebl... $ECHO_C" >&6; }
6623 if test "${ac_cv_lib_ebl_ebl_openbackend+set}" = set; then
6624 echo $ECHO_N "(cached) $ECHO_C" >&6
6626 ac_check_lib_save_LIBS
=$LIBS
6628 cat >conftest.
$ac_ext <<_ACEOF
6631 cat confdefs.h
>>conftest.
$ac_ext
6632 cat >>conftest.
$ac_ext <<_ACEOF
6633 /* end confdefs.h. */
6635 /* Override any GCC internal prototype to avoid an error.
6636 Use char because int might match the return type of a GCC
6637 builtin and then its argument prototype would still apply. */
6641 char ebl_openbackend ();
6645 return ebl_openbackend ();
6650 rm -f conftest.
$ac_objext conftest
$ac_exeext
6651 if { (ac_try
="$ac_link"
6653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6654 *) ac_try_echo=$ac_try;;
6656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6657 (eval "$ac_link") 2>conftest.er1
6659 grep -v '^ *+' conftest.er1 >conftest.err
6661 cat conftest.err >&5
6662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6663 (exit $ac_status); } && {
6664 test -z "$ac_c_werror_flag" ||
6665 test ! -s conftest.err
6666 } && test -s conftest$ac_exeext &&
6667 $as_test_x conftest$ac_exeext; then
6668 ac_cv_lib_ebl_ebl_openbackend=yes
6670 echo "$as_me: failed program was:" >&5
6671 sed 's/^/| /' conftest.$ac_ext >&5
6673 ac_cv_lib_ebl_ebl_openbackend=no
6676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6677 conftest$ac_exeext conftest.$ac_ext
6678 LIBS=$ac_check_lib_save_LIBS
6680 { echo "$as_me:$LINENO: result: $ac_cv_lib_ebl_ebl_openbackend" >&5
6681 echo "${ECHO_T}$ac_cv_lib_ebl_ebl_openbackend" >&6; }
6682 if test $ac_cv_lib_ebl_ebl_openbackend = yes; then
6683 cat >>confdefs.h <<_ACEOF
6684 #define HAVE_LIBEBL 1
6691 { { echo "$as_me:$LINENO: error: missing elfutils development headers/libraries (ebl 0.123+)" >&5
6692 echo "$as_me: error: missing elfutils development headers/libraries (ebl 0.123+)" >&2;}
6693 { (exit 1); exit 1; }; }
6700 # We built our own and stap_LDFLAGS points at the install.
6701 stap_LIBS="-ldw -lebl"
6705 { echo "$as_me:$LINENO: stap will link $stap_LIBS" >&5
6706 echo "$as_me: stap will link $stap_LIBS" >&6;}
6708 date=`date +%Y-
%m-
%d
`
6710 cat >>confdefs.h <<_ACEOF
6711 #define DATE "$date"
6718 # This procflags business is for staprun/stapio, which need to
6719 # be compiled with the same bitness as the kernel. On e.g. PPC,
6720 # userspace might be 32-bit default, but staprun needs to be
6721 # 64-bit. See also bug #4037.
6723 processor=`uname
-p`
6724 case "$processor" in
6725 ppc64) PROCFLAGS=-m64 ;;
6726 x86_64) PROCFLAGS=-m64 ;;
6731 # -lcap is used for staprun, so PROCFLAGS comes in to play
6733 SAVE_CFLAGS="$CFLAGS"
6734 CFLAGS="$CFLAGS $PROCFLAGS"
6736 { echo "$as_me:$LINENO: checking for cap_init in -lcap" >&5
6737 echo $ECHO_N "checking for cap_init in -lcap... $ECHO_C" >&6; }
6738 if test "${ac_cv_lib_cap_cap_init+set}" = set; then
6739 echo $ECHO_N "(cached) $ECHO_C" >&6
6741 ac_check_lib_save_LIBS=$LIBS
6743 cat >conftest.$ac_ext <<_ACEOF
6746 cat confdefs.h >>conftest.$ac_ext
6747 cat >>conftest.$ac_ext <<_ACEOF
6748 /* end confdefs.h. */
6750 /* Override any GCC internal prototype to avoid an error.
6751 Use char because int might match the return type of a GCC
6752 builtin and then its argument prototype would still apply. */
6765 rm -f conftest.$ac_objext conftest$ac_exeext
6766 if { (ac_try="$ac_link"
6768 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6769 *) ac_try_echo
=$ac_try;;
6771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6772 (eval "$ac_link") 2>conftest.er1
6774 grep -v '^ *+' conftest.er1
>conftest.err
6776 cat conftest.err
>&5
6777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6778 (exit $ac_status); } && {
6779 test -z "$ac_c_werror_flag" ||
6780 test ! -s conftest.err
6781 } && test -s conftest
$ac_exeext &&
6782 $as_test_x conftest
$ac_exeext; then
6783 ac_cv_lib_cap_cap_init
=yes
6785 echo "$as_me: failed program was:" >&5
6786 sed 's/^/| /' conftest.
$ac_ext >&5
6788 ac_cv_lib_cap_cap_init
=no
6791 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6792 conftest
$ac_exeext conftest.
$ac_ext
6793 LIBS
=$ac_check_lib_save_LIBS
6795 { echo "$as_me:$LINENO: result: $ac_cv_lib_cap_cap_init" >&5
6796 echo "${ECHO_T}$ac_cv_lib_cap_cap_init" >&6; }
6797 if test $ac_cv_lib_cap_cap_init = yes; then
6798 cat >>confdefs.h
<<_ACEOF
6799 #define HAVE_LIBCAP 1
6805 { { echo "$as_me:$LINENO: error: need $PROCFLAGS -lcap" >&5
6806 echo "$as_me: error: need $PROCFLAGS -lcap" >&2;}
6807 { (exit 1); exit 1; }; }
6813 CFLAGS
="$SAVE_CFLAGS"
6815 if test -d $srcdir/.git
-a ! -f $srcdir/SNAPSHOT
; then
6816 snapshot
=`cd $srcdir; git-rev-list --abbrev-commit --max-count=1 HEAD`
6817 echo $snapshot > SNAPSHOT
6818 { echo "$as_me:$LINENO: Created git SNAPSHOT $snapshot" >&5
6819 echo "$as_me: Created git SNAPSHOT $snapshot" >&6;}
6822 ac_config_headers
="$ac_config_headers config.h:config.in"
6824 ac_config_files
="$ac_config_files Makefile doc/Makefile systemtap.spec stap.1 stapprobes.5 stapfuncs.5 stapex.5 staprun.8 man/stapprobes.iosched.5 man/stapprobes.netdev.5 man/stapprobes.nfs.5 man/stapprobes.nfsd.5 man/stapprobes.pagefault.5 man/stapprobes.process.5 man/stapprobes.rpc.5 man/stapprobes.scsi.5 man/stapprobes.signal.5 man/stapprobes.socket.5 man/stapprobes.tcp.5 man/stapprobes.udp.5"
6826 subdirs
="$subdirs testsuite"
6829 cat >confcache
<<\_ACEOF
6830 # This file is a shell script that caches the results of configure
6831 # tests run on this system so they can be shared between configure
6832 # scripts and configure runs, see configure's option --config-cache.
6833 # It is not useful on other systems. If it contains results you don't
6834 # want to keep, you may remove or edit it.
6836 # config.status only pays attention to the cache file if you give it
6837 # the --recheck option to rerun configure.
6839 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6840 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6845 # The following way of writing the cache mishandles newlines in values,
6846 # but we know of no workaround that is simple, portable, and efficient.
6847 # So, we kill variables containing newlines.
6848 # Ultrix sh set writes to stderr and can't be redirected directly,
6849 # and sets the high bit in the cache file unless we assign to the vars.
6851 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6852 eval ac_val
=\$
$ac_var
6856 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6857 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6860 _ | IFS | as_nl
) ;; #(
6861 *) $as_unset $ac_var ;;
6867 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6868 *${as_nl}ac_space
=\
*)
6869 # `set' does not quote correctly, so add quotes (double-quote
6870 # substitution turns \\\\ into \\, and sed turns \\ into \).
6873 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6876 # `set' quotes correctly as required by POSIX, so do not add quotes.
6877 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6886 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6888 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6890 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6891 if test -w "$cache_file"; then
6892 test "x$cache_file" != "x/dev/null" &&
6893 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
6894 echo "$as_me: updating cache $cache_file" >&6;}
6895 cat confcache
>$cache_file
6897 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6898 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6903 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6904 # Let make expand exec_prefix.
6905 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6907 DEFS
=-DHAVE_CONFIG_H
6911 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6912 # 1. Remove the extension, and $U if already installed.
6913 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6914 ac_i
=`echo "$ac_i" | sed "$ac_script"`
6915 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6916 # will be set to the directory where LIBOBJS objects are built.
6917 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6918 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6922 LTLIBOBJS
=$ac_ltlibobjs
6925 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6926 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
6927 Usually this means the macro was only invoked conditionally." >&5
6928 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
6929 Usually this means the macro was only invoked conditionally." >&2;}
6930 { (exit 1); exit 1; }; }
6932 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6933 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6934 Usually this means the macro was only invoked conditionally." >&5
6935 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6936 Usually this means the macro was only invoked conditionally." >&2;}
6937 { (exit 1); exit 1; }; }
6939 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6940 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6941 Usually this means the macro was only invoked conditionally." >&5
6942 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6943 Usually this means the macro was only invoked conditionally." >&2;}
6944 { (exit 1); exit 1; }; }
6946 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6947 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
6948 Usually this means the macro was only invoked conditionally." >&5
6949 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
6950 Usually this means the macro was only invoked conditionally." >&2;}
6951 { (exit 1); exit 1; }; }
6953 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6954 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6955 Usually this means the macro was only invoked conditionally." >&5
6956 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6957 Usually this means the macro was only invoked conditionally." >&2;}
6958 { (exit 1); exit 1; }; }
6960 if test -z "${BUILD_CRASHMOD_TRUE}" && test -z "${BUILD_CRASHMOD_FALSE}"; then
6961 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CRASHMOD\" was never defined.
6962 Usually this means the macro was only invoked conditionally." >&5
6963 echo "$as_me: error: conditional \"BUILD_CRASHMOD\" was never defined.
6964 Usually this means the macro was only invoked conditionally." >&2;}
6965 { (exit 1); exit 1; }; }
6967 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
6968 { { echo "$as_me:$LINENO: error: conditional \"BUILD_DOCS\" was never defined.
6969 Usually this means the macro was only invoked conditionally." >&5
6970 echo "$as_me: error: conditional \"BUILD_DOCS\" was never defined.
6971 Usually this means the macro was only invoked conditionally." >&2;}
6972 { (exit 1); exit 1; }; }
6974 if test -z "${BUILD_ELFUTILS_TRUE}" && test -z "${BUILD_ELFUTILS_FALSE}"; then
6975 { { echo "$as_me:$LINENO: error: conditional \"BUILD_ELFUTILS\" was never defined.
6976 Usually this means the macro was only invoked conditionally." >&5
6977 echo "$as_me: error: conditional \"BUILD_ELFUTILS\" was never defined.
6978 Usually this means the macro was only invoked conditionally." >&2;}
6979 { (exit 1); exit 1; }; }
6982 : ${CONFIG_STATUS=./config.status}
6983 ac_clean_files_save
=$ac_clean_files
6984 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6985 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6986 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6987 cat >$CONFIG_STATUS <<_ACEOF
6989 # Generated by $as_me.
6990 # Run this file to recreate the current configuration.
6991 # Compiler output produced by configure, useful for debugging
6992 # configure, is in config.log if it exists.
6997 SHELL=\${CONFIG_SHELL-$SHELL}
7000 cat >>$CONFIG_STATUS <<\_ACEOF
7001 ## --------------------- ##
7002 ## M4sh Initialization. ##
7003 ## --------------------- ##
7005 # Be more Bourne compatible
7006 DUALCASE
=1; export DUALCASE
# for MKS sh
7007 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7010 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7011 # is contrary to our usage. Disable this feature.
7012 alias -g '${1+"$@"}'='"$@"'
7013 setopt NO_GLOB_SUBST
7015 case `(set -o) 2>/dev/null` in
7016 *posix
*) set -o posix
;;
7025 # Avoid depending upon Character Ranges.
7026 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7027 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7028 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7029 as_cr_digits
='0123456789'
7030 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7032 # The user is always right.
7033 if test "${PATH_SEPARATOR+set}" != set; then
7034 echo "#! /bin/sh" >conf$$.sh
7035 echo "exit 0" >>conf$$.sh
7037 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7045 # Support unset when possible.
7046 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7054 # We need space, tab and new line, in precisely that order. Quoting is
7055 # there to prevent editors from complaining about space-tab.
7056 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7057 # splitting by setting IFS to empty value.)
7062 # Find who we are. Look in the path if we contain no directory separator.
7064 *[\\/]* ) as_myself
=$0 ;;
7065 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7069 test -z "$as_dir" && as_dir
=.
7070 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7076 # We did not find ourselves, most probably we were run as `sh COMMAND'
7077 # in which case we are not to be found in the path.
7078 if test "x$as_myself" = x
; then
7081 if test ! -f "$as_myself"; then
7082 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7083 { (exit 1); exit 1; }
7086 # Work around bugs in pre-3.0 UWIN ksh.
7087 for as_var
in ENV MAIL MAILPATH
7088 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
7096 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7097 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7098 LC_TELEPHONE LC_TIME
7100 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7101 eval $as_var=C
; export $as_var
7103 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
7107 # Required to use basename.
7108 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7109 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7115 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7116 as_basename
=basename
7122 # Name of the executable.
7123 as_me
=`$as_basename -- "$0" ||
7124 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7125 X"$0" : 'X\(//\)$' \| \
7126 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7128 sed '/^.*\/\([^/][^/]*\)\/*$/{
7149 test "x$as_lineno_1" != "x$as_lineno_2" &&
7150 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
7152 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7153 # uniformly replaced by the line number. The first 'sed' inserts a
7154 # line-number line after each line using $LINENO; the second 'sed'
7155 # does the real work. The second script uses 'N' to pair each
7156 # line-number line with the line containing $LINENO, and appends
7157 # trailing '-' during substitution so that $LINENO is not a special
7159 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7160 # scripts with optimization help from Paolo Bonzini. Blame Lee
7161 # E. McMahon (1931-1989) for sed's syntax. :-)
7173 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7177 chmod +x
"$as_me.lineno" ||
7178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7179 { (exit 1); exit 1; }; }
7181 # Don't try to exec as it changes $[0], causing all sort of problems
7182 # (the dirname of $[0] is not the place where we might find the
7183 # original and so on. Autoconf is especially sensitive to this).
7185 # Exit status is that of the last command.
7190 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7196 ECHO_C
= ECHO_N
= ECHO_T
=
7199 case `echo 'x\c'` in
7200 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7207 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7208 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7214 rm -f conf$$ conf$$.exe conf$$.
file
7215 if test -d conf$$.dir
; then
7216 rm -f conf$$.dir
/conf$$.
file
7222 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7224 # ... but there are two gotchas:
7225 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7226 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7227 # In both cases, we have to default to `cp -p'.
7228 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7230 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7235 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7236 rmdir conf$$.dir
2>/dev
/null
7238 if mkdir
-p .
2>/dev
/null
; then
7241 test -d .
/-p && rmdir .
/-p
7245 if test -x / >/dev
/null
2>&1; then
7248 if ls -dL / >/dev
/null
2>&1; then
7255 if test -d "$1"; then
7261 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
7262 ???[sx]*):;;*)false;;esac;fi
7266 as_executable_p
=$as_test_x
7268 # Sed expression to map a string onto a valid CPP name.
7269 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7271 # Sed expression to map a string onto a valid variable name.
7272 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7277 # Save the log message, to keep $[0] and so on meaningful, and to
7278 # report actual input values of CONFIG_FILES etc. instead of their
7279 # values after options handling.
7281 This file was extended by systemtap $as_me 0.6.1, which was
7282 generated by GNU Autoconf 2.61. Invocation command line was
7284 CONFIG_FILES = $CONFIG_FILES
7285 CONFIG_HEADERS = $CONFIG_HEADERS
7286 CONFIG_LINKS = $CONFIG_LINKS
7287 CONFIG_COMMANDS = $CONFIG_COMMANDS
7290 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7295 cat >>$CONFIG_STATUS <<_ACEOF
7296 # Files that config.status was made for.
7297 config_files="$ac_config_files"
7298 config_headers="$ac_config_headers"
7299 config_commands="$ac_config_commands"
7303 cat >>$CONFIG_STATUS <<\_ACEOF
7305 \`$as_me' instantiates files from templates according to the
7306 current configuration.
7308 Usage: $0 [OPTIONS] [FILE]...
7310 -h, --help print this help, then exit
7311 -V, --version print version number and configuration settings, then exit
7312 -q, --quiet do not print progress messages
7313 -d, --debug don't remove temporary files
7314 --recheck update $as_me by reconfiguring in the same conditions
7315 --file=FILE[:TEMPLATE]
7316 instantiate the configuration file FILE
7317 --header=FILE[:TEMPLATE]
7318 instantiate the configuration header FILE
7320 Configuration files:
7323 Configuration headers:
7326 Configuration commands:
7329 Report bugs to <bug-autoconf@gnu.org>."
7332 cat >>$CONFIG_STATUS <<_ACEOF
7334 systemtap config.status 0.6.1
7335 configured by $0, generated by GNU Autoconf 2.61,
7336 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7338 Copyright (C) 2006 Free Software Foundation, Inc.
7339 This config.status script is free software; the Free Software Foundation
7340 gives unlimited permission to copy, distribute and modify it."
7348 cat >>$CONFIG_STATUS <<\_ACEOF
7349 # If no file are specified by the user, then we need to provide default
7350 # value. By we need to know if files were specified by the user.
7356 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7357 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7368 # Handling of the options.
7369 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7371 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7372 echo "$ac_cs_version"; exit ;;
7373 --debug |
--debu |
--deb |
--de |
--d |
-d )
7375 --file |
--fil |
--fi |
--f )
7377 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7378 ac_need_defaults
=false
;;
7379 --header |
--heade |
--head |
--hea )
7381 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7382 ac_need_defaults
=false
;;
7384 # Conflict between --help and --header
7385 { echo "$as_me: error: ambiguous option: $1
7386 Try \`$0 --help' for more information." >&2
7387 { (exit 1); exit 1; }; };;
7388 --help |
--hel |
-h )
7389 echo "$ac_cs_usage"; exit ;;
7390 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7391 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7395 -*) { echo "$as_me: error: unrecognized option: $1
7396 Try \`$0 --help' for more information." >&2
7397 { (exit 1); exit 1; }; } ;;
7399 *) ac_config_targets
="$ac_config_targets $1"
7400 ac_need_defaults
=false
;;
7406 ac_configure_extra_args
=
7408 if $ac_cs_silent; then
7410 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7414 cat >>$CONFIG_STATUS <<_ACEOF
7415 if \$ac_cs_recheck; then
7416 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7419 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7423 cat >>$CONFIG_STATUS <<\_ACEOF
7427 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7428 ## Running $as_me. ##
7434 cat >>$CONFIG_STATUS <<_ACEOF
7438 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7442 cat >>$CONFIG_STATUS <<\_ACEOF
7444 # Handling of arguments.
7445 for ac_config_target
in $ac_config_targets
7447 case $ac_config_target in
7448 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7449 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
7450 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7451 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
7452 "systemtap.spec") CONFIG_FILES
="$CONFIG_FILES systemtap.spec" ;;
7453 "stap.1") CONFIG_FILES
="$CONFIG_FILES stap.1" ;;
7454 "stapprobes.5") CONFIG_FILES
="$CONFIG_FILES stapprobes.5" ;;
7455 "stapfuncs.5") CONFIG_FILES
="$CONFIG_FILES stapfuncs.5" ;;
7456 "stapex.5") CONFIG_FILES
="$CONFIG_FILES stapex.5" ;;
7457 "staprun.8") CONFIG_FILES
="$CONFIG_FILES staprun.8" ;;
7458 "man/stapprobes.iosched.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.iosched.5" ;;
7459 "man/stapprobes.netdev.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.netdev.5" ;;
7460 "man/stapprobes.nfs.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.nfs.5" ;;
7461 "man/stapprobes.nfsd.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.nfsd.5" ;;
7462 "man/stapprobes.pagefault.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.pagefault.5" ;;
7463 "man/stapprobes.process.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.process.5" ;;
7464 "man/stapprobes.rpc.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.rpc.5" ;;
7465 "man/stapprobes.scsi.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.scsi.5" ;;
7466 "man/stapprobes.signal.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.signal.5" ;;
7467 "man/stapprobes.socket.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.socket.5" ;;
7468 "man/stapprobes.tcp.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.tcp.5" ;;
7469 "man/stapprobes.udp.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.udp.5" ;;
7471 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7472 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7473 { (exit 1); exit 1; }; };;
7478 # If the user did not use the arguments to specify the items to instantiate,
7479 # then the envvar interface is used. Set only those that are not.
7480 # We use the long form for the default assignment because of an extremely
7481 # bizarre bug on SunOS 4.1.3.
7482 if $ac_need_defaults; then
7483 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7484 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7485 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7488 # Have a temporary directory for convenience. Make it in the build tree
7489 # simply because there is no reason against having it here, and in addition,
7490 # creating and moving files from /tmp can sometimes cause problems.
7491 # Hook for its removal unless debugging.
7492 # Note that there is a small window in which the directory will not be cleaned:
7493 # after its creation but before its name has been assigned to `$tmp'.
7497 trap 'exit_status=$?
7498 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7500 trap '{ (exit 1); exit 1; }' 1 2 13 15
7502 # Create a (secure) tmp directory for tmp files.
7505 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7506 test -n "$tmp" && test -d "$tmp"
7509 tmp
=.
/conf$$
-$RANDOM
7510 (umask 077 && mkdir
"$tmp")
7513 echo "$me: cannot create a temporary directory in ." >&2
7514 { (exit 1); exit 1; }
7518 # Set up the sed scripts for CONFIG_FILES section.
7521 # No need to generate the scripts if there are no CONFIG_FILES.
7522 # This happens for instance when ./config.status config.h
7523 if test -n "$CONFIG_FILES"; then
7530 for ac_last_try
in false false false false false
:; do
7531 cat >conf$
$subs.
sed <<_ACEOF
7532 SHELL!$SHELL$ac_delim
7533 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
7534 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
7535 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
7536 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
7537 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
7538 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
7539 exec_prefix!$exec_prefix$ac_delim
7540 prefix!$prefix$ac_delim
7541 program_transform_name!$program_transform_name$ac_delim
7542 bindir!$bindir$ac_delim
7543 sbindir!$sbindir$ac_delim
7544 libexecdir!$libexecdir$ac_delim
7545 datarootdir!$datarootdir$ac_delim
7546 datadir!$datadir$ac_delim
7547 sysconfdir!$sysconfdir$ac_delim
7548 sharedstatedir!$sharedstatedir$ac_delim
7549 localstatedir!$localstatedir$ac_delim
7550 includedir!$includedir$ac_delim
7551 oldincludedir!$oldincludedir$ac_delim
7552 docdir!$docdir$ac_delim
7553 infodir!$infodir$ac_delim
7554 htmldir!$htmldir$ac_delim
7555 dvidir!$dvidir$ac_delim
7556 pdfdir!$pdfdir$ac_delim
7557 psdir!$psdir$ac_delim
7558 libdir!$libdir$ac_delim
7559 localedir!$localedir$ac_delim
7560 mandir!$mandir$ac_delim
7562 ECHO_C!$ECHO_C$ac_delim
7563 ECHO_N!$ECHO_N$ac_delim
7564 ECHO_T!$ECHO_T$ac_delim
7566 build_alias!$build_alias$ac_delim
7567 host_alias!$host_alias$ac_delim
7568 target_alias!$target_alias$ac_delim
7569 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
7570 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
7571 INSTALL_DATA!$INSTALL_DATA$ac_delim
7572 am__isrc!$am__isrc$ac_delim
7573 CYGPATH_W!$CYGPATH_W$ac_delim
7574 PACKAGE!$PACKAGE$ac_delim
7575 VERSION!$VERSION$ac_delim
7576 ACLOCAL!$ACLOCAL$ac_delim
7577 AUTOCONF!$AUTOCONF$ac_delim
7578 AUTOMAKE!$AUTOMAKE$ac_delim
7579 AUTOHEADER!$AUTOHEADER$ac_delim
7580 MAKEINFO!$MAKEINFO$ac_delim
7581 install_sh!$install_sh$ac_delim
7582 STRIP!$STRIP$ac_delim
7583 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
7584 mkdir_p!$mkdir_p$ac_delim
7586 SET_MAKE!$SET_MAKE$ac_delim
7587 am__leading_dot!$am__leading_dot$ac_delim
7588 AMTAR!$AMTAR$ac_delim
7589 am__tar!$am__tar$ac_delim
7590 am__untar!$am__untar$ac_delim
7591 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
7592 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
7593 MAINT!$MAINT$ac_delim
7596 CFLAGS!$CFLAGS$ac_delim
7597 LDFLAGS!$LDFLAGS$ac_delim
7598 CPPFLAGS!$CPPFLAGS$ac_delim
7599 ac_ct_CC!$ac_ct_CC$ac_delim
7600 EXEEXT!$EXEEXT$ac_delim
7601 OBJEXT!$OBJEXT$ac_delim
7602 DEPDIR!$DEPDIR$ac_delim
7603 am__include!$am__include$ac_delim
7604 am__quote!$am__quote$ac_delim
7605 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
7606 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
7607 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
7608 CCDEPMODE!$CCDEPMODE$ac_delim
7609 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
7610 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
7612 CXXFLAGS!$CXXFLAGS$ac_delim
7613 ac_ct_CXX!$ac_ct_CXX$ac_delim
7614 CXXDEPMODE!$CXXDEPMODE$ac_delim
7615 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
7616 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
7619 EGREP!$EGREP$ac_delim
7621 ANSI2KNR!$ANSI2KNR$ac_delim
7622 RANLIB!$RANLIB$ac_delim
7623 sqlite3_LIBS!$sqlite3_LIBS$ac_delim
7624 staplog_CPPFLAGS!$staplog_CPPFLAGS$ac_delim
7625 BUILD_CRASHMOD_TRUE!$BUILD_CRASHMOD_TRUE$ac_delim
7626 BUILD_CRASHMOD_FALSE!$BUILD_CRASHMOD_FALSE$ac_delim
7627 have_latex!$have_latex$ac_delim
7628 have_dvips!$have_dvips$ac_delim
7631 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
7633 elif $ac_last_try; then
7634 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7635 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7636 { (exit 1); exit 1; }; }
7638 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
7642 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7643 if test -n "$ac_eof"; then
7644 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
7645 ac_eof
=`expr $ac_eof + 1`
7648 cat >>$CONFIG_STATUS <<_ACEOF
7649 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7650 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7653 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7654 s/^/s,@/; s/!/@,|#_!!_#|/
7657 s/'"$ac_delim"'$/,g/; t
7659 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7660 ' >>$CONFIG_STATUS <conf$
$subs.
sed
7661 rm -f conf$
$subs.
sed
7662 cat >>$CONFIG_STATUS <<_ACEOF
7668 for ac_last_try
in false false false false false
:; do
7669 cat >conf$
$subs.
sed <<_ACEOF
7670 have_ps2pdf!$have_ps2pdf$ac_delim
7671 have_latex2html!$have_latex2html$ac_delim
7672 BUILD_DOCS_TRUE!$BUILD_DOCS_TRUE$ac_delim
7673 BUILD_DOCS_FALSE!$BUILD_DOCS_FALSE$ac_delim
7674 BUILD_ELFUTILS_TRUE!$BUILD_ELFUTILS_TRUE$ac_delim
7675 BUILD_ELFUTILS_FALSE!$BUILD_ELFUTILS_FALSE$ac_delim
7676 elfutils_abs_srcdir!$elfutils_abs_srcdir$ac_delim
7677 stap_LIBS!$stap_LIBS$ac_delim
7679 PROCFLAGS!$PROCFLAGS$ac_delim
7680 cap_LIBS!$cap_LIBS$ac_delim
7681 subdirs!$subdirs$ac_delim
7682 LIBOBJS!$LIBOBJS$ac_delim
7683 LTLIBOBJS!$LTLIBOBJS$ac_delim
7686 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 14; then
7688 elif $ac_last_try; then
7689 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7690 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7691 { (exit 1); exit 1; }; }
7693 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
7697 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7698 if test -n "$ac_eof"; then
7699 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
7700 ac_eof
=`expr $ac_eof + 1`
7703 cat >>$CONFIG_STATUS <<_ACEOF
7704 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
7705 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7708 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7709 s/^/s,@/; s/!/@,|#_!!_#|/
7712 s/'"$ac_delim"'$/,g/; t
7714 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7715 ' >>$CONFIG_STATUS <conf$
$subs.
sed
7716 rm -f conf$
$subs.
sed
7717 cat >>$CONFIG_STATUS <<_ACEOF
7724 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7725 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7726 # trailing colons and then remove the whole line if VPATH becomes empty
7727 # (actually we leave an empty line to preserve line numbers).
7728 if test "x$srcdir" = x.
; then
7729 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7733 s/^\([^=]*=[ ]*\):*/\1/
7739 cat >>$CONFIG_STATUS <<\_ACEOF
7740 fi # test -n "$CONFIG_FILES"
7743 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
7746 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7748 case $ac_mode$ac_tag in
7750 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7751 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
7752 { (exit 1); exit 1; }; };;
7753 :[FH
]-) ac_tag
=-:-;;
7754 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7771 -) ac_f
="$tmp/stdin";;
7772 *) # Look for the file first in the build tree, then in the source tree
7773 # (if the path is not absolute). The absolute path cannot be DOS-style,
7774 # because $ac_f cannot contain `:'.
7778 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7780 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7781 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7782 { (exit 1); exit 1; }; };;
7784 ac_file_inputs
="$ac_file_inputs $ac_f"
7787 # Let's still pretend it is `configure' which instantiates (i.e., don't
7788 # use $as_me), people would be surprised to read:
7789 # /* config.h. Generated by config.status. */
7790 configure_input
="Generated from "`IFS=:
7791 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7792 if test x
"$ac_file" != x-
; then
7793 configure_input
="$ac_file. $configure_input"
7794 { echo "$as_me:$LINENO: creating $ac_file" >&5
7795 echo "$as_me: creating $ac_file" >&6;}
7799 *:-:* |
*:-) cat >"$tmp/stdin";;
7804 ac_dir
=`$as_dirname -- "$ac_file" ||
7805 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7806 X"$ac_file" : 'X\(//\)[^/]' \| \
7807 X"$ac_file" : 'X\(//\)$' \| \
7808 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7810 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7829 -*) as_dir
=.
/$as_dir;;
7831 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
7835 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7836 *) as_qdir
=$as_dir;;
7838 as_dirs
="'$as_qdir' $as_dirs"
7839 as_dir
=`$as_dirname -- "$as_dir" ||
7840 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7841 X"$as_dir" : 'X\(//\)[^/]' \| \
7842 X"$as_dir" : 'X\(//\)$' \| \
7843 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7862 test -d "$as_dir" && break
7864 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7865 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7866 echo "$as_me: error: cannot create directory $as_dir" >&2;}
7867 { (exit 1); exit 1; }; }; }
7871 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7873 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7874 # A ".." for each directory in $ac_dir_suffix.
7875 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7876 case $ac_top_builddir_sub in
7877 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7878 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7881 ac_abs_top_builddir
=$ac_pwd
7882 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7883 # for backward compatibility:
7884 ac_top_builddir
=$ac_top_build_prefix
7887 .
) # We are building in place.
7889 ac_top_srcdir
=$ac_top_builddir_sub
7890 ac_abs_top_srcdir
=$ac_pwd ;;
7891 [\\/]* | ?
:[\\/]* ) # Absolute name.
7892 ac_srcdir
=$srcdir$ac_dir_suffix;
7893 ac_top_srcdir
=$srcdir
7894 ac_abs_top_srcdir
=$srcdir ;;
7896 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7897 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7898 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7900 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7910 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7911 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7915 [\\/$
]* | ?
:[\\/]* ) ;;
7916 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
7920 cat >>$CONFIG_STATUS <<\_ACEOF
7921 # If the template does not know about datarootdir, expand it.
7922 # FIXME: This hack should be removed a few years after 2.60.
7923 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7925 case `sed -n '/datarootdir/ {
7934 ' $ac_file_inputs` in
7935 *datarootdir
*) ac_datarootdir_seen
=yes;;
7936 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7937 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7938 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7940 cat >>$CONFIG_STATUS <<_ACEOF
7941 ac_datarootdir_hack='
7942 s&@datadir@&$datadir&g
7943 s&@docdir@&$docdir&g
7944 s&@infodir@&$infodir&g
7945 s&@localedir@&$localedir&g
7946 s&@mandir@&$mandir&g
7947 s&\\\${datarootdir}&$datarootdir&g' ;;
7951 # Neutralize VPATH when `$srcdir' = `.'.
7952 # Shell code in configure.ac might set extrasub.
7953 # FIXME: do we really want to maintain this feature?
7954 cat >>$CONFIG_STATUS <<_ACEOF
7958 cat >>$CONFIG_STATUS <<\_ACEOF
7960 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7961 s
&@configure_input@
&$configure_input&;t t
7962 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7963 s
&@srcdir@
&$ac_srcdir&;t t
7964 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7965 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7966 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7967 s
&@builddir@
&$ac_builddir&;t t
7968 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7969 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7970 s
&@INSTALL@
&$ac_INSTALL&;t t
7971 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
7972 $ac_datarootdir_hack
7973 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
7975 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7976 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
7977 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
7978 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7979 which seems to be undefined. Please make sure it is defined." >&5
7980 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7981 which seems to be undefined. Please make sure it is defined." >&2;}
7985 -) cat "$tmp/out"; rm -f "$tmp/out";;
7986 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
7995 # Transform confdefs.h into a sed script `conftest.defines', that
7996 # substitutes the proper values into config.h.in to produce config.h.
7997 rm -f conftest.defines conftest.
tail
7998 # First, append a space to every undef/define line, to ease matching.
7999 echo 's/$/ /' >conftest.defines
8000 # Then, protect against being on the right side of a sed subst, or in
8001 # an unquoted here document, in config.status. If some macros were
8002 # called several times there might be several #defines for the same
8003 # symbol, which is useless. But do not sort them, since the last
8004 # AC_DEFINE must be honored.
8005 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
8006 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
8007 # NAME is the cpp macro being defined, VALUE is the value it is being given.
8008 # PARAMS is the parameter list in the macro definition--in most cases, it's
8009 # just an empty string.
8010 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
8011 ac_dB
='\\)[ (].*,\\1define\\2'
8019 s/^[ ]*#[ ]*define[ ][ ]*//
8024 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
8025 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
8026 ' >>conftest.defines
8028 # Remove the space that was appended to ease matching.
8029 # Then replace #undef with comments. This is necessary, for
8030 # example, in the case of _POSIX_SOURCE, which is predefined and required
8031 # on some systems where configure will not decide to define it.
8032 # (The regexp can be short, since the line contains either #define or #undef.)
8034 s,^[ #]*u.*,/* & */,' >>conftest.defines
8036 # Break up conftest.defines:
8039 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
8040 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
8041 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
8043 ac_in
='$ac_file_inputs'
8044 ac_out
='"$tmp/out1"'
8045 ac_nxt
='"$tmp/out2"'
8049 # Write a here document:
8050 cat >>$CONFIG_STATUS <<_ACEOF
8051 # First, check the format of the line:
8052 cat >"\$tmp/defines.sed" <<\\CEOF
8053 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
8054 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
8058 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
8060 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
8061 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
8062 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
8063 grep . conftest.
tail >/dev
/null ||
break
8064 rm -f conftest.defines
8065 mv conftest.
tail conftest.defines
8067 rm -f conftest.defines conftest.
tail
8069 echo "ac_result=$ac_in" >>$CONFIG_STATUS
8070 cat >>$CONFIG_STATUS <<\_ACEOF
8071 if test x
"$ac_file" != x-
; then
8072 echo "/* $configure_input */" >"$tmp/config.h"
8073 cat "$ac_result" >>"$tmp/config.h"
8074 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
8075 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8076 echo "$as_me: $ac_file is unchanged" >&6;}
8079 mv "$tmp/config.h" $ac_file
8082 echo "/* $configure_input */"
8086 # Compute $ac_file's index in $config_headers.
8088 for _am_header
in $config_headers :; do
8090 $ac_file |
$ac_file:* )
8093 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8096 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
8097 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8098 X$ac_file : 'X\(//\)[^/]' \| \
8099 X$ac_file : 'X\(//\)$' \| \
8100 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
8102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8118 s/.*/./; q'`/stamp-h
$_am_stamp_count
8121 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
8122 echo "$as_me: executing $ac_file commands" >&6;}
8127 case $ac_file$ac_mode in
8128 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
8129 # Strip MF so we end up with the name of the file.
8130 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8131 # Check whether this is an Automake generated Makefile or not.
8132 # We used to match only the files named `Makefile.in', but
8133 # some people rename them; so instead we look at the file content.
8134 # Grep'ing the first line is not enough: some people post-process
8135 # each Makefile.in and add a new line on top of each file to say so.
8136 # Grep'ing the whole file is not good either: AIX grep has a line
8137 # limit of 2048, but all sed's we know have understand at least 4000.
8138 if sed 10q
"$mf" |
grep '^#.*generated by automake' > /dev
/null
2>&1; then
8139 dirpart
=`$as_dirname -- "$mf" ||
8140 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8141 X"$mf" : 'X\(//\)[^/]' \| \
8142 X"$mf" : 'X\(//\)$' \| \
8143 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8145 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8165 # Extract the definition of DEPDIR, am__include, and am__quote
8166 # from the Makefile without running `make'.
8167 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8168 test -z "$DEPDIR" && continue
8169 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8170 test -z "am__include" && continue
8171 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8172 # When using ansi2knr, U may be empty or an underscore; expand it
8173 U
=`sed -n 's/^U = //p' < "$mf"`
8174 # Find all dependency output files, they are included files with
8175 # $(DEPDIR) in their names. We invoke sed twice because it is the
8176 # simplest approach to changing $(DEPDIR) to its actual value in the
8178 for file in `sed -n "
8179 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8180 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8181 # Make sure the directory exists.
8182 test -f "$dirpart/$file" && continue
8183 fdir
=`$as_dirname -- "$file" ||
8184 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8185 X"$file" : 'X\(//\)[^/]' \| \
8186 X"$file" : 'X\(//\)$' \| \
8187 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8206 { as_dir
=$dirpart/$fdir
8208 -*) as_dir
=.
/$as_dir;;
8210 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
8214 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8215 *) as_qdir
=$as_dir;;
8217 as_dirs
="'$as_qdir' $as_dirs"
8218 as_dir
=`$as_dirname -- "$as_dir" ||
8219 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8220 X"$as_dir" : 'X\(//\)[^/]' \| \
8221 X"$as_dir" : 'X\(//\)$' \| \
8222 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8241 test -d "$as_dir" && break
8243 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8244 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8245 echo "$as_me: error: cannot create directory $as_dir" >&2;}
8246 { (exit 1); exit 1; }; }; }
8247 # echo "creating $dirpart/$file"
8248 echo '# dummy' > "$dirpart/$file"
8257 { (exit 0); exit 0; }
8259 chmod +x
$CONFIG_STATUS
8260 ac_clean_files
=$ac_clean_files_save
8263 # configure is writing to config.log, and then calls config.status.
8264 # config.status does its own redirection, appending to config.log.
8265 # Unfortunately, on DOS this fails, as config.log is still kept open
8266 # by configure, so config.status won't be able to write to it; its
8267 # output is simply discarded. So we exec the FD to /dev/null,
8268 # effectively closing config.log, so it can be properly (re)opened and
8269 # appended to by config.status. When coming back to configure, we
8270 # need to make the FD available again.
8271 if test "$no_create" != yes; then
8273 ac_config_status_args
=
8274 test "$silent" = yes &&
8275 ac_config_status_args
="$ac_config_status_args --quiet"
8277 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8279 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8280 # would make configure fail if this is the last instruction.
8281 $ac_cs_success ||
{ (exit 1); exit 1; }
8285 # CONFIG_SUBDIRS section.
8287 if test "$no_recursion" != yes; then
8289 # Remove --cache-file and --srcdir arguments so they do not pile up.
8290 ac_sub_configure_args
=
8292 eval "set x $ac_configure_args"
8296 if test -n "$ac_prev"; then
8301 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
8302 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
8303 ac_prev
=cache_file
;;
8304 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
8305 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
8308 --config-cache |
-C)
8310 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
8312 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
8314 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
8316 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
8320 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8322 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
8326 # Always prepend --prefix to ensure using the same prefix
8327 # in subdir configurations.
8328 ac_arg
="--prefix=$prefix"
8330 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8332 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
8335 if test "$silent" = yes; then
8336 ac_sub_configure_args
="--silent $ac_sub_configure_args"
8340 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
8342 # Do not complain, so a configure script can configure whichever
8343 # parts of a large source tree are present.
8344 test -d "$srcdir/$ac_dir" ||
continue
8346 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
8347 echo "$as_me:$LINENO: $ac_msg" >&5
8351 -*) as_dir
=.
/$as_dir;;
8353 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
8357 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8358 *) as_qdir
=$as_dir;;
8360 as_dirs
="'$as_qdir' $as_dirs"
8361 as_dir
=`$as_dirname -- "$as_dir" ||
8362 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8363 X"$as_dir" : 'X\(//\)[^/]' \| \
8364 X"$as_dir" : 'X\(//\)$' \| \
8365 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8367 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8384 test -d "$as_dir" && break
8386 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8387 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8388 echo "$as_me: error: cannot create directory $as_dir" >&2;}
8389 { (exit 1); exit 1; }; }; }
8393 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8395 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8396 # A ".." for each directory in $ac_dir_suffix.
8397 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
8398 case $ac_top_builddir_sub in
8399 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8400 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8403 ac_abs_top_builddir
=$ac_pwd
8404 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8405 # for backward compatibility:
8406 ac_top_builddir
=$ac_top_build_prefix
8409 .
) # We are building in place.
8411 ac_top_srcdir
=$ac_top_builddir_sub
8412 ac_abs_top_srcdir
=$ac_pwd ;;
8413 [\\/]* | ?
:[\\/]* ) # Absolute name.
8414 ac_srcdir
=$srcdir$ac_dir_suffix;
8415 ac_top_srcdir
=$srcdir
8416 ac_abs_top_srcdir
=$srcdir ;;
8418 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8419 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8420 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8422 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8427 # Check for guested configure; otherwise get Cygnus style configure.
8428 if test -f "$ac_srcdir/configure.gnu"; then
8429 ac_sub_configure
=$ac_srcdir/configure.gnu
8430 elif test -f "$ac_srcdir/configure"; then
8431 ac_sub_configure
=$ac_srcdir/configure
8432 elif test -f "$ac_srcdir/configure.in"; then
8433 # This should be Cygnus configure.
8434 ac_sub_configure
=$ac_aux_dir/configure
8436 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
8437 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
8441 # The recursion is here.
8442 if test -n "$ac_sub_configure"; then
8443 # Make the cache file name correct relative to the subdirectory.
8445 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
8447 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
8450 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
8451 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
8452 # The eval makes quoting arguments work.
8453 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
8454 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
8455 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
8456 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
8457 { (exit 1); exit 1; }; }
8465 if test $build_elfutils = yes; then
8466 case "$with_elfutils" in
8467 /*) elfutils_srcdir
="$with_elfutils" ;;
8468 *) elfutils_srcdir
="../$with_elfutils" ;;
8470 { echo "$as_me:$LINENO: running ${elfutils_srcdir}/configure" >&5
8471 echo "$as_me: running ${elfutils_srcdir}/configure" >&6;}
8472 # Our libdw.so's libebl will look in $ORIGIN/../lib/... but that
8473 # $ORIGIN is where libdw.so resides, which is not where there is a ../lib.
8474 # Note that $libdir might be using a quoted use of $exec_prefix or $prefix.
8475 # So we must make sure to pass those settings to elfutils configure.
8476 elfutils_rpath
="-Wl,--enable-new-dtags,-rpath,${libdir}/${PACKAGE_NAME}"
8478 (mkdir
-p build-elfutils
&& cd build-elfutils
&&
8479 ${elfutils_srcdir}/configure
--enable-libebl-subdir=${PACKAGE_NAME} \
8480 --includedir="${here}/include-elfutils" \
8481 --libdir="${here}/lib-elfutils" \
8482 --exec-prefix="$exec_prefix" \
8483 --prefix="$prefix" \
8484 CFLAGS
="${CFLAGS/-Wall/}" \
8485 LDFLAGS
="$LDFLAGS $elfutils_rpath"