2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for systemtap 0.7.
5 # Report bugs to <systemtap@sources.redhat.com>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev
/null
6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix
=/usr
/local
566 ac_config_libobj_dir
=.
572 SHELL
=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME
='systemtap'
576 PACKAGE_TARNAME
='systemtap'
577 PACKAGE_VERSION
='0.7'
578 PACKAGE_STRING
='systemtap 0.7'
579 PACKAGE_BUGREPORT
='systemtap@sources.redhat.com'
581 # Factoring default headers for most tests.
582 ac_includes_default
="\
584 #ifdef HAVE_SYS_TYPES_H
585 # include <sys/types.h>
587 #ifdef HAVE_SYS_STAT_H
588 # include <sys/stat.h>
594 # ifdef HAVE_STDLIB_H
599 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
604 #ifdef HAVE_STRINGS_H
605 # include <strings.h>
607 #ifdef HAVE_INTTYPES_H
608 # include <inttypes.h>
626 program_transform_name
668 INSTALL_STRIP_PROGRAM
677 MAINTAINER_MODE_FALSE
730 ac_precious_vars
='build_alias
742 ac_subdirs_all
='testsuite'
744 # Initialize some variables set by options.
746 ac_init_version
=false
747 # The variables have the same names as the options, with
748 # dashes changed to underlines.
756 program_transform_name
=s
,x
,x
,
764 # Installation directory options.
765 # These are left unexpanded so users can "make install exec_prefix=/foo"
766 # and all the variables that are supposed to be based on exec_prefix
767 # by default will actually change.
768 # Use braces instead of parens because sh, perl, etc. also accept them.
769 # (The list follows the same order as the GNU Coding Standards.)
770 bindir
='${exec_prefix}/bin'
771 sbindir
='${exec_prefix}/sbin'
772 libexecdir
='${exec_prefix}/libexec'
773 datarootdir
='${prefix}/share'
774 datadir
='${datarootdir}'
775 sysconfdir
='${prefix}/etc'
776 sharedstatedir
='${prefix}/com'
777 localstatedir
='${prefix}/var'
778 includedir
='${prefix}/include'
779 oldincludedir
='/usr/include'
780 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
781 infodir
='${datarootdir}/info'
786 libdir
='${exec_prefix}/lib'
787 localedir
='${datarootdir}/locale'
788 mandir
='${datarootdir}/man'
794 # If the previous option needs an argument, assign it.
795 if test -n "$ac_prev"; then
796 eval $ac_prev=\
$ac_option
802 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
806 # Accept the important Cygnus configure options, so we can diagnose typos.
808 case $ac_dashdash$ac_option in
812 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
814 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
817 -build |
--build |
--buil |
--bui |
--bu)
818 ac_prev
=build_alias
;;
819 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
820 build_alias
=$ac_optarg ;;
822 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
823 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
824 ac_prev
=cache_file
;;
825 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
826 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
827 cache_file
=$ac_optarg ;;
830 cache_file
=config.cache
;;
832 -datadir |
--datadir |
--datadi |
--datad)
834 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
835 datadir
=$ac_optarg ;;
837 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
838 |
--dataroo |
--dataro |
--datar)
839 ac_prev
=datarootdir
;;
840 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
841 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
842 datarootdir
=$ac_optarg ;;
844 -disable-* |
--disable-*)
845 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
846 # Reject names that are not valid shell variable names.
847 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
848 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
849 { (exit 1); exit 1; }; }
850 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
851 eval enable_
$ac_feature=no
;;
853 -docdir |
--docdir |
--docdi |
--doc |
--do)
855 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
858 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
860 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
863 -enable-* |
--enable-*)
864 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
865 # Reject names that are not valid shell variable names.
866 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
867 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
868 { (exit 1); exit 1; }; }
869 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
870 eval enable_
$ac_feature=\
$ac_optarg ;;
872 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
873 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
874 |
--exec |
--exe |
--ex)
875 ac_prev
=exec_prefix
;;
876 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
877 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
878 |
--exec=* |
--exe=* |
--ex=*)
879 exec_prefix
=$ac_optarg ;;
881 -gas |
--gas |
--ga |
--g)
882 # Obsolete; use --with-gas.
885 -help |
--help |
--hel |
--he |
-h)
887 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
888 ac_init_help
=recursive
;;
889 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
890 ac_init_help
=short
;;
892 -host |
--host |
--hos |
--ho)
893 ac_prev
=host_alias
;;
894 -host=* |
--host=* |
--hos=* |
--ho=*)
895 host_alias
=$ac_optarg ;;
897 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
899 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
901 htmldir
=$ac_optarg ;;
903 -includedir |
--includedir |
--includedi |
--included |
--include \
904 |
--includ |
--inclu |
--incl |
--inc)
905 ac_prev
=includedir
;;
906 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
907 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
908 includedir
=$ac_optarg ;;
910 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
912 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
913 infodir
=$ac_optarg ;;
915 -libdir |
--libdir |
--libdi |
--libd)
917 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
920 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
921 |
--libexe |
--libex |
--libe)
922 ac_prev
=libexecdir
;;
923 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
924 |
--libexe=* |
--libex=* |
--libe=*)
925 libexecdir
=$ac_optarg ;;
927 -localedir |
--localedir |
--localedi |
--localed |
--locale)
929 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
930 localedir
=$ac_optarg ;;
932 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
933 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
934 ac_prev
=localstatedir
;;
935 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
936 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
937 localstatedir
=$ac_optarg ;;
939 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
941 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
945 # Obsolete; use --without-fp.
948 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
949 |
--no-cr |
--no-c |
-n)
952 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
953 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
956 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
957 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
958 |
--oldin |
--oldi |
--old |
--ol |
--o)
959 ac_prev
=oldincludedir
;;
960 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
961 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
962 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
963 oldincludedir
=$ac_optarg ;;
965 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
967 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
970 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
971 |
--program-pre |
--program-pr |
--program-p)
972 ac_prev
=program_prefix
;;
973 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
974 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
975 program_prefix
=$ac_optarg ;;
977 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
978 |
--program-suf |
--program-su |
--program-s)
979 ac_prev
=program_suffix
;;
980 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
981 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
982 program_suffix
=$ac_optarg ;;
984 -program-transform-name |
--program-transform-name \
985 |
--program-transform-nam |
--program-transform-na \
986 |
--program-transform-n |
--program-transform- \
987 |
--program-transform |
--program-transfor \
988 |
--program-transfo |
--program-transf \
989 |
--program-trans |
--program-tran \
990 |
--progr-tra |
--program-tr |
--program-t)
991 ac_prev
=program_transform_name
;;
992 -program-transform-name=* |
--program-transform-name=* \
993 |
--program-transform-nam=* |
--program-transform-na=* \
994 |
--program-transform-n=* |
--program-transform-=* \
995 |
--program-transform=* |
--program-transfor=* \
996 |
--program-transfo=* |
--program-transf=* \
997 |
--program-trans=* |
--program-tran=* \
998 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
999 program_transform_name
=$ac_optarg ;;
1001 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1003 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1004 pdfdir
=$ac_optarg ;;
1006 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1008 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1011 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1012 |
-silent |
--silent |
--silen |
--sile |
--sil)
1015 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1017 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1019 sbindir
=$ac_optarg ;;
1021 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1022 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1023 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1025 ac_prev
=sharedstatedir
;;
1026 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1027 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1028 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1030 sharedstatedir
=$ac_optarg ;;
1032 -site |
--site |
--sit)
1034 -site=* |
--site=* |
--sit=*)
1037 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1039 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1040 srcdir
=$ac_optarg ;;
1042 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1043 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1044 ac_prev
=sysconfdir
;;
1045 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1046 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1047 sysconfdir
=$ac_optarg ;;
1049 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1050 ac_prev
=target_alias
;;
1051 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1052 target_alias
=$ac_optarg ;;
1054 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1057 -version |
--version |
--versio |
--versi |
--vers |
-V)
1058 ac_init_version
=: ;;
1061 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1062 # Reject names that are not valid shell variable names.
1063 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1064 { echo "$as_me: error: invalid package name: $ac_package" >&2
1065 { (exit 1); exit 1; }; }
1066 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1067 eval with_
$ac_package=\
$ac_optarg ;;
1069 -without-* |
--without-*)
1070 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1071 # Reject names that are not valid shell variable names.
1072 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1073 { echo "$as_me: error: invalid package name: $ac_package" >&2
1074 { (exit 1); exit 1; }; }
1075 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1076 eval with_
$ac_package=no
;;
1079 # Obsolete; use --with-x.
1082 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1083 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1084 ac_prev
=x_includes
;;
1085 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1086 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1087 x_includes
=$ac_optarg ;;
1089 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1090 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1091 ac_prev
=x_libraries
;;
1092 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1093 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1094 x_libraries
=$ac_optarg ;;
1096 -*) { echo "$as_me: error: unrecognized option: $ac_option
1097 Try \`$0 --help' for more information." >&2
1098 { (exit 1); exit 1; }; }
1102 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1103 # Reject names that are not valid shell variable names.
1104 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1105 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1106 { (exit 1); exit 1; }; }
1107 eval $ac_envvar=\
$ac_optarg
1108 export $ac_envvar ;;
1111 # FIXME: should be removed in autoconf 3.0.
1112 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1113 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1114 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1115 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1121 if test -n "$ac_prev"; then
1122 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1123 { echo "$as_me: error: missing argument to $ac_option" >&2
1124 { (exit 1); exit 1; }; }
1127 # Be sure to have absolute directory names.
1128 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1129 datadir sysconfdir sharedstatedir localstatedir includedir \
1130 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1131 libdir localedir mandir
1133 eval ac_val
=\$
$ac_var
1135 [\\/$
]* | ?
:[\\/]* ) continue;;
1136 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1138 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1139 { (exit 1); exit 1; }; }
1142 # There might be people who depend on the old broken behavior: `$host'
1143 # used to hold the argument of --host etc.
1144 # FIXME: To remove some day.
1147 target
=$target_alias
1149 # FIXME: To remove some day.
1150 if test "x$host_alias" != x
; then
1151 if test "x$build_alias" = x
; then
1152 cross_compiling
=maybe
1153 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1154 If a cross compiler is detected then cross compile mode will be used." >&2
1155 elif test "x$build_alias" != "x$host_alias"; then
1161 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1163 test "$silent" = yes && exec 6>/dev
/null
1166 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1167 ac_ls_di
=`ls -di .` &&
1168 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1169 { echo "$as_me: error: Working directory cannot be determined" >&2
1170 { (exit 1); exit 1; }; }
1171 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1172 { echo "$as_me: error: pwd does not report name of working directory" >&2
1173 { (exit 1); exit 1; }; }
1176 # Find the source files, if location was not specified.
1177 if test -z "$srcdir"; then
1178 ac_srcdir_defaulted
=yes
1179 # Try the directory containing this script, then the parent directory.
1180 ac_confdir
=`$as_dirname -- "$0" ||
1181 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1182 X"$0" : 'X\(//\)[^/]' \| \
1183 X"$0" : 'X\(//\)$' \| \
1184 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1204 if test ! -r "$srcdir/$ac_unique_file"; then
1208 ac_srcdir_defaulted
=no
1210 if test ! -r "$srcdir/$ac_unique_file"; then
1211 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1212 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1213 { (exit 1); exit 1; }; }
1215 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1217 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1218 { (exit 1); exit 1; }; }
1220 # When building in place, set srcdir=.
1221 if test "$ac_abs_confdir" = "$ac_pwd"; then
1224 # Remove unnecessary trailing slashes from srcdir.
1225 # Double slashes in file names in object file debugging info
1226 # mess up M-x gdb in Emacs.
1228 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1230 for ac_var
in $ac_precious_vars; do
1231 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1232 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1233 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1234 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1238 # Report the --help message.
1240 if test "$ac_init_help" = "long"; then
1241 # Omit some internal or obsolete options to make the list less imposing.
1242 # This message is too long to be a string in the A/UX 3.1 sh.
1244 \`configure' configures systemtap 0.7 to adapt to many kinds of systems.
1246 Usage: $0 [OPTION]... [VAR=VALUE]...
1248 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1249 VAR=VALUE. See below for descriptions of some of the useful variables.
1251 Defaults for the options are specified in brackets.
1254 -h, --help display this help and exit
1255 --help=short display options specific to this package
1256 --help=recursive display the short help of all the included packages
1257 -V, --version display version information and exit
1258 -q, --quiet, --silent do not print \`checking...' messages
1259 --cache-file=FILE cache test results in FILE [disabled]
1260 -C, --config-cache alias for \`--cache-file=config.cache'
1261 -n, --no-create do not create output files
1262 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1264 Installation directories:
1265 --prefix=PREFIX install architecture-independent files in PREFIX
1266 [$ac_default_prefix]
1267 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1270 By default, \`make install' will install all the files in
1271 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1272 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1273 for instance \`--prefix=\$HOME'.
1275 For better control, use the options below.
1277 Fine tuning of the installation directories:
1278 --bindir=DIR user executables [EPREFIX/bin]
1279 --sbindir=DIR system admin executables [EPREFIX/sbin]
1280 --libexecdir=DIR program executables [EPREFIX/libexec]
1281 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1282 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1283 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1284 --libdir=DIR object code libraries [EPREFIX/lib]
1285 --includedir=DIR C header files [PREFIX/include]
1286 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1287 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1288 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1289 --infodir=DIR info documentation [DATAROOTDIR/info]
1290 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1291 --mandir=DIR man documentation [DATAROOTDIR/man]
1292 --docdir=DIR documentation root [DATAROOTDIR/doc/systemtap]
1293 --htmldir=DIR html documentation [DOCDIR]
1294 --dvidir=DIR dvi documentation [DOCDIR]
1295 --pdfdir=DIR pdf documentation [DOCDIR]
1296 --psdir=DIR ps documentation [DOCDIR]
1302 --program-prefix=PREFIX prepend PREFIX to installed program names
1303 --program-suffix=SUFFIX append SUFFIX to installed program names
1304 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1308 if test -n "$ac_init_help"; then
1309 case $ac_init_help in
1310 short | recursive
) echo "Configuration of systemtap 0.7:";;
1315 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1316 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1317 --enable-maintainer-mode enable make rules and dependencies not useful
1318 (and sometimes confusing
) to the casual installer
1319 --disable-dependency-tracking speeds up one-time build
1320 --enable-dependency-tracking do not reject slow dependency extractors
1321 --enable-perfmon[=DIRECTORY
]
1322 enable perfmon support
(default is disabled
).
1323 Optional DIRECTORY is the path to the perfmon
1324 installation
(needed
if installed
in a non-standard
1326 --enable-prologues make -P prologue-searching default
1327 --disable-ssp disable gcc stack-protector
1328 --disable-pie disable position-independent-executable
1329 --enable-sqlite build with sqlite support
1330 --enable-crash[=DIRECTORY
]
1331 enable crash extension
(default is disabled
).
1332 Optional DIRECTORY is the path to the crash header
1333 file (needed
if installed
in a non-standard
1335 --enable-docs enable building documentation
(default on
if latex
1339 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1340 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1341 --with-elfutils=DIRECTORY
1342 find elfutils
source code
in DIRECTORY
1344 Some influential environment variables
:
1345 CC C compiler
command
1346 CFLAGS C compiler flags
1347 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1348 nonstandard directory
<lib dir
>
1349 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1350 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1351 you have headers
in a nonstandard directory
<include dir
>
1352 CXX C
++ compiler
command
1353 CXXFLAGS C
++ compiler flags
1356 Use these variables to override the choices made by
`configure' or to help
1357 it to find libraries and programs with nonstandard names/locations.
1359 Report bugs to <systemtap@sources.redhat.com>.
1364 if test "$ac_init_help" = "recursive"; then
1365 # If there are subdirs, report their specific --help.
1366 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1367 test -d "$ac_dir" || continue
1371 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1373 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1374 # A ".." for each directory in $ac_dir_suffix.
1375 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1376 case $ac_top_builddir_sub in
1377 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1378 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1381 ac_abs_top_builddir=$ac_pwd
1382 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1383 # for backward compatibility:
1384 ac_top_builddir=$ac_top_build_prefix
1387 .) # We are building in place.
1389 ac_top_srcdir=$ac_top_builddir_sub
1390 ac_abs_top_srcdir=$ac_pwd ;;
1391 [\\/]* | ?:[\\/]* ) # Absolute name.
1392 ac_srcdir=$srcdir$ac_dir_suffix;
1393 ac_top_srcdir=$srcdir
1394 ac_abs_top_srcdir=$srcdir ;;
1396 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1397 ac_top_srcdir=$ac_top_build_prefix$srcdir
1398 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1400 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1402 cd "$ac_dir" || { ac_status=$?; continue; }
1403 # Check for guested configure.
1404 if test -f "$ac_srcdir/configure.gnu"; then
1406 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1407 elif test -f "$ac_srcdir/configure"; then
1409 $SHELL "$ac_srcdir/configure" --help=recursive
1411 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1413 cd "$ac_pwd" || { ac_status=$?; break; }
1417 test -n "$ac_init_help" && exit $ac_status
1418 if $ac_init_version; then
1420 systemtap configure 0.7
1421 generated by GNU Autoconf 2.61
1423 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1424 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1425 This configure script is free software; the Free Software Foundation
1426 gives unlimited permission to copy, distribute and modify it.
1430 cat >config.log <<_ACEOF
1431 This file contains any messages produced by compilers while
1432 running configure, to aid debugging if configure makes a mistake.
1434 It was created by systemtap $as_me 0.7, which was
1435 generated by GNU Autoconf 2.61. Invocation command line was
1447 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1448 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1449 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1450 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1451 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1453 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1454 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1456 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1457 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1458 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1459 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1460 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1461 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1462 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1470 test -z "$as_dir" && as_dir=.
1471 echo "PATH: $as_dir"
1487 # Keep a trace of the command line.
1488 # Strip out --no-create and --no-recursion so they do not pile up.
1489 # Strip out --silent because we don't want to record it for future runs.
1490 # Also quote any args containing shell meta-characters.
1491 # Make two passes to allow for proper duplicate-argument suppression.
1495 ac_must_keep_next=false
1501 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1502 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1503 | -silent | --silent | --silen | --sile | --sil)
1506 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1509 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1511 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1512 if test $ac_must_keep_next = true; then
1513 ac_must_keep_next=false # Got value, back to normal.
1516 *=* | --config-cache | -C | -disable-* | --disable-* \
1517 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1518 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1519 | -with-* | --with-* | -without-* | --without-* | --x)
1520 case "$ac_configure_args0 " in
1521 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1524 -* ) ac_must_keep_next=true ;;
1527 ac_configure_args="$ac_configure_args '$ac_arg'"
1532 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1533 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1535 # When interrupted or exit'd, cleanup temporary files, and complete
1536 # config.log. We remove comments because anyway the quotes in there
1537 # would cause problems or look ugly.
1538 # WARNING: Use '\'' to represent an apostrophe within the trap.
1539 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1540 trap 'exit_status=$?
1541 # Save into config.log some information that might help in debugging.
1546 ## ---------------- ##
1547 ## Cache variables. ##
1548 ## ---------------- ##
1551 # The following way of writing the cache mishandles newlines in values,
1553 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1554 eval ac_val=\$$ac_var
1558 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1559 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1562 _ | IFS | as_nl) ;; #(
1563 *) $as_unset $ac_var ;;
1568 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1569 *${as_nl}ac_space=\ *)
1571 "s/'\''/'\''\\\\'\'''\''/g;
1572 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1575 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1583 ## ----------------- ##
1584 ## Output variables. ##
1585 ## ----------------- ##
1588 for ac_var in $ac_subst_vars
1590 eval ac_val=\$$ac_var
1592 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1594 echo "$ac_var='\''$ac_val'\''"
1598 if test -n "$ac_subst_files"; then
1600 ## ------------------- ##
1601 ## File substitutions. ##
1602 ## ------------------- ##
1605 for ac_var in $ac_subst_files
1607 eval ac_val=\$$ac_var
1609 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1611 echo "$ac_var='\''$ac_val'\''"
1616 if test -s confdefs.h; then
1626 test "$ac_signal" != 0 &&
1627 echo "$as_me: caught signal $ac_signal"
1628 echo "$as_me: exit $exit_status"
1630 rm -f core *.core core.conftest.* &&
1631 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1634 for ac_signal in 1 2 13 15; do
1635 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1639 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1640 rm -f -r conftest* confdefs.h
1642 # Predefined preprocessor variables.
1644 cat >>confdefs.h <<_ACEOF
1645 #define PACKAGE_NAME "$PACKAGE_NAME"
1649 cat >>confdefs.h <<_ACEOF
1650 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1654 cat >>confdefs.h <<_ACEOF
1655 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1659 cat >>confdefs.h <<_ACEOF
1660 #define PACKAGE_STRING "$PACKAGE_STRING"
1664 cat >>confdefs.h <<_ACEOF
1665 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1669 # Let the site file select an alternate cache file if it wants to.
1670 # Prefer explicitly selected file to automatically selected ones.
1671 if test -n "$CONFIG_SITE"; then
1672 set x "$CONFIG_SITE"
1673 elif test "x$prefix" != xNONE; then
1674 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1676 set x "$ac_default_prefix/share/config.site" \
1677 "$ac_default_prefix/etc/config.site"
1682 if test -r "$ac_site_file"; then
1683 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1684 echo "$as_me: loading site script $ac_site_file" >&6;}
1685 sed 's/^/| /' "$ac_site_file" >&5
1690 if test -r "$cache_file"; then
1691 # Some versions of bash will fail to source /dev/null (special
1692 # files actually), so we avoid doing that.
1693 if test -f "$cache_file"; then
1694 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1695 echo "$as_me: loading cache $cache_file" >&6;}
1697 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1698 *) . "./$cache_file";;
1702 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1703 echo "$as_me: creating cache $cache_file" >&6;}
1707 # Check that the precious variables saved in the cache have kept the same
1709 ac_cache_corrupted=false
1710 for ac_var in $ac_precious_vars; do
1711 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1712 eval ac_new_set=\$ac_env_${ac_var}_set
1713 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1714 eval ac_new_val=\$ac_env_${ac_var}_value
1715 case $ac_old_set,$ac_new_set in
1717 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1718 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1719 ac_cache_corrupted=: ;;
1721 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1722 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1723 ac_cache_corrupted=: ;;
1726 if test "x$ac_old_val" != "x$ac_new_val"; then
1727 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1728 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1729 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1730 echo "$as_me: former value
: $ac_old_val" >&2;}
1731 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1732 echo "$as_me: current value
: $ac_new_val" >&2;}
1733 ac_cache_corrupted=:
1736 # Pass precious variables to config.status.
1737 if test "$ac_new_set" = set; then
1739 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1740 *) ac_arg=$ac_var=$ac_new_val ;;
1742 case " $ac_configure_args " in
1743 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1744 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1748 if $ac_cache_corrupted; then
1749 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1750 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1751 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1752 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1753 { (exit 1); exit 1; }; }
1781 ac_cpp='$CPP $CPPFLAGS'
1782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1789 am__api_version='1.10'
1792 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1793 if test -f "$ac_dir/install-sh"; then
1795 ac_install_sh="$ac_aux_dir/install-sh -c"
1797 elif test -f "$ac_dir/install.sh"; then
1799 ac_install_sh="$ac_aux_dir/install.sh -c"
1801 elif test -f "$ac_dir/shtool"; then
1803 ac_install_sh="$ac_aux_dir/shtool install -c"
1807 if test -z "$ac_aux_dir"; then
1808 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1809 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1810 { (exit 1); exit 1; }; }
1813 # These three variables are undocumented and unsupported,
1814 # and are intended to be withdrawn in a future Autoconf release.
1815 # They can cause serious problems if a builder's source tree is in a directory
1816 # whose full name contains unusual characters.
1817 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1818 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1819 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1822 # Find a good install program. We prefer a C program (faster),
1823 # so one script is as good as another. But avoid the broken or
1824 # incompatible versions:
1825 # SysV /etc/install, /usr/sbin/install
1826 # SunOS /usr/etc/install
1827 # IRIX /sbin/install
1829 # AmigaOS /C/install, which installs bootblocks on floppy discs
1830 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1831 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1832 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1833 # OS/2's system install, which has a completely different semantic
1834 # ./install, which can be erroneously created by make from ./install.sh.
1835 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1836 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1837 if test -z "$INSTALL"; then
1838 if test "${ac_cv_path_install+set}" = set; then
1839 echo $ECHO_N "(cached) $ECHO_C" >&6
1841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1845 test -z "$as_dir" && as_dir=.
1846 # Account for people who put trailing slashes in PATH elements.
1848 ./ | .// | /cC/* | \
1849 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1850 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1853 # OSF1 and SCO ODT 3.0 have their own names for install.
1854 # Don't use installbsd from OSF since it installs stuff as root
1856 for ac_prog in ginstall scoinst install; do
1857 for ac_exec_ext in '' $ac_executable_extensions; do
1858 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1859 if test $ac_prog = install &&
1860 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1861 # AIX install. It has an incompatible calling convention.
1863 elif test $ac_prog = install &&
1864 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1865 # program-specific install script used by HP pwplus--don't use.
1868 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1881 if test "${ac_cv_path_install+set}" = set; then
1882 INSTALL=$ac_cv_path_install
1884 # As a last resort, use the slow shell script. Don't cache a
1885 # value for INSTALL within a source directory, because that will
1886 # break other packages using the cache if that directory is
1887 # removed, or if the value is a relative name.
1888 INSTALL=$ac_install_sh
1891 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1892 echo "${ECHO_T}$INSTALL" >&6; }
1894 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1895 # It thinks the first close brace ends the variable substitution.
1896 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1898 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1900 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1902 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1903 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1906 echo timestamp > conftest.file
1907 # Do `set' in a subshell so we don't clobber the current shell
's
1908 # arguments. Must try -L first in case configure is actually a
1909 # symlink; some systems play weird games with the mod time of symlinks
1910 # (eg FreeBSD returns the mod time of the symlink's containing
1913 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1914 if test "$*" = "X"; then
1916 set X
`ls -t $srcdir/configure conftest.file`
1919 if test "$*" != "X $srcdir/configure conftest.file" \
1920 && test "$*" != "X conftest.file $srcdir/configure"; then
1922 # If neither matched, then we have a broken ls. This can happen
1923 # if, for instance, CONFIG_SHELL is bash and it inherits a
1924 # broken ls alias from the environment. This has actually
1925 # happened. Such a system could not be considered "sane".
1926 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1927 alias in your environment" >&5
1928 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1929 alias in your environment" >&2;}
1930 { (exit 1); exit 1; }; }
1933 test "$2" = conftest.
file
1939 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1940 Check your system clock" >&5
1941 echo "$as_me: error: newly created file is older than distributed files!
1942 Check your system clock" >&2;}
1943 { (exit 1); exit 1; }; }
1945 { echo "$as_me:$LINENO: result: yes" >&5
1946 echo "${ECHO_T}yes" >&6; }
1947 test "$program_prefix" != NONE
&&
1948 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1949 # Use a double $ so make ignores it.
1950 test "$program_suffix" != NONE
&&
1951 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1952 # Double any \ or $. echo might interpret backslashes.
1953 # By default was `s,x,x', remove it if useless.
1954 cat <<\_ACEOF
>conftest.
sed
1955 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1957 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1960 # expand $ac_aux_dir to an absolute path
1961 am_aux_dir
=`cd $ac_aux_dir && pwd`
1963 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1964 # Use eval to expand $SHELL
1965 if eval "$MISSING --run true"; then
1966 am_missing_run
="$MISSING --run "
1969 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1970 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1973 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1974 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1975 if test -z "$MKDIR_P"; then
1976 if test "${ac_cv_path_mkdir+set}" = set; then
1977 echo $ECHO_N "(cached) $ECHO_C" >&6
1979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1980 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
1983 test -z "$as_dir" && as_dir
=.
1984 for ac_prog
in mkdir gmkdir
; do
1985 for ac_exec_ext
in '' $ac_executable_extensions; do
1986 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
1987 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1988 'mkdir (GNU coreutils) '* | \
1989 'mkdir (coreutils) '* | \
1990 'mkdir (fileutils) '4.1*)
1991 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2001 if test "${ac_cv_path_mkdir+set}" = set; then
2002 MKDIR_P
="$ac_cv_path_mkdir -p"
2004 # As a last resort, use the slow shell script. Don't cache a
2005 # value for MKDIR_P within a source directory, because that will
2006 # break other packages using the cache if that directory is
2007 # removed, or if the value is a relative name.
2008 test -d .
/--version && rmdir .
/--version
2009 MKDIR_P
="$ac_install_sh -d"
2012 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2013 echo "${ECHO_T}$MKDIR_P" >&6; }
2017 [\\/$
]* | ?
:[\\/]*) ;;
2018 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2021 for ac_prog
in gawk mawk nawk
awk
2023 # Extract the first word of "$ac_prog", so it can be a program name with args.
2024 set dummy
$ac_prog; ac_word
=$2
2025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2027 if test "${ac_cv_prog_AWK+set}" = set; then
2028 echo $ECHO_N "(cached) $ECHO_C" >&6
2030 if test -n "$AWK"; then
2031 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2037 test -z "$as_dir" && as_dir
=.
2038 for ac_exec_ext
in '' $ac_executable_extensions; do
2039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2040 ac_cv_prog_AWK
="$ac_prog"
2041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2051 if test -n "$AWK"; then
2052 { echo "$as_me:$LINENO: result: $AWK" >&5
2053 echo "${ECHO_T}$AWK" >&6; }
2055 { echo "$as_me:$LINENO: result: no" >&5
2056 echo "${ECHO_T}no" >&6; }
2060 test -n "$AWK" && break
2063 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2064 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2065 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2066 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2067 echo $ECHO_N "(cached) $ECHO_C" >&6
2069 cat >conftest.
make <<\_ACEOF
2072 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2074 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2075 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2077 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2079 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2083 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2084 { echo "$as_me:$LINENO: result: yes" >&5
2085 echo "${ECHO_T}yes" >&6; }
2088 { echo "$as_me:$LINENO: result: no" >&5
2089 echo "${ECHO_T}no" >&6; }
2090 SET_MAKE
="MAKE=${MAKE-make}"
2093 rm -rf .tst
2>/dev
/null
2094 mkdir .tst
2>/dev
/null
2095 if test -d .tst
; then
2100 rmdir .tst
2>/dev
/null
2102 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2103 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2104 # is not polluted with repeated "-I."
2105 am__isrc
=' -I$(srcdir)'
2106 # test to see if srcdir already configured
2107 if test -f $srcdir/config.status
; then
2108 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2109 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2110 { (exit 1); exit 1; }; }
2114 # test whether we have cygpath
2115 if test -z "$CYGPATH_W"; then
2116 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2117 CYGPATH_W
='cygpath -w'
2124 # Define the identity of the package.
2129 cat >>confdefs.h
<<_ACEOF
2130 #define PACKAGE "$PACKAGE"
2134 cat >>confdefs.h
<<_ACEOF
2135 #define VERSION "$VERSION"
2138 # Some tools Automake needs.
2140 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2143 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2146 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2149 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2152 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2154 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2156 # Installed binaries are usually stripped using `strip' when the user
2157 # run `make install-strip'. However `strip' might not be the right
2158 # tool to use in cross-compilation environments, therefore Automake
2159 # will honor the `STRIP' environment variable to overrule this program.
2160 if test "$cross_compiling" != no
; then
2161 if test -n "$ac_tool_prefix"; then
2162 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2163 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2164 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2166 if test "${ac_cv_prog_STRIP+set}" = set; then
2167 echo $ECHO_N "(cached) $ECHO_C" >&6
2169 if test -n "$STRIP"; then
2170 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2176 test -z "$as_dir" && as_dir
=.
2177 for ac_exec_ext
in '' $ac_executable_extensions; do
2178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2179 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2189 STRIP
=$ac_cv_prog_STRIP
2190 if test -n "$STRIP"; then
2191 { echo "$as_me:$LINENO: result: $STRIP" >&5
2192 echo "${ECHO_T}$STRIP" >&6; }
2194 { echo "$as_me:$LINENO: result: no" >&5
2195 echo "${ECHO_T}no" >&6; }
2200 if test -z "$ac_cv_prog_STRIP"; then
2202 # Extract the first word of "strip", so it can be a program name with args.
2203 set dummy strip
; ac_word
=$2
2204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2206 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2207 echo $ECHO_N "(cached) $ECHO_C" >&6
2209 if test -n "$ac_ct_STRIP"; then
2210 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2216 test -z "$as_dir" && as_dir
=.
2217 for ac_exec_ext
in '' $ac_executable_extensions; do
2218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2219 ac_cv_prog_ac_ct_STRIP
="strip"
2220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2229 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2230 if test -n "$ac_ct_STRIP"; then
2231 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2232 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2234 { echo "$as_me:$LINENO: result: no" >&5
2235 echo "${ECHO_T}no" >&6; }
2238 if test "x$ac_ct_STRIP" = x
; then
2241 case $cross_compiling:$ac_tool_warned in
2243 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2244 whose name does not start with the host triplet. If you think this
2245 configuration is useful to you, please write to autoconf@gnu.org." >&5
2246 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2247 whose name does not start with the host triplet. If you think this
2248 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2249 ac_tool_warned
=yes ;;
2254 STRIP
="$ac_cv_prog_STRIP"
2258 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2260 # We need awk for the "check" target. The system "awk" is bad on
2262 # Always define AMTAR for backward compatibility.
2264 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2266 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2272 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2273 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2274 # Check whether --enable-maintainer-mode was given.
2275 if test "${enable_maintainer_mode+set}" = set; then
2276 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2278 USE_MAINTAINER_MODE
=no
2281 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2282 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2283 if test $USE_MAINTAINER_MODE = yes; then
2284 MAINTAINER_MODE_TRUE
=
2285 MAINTAINER_MODE_FALSE
='#'
2287 MAINTAINER_MODE_TRUE
='#'
2288 MAINTAINER_MODE_FALSE
=
2291 MAINT
=$MAINTAINER_MODE_TRUE
2295 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2296 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2297 if test -z "$MKDIR_P"; then
2298 if test "${ac_cv_path_mkdir+set}" = set; then
2299 echo $ECHO_N "(cached) $ECHO_C" >&6
2301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2302 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2305 test -z "$as_dir" && as_dir
=.
2306 for ac_prog
in mkdir gmkdir
; do
2307 for ac_exec_ext
in '' $ac_executable_extensions; do
2308 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2309 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2310 'mkdir (GNU coreutils) '* | \
2311 'mkdir (coreutils) '* | \
2312 'mkdir (fileutils) '4.1*)
2313 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2323 if test "${ac_cv_path_mkdir+set}" = set; then
2324 MKDIR_P
="$ac_cv_path_mkdir -p"
2326 # As a last resort, use the slow shell script. Don't cache a
2327 # value for MKDIR_P within a source directory, because that will
2328 # break other packages using the cache if that directory is
2329 # removed, or if the value is a relative name.
2330 test -d .
/--version && rmdir .
/--version
2331 MKDIR_P
="$ac_install_sh -d"
2334 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2335 echo "${ECHO_T}$MKDIR_P" >&6; }
2337 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
2338 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2340 if test "$LN_S" = "ln -s"; then
2341 { echo "$as_me:$LINENO: result: yes" >&5
2342 echo "${ECHO_T}yes" >&6; }
2344 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2345 echo "${ECHO_T}no, using $LN_S" >&6; }
2349 ac_cpp
='$CPP $CPPFLAGS'
2350 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2351 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2352 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2353 if test -n "$ac_tool_prefix"; then
2354 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2355 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2356 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2358 if test "${ac_cv_prog_CC+set}" = set; then
2359 echo $ECHO_N "(cached) $ECHO_C" >&6
2361 if test -n "$CC"; then
2362 ac_cv_prog_CC
="$CC" # Let the user override the test.
2364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2368 test -z "$as_dir" && as_dir
=.
2369 for ac_exec_ext
in '' $ac_executable_extensions; do
2370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2371 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2382 if test -n "$CC"; then
2383 { echo "$as_me:$LINENO: result: $CC" >&5
2384 echo "${ECHO_T}$CC" >&6; }
2386 { echo "$as_me:$LINENO: result: no" >&5
2387 echo "${ECHO_T}no" >&6; }
2392 if test -z "$ac_cv_prog_CC"; then
2394 # Extract the first word of "gcc", so it can be a program name with args.
2395 set dummy gcc
; ac_word
=$2
2396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2398 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2399 echo $ECHO_N "(cached) $ECHO_C" >&6
2401 if test -n "$ac_ct_CC"; then
2402 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2408 test -z "$as_dir" && as_dir
=.
2409 for ac_exec_ext
in '' $ac_executable_extensions; do
2410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2411 ac_cv_prog_ac_ct_CC
="gcc"
2412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2421 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2422 if test -n "$ac_ct_CC"; then
2423 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2424 echo "${ECHO_T}$ac_ct_CC" >&6; }
2426 { echo "$as_me:$LINENO: result: no" >&5
2427 echo "${ECHO_T}no" >&6; }
2430 if test "x$ac_ct_CC" = x
; then
2433 case $cross_compiling:$ac_tool_warned in
2435 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2436 whose name does not start with the host triplet. If you think this
2437 configuration is useful to you, please write to autoconf@gnu.org." >&5
2438 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2439 whose name does not start with the host triplet. If you think this
2440 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2441 ac_tool_warned
=yes ;;
2449 if test -z "$CC"; then
2450 if test -n "$ac_tool_prefix"; then
2451 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2452 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2453 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2455 if test "${ac_cv_prog_CC+set}" = set; then
2456 echo $ECHO_N "(cached) $ECHO_C" >&6
2458 if test -n "$CC"; then
2459 ac_cv_prog_CC
="$CC" # Let the user override the test.
2461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2465 test -z "$as_dir" && as_dir
=.
2466 for ac_exec_ext
in '' $ac_executable_extensions; do
2467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2468 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2479 if test -n "$CC"; then
2480 { echo "$as_me:$LINENO: result: $CC" >&5
2481 echo "${ECHO_T}$CC" >&6; }
2483 { echo "$as_me:$LINENO: result: no" >&5
2484 echo "${ECHO_T}no" >&6; }
2490 if test -z "$CC"; then
2491 # Extract the first word of "cc", so it can be a program name with args.
2492 set dummy cc
; ac_word
=$2
2493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2495 if test "${ac_cv_prog_CC+set}" = set; then
2496 echo $ECHO_N "(cached) $ECHO_C" >&6
2498 if test -n "$CC"; then
2499 ac_cv_prog_CC
="$CC" # Let the user override the test.
2502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2506 test -z "$as_dir" && as_dir
=.
2507 for ac_exec_ext
in '' $ac_executable_extensions; do
2508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2509 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2510 ac_prog_rejected
=yes
2514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2521 if test $ac_prog_rejected = yes; then
2522 # We found a bogon in the path, so make sure we never use it.
2523 set dummy
$ac_cv_prog_CC
2525 if test $# != 0; then
2526 # We chose a different compiler from the bogus one.
2527 # However, it has the same basename, so the bogon will be chosen
2528 # first if we set CC to just the basename; use the full file name.
2530 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2536 if test -n "$CC"; then
2537 { echo "$as_me:$LINENO: result: $CC" >&5
2538 echo "${ECHO_T}$CC" >&6; }
2540 { echo "$as_me:$LINENO: result: no" >&5
2541 echo "${ECHO_T}no" >&6; }
2546 if test -z "$CC"; then
2547 if test -n "$ac_tool_prefix"; then
2548 for ac_prog
in cl.exe
2550 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2551 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2554 if test "${ac_cv_prog_CC+set}" = set; then
2555 echo $ECHO_N "(cached) $ECHO_C" >&6
2557 if test -n "$CC"; then
2558 ac_cv_prog_CC
="$CC" # Let the user override the test.
2560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2564 test -z "$as_dir" && as_dir
=.
2565 for ac_exec_ext
in '' $ac_executable_extensions; do
2566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2567 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2578 if test -n "$CC"; then
2579 { echo "$as_me:$LINENO: result: $CC" >&5
2580 echo "${ECHO_T}$CC" >&6; }
2582 { echo "$as_me:$LINENO: result: no" >&5
2583 echo "${ECHO_T}no" >&6; }
2587 test -n "$CC" && break
2590 if test -z "$CC"; then
2592 for ac_prog
in cl.exe
2594 # Extract the first word of "$ac_prog", so it can be a program name with args.
2595 set dummy
$ac_prog; ac_word
=$2
2596 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2598 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2599 echo $ECHO_N "(cached) $ECHO_C" >&6
2601 if test -n "$ac_ct_CC"; then
2602 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2608 test -z "$as_dir" && as_dir
=.
2609 for ac_exec_ext
in '' $ac_executable_extensions; do
2610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2611 ac_cv_prog_ac_ct_CC
="$ac_prog"
2612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2621 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2622 if test -n "$ac_ct_CC"; then
2623 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2624 echo "${ECHO_T}$ac_ct_CC" >&6; }
2626 { echo "$as_me:$LINENO: result: no" >&5
2627 echo "${ECHO_T}no" >&6; }
2631 test -n "$ac_ct_CC" && break
2634 if test "x$ac_ct_CC" = x
; then
2637 case $cross_compiling:$ac_tool_warned in
2639 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2640 whose name does not start with the host triplet. If you think this
2641 configuration is useful to you, please write to autoconf@gnu.org." >&5
2642 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2643 whose name does not start with the host triplet. If you think this
2644 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2645 ac_tool_warned
=yes ;;
2654 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2655 See \`config.log' for more details." >&5
2656 echo "$as_me: error: no acceptable C compiler found in \$PATH
2657 See \`config.log' for more details." >&2;}
2658 { (exit 1); exit 1; }; }
2660 # Provide some information about the compiler.
2661 echo "$as_me:$LINENO: checking for C compiler version" >&5
2662 ac_compiler
=`set X $ac_compile; echo $2`
2663 { (ac_try
="$ac_compiler --version >&5"
2665 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2666 *) ac_try_echo=$ac_try;;
2668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2669 (eval "$ac_compiler --version >&5") 2>&5
2671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2672 (exit $ac_status); }
2673 { (ac_try="$ac_compiler -v >&5"
2675 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2676 *) ac_try_echo
=$ac_try;;
2678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2679 (eval "$ac_compiler -v >&5") 2>&5
2681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682 (exit $ac_status); }
2683 { (ac_try
="$ac_compiler -V >&5"
2685 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2686 *) ac_try_echo=$ac_try;;
2688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2689 (eval "$ac_compiler -V >&5") 2>&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); }
2694 cat >conftest.$ac_ext <<_ACEOF
2697 cat confdefs.h >>conftest.$ac_ext
2698 cat >>conftest.$ac_ext <<_ACEOF
2699 /* end confdefs.h. */
2709 ac_clean_files_save=$ac_clean_files
2710 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2711 # Try to create an executable without -o first, disregard a.out.
2712 # It will help us diagnose broken compilers, and finding out an intuition
2714 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2715 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2716 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2718 # List of possible output files, starting from the most likely.
2719 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2720 # only as a last resort. b.out is created by i960 compilers.
2721 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2723 # The IRIX 6 linker writes into existing files which may not be
2724 # executable, retaining their permissions. Remove them first so a
2725 # subsequent execution test works.
2727 for ac_file in $ac_files
2730 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2731 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2736 if { (ac_try="$ac_link_default"
2738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2739 *) ac_try_echo=$ac_try;;
2741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2742 (eval "$ac_link_default") 2>&5
2744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745 (exit $ac_status); }; then
2746 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2747 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2748 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2749 # so that the user can short-circuit this test for compilers unknown to
2751 for ac_file
in $ac_files ''
2753 test -f "$ac_file" ||
continue
2755 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2758 # We found the default executable, but exeext='' is most
2762 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2764 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2766 # We set ac_cv_exeext here because the later test for it is not
2767 # safe: cross compilers may not add the suffix if given an `-o'
2768 # argument, so we may need to know it at that point already.
2769 # Even if this section looks crufty: it has the advantage of
2776 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2782 { echo "$as_me:$LINENO: result: $ac_file" >&5
2783 echo "${ECHO_T}$ac_file" >&6; }
2784 if test -z "$ac_file"; then
2785 echo "$as_me: failed program was:" >&5
2786 sed 's/^/| /' conftest.
$ac_ext >&5
2788 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2789 See \`config.log' for more details." >&5
2790 echo "$as_me: error: C compiler cannot create executables
2791 See \`config.log' for more details." >&2;}
2792 { (exit 77); exit 77; }; }
2795 ac_exeext
=$ac_cv_exeext
2797 # Check that the compiler produces executables we can run. If not, either
2798 # the compiler is broken, or we cross compile.
2799 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2800 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2801 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2802 # If not cross compiling, check that we can run a simple program.
2803 if test "$cross_compiling" != yes; then
2804 if { ac_try
='./$ac_file'
2805 { (case "(($ac_try" in
2806 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2807 *) ac_try_echo=$ac_try;;
2809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2810 (eval "$ac_try") 2>&5
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); }; }; then
2816 if test "$cross_compiling" = maybe; then
2819 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2820 If you meant to cross compile, use \`--host'.
2821 See \`config.log' for more details.
" >&5
2822 echo "$as_me: error
: cannot run C compiled programs.
2823 If you meant to cross compile
, use \
`--host'.
2824 See \`config.log
' for more details." >&2;}
2825 { (exit 1); exit 1; }; }
2829 { echo "$as_me:$LINENO: result: yes" >&5
2830 echo "${ECHO_T}yes" >&6; }
2832 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2833 ac_clean_files=$ac_clean_files_save
2834 # Check that the compiler produces executables we can run. If not, either
2835 # the compiler is broken, or we cross compile.
2836 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2837 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2838 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2839 echo "${ECHO_T}$cross_compiling" >&6; }
2841 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2842 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2843 if { (ac_try="$ac_link"
2845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2846 *) ac_try_echo=$ac_try;;
2848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2849 (eval "$ac_link") 2>&5
2851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2852 (exit $ac_status); }; then
2853 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2854 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2855 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2857 for ac_file
in conftest.exe conftest conftest.
*; do
2858 test -f "$ac_file" ||
continue
2860 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2861 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2867 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2868 See \`config.log' for more details." >&5
2869 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2870 See \`config.log' for more details." >&2;}
2871 { (exit 1); exit 1; }; }
2874 rm -f conftest
$ac_cv_exeext
2875 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2876 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2878 rm -f conftest.
$ac_ext
2879 EXEEXT
=$ac_cv_exeext
2881 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2882 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2883 if test "${ac_cv_objext+set}" = set; then
2884 echo $ECHO_N "(cached) $ECHO_C" >&6
2886 cat >conftest.
$ac_ext <<_ACEOF
2889 cat confdefs.h
>>conftest.
$ac_ext
2890 cat >>conftest.
$ac_ext <<_ACEOF
2891 /* end confdefs.h. */
2901 rm -f conftest.o conftest.obj
2902 if { (ac_try
="$ac_compile"
2904 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2905 *) ac_try_echo=$ac_try;;
2907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2908 (eval "$ac_compile") 2>&5
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); }; then
2912 for ac_file in conftest.o conftest.obj conftest.*; do
2913 test -f "$ac_file" || continue;
2915 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2916 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2921 echo "$as_me: failed program was:" >&5
2922 sed 's/^/| /' conftest.$ac_ext >&5
2924 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2925 See \`config.log
' for more details." >&5
2926 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2927 See \`config.log' for more details.
" >&2;}
2928 { (exit 1); exit 1; }; }
2931 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2933 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2934 echo "${ECHO_T}$ac_cv_objext" >&6; }
2935 OBJEXT=$ac_cv_objext
2937 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2938 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2939 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2940 echo $ECHO_N "(cached
) $ECHO_C" >&6
2942 cat >conftest.$ac_ext <<_ACEOF
2945 cat confdefs.h >>conftest.$ac_ext
2946 cat >>conftest.$ac_ext <<_ACEOF
2947 /* end confdefs.h. */
2960 rm -f conftest.$ac_objext
2961 if { (ac_try="$ac_compile"
2963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2964 *) ac_try_echo=$ac_try;;
2966 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2967 (eval "$ac_compile") 2>conftest.er1
2969 grep -v '^ *+' conftest.er1 >conftest.err
2971 cat conftest.err >&5
2972 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2973 (exit $ac_status); } && {
2974 test -z "$ac_c_werror_flag" ||
2975 test ! -s conftest.err
2976 } && test -s conftest.$ac_objext; then
2979 echo "$as_me: failed program was
:" >&5
2980 sed 's/^/| /' conftest.$ac_ext >&5
2985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2986 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2989 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2990 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2991 GCC=`test $ac_compiler_gnu = yes && echo yes`
2992 ac_test_CFLAGS=${CFLAGS+set}
2993 ac_save_CFLAGS=$CFLAGS
2994 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2995 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2996 if test "${ac_cv_prog_cc_g+set}" = set; then
2997 echo $ECHO_N "(cached
) $ECHO_C" >&6
2999 ac_save_c_werror_flag=$ac_c_werror_flag
3000 ac_c_werror_flag=yes
3003 cat >conftest.$ac_ext <<_ACEOF
3006 cat confdefs.h >>conftest.$ac_ext
3007 cat >>conftest.$ac_ext <<_ACEOF
3008 /* end confdefs.h. */
3018 rm -f conftest.$ac_objext
3019 if { (ac_try="$ac_compile"
3021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3022 *) ac_try_echo=$ac_try;;
3024 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3025 (eval "$ac_compile") 2>conftest.er1
3027 grep -v '^ *+' conftest.er1 >conftest.err
3029 cat conftest.err >&5
3030 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3031 (exit $ac_status); } && {
3032 test -z "$ac_c_werror_flag" ||
3033 test ! -s conftest.err
3034 } && test -s conftest.$ac_objext; then
3037 echo "$as_me: failed program was
:" >&5
3038 sed 's/^/| /' conftest.$ac_ext >&5
3041 cat >conftest.$ac_ext <<_ACEOF
3044 cat confdefs.h >>conftest.$ac_ext
3045 cat >>conftest.$ac_ext <<_ACEOF
3046 /* end confdefs.h. */
3056 rm -f conftest.$ac_objext
3057 if { (ac_try="$ac_compile"
3059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3060 *) ac_try_echo=$ac_try;;
3062 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3063 (eval "$ac_compile") 2>conftest.er1
3065 grep -v '^ *+' conftest.er1 >conftest.err
3067 cat conftest.err >&5
3068 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3069 (exit $ac_status); } && {
3070 test -z "$ac_c_werror_flag" ||
3071 test ! -s conftest.err
3072 } && test -s conftest.$ac_objext; then
3075 echo "$as_me: failed program was
:" >&5
3076 sed 's/^/| /' conftest.$ac_ext >&5
3078 ac_c_werror_flag=$ac_save_c_werror_flag
3080 cat >conftest.$ac_ext <<_ACEOF
3083 cat confdefs.h >>conftest.$ac_ext
3084 cat >>conftest.$ac_ext <<_ACEOF
3085 /* end confdefs.h. */
3095 rm -f conftest.$ac_objext
3096 if { (ac_try="$ac_compile"
3098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099 *) ac_try_echo=$ac_try;;
3101 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3102 (eval "$ac_compile") 2>conftest.er1
3104 grep -v '^ *+' conftest.er1 >conftest.err
3106 cat conftest.err >&5
3107 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3108 (exit $ac_status); } && {
3109 test -z "$ac_c_werror_flag" ||
3110 test ! -s conftest.err
3111 } && test -s conftest.$ac_objext; then
3114 echo "$as_me: failed program was
:" >&5
3115 sed 's/^/| /' conftest.$ac_ext >&5
3120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3127 ac_c_werror_flag=$ac_save_c_werror_flag
3129 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3130 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3131 if test "$ac_test_CFLAGS" = set; then
3132 CFLAGS=$ac_save_CFLAGS
3133 elif test $ac_cv_prog_cc_g = yes; then
3134 if test "$GCC" = yes; then
3140 if test "$GCC" = yes; then
3146 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3147 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3148 if test "${ac_cv_prog_cc_c89+set}" = set; then
3149 echo $ECHO_N "(cached
) $ECHO_C" >&6
3151 ac_cv_prog_cc_c89=no
3153 cat >conftest.$ac_ext <<_ACEOF
3156 cat confdefs.h >>conftest.$ac_ext
3157 cat >>conftest.$ac_ext <<_ACEOF
3158 /* end confdefs.h. */
3161 #include <sys/types.h>
3162 #include <sys/stat.h>
3163 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3164 struct buf { int x; };
3165 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3166 static char *e (p, i)
3172 static char *f (char * (*g) (char **, int), char **p, ...)
3177 s = g (p, va_arg (v,int));
3182 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3183 function prototypes and stuff, but not '\xHH' hex character constants.
3184 These don't provoke an error unfortunately, instead are silently treated
3185 as 'x'. The following induces an error, until -std is added to get
3186 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3187 array size at least. It's necessary to write '\x00'==0 to get something
3188 that's true only with -std. */
3189 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3191 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3192 inside strings and character constants. */
3194 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3196 int test (int i, double x);
3197 struct s1 {int (*f) (int a);};
3198 struct s2 {int (*f) (double a);};
3199 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3205 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3210 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3211 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3213 CC="$ac_save_CC $ac_arg"
3214 rm -f conftest.$ac_objext
3215 if { (ac_try="$ac_compile"
3217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3218 *) ac_try_echo=$ac_try;;
3220 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3221 (eval "$ac_compile") 2>conftest.er1
3223 grep -v '^ *+' conftest.er1 >conftest.err
3225 cat conftest.err >&5
3226 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3227 (exit $ac_status); } && {
3228 test -z "$ac_c_werror_flag" ||
3229 test ! -s conftest.err
3230 } && test -s conftest.$ac_objext; then
3231 ac_cv_prog_cc_c89=$ac_arg
3233 echo "$as_me: failed program was
:" >&5
3234 sed 's/^/| /' conftest.$ac_ext >&5
3239 rm -f core conftest.err conftest.$ac_objext
3240 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3242 rm -f conftest.$ac_ext
3247 case "x
$ac_cv_prog_cc_c89" in
3249 { echo "$as_me:$LINENO: result
: none needed
" >&5
3250 echo "${ECHO_T}none needed
" >&6; } ;;
3252 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3253 echo "${ECHO_T}unsupported
" >&6; } ;;
3255 CC="$CC $ac_cv_prog_cc_c89"
3256 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3257 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3262 ac_cpp='$CPP $CPPFLAGS'
3263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3266 DEPDIR="${am__leading_dot}deps
"
3268 ac_config_commands="$ac_config_commands depfiles
"
3271 am_make=${MAKE-make}
3272 cat > confinc << 'END'
3277 # If we don't find an include directive, just comment out the code.
3278 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3279 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3283 # First try GNU make style include.
3284 echo "include confinc" > confmf
3285 # We grep out `Entering directory' and `Leaving directory'
3286 # messages which can occur if `w' ends up in MAKEFLAGS.
3287 # In particular we don't look at `^make:' because GNU make might
3288 # be invoked under some other name (usually "gmake"), in which
3289 # case it prints its new name instead of `make'.
3290 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3295 # Now try BSD make style include.
3296 if test "$am__include" = "#"; then
3297 echo '.include "confinc"' > confmf
3298 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3299 am__include
=.include
3306 { echo "$as_me:$LINENO: result: $_am_result" >&5
3307 echo "${ECHO_T}$_am_result" >&6; }
3308 rm -f confinc confmf
3310 # Check whether --enable-dependency-tracking was given.
3311 if test "${enable_dependency_tracking+set}" = set; then
3312 enableval
=$enable_dependency_tracking;
3315 if test "x$enable_dependency_tracking" != xno
; then
3316 am_depcomp
="$ac_aux_dir/depcomp"
3319 if test "x$enable_dependency_tracking" != xno; then
3329 depcc
="$CC" am_compiler_list
=
3331 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3332 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3333 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3334 echo $ECHO_N "(cached) $ECHO_C" >&6
3336 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3337 # We make a subdir and do the tests there. Otherwise we can end up
3338 # making bogus files that we don't know about and never remove. For
3339 # instance it was reported that on HP-UX the gcc test will end up
3340 # making a dummy file named `D' -- because `-MD' means `put the output
3343 # Copy depcomp to subdir because otherwise we won't find it if we're
3344 # using a relative directory.
3345 cp "$am_depcomp" conftest.dir
3347 # We will build objects and dependencies in a subdirectory because
3348 # it helps to detect inapplicable dependency modes. For instance
3349 # both Tru64's cc and ICC support -MD to output dependencies as a
3350 # side effect of compilation, but ICC will put the dependencies in
3351 # the current directory while Tru64 will put them in the object
3355 am_cv_CC_dependencies_compiler_type
=none
3356 if test "$am_compiler_list" = ""; then
3357 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3359 for depmode
in $am_compiler_list; do
3360 # Setup a source with many dependencies, because some compilers
3361 # like to wrap large dependency lists on column 80 (with \), and
3362 # we should not choose a depcomp mode which is confused by this.
3364 # We need to recreate these files for each test, as the compiler may
3365 # overwrite some of them when testing with obscure command lines.
3366 # This happens at least with the AIX C compiler.
3368 for i
in 1 2 3 4 5 6; do
3369 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3370 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3371 # Solaris 8's {/usr,}/bin/sh.
3372 touch sub
/conftst
$i.h
3374 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3378 # after this tag, mechanisms are not by side-effect, so they'll
3379 # only be used when explicitly requested
3380 if test "x$enable_dependency_tracking" = xyes
; then
3388 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3389 # mode. It turns out that the SunPro C++ compiler does not properly
3390 # handle `-M -o', and we need to detect this.
3391 if depmode
=$depmode \
3392 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3393 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3394 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3395 >/dev
/null
2>conftest.err
&&
3396 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3397 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3398 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3399 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3400 # icc doesn't choke on unknown options, it will just issue warnings
3401 # or remarks (even with -Werror). So we grep stderr for any message
3402 # that says an option was ignored or not supported.
3403 # When given -MP, icc 7.0 and 7.1 complain thusly:
3404 # icc: Command line warning: ignoring option '-M'; no argument required
3405 # The diagnosis changed in icc 8.0:
3406 # icc: Command line remark: option '-MP' not supported
3407 if (grep 'ignoring option' conftest.err ||
3408 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3409 am_cv_CC_dependencies_compiler_type
=$depmode
3418 am_cv_CC_dependencies_compiler_type
=none
3422 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3423 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3424 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3427 test "x$enable_dependency_tracking" != xno \
3428 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3430 am__fastdepCC_FALSE
='#'
3432 am__fastdepCC_TRUE
='#'
3433 am__fastdepCC_FALSE
=
3438 ac_cpp
='$CXXCPP $CPPFLAGS'
3439 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3440 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3441 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3442 if test -z "$CXX"; then
3443 if test -n "$CCC"; then
3446 if test -n "$ac_tool_prefix"; then
3447 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3449 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3450 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3453 if test "${ac_cv_prog_CXX+set}" = set; then
3454 echo $ECHO_N "(cached) $ECHO_C" >&6
3456 if test -n "$CXX"; then
3457 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3463 test -z "$as_dir" && as_dir
=.
3464 for ac_exec_ext
in '' $ac_executable_extensions; do
3465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3466 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3477 if test -n "$CXX"; then
3478 { echo "$as_me:$LINENO: result: $CXX" >&5
3479 echo "${ECHO_T}$CXX" >&6; }
3481 { echo "$as_me:$LINENO: result: no" >&5
3482 echo "${ECHO_T}no" >&6; }
3486 test -n "$CXX" && break
3489 if test -z "$CXX"; then
3491 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3493 # Extract the first word of "$ac_prog", so it can be a program name with args.
3494 set dummy
$ac_prog; ac_word
=$2
3495 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3497 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3498 echo $ECHO_N "(cached) $ECHO_C" >&6
3500 if test -n "$ac_ct_CXX"; then
3501 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3507 test -z "$as_dir" && as_dir
=.
3508 for ac_exec_ext
in '' $ac_executable_extensions; do
3509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3510 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3520 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3521 if test -n "$ac_ct_CXX"; then
3522 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3523 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3525 { echo "$as_me:$LINENO: result: no" >&5
3526 echo "${ECHO_T}no" >&6; }
3530 test -n "$ac_ct_CXX" && break
3533 if test "x$ac_ct_CXX" = x
; then
3536 case $cross_compiling:$ac_tool_warned in
3538 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3539 whose name does not start with the host triplet. If you think this
3540 configuration is useful to you, please write to autoconf@gnu.org." >&5
3541 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3542 whose name does not start with the host triplet. If you think this
3543 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3544 ac_tool_warned
=yes ;;
3552 # Provide some information about the compiler.
3553 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3554 ac_compiler
=`set X $ac_compile; echo $2`
3555 { (ac_try
="$ac_compiler --version >&5"
3557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3558 *) ac_try_echo=$ac_try;;
3560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3561 (eval "$ac_compiler --version >&5") 2>&5
3563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564 (exit $ac_status); }
3565 { (ac_try="$ac_compiler -v >&5"
3567 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3568 *) ac_try_echo
=$ac_try;;
3570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3571 (eval "$ac_compiler -v >&5") 2>&5
3573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574 (exit $ac_status); }
3575 { (ac_try
="$ac_compiler -V >&5"
3577 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3578 *) ac_try_echo=$ac_try;;
3580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3581 (eval "$ac_compiler -V >&5") 2>&5
3583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3584 (exit $ac_status); }
3586 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3587 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3588 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3589 echo $ECHO_N "(cached) $ECHO_C" >&6
3591 cat >conftest.$ac_ext <<_ACEOF
3594 cat confdefs.h >>conftest.$ac_ext
3595 cat >>conftest.$ac_ext <<_ACEOF
3596 /* end confdefs.h. */
3609 rm -f conftest.$ac_objext
3610 if { (ac_try="$ac_compile"
3612 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3613 *) ac_try_echo
=$ac_try;;
3615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3616 (eval "$ac_compile") 2>conftest.er1
3618 grep -v '^ *+' conftest.er1
>conftest.err
3620 cat conftest.err
>&5
3621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3622 (exit $ac_status); } && {
3623 test -z "$ac_cxx_werror_flag" ||
3624 test ! -s conftest.err
3625 } && test -s conftest.
$ac_objext; then
3628 echo "$as_me: failed program was:" >&5
3629 sed 's/^/| /' conftest.
$ac_ext >&5
3634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3635 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3638 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3639 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3640 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3641 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3642 ac_save_CXXFLAGS
=$CXXFLAGS
3643 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3644 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3645 if test "${ac_cv_prog_cxx_g+set}" = set; then
3646 echo $ECHO_N "(cached) $ECHO_C" >&6
3648 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3649 ac_cxx_werror_flag
=yes
3652 cat >conftest.
$ac_ext <<_ACEOF
3655 cat confdefs.h
>>conftest.
$ac_ext
3656 cat >>conftest.
$ac_ext <<_ACEOF
3657 /* end confdefs.h. */
3667 rm -f conftest.
$ac_objext
3668 if { (ac_try
="$ac_compile"
3670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3671 *) ac_try_echo=$ac_try;;
3673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3674 (eval "$ac_compile") 2>conftest.er1
3676 grep -v '^ *+' conftest.er1 >conftest.err
3678 cat conftest.err >&5
3679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680 (exit $ac_status); } && {
3681 test -z "$ac_cxx_werror_flag" ||
3682 test ! -s conftest.err
3683 } && test -s conftest.$ac_objext; then
3684 ac_cv_prog_cxx_g=yes
3686 echo "$as_me: failed program was:" >&5
3687 sed 's/^/| /' conftest.$ac_ext >&5
3690 cat >conftest.$ac_ext <<_ACEOF
3693 cat confdefs.h >>conftest.$ac_ext
3694 cat >>conftest.$ac_ext <<_ACEOF
3695 /* end confdefs.h. */
3705 rm -f conftest.$ac_objext
3706 if { (ac_try="$ac_compile"
3708 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3709 *) ac_try_echo
=$ac_try;;
3711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3712 (eval "$ac_compile") 2>conftest.er1
3714 grep -v '^ *+' conftest.er1
>conftest.err
3716 cat conftest.err
>&5
3717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3718 (exit $ac_status); } && {
3719 test -z "$ac_cxx_werror_flag" ||
3720 test ! -s conftest.err
3721 } && test -s conftest.
$ac_objext; then
3724 echo "$as_me: failed program was:" >&5
3725 sed 's/^/| /' conftest.
$ac_ext >&5
3727 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3729 cat >conftest.
$ac_ext <<_ACEOF
3732 cat confdefs.h
>>conftest.
$ac_ext
3733 cat >>conftest.
$ac_ext <<_ACEOF
3734 /* end confdefs.h. */
3744 rm -f conftest.
$ac_objext
3745 if { (ac_try
="$ac_compile"
3747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3748 *) ac_try_echo=$ac_try;;
3750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3751 (eval "$ac_compile") 2>conftest.er1
3753 grep -v '^ *+' conftest.er1 >conftest.err
3755 cat conftest.err >&5
3756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3757 (exit $ac_status); } && {
3758 test -z "$ac_cxx_werror_flag" ||
3759 test ! -s conftest.err
3760 } && test -s conftest.$ac_objext; then
3761 ac_cv_prog_cxx_g=yes
3763 echo "$as_me: failed program was:" >&5
3764 sed 's/^/| /' conftest.$ac_ext >&5
3769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3776 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3778 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3779 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3780 if test "$ac_test_CXXFLAGS" = set; then
3781 CXXFLAGS=$ac_save_CXXFLAGS
3782 elif test $ac_cv_prog_cxx_g = yes; then
3783 if test "$GXX" = yes; then
3789 if test "$GXX" = yes; then
3796 ac_cpp='$CPP $CPPFLAGS'
3797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3801 depcc="$CXX" am_compiler_list=
3803 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3804 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3805 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3806 echo $ECHO_N "(cached) $ECHO_C" >&6
3808 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3809 # We make a subdir and do the tests there. Otherwise we can end up
3810 # making bogus files that we don't know about and never remove. For
3811 # instance it was reported that on HP-UX the gcc test will end up
3812 # making a dummy file named `D
' -- because `-MD' means
`put the output
3815 # Copy depcomp to subdir because otherwise we won't find it if we're
3816 # using a relative directory.
3817 cp "$am_depcomp" conftest.dir
3819 # We will build objects and dependencies in a subdirectory because
3820 # it helps to detect inapplicable dependency modes. For instance
3821 # both Tru64's cc and ICC support -MD to output dependencies as a
3822 # side effect of compilation, but ICC will put the dependencies in
3823 # the current directory while Tru64 will put them in the object
3827 am_cv_CXX_dependencies_compiler_type=none
3828 if test "$am_compiler_list" = ""; then
3829 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3831 for depmode in $am_compiler_list; do
3832 # Setup a source with many dependencies, because some compilers
3833 # like to wrap large dependency lists on column 80 (with \), and
3834 # we should not choose a depcomp mode which is confused by this.
3836 # We need to recreate these files for each test, as the compiler may
3837 # overwrite some of them when testing with obscure command lines.
3838 # This happens at least with the AIX C compiler.
3840 for i in 1 2 3 4 5 6; do
3841 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3842 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3843 # Solaris 8's
{/usr
,}/bin
/sh.
3844 touch sub
/conftst
$i.h
3846 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3850 # after this tag, mechanisms are not by side-effect, so they'll
3851 # only be used when explicitly requested
3852 if test "x$enable_dependency_tracking" = xyes
; then
3860 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3861 # mode. It turns out that the SunPro C++ compiler does not properly
3862 # handle `-M -o', and we need to detect this.
3863 if depmode
=$depmode \
3864 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3865 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3866 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3867 >/dev
/null
2>conftest.err
&&
3868 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3869 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3870 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3871 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3872 # icc doesn't choke on unknown options, it will just issue warnings
3873 # or remarks (even with -Werror). So we grep stderr for any message
3874 # that says an option was ignored or not supported.
3875 # When given -MP, icc 7.0 and 7.1 complain thusly:
3876 # icc: Command line warning: ignoring option '-M'; no argument required
3877 # The diagnosis changed in icc 8.0:
3878 # icc: Command line remark: option '-MP' not supported
3879 if (grep 'ignoring option' conftest.err ||
3880 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3881 am_cv_CXX_dependencies_compiler_type
=$depmode
3890 am_cv_CXX_dependencies_compiler_type
=none
3894 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3895 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3896 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3899 test "x$enable_dependency_tracking" != xno \
3900 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3901 am__fastdepCXX_TRUE
=
3902 am__fastdepCXX_FALSE
='#'
3904 am__fastdepCXX_TRUE
='#'
3905 am__fastdepCXX_FALSE
=
3910 ac_cpp
='$CPP $CPPFLAGS'
3911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3914 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3915 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3916 # On Suns, sometimes $CPP names a directory.
3917 if test -n "$CPP" && test -d "$CPP"; then
3920 if test -z "$CPP"; then
3921 if test "${ac_cv_prog_CPP+set}" = set; then
3922 echo $ECHO_N "(cached) $ECHO_C" >&6
3924 # Double quotes because CPP needs to be expanded
3925 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3928 for ac_c_preproc_warn_flag
in '' yes
3930 # Use a header file that comes with gcc, so configuring glibc
3931 # with a fresh cross-compiler works.
3932 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3933 # <limits.h> exists even on freestanding compilers.
3934 # On the NeXT, cc -E runs the code through the compiler's parser,
3935 # not just through cpp. "Syntax error" is here to catch this case.
3936 cat >conftest.
$ac_ext <<_ACEOF
3939 cat confdefs.h
>>conftest.
$ac_ext
3940 cat >>conftest.
$ac_ext <<_ACEOF
3941 /* end confdefs.h. */
3943 # include <limits.h>
3945 # include <assert.h>
3949 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3951 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3952 *) ac_try_echo=$ac_try;;
3954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3957 grep -v '^ *+' conftest.er1 >conftest.err
3959 cat conftest.err >&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); } >/dev/null && {
3962 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3963 test ! -s conftest.err
3967 echo "$as_me: failed program was:" >&5
3968 sed 's/^/| /' conftest.$ac_ext >&5
3970 # Broken: fails on valid input.
3974 rm -f conftest.err conftest.$ac_ext
3976 # OK, works on sane cases. Now check whether nonexistent headers
3977 # can be detected and how.
3978 cat >conftest.$ac_ext <<_ACEOF
3981 cat confdefs.h >>conftest.$ac_ext
3982 cat >>conftest.$ac_ext <<_ACEOF
3983 /* end confdefs.h. */
3984 #include <ac_nonexistent.h>
3986 if { (ac_try="$ac_cpp conftest.$ac_ext"
3988 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3989 *) ac_try_echo
=$ac_try;;
3991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3992 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3994 grep -v '^ *+' conftest.er1
>conftest.err
3996 cat conftest.err
>&5
3997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3998 (exit $ac_status); } >/dev
/null
&& {
3999 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4000 test ! -s conftest.err
4002 # Broken: success on invalid input.
4005 echo "$as_me: failed program was:" >&5
4006 sed 's/^/| /' conftest.
$ac_ext >&5
4008 # Passes both tests.
4013 rm -f conftest.err conftest.
$ac_ext
4016 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4017 rm -f conftest.err conftest.
$ac_ext
4018 if $ac_preproc_ok; then
4030 { echo "$as_me:$LINENO: result: $CPP" >&5
4031 echo "${ECHO_T}$CPP" >&6; }
4033 for ac_c_preproc_warn_flag
in '' yes
4035 # Use a header file that comes with gcc, so configuring glibc
4036 # with a fresh cross-compiler works.
4037 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4038 # <limits.h> exists even on freestanding compilers.
4039 # On the NeXT, cc -E runs the code through the compiler's parser,
4040 # not just through cpp. "Syntax error" is here to catch this case.
4041 cat >conftest.
$ac_ext <<_ACEOF
4044 cat confdefs.h
>>conftest.
$ac_ext
4045 cat >>conftest.
$ac_ext <<_ACEOF
4046 /* end confdefs.h. */
4048 # include <limits.h>
4050 # include <assert.h>
4054 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4056 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4057 *) ac_try_echo=$ac_try;;
4059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4062 grep -v '^ *+' conftest.er1 >conftest.err
4064 cat conftest.err >&5
4065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4066 (exit $ac_status); } >/dev/null && {
4067 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4068 test ! -s conftest.err
4072 echo "$as_me: failed program was:" >&5
4073 sed 's/^/| /' conftest.$ac_ext >&5
4075 # Broken: fails on valid input.
4079 rm -f conftest.err conftest.$ac_ext
4081 # OK, works on sane cases. Now check whether nonexistent headers
4082 # can be detected and how.
4083 cat >conftest.$ac_ext <<_ACEOF
4086 cat confdefs.h >>conftest.$ac_ext
4087 cat >>conftest.$ac_ext <<_ACEOF
4088 /* end confdefs.h. */
4089 #include <ac_nonexistent.h>
4091 if { (ac_try="$ac_cpp conftest.$ac_ext"
4093 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4094 *) ac_try_echo
=$ac_try;;
4096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4097 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4099 grep -v '^ *+' conftest.er1
>conftest.err
4101 cat conftest.err
>&5
4102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 (exit $ac_status); } >/dev
/null
&& {
4104 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4105 test ! -s conftest.err
4107 # Broken: success on invalid input.
4110 echo "$as_me: failed program was:" >&5
4111 sed 's/^/| /' conftest.
$ac_ext >&5
4113 # Passes both tests.
4118 rm -f conftest.err conftest.
$ac_ext
4121 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4122 rm -f conftest.err conftest.
$ac_ext
4123 if $ac_preproc_ok; then
4126 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4127 See \`config.log' for more details." >&5
4128 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4129 See \`config.log' for more details." >&2;}
4130 { (exit 1); exit 1; }; }
4134 ac_cpp
='$CPP $CPPFLAGS'
4135 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4136 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4137 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4140 ac_cpp
='$CPP $CPPFLAGS'
4141 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4142 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4143 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4144 if test -n "$ac_tool_prefix"; then
4145 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4146 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4149 if test "${ac_cv_prog_CC+set}" = set; then
4150 echo $ECHO_N "(cached) $ECHO_C" >&6
4152 if test -n "$CC"; then
4153 ac_cv_prog_CC
="$CC" # Let the user override the test.
4155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4159 test -z "$as_dir" && as_dir
=.
4160 for ac_exec_ext
in '' $ac_executable_extensions; do
4161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4162 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4173 if test -n "$CC"; then
4174 { echo "$as_me:$LINENO: result: $CC" >&5
4175 echo "${ECHO_T}$CC" >&6; }
4177 { echo "$as_me:$LINENO: result: no" >&5
4178 echo "${ECHO_T}no" >&6; }
4183 if test -z "$ac_cv_prog_CC"; then
4185 # Extract the first word of "gcc", so it can be a program name with args.
4186 set dummy gcc
; ac_word
=$2
4187 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4189 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4190 echo $ECHO_N "(cached) $ECHO_C" >&6
4192 if test -n "$ac_ct_CC"; then
4193 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4199 test -z "$as_dir" && as_dir
=.
4200 for ac_exec_ext
in '' $ac_executable_extensions; do
4201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4202 ac_cv_prog_ac_ct_CC
="gcc"
4203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4212 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4213 if test -n "$ac_ct_CC"; then
4214 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4215 echo "${ECHO_T}$ac_ct_CC" >&6; }
4217 { echo "$as_me:$LINENO: result: no" >&5
4218 echo "${ECHO_T}no" >&6; }
4221 if test "x$ac_ct_CC" = x
; then
4224 case $cross_compiling:$ac_tool_warned in
4226 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4227 whose name does not start with the host triplet. If you think this
4228 configuration is useful to you, please write to autoconf@gnu.org." >&5
4229 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4230 whose name does not start with the host triplet. If you think this
4231 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4232 ac_tool_warned
=yes ;;
4240 if test -z "$CC"; then
4241 if test -n "$ac_tool_prefix"; then
4242 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4243 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4246 if test "${ac_cv_prog_CC+set}" = set; then
4247 echo $ECHO_N "(cached) $ECHO_C" >&6
4249 if test -n "$CC"; then
4250 ac_cv_prog_CC
="$CC" # Let the user override the test.
4252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4256 test -z "$as_dir" && as_dir
=.
4257 for ac_exec_ext
in '' $ac_executable_extensions; do
4258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4259 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4270 if test -n "$CC"; then
4271 { echo "$as_me:$LINENO: result: $CC" >&5
4272 echo "${ECHO_T}$CC" >&6; }
4274 { echo "$as_me:$LINENO: result: no" >&5
4275 echo "${ECHO_T}no" >&6; }
4281 if test -z "$CC"; then
4282 # Extract the first word of "cc", so it can be a program name with args.
4283 set dummy cc
; ac_word
=$2
4284 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4286 if test "${ac_cv_prog_CC+set}" = set; then
4287 echo $ECHO_N "(cached) $ECHO_C" >&6
4289 if test -n "$CC"; then
4290 ac_cv_prog_CC
="$CC" # Let the user override the test.
4293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4297 test -z "$as_dir" && as_dir
=.
4298 for ac_exec_ext
in '' $ac_executable_extensions; do
4299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4300 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4301 ac_prog_rejected
=yes
4305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4312 if test $ac_prog_rejected = yes; then
4313 # We found a bogon in the path, so make sure we never use it.
4314 set dummy
$ac_cv_prog_CC
4316 if test $# != 0; then
4317 # We chose a different compiler from the bogus one.
4318 # However, it has the same basename, so the bogon will be chosen
4319 # first if we set CC to just the basename; use the full file name.
4321 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4327 if test -n "$CC"; then
4328 { echo "$as_me:$LINENO: result: $CC" >&5
4329 echo "${ECHO_T}$CC" >&6; }
4331 { echo "$as_me:$LINENO: result: no" >&5
4332 echo "${ECHO_T}no" >&6; }
4337 if test -z "$CC"; then
4338 if test -n "$ac_tool_prefix"; then
4339 for ac_prog
in cl.exe
4341 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4342 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4343 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4345 if test "${ac_cv_prog_CC+set}" = set; then
4346 echo $ECHO_N "(cached) $ECHO_C" >&6
4348 if test -n "$CC"; then
4349 ac_cv_prog_CC
="$CC" # Let the user override the test.
4351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4355 test -z "$as_dir" && as_dir
=.
4356 for ac_exec_ext
in '' $ac_executable_extensions; do
4357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4358 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4369 if test -n "$CC"; then
4370 { echo "$as_me:$LINENO: result: $CC" >&5
4371 echo "${ECHO_T}$CC" >&6; }
4373 { echo "$as_me:$LINENO: result: no" >&5
4374 echo "${ECHO_T}no" >&6; }
4378 test -n "$CC" && break
4381 if test -z "$CC"; then
4383 for ac_prog
in cl.exe
4385 # Extract the first word of "$ac_prog", so it can be a program name with args.
4386 set dummy
$ac_prog; ac_word
=$2
4387 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4389 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4390 echo $ECHO_N "(cached) $ECHO_C" >&6
4392 if test -n "$ac_ct_CC"; then
4393 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4399 test -z "$as_dir" && as_dir
=.
4400 for ac_exec_ext
in '' $ac_executable_extensions; do
4401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4402 ac_cv_prog_ac_ct_CC
="$ac_prog"
4403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4412 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4413 if test -n "$ac_ct_CC"; then
4414 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4415 echo "${ECHO_T}$ac_ct_CC" >&6; }
4417 { echo "$as_me:$LINENO: result: no" >&5
4418 echo "${ECHO_T}no" >&6; }
4422 test -n "$ac_ct_CC" && break
4425 if test "x$ac_ct_CC" = x
; then
4428 case $cross_compiling:$ac_tool_warned in
4430 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4431 whose name does not start with the host triplet. If you think this
4432 configuration is useful to you, please write to autoconf@gnu.org." >&5
4433 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4434 whose name does not start with the host triplet. If you think this
4435 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4436 ac_tool_warned
=yes ;;
4445 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4446 See \`config.log' for more details." >&5
4447 echo "$as_me: error: no acceptable C compiler found in \$PATH
4448 See \`config.log' for more details." >&2;}
4449 { (exit 1); exit 1; }; }
4451 # Provide some information about the compiler.
4452 echo "$as_me:$LINENO: checking for C compiler version" >&5
4453 ac_compiler
=`set X $ac_compile; echo $2`
4454 { (ac_try
="$ac_compiler --version >&5"
4456 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4457 *) ac_try_echo=$ac_try;;
4459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4460 (eval "$ac_compiler --version >&5") 2>&5
4462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463 (exit $ac_status); }
4464 { (ac_try="$ac_compiler -v >&5"
4466 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4467 *) ac_try_echo
=$ac_try;;
4469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4470 (eval "$ac_compiler -v >&5") 2>&5
4472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473 (exit $ac_status); }
4474 { (ac_try
="$ac_compiler -V >&5"
4476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4477 *) ac_try_echo=$ac_try;;
4479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4480 (eval "$ac_compiler -V >&5") 2>&5
4482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483 (exit $ac_status); }
4485 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4486 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4487 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4488 echo $ECHO_N "(cached) $ECHO_C" >&6
4490 cat >conftest.$ac_ext <<_ACEOF
4493 cat confdefs.h >>conftest.$ac_ext
4494 cat >>conftest.$ac_ext <<_ACEOF
4495 /* end confdefs.h. */
4508 rm -f conftest.$ac_objext
4509 if { (ac_try="$ac_compile"
4511 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4512 *) ac_try_echo
=$ac_try;;
4514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4515 (eval "$ac_compile") 2>conftest.er1
4517 grep -v '^ *+' conftest.er1
>conftest.err
4519 cat conftest.err
>&5
4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521 (exit $ac_status); } && {
4522 test -z "$ac_c_werror_flag" ||
4523 test ! -s conftest.err
4524 } && test -s conftest.
$ac_objext; then
4527 echo "$as_me: failed program was:" >&5
4528 sed 's/^/| /' conftest.
$ac_ext >&5
4533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4534 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4537 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4538 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4539 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4540 ac_test_CFLAGS
=${CFLAGS+set}
4541 ac_save_CFLAGS
=$CFLAGS
4542 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4543 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4544 if test "${ac_cv_prog_cc_g+set}" = set; then
4545 echo $ECHO_N "(cached) $ECHO_C" >&6
4547 ac_save_c_werror_flag
=$ac_c_werror_flag
4548 ac_c_werror_flag
=yes
4551 cat >conftest.
$ac_ext <<_ACEOF
4554 cat confdefs.h
>>conftest.
$ac_ext
4555 cat >>conftest.
$ac_ext <<_ACEOF
4556 /* end confdefs.h. */
4566 rm -f conftest.
$ac_objext
4567 if { (ac_try
="$ac_compile"
4569 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4570 *) ac_try_echo=$ac_try;;
4572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4573 (eval "$ac_compile") 2>conftest.er1
4575 grep -v '^ *+' conftest.er1 >conftest.err
4577 cat conftest.err >&5
4578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579 (exit $ac_status); } && {
4580 test -z "$ac_c_werror_flag" ||
4581 test ! -s conftest.err
4582 } && test -s conftest.$ac_objext; then
4585 echo "$as_me: failed program was:" >&5
4586 sed 's/^/| /' conftest.$ac_ext >&5
4589 cat >conftest.$ac_ext <<_ACEOF
4592 cat confdefs.h >>conftest.$ac_ext
4593 cat >>conftest.$ac_ext <<_ACEOF
4594 /* end confdefs.h. */
4604 rm -f conftest.$ac_objext
4605 if { (ac_try="$ac_compile"
4607 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4608 *) ac_try_echo
=$ac_try;;
4610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4611 (eval "$ac_compile") 2>conftest.er1
4613 grep -v '^ *+' conftest.er1
>conftest.err
4615 cat conftest.err
>&5
4616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4617 (exit $ac_status); } && {
4618 test -z "$ac_c_werror_flag" ||
4619 test ! -s conftest.err
4620 } && test -s conftest.
$ac_objext; then
4623 echo "$as_me: failed program was:" >&5
4624 sed 's/^/| /' conftest.
$ac_ext >&5
4626 ac_c_werror_flag
=$ac_save_c_werror_flag
4628 cat >conftest.
$ac_ext <<_ACEOF
4631 cat confdefs.h
>>conftest.
$ac_ext
4632 cat >>conftest.
$ac_ext <<_ACEOF
4633 /* end confdefs.h. */
4643 rm -f conftest.
$ac_objext
4644 if { (ac_try
="$ac_compile"
4646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4647 *) ac_try_echo=$ac_try;;
4649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4650 (eval "$ac_compile") 2>conftest.er1
4652 grep -v '^ *+' conftest.er1 >conftest.err
4654 cat conftest.err >&5
4655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656 (exit $ac_status); } && {
4657 test -z "$ac_c_werror_flag" ||
4658 test ! -s conftest.err
4659 } && test -s conftest.$ac_objext; then
4662 echo "$as_me: failed program was:" >&5
4663 sed 's/^/| /' conftest.$ac_ext >&5
4668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4675 ac_c_werror_flag=$ac_save_c_werror_flag
4677 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4678 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4679 if test "$ac_test_CFLAGS" = set; then
4680 CFLAGS=$ac_save_CFLAGS
4681 elif test $ac_cv_prog_cc_g = yes; then
4682 if test "$GCC" = yes; then
4688 if test "$GCC" = yes; then
4694 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4695 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4696 if test "${ac_cv_prog_cc_c89+set}" = set; then
4697 echo $ECHO_N "(cached) $ECHO_C" >&6
4699 ac_cv_prog_cc_c89=no
4701 cat >conftest.$ac_ext <<_ACEOF
4704 cat confdefs.h >>conftest.$ac_ext
4705 cat >>conftest.$ac_ext <<_ACEOF
4706 /* end confdefs.h. */
4709 #include <sys/types.h>
4710 #include <sys/stat.h>
4711 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4712 struct buf { int x; };
4713 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4714 static char *e (p, i)
4720 static char *f (char * (*g) (char **, int), char **p, ...)
4725 s = g (p, va_arg (v,int));
4730 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4731 function prototypes and stuff, but not '\xHH' hex character constants.
4732 These don't provoke an error unfortunately, instead are silently treated
4733 as 'x'. The following induces an error, until -std is added to get
4734 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4735 array size at least. It's necessary to write '\x00'==0 to get something
4736 that's true only with -std. */
4737 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4739 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4740 inside strings and character constants. */
4742 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4744 int test (int i, double x);
4745 struct s1 {int (*f) (int a);};
4746 struct s2 {int (*f) (double a);};
4747 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4753 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4758 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4759 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4761 CC="$ac_save_CC $ac_arg"
4762 rm -f conftest.$ac_objext
4763 if { (ac_try="$ac_compile"
4765 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4766 *) ac_try_echo
=$ac_try;;
4768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4769 (eval "$ac_compile") 2>conftest.er1
4771 grep -v '^ *+' conftest.er1
>conftest.err
4773 cat conftest.err
>&5
4774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4775 (exit $ac_status); } && {
4776 test -z "$ac_c_werror_flag" ||
4777 test ! -s conftest.err
4778 } && test -s conftest.
$ac_objext; then
4779 ac_cv_prog_cc_c89
=$ac_arg
4781 echo "$as_me: failed program was:" >&5
4782 sed 's/^/| /' conftest.
$ac_ext >&5
4787 rm -f core conftest.err conftest.
$ac_objext
4788 test "x$ac_cv_prog_cc_c89" != "xno" && break
4790 rm -f conftest.
$ac_ext
4795 case "x$ac_cv_prog_cc_c89" in
4797 { echo "$as_me:$LINENO: result: none needed" >&5
4798 echo "${ECHO_T}none needed" >&6; } ;;
4800 { echo "$as_me:$LINENO: result: unsupported" >&5
4801 echo "${ECHO_T}unsupported" >&6; } ;;
4803 CC
="$CC $ac_cv_prog_cc_c89"
4804 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4805 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4810 ac_cpp
='$CPP $CPPFLAGS'
4811 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4812 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4813 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4815 depcc
="$CC" am_compiler_list
=
4817 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4818 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4819 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4820 echo $ECHO_N "(cached) $ECHO_C" >&6
4822 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4823 # We make a subdir and do the tests there. Otherwise we can end up
4824 # making bogus files that we don't know about and never remove. For
4825 # instance it was reported that on HP-UX the gcc test will end up
4826 # making a dummy file named `D' -- because `-MD' means `put the output
4829 # Copy depcomp to subdir because otherwise we won't find it if we're
4830 # using a relative directory.
4831 cp "$am_depcomp" conftest.dir
4833 # We will build objects and dependencies in a subdirectory because
4834 # it helps to detect inapplicable dependency modes. For instance
4835 # both Tru64's cc and ICC support -MD to output dependencies as a
4836 # side effect of compilation, but ICC will put the dependencies in
4837 # the current directory while Tru64 will put them in the object
4841 am_cv_CC_dependencies_compiler_type
=none
4842 if test "$am_compiler_list" = ""; then
4843 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4845 for depmode
in $am_compiler_list; do
4846 # Setup a source with many dependencies, because some compilers
4847 # like to wrap large dependency lists on column 80 (with \), and
4848 # we should not choose a depcomp mode which is confused by this.
4850 # We need to recreate these files for each test, as the compiler may
4851 # overwrite some of them when testing with obscure command lines.
4852 # This happens at least with the AIX C compiler.
4854 for i
in 1 2 3 4 5 6; do
4855 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4856 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4857 # Solaris 8's {/usr,}/bin/sh.
4858 touch sub
/conftst
$i.h
4860 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4864 # after this tag, mechanisms are not by side-effect, so they'll
4865 # only be used when explicitly requested
4866 if test "x$enable_dependency_tracking" = xyes
; then
4874 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4875 # mode. It turns out that the SunPro C++ compiler does not properly
4876 # handle `-M -o', and we need to detect this.
4877 if depmode
=$depmode \
4878 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4879 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4880 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4881 >/dev
/null
2>conftest.err
&&
4882 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4883 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4884 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4885 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4886 # icc doesn't choke on unknown options, it will just issue warnings
4887 # or remarks (even with -Werror). So we grep stderr for any message
4888 # that says an option was ignored or not supported.
4889 # When given -MP, icc 7.0 and 7.1 complain thusly:
4890 # icc: Command line warning: ignoring option '-M'; no argument required
4891 # The diagnosis changed in icc 8.0:
4892 # icc: Command line remark: option '-MP' not supported
4893 if (grep 'ignoring option' conftest.err ||
4894 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4895 am_cv_CC_dependencies_compiler_type
=$depmode
4904 am_cv_CC_dependencies_compiler_type
=none
4908 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4909 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4910 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4913 test "x$enable_dependency_tracking" != xno \
4914 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4916 am__fastdepCC_FALSE
='#'
4918 am__fastdepCC_TRUE
='#'
4919 am__fastdepCC_FALSE
=
4924 am_cv_prog_cc_stdc
=$ac_cv_prog_cc_stdc
4926 if test "x$CC" != xcc
; then
4927 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
4928 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
4930 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
4931 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
4933 set dummy
$CC; ac_cc
=`echo $2 |
4934 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4935 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
4936 echo $ECHO_N "(cached) $ECHO_C" >&6
4938 cat >conftest.
$ac_ext <<_ACEOF
4941 cat confdefs.h
>>conftest.
$ac_ext
4942 cat >>conftest.
$ac_ext <<_ACEOF
4943 /* end confdefs.h. */
4953 # Make sure it works both with $CC and with simple cc.
4954 # We do the test twice because some compilers refuse to overwrite an
4955 # existing .o file with -o, though they will create one.
4956 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4958 if { (case "(($ac_try" in
4959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4960 *) ac_try_echo=$ac_try;;
4962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4963 (eval "$ac_try") 2>&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); } &&
4967 test -f conftest2.$ac_objext && { (case "(($ac_try" in
4968 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4969 *) ac_try_echo
=$ac_try;;
4971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4972 (eval "$ac_try") 2>&5
4974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975 (exit $ac_status); };
4977 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
4978 if test "x$CC" != xcc
; then
4979 # Test first that cc exists at all.
4980 if { ac_try
='cc -c conftest.$ac_ext >&5'
4981 { (case "(($ac_try" in
4982 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4983 *) ac_try_echo=$ac_try;;
4985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4986 (eval "$ac_try") 2>&5
4988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4989 (exit $ac_status); }; }; then
4990 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4992 if { (case "(($ac_try" in
4993 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4994 *) ac_try_echo
=$ac_try;;
4996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4997 (eval "$ac_try") 2>&5
4999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5000 (exit $ac_status); } &&
5001 test -f conftest2.
$ac_objext && { (case "(($ac_try" in
5002 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5003 *) ac_try_echo=$ac_try;;
5005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5006 (eval "$ac_try") 2>&5
5008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5009 (exit $ac_status); };
5014 # cc exists but doesn't like -o.
5015 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5020 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5022 rm -f core conftest*
5025 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5026 { echo "$as_me:$LINENO: result: yes" >&5
5027 echo "${ECHO_T}yes" >&6; }
5029 { echo "$as_me:$LINENO: result: no" >&5
5030 echo "${ECHO_T}no" >&6; }
5032 cat >>confdefs.h <<\_ACEOF
5033 #define NO_MINUS_C_MINUS_O 1
5038 # FIXME: we rely on the cache variable name because
5039 # there is no other way.
5041 ac_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5042 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o
`\" != yes"; then
5043 # Losing compiler, so override with the script.
5044 # FIXME: It is wrong to rewrite CC.
5045 # But if we don't then we get into trouble of one sort or another.
5046 # A longer-term fix would be to have automake use am__CC in this case,
5047 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5048 CC="$am_aux_dir/compile $CC"
5052 { echo "$as_me:$LINENO: checking for function prototypes" >&5
5053 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
5054 if test "$ac_cv_prog_cc_c89" != no; then
5055 { echo "$as_me:$LINENO: result: yes" >&5
5056 echo "${ECHO_T}yes" >&6; }
5058 cat >>confdefs.h <<\_ACEOF
5059 #define PROTOTYPES 1
5063 cat >>confdefs.h <<\_ACEOF
5064 #define __PROTOTYPES 1
5068 { echo "$as_me:$LINENO: result: no" >&5
5069 echo "${ECHO_T}no" >&6; }
5074 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5075 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5076 if test "${ac_cv_path_GREP+set}" = set; then
5077 echo $ECHO_N "(cached) $ECHO_C" >&6
5079 # Extract the first word of "grep ggrep" to use in msg output
5080 if test -z "$GREP"; then
5081 set dummy grep ggrep; ac_prog_name=$2
5082 if test "${ac_cv_path_GREP+set}" = set; then
5083 echo $ECHO_N "(cached) $ECHO_C" >&6
5085 ac_path_GREP_found=false
5086 # Loop through the user's path and test for each of PROGNAME-LIST
5087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5088 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5091 test -z "$as_dir" && as_dir=.
5092 for ac_prog in grep ggrep; do
5093 for ac_exec_ext in '' $ac_executable_extensions; do
5094 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5095 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5096 # Check for GNU ac_path_GREP and select it if it is found.
5097 # Check for GNU $ac_path_GREP
5098 case `"$ac_path_GREP" --version 2>&1` in
5100 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5103 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5106 cat "conftest.in" "conftest.in" >"conftest.tmp"
5107 mv "conftest.tmp" "conftest.in"
5108 cp "conftest.in" "conftest.nl"
5109 echo 'GREP' >> "conftest.nl"
5110 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5111 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5112 ac_count=`expr $ac_count + 1`
5113 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5114 # Best one so far, save it but keep looking for a better one
5115 ac_cv_path_GREP="$ac_path_GREP"
5116 ac_path_GREP_max=$ac_count
5118 # 10*(2^10) chars as input seems more than enough
5119 test $ac_count -gt 10 && break
5121 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5125 $ac_path_GREP_found && break 3
5135 GREP="$ac_cv_path_GREP"
5136 if test -z "$GREP"; then
5137 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5138 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5139 { (exit 1); exit 1; }; }
5143 ac_cv_path_GREP=$GREP
5148 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5149 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5150 GREP="$ac_cv_path_GREP"
5153 { echo "$as_me:$LINENO: checking for egrep" >&5
5154 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5155 if test "${ac_cv_path_EGREP+set}" = set; then
5156 echo $ECHO_N "(cached) $ECHO_C" >&6
5158 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5159 then ac_cv_path_EGREP="$GREP -E"
5161 # Extract the first word of "egrep" to use in msg output
5162 if test -z "$EGREP"; then
5163 set dummy egrep; ac_prog_name=$2
5164 if test "${ac_cv_path_EGREP+set}" = set; then
5165 echo $ECHO_N "(cached) $ECHO_C" >&6
5167 ac_path_EGREP_found=false
5168 # Loop through the user's path and test for each of PROGNAME-LIST
5169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5170 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5173 test -z "$as_dir" && as_dir=.
5174 for ac_prog in egrep; do
5175 for ac_exec_ext in '' $ac_executable_extensions; do
5176 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5177 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5178 # Check for GNU ac_path_EGREP and select it if it is found.
5179 # Check for GNU $ac_path_EGREP
5180 case `"$ac_path_EGREP" --version 2>&1` in
5182 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5185 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5188 cat "conftest.in" "conftest.in" >"conftest.tmp"
5189 mv "conftest.tmp" "conftest.in"
5190 cp "conftest.in" "conftest.nl"
5191 echo 'EGREP' >> "conftest.nl"
5192 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5193 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5194 ac_count=`expr $ac_count + 1`
5195 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5196 # Best one so far, save it but keep looking for a better one
5197 ac_cv_path_EGREP="$ac_path_EGREP"
5198 ac_path_EGREP_max=$ac_count
5200 # 10*(2^10) chars as input seems more than enough
5201 test $ac_count -gt 10 && break
5203 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5207 $ac_path_EGREP_found && break 3
5217 EGREP="$ac_cv_path_EGREP"
5218 if test -z "$EGREP"; then
5219 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5220 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5221 { (exit 1); exit 1; }; }
5225 ac_cv_path_EGREP=$EGREP
5231 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5232 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5233 EGREP="$ac_cv_path_EGREP"
5236 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5237 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5238 if test "${ac_cv_header_stdc+set}" = set; then
5239 echo $ECHO_N "(cached) $ECHO_C" >&6
5241 cat >conftest.$ac_ext <<_ACEOF
5244 cat confdefs.h >>conftest.$ac_ext
5245 cat >>conftest.$ac_ext <<_ACEOF
5246 /* end confdefs.h. */
5260 rm -f conftest.$ac_objext
5261 if { (ac_try="$ac_compile"
5263 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5264 *) ac_try_echo
=$ac_try;;
5266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5267 (eval "$ac_compile") 2>conftest.er1
5269 grep -v '^ *+' conftest.er1
>conftest.err
5271 cat conftest.err
>&5
5272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273 (exit $ac_status); } && {
5274 test -z "$ac_c_werror_flag" ||
5275 test ! -s conftest.err
5276 } && test -s conftest.
$ac_objext; then
5277 ac_cv_header_stdc
=yes
5279 echo "$as_me: failed program was:" >&5
5280 sed 's/^/| /' conftest.
$ac_ext >&5
5282 ac_cv_header_stdc
=no
5285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5287 if test $ac_cv_header_stdc = yes; then
5288 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5289 cat >conftest.
$ac_ext <<_ACEOF
5292 cat confdefs.h
>>conftest.
$ac_ext
5293 cat >>conftest.
$ac_ext <<_ACEOF
5294 /* end confdefs.h. */
5298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5299 $EGREP "memchr" >/dev
/null
2>&1; then
5302 ac_cv_header_stdc
=no
5308 if test $ac_cv_header_stdc = yes; then
5309 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5310 cat >conftest.
$ac_ext <<_ACEOF
5313 cat confdefs.h
>>conftest.
$ac_ext
5314 cat >>conftest.
$ac_ext <<_ACEOF
5315 /* end confdefs.h. */
5319 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5320 $EGREP "free" >/dev
/null
2>&1; then
5323 ac_cv_header_stdc
=no
5329 if test $ac_cv_header_stdc = yes; then
5330 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5331 if test "$cross_compiling" = yes; then
5334 cat >conftest.
$ac_ext <<_ACEOF
5337 cat confdefs.h
>>conftest.
$ac_ext
5338 cat >>conftest.
$ac_ext <<_ACEOF
5339 /* end confdefs.h. */
5342 #if ((' ' & 0x0FF) == 0x020)
5343 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5344 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5346 # define ISLOWER(c) \
5347 (('a' <= (c) && (c) <= 'i') \
5348 || ('j' <= (c) && (c) <= 'r') \
5349 || ('s' <= (c) && (c) <= 'z'))
5350 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5353 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5358 for (i = 0; i < 256; i++)
5359 if (XOR (islower (i), ISLOWER (i))
5360 || toupper (i) != TOUPPER (i))
5365 rm -f conftest
$ac_exeext
5366 if { (ac_try
="$ac_link"
5368 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5369 *) ac_try_echo=$ac_try;;
5371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5372 (eval "$ac_link") 2>&5
5374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5375 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5376 { (case "(($ac_try" in
5377 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5378 *) ac_try_echo
=$ac_try;;
5380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5381 (eval "$ac_try") 2>&5
5383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5384 (exit $ac_status); }; }; then
5387 echo "$as_me: program exited with status $ac_status" >&5
5388 echo "$as_me: failed program was:" >&5
5389 sed 's/^/| /' conftest.
$ac_ext >&5
5392 ac_cv_header_stdc
=no
5394 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5400 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5401 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5402 if test $ac_cv_header_stdc = yes; then
5404 cat >>confdefs.h
<<\_ACEOF
5405 #define STDC_HEADERS 1
5410 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5420 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5421 inttypes.h stdint.h unistd.h
5423 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5424 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5426 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5427 echo $ECHO_N "(cached) $ECHO_C" >&6
5429 cat >conftest.
$ac_ext <<_ACEOF
5432 cat confdefs.h
>>conftest.
$ac_ext
5433 cat >>conftest.
$ac_ext <<_ACEOF
5434 /* end confdefs.h. */
5435 $ac_includes_default
5437 #include <$ac_header>
5439 rm -f conftest.
$ac_objext
5440 if { (ac_try
="$ac_compile"
5442 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5443 *) ac_try_echo=$ac_try;;
5445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5446 (eval "$ac_compile") 2>conftest.er1
5448 grep -v '^ *+' conftest.er1 >conftest.err
5450 cat conftest.err >&5
5451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5452 (exit $ac_status); } && {
5453 test -z "$ac_c_werror_flag" ||
5454 test ! -s conftest.err
5455 } && test -s conftest.$ac_objext; then
5456 eval "$as_ac_Header=yes"
5458 echo "$as_me: failed program was:" >&5
5459 sed 's/^/| /' conftest.$ac_ext >&5
5461 eval "$as_ac_Header=no"
5464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5466 ac_res=`eval echo '${'$as_ac_Header'}'`
5467 { echo "$as_me:$LINENO: result: $ac_res" >&5
5468 echo "${ECHO_T}$ac_res" >&6; }
5469 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5470 cat >>confdefs.h <<_ACEOF
5471 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5480 if test "$ac_cv_prog_cc_stdc" != no; then
5483 U=_ ANSI2KNR=./ansi2knr
5485 # Ensure some checks needed by ansi2knr itself.
5488 for ac_header in string.h
5490 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5491 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5492 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5494 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5495 echo $ECHO_N "(cached) $ECHO_C" >&6
5497 ac_res=`eval echo '${'$as_ac_Header'}'`
5498 { echo "$as_me:$LINENO: result: $ac_res" >&5
5499 echo "${ECHO_T}$ac_res" >&6; }
5501 # Is the header compilable?
5502 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5503 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5504 cat >conftest.$ac_ext <<_ACEOF
5507 cat confdefs.h >>conftest.$ac_ext
5508 cat >>conftest.$ac_ext <<_ACEOF
5509 /* end confdefs.h. */
5510 $ac_includes_default
5511 #include <$ac_header>
5513 rm -f conftest.$ac_objext
5514 if { (ac_try="$ac_compile"
5516 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5517 *) ac_try_echo
=$ac_try;;
5519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5520 (eval "$ac_compile") 2>conftest.er1
5522 grep -v '^ *+' conftest.er1
>conftest.err
5524 cat conftest.err
>&5
5525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5526 (exit $ac_status); } && {
5527 test -z "$ac_c_werror_flag" ||
5528 test ! -s conftest.err
5529 } && test -s conftest.
$ac_objext; then
5530 ac_header_compiler
=yes
5532 echo "$as_me: failed program was:" >&5
5533 sed 's/^/| /' conftest.
$ac_ext >&5
5535 ac_header_compiler
=no
5538 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5539 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5540 echo "${ECHO_T}$ac_header_compiler" >&6; }
5542 # Is the header present?
5543 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5544 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5545 cat >conftest.
$ac_ext <<_ACEOF
5548 cat confdefs.h
>>conftest.
$ac_ext
5549 cat >>conftest.
$ac_ext <<_ACEOF
5550 /* end confdefs.h. */
5551 #include <$ac_header>
5553 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5556 *) ac_try_echo=$ac_try;;
5558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5559 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5561 grep -v '^ *+' conftest.er1 >conftest.err
5563 cat conftest.err >&5
5564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5565 (exit $ac_status); } >/dev/null && {
5566 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5567 test ! -s conftest.err
5569 ac_header_preproc=yes
5571 echo "$as_me: failed program was:" >&5
5572 sed 's/^/| /' conftest.$ac_ext >&5
5574 ac_header_preproc=no
5577 rm -f conftest.err conftest.$ac_ext
5578 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5579 echo "${ECHO_T}$ac_header_preproc" >&6; }
5581 # So? What about this header?
5582 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5584 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5585 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5587 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5588 ac_header_preproc=yes
5591 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5592 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5593 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5594 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5595 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5596 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5597 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5598 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5599 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5600 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5601 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5602 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5604 ## ------------------------------------------- ##
5605 ## Report this to systemtap@sources.redhat.com ##
5606 ## ------------------------------------------- ##
5608 ) | sed "s/^/$as_me: WARNING: /" >&2
5611 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5613 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5614 echo $ECHO_N "(cached) $ECHO_C" >&6
5616 eval "$as_ac_Header=\$ac_header_preproc"
5618 ac_res=`eval echo '${'$as_ac_Header'}'`
5619 { echo "$as_me:$LINENO: result: $ac_res" >&5
5620 echo "${ECHO_T}$ac_res" >&6; }
5623 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5624 cat >>confdefs.h <<_ACEOF
5625 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5633 if test -n "$ac_tool_prefix"; then
5634 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5635 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5636 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5638 if test "${ac_cv_prog_RANLIB+set}" = set; then
5639 echo $ECHO_N "(cached) $ECHO_C" >&6
5641 if test -n "$RANLIB"; then
5642 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5648 test -z "$as_dir" && as_dir=.
5649 for ac_exec_ext in '' $ac_executable_extensions; do
5650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5651 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5661 RANLIB=$ac_cv_prog_RANLIB
5662 if test -n "$RANLIB"; then
5663 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5664 echo "${ECHO_T}$RANLIB" >&6; }
5666 { echo "$as_me:$LINENO: result: no" >&5
5667 echo "${ECHO_T}no" >&6; }
5672 if test -z "$ac_cv_prog_RANLIB"; then
5673 ac_ct_RANLIB=$RANLIB
5674 # Extract the first word of "ranlib", so it can be a program name with args.
5675 set dummy ranlib; ac_word=$2
5676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5678 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5679 echo $ECHO_N "(cached) $ECHO_C" >&6
5681 if test -n "$ac_ct_RANLIB"; then
5682 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5688 test -z "$as_dir" && as_dir=.
5689 for ac_exec_ext in '' $ac_executable_extensions; do
5690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5691 ac_cv_prog_ac_ct_RANLIB="ranlib"
5692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5701 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5702 if test -n "$ac_ct_RANLIB"; then
5703 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5704 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5706 { echo "$as_me:$LINENO: result: no" >&5
5707 echo "${ECHO_T}no" >&6; }
5710 if test "x$ac_ct_RANLIB" = x; then
5713 case $cross_compiling:$ac_tool_warned in
5715 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5716 whose name does not start with the host triplet. If you think this
5717 configuration is useful to you, please write to autoconf@gnu.org." >&5
5718 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5719 whose name does not start with the host triplet. If you think this
5720 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5721 ac_tool_warned=yes ;;
5723 RANLIB=$ac_ct_RANLIB
5726 RANLIB="$ac_cv_prog_RANLIB"
5731 # Find a good install program. We prefer a C program (faster),
5732 # so one script is as good as another. But avoid the broken or
5733 # incompatible versions:
5734 # SysV /etc/install, /usr/sbin/install
5735 # SunOS /usr/etc/install
5736 # IRIX /sbin/install
5738 # AmigaOS /C/install, which installs bootblocks on floppy discs
5739 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5740 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5741 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5742 # OS/2's system install, which has a completely different semantic
5743 # ./install, which can be erroneously created by make from ./install.sh.
5744 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5745 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5746 if test -z "$INSTALL"; then
5747 if test "${ac_cv_path_install+set}" = set; then
5748 echo $ECHO_N "(cached) $ECHO_C" >&6
5750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5754 test -z "$as_dir" && as_dir=.
5755 # Account for people who put trailing slashes in PATH elements.
5757 ./ | .// | /cC/* | \
5758 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5759 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5762 # OSF1 and SCO ODT 3.0 have their own names for install.
5763 # Don't use installbsd from OSF since it installs stuff as root
5765 for ac_prog in ginstall scoinst install; do
5766 for ac_exec_ext in '' $ac_executable_extensions; do
5767 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5768 if test $ac_prog = install &&
5769 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5770 # AIX install. It has an incompatible calling convention.
5772 elif test $ac_prog = install &&
5773 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5774 # program-specific install script used by HP pwplus--don't use.
5777 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5790 if test "${ac_cv_path_install+set}" = set; then
5791 INSTALL=$ac_cv_path_install
5793 # As a last resort, use the slow shell script. Don't cache a
5794 # value for INSTALL within a source directory, because that will
5795 # break other packages using the cache if that directory is
5796 # removed, or if the value is a relative name.
5797 INSTALL=$ac_install_sh
5800 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5801 echo "${ECHO_T}$INSTALL" >&6; }
5803 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5804 # It thinks the first close brace ends the variable substitution.
5805 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5807 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5809 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5811 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5812 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
5813 set x ${MAKE-make}; ac_make=`echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5814 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
5815 echo $ECHO_N "(cached) $ECHO_C" >&6
5817 cat >conftest.make <<\_ACEOF
5820 @echo '@@@%%%=$(MAKE)=@@@%%%'
5822 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5823 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
5825 eval ac_cv_prog_make_${ac_make}_set=yes;;
5827 eval ac_cv_prog_make_${ac_make}_set=no;;
5831 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5832 { echo "$as_me:$LINENO: result: yes" >&5
5833 echo "${ECHO_T}yes" >&6; }
5836 { echo "$as_me:$LINENO: result: no" >&5
5837 echo "${ECHO_T}no" >&6; }
5838 SET_MAKE="MAKE=${MAKE-make}"
5844 # Check whether --enable-perfmon was given.
5845 if test "${enable_perfmon+set}" = set; then
5846 enableval=$enable_perfmon;
5847 if test "$enable_perfmon" != "no"; then
5848 CPPFLAGS="$CPPFLAGS -DPERFMON"
5850 if test "$enable_perfmon" != "yes"; then
5851 CPPFLAGS="$CPPFLAGS -I$enable_perfmon/include"
5852 LDFLAGS="$LDFLAGS -L$enable_perfmon/lib"
5855 { echo "$as_me:$LINENO: checking for pfm_start in -lpfm" >&5
5856 echo $ECHO_N "checking for pfm_start in -lpfm... $ECHO_C" >&6; }
5857 if test "${ac_cv_lib_pfm_pfm_start+set}" = set; then
5858 echo $ECHO_N "(cached) $ECHO_C" >&6
5860 ac_check_lib_save_LIBS=$LIBS
5862 cat >conftest.$ac_ext <<_ACEOF
5865 cat confdefs.h >>conftest.$ac_ext
5866 cat >>conftest.$ac_ext <<_ACEOF
5867 /* end confdefs.h. */
5869 /* Override any GCC internal prototype to avoid an error.
5870 Use char because int might match the return type of a GCC
5871 builtin and then its argument prototype would still apply. */
5879 return pfm_start ();
5884 rm -f conftest.$ac_objext conftest$ac_exeext
5885 if { (ac_try="$ac_link"
5887 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5888 *) ac_try_echo
=$ac_try;;
5890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5891 (eval "$ac_link") 2>conftest.er1
5893 grep -v '^ *+' conftest.er1
>conftest.err
5895 cat conftest.err
>&5
5896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5897 (exit $ac_status); } && {
5898 test -z "$ac_c_werror_flag" ||
5899 test ! -s conftest.err
5900 } && test -s conftest
$ac_exeext &&
5901 $as_test_x conftest
$ac_exeext; then
5902 ac_cv_lib_pfm_pfm_start
=yes
5904 echo "$as_me: failed program was:" >&5
5905 sed 's/^/| /' conftest.
$ac_ext >&5
5907 ac_cv_lib_pfm_pfm_start
=no
5910 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5911 conftest
$ac_exeext conftest.
$ac_ext
5912 LIBS
=$ac_check_lib_save_LIBS
5914 { echo "$as_me:$LINENO: result: $ac_cv_lib_pfm_pfm_start" >&5
5915 echo "${ECHO_T}$ac_cv_lib_pfm_pfm_start" >&6; }
5916 if test $ac_cv_lib_pfm_pfm_start = yes; then
5917 cat >>confdefs.h
<<_ACEOF
5918 #define HAVE_LIBPFM 1
5925 { { echo "$as_me:$LINENO: error: systemtap cannot find required perfmon libs (libpfm-devel may need to be installed" >&5
5926 echo "$as_me: error: systemtap cannot find required perfmon libs (libpfm-devel may need to be installed" >&2;}
5927 { (exit 1); exit 1; }; }
5934 if test "${enable_prologues+set}" != set; then
5935 { echo "$as_me:$LINENO: checking to see if prologue searching should be the default" >&5
5936 echo $ECHO_N "checking to see if prologue searching should be the default... $ECHO_C" >&6; }
5937 if { echo '#if __i386__ == 1 && __GNUC__ < 4'
5939 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
5940 enable_prologues
=yes
5941 { echo "$as_me:$LINENO: result: yes" >&5
5942 echo "${ECHO_T}yes" >&6; }
5944 { echo "$as_me:$LINENO: result: no" >&5
5945 echo "${ECHO_T}no" >&6; }
5948 # Check whether --enable-prologues was given.
5949 if test "${enable_prologues+set}" = set; then
5950 enableval
=$enable_prologues;
5951 if test "$enable_prologues" = yes; then
5953 cat >>confdefs.h
<<\_ACEOF
5954 #define ENABLE_PROLOGUES
5961 # Check whether --enable-ssp was given.
5962 if test "${enable_ssp+set}" = set; then
5963 enableval
=$enable_ssp;
5966 if test "x$enable_ssp" != xno
; then
5968 save_CFLAGS
="$CFLAGS"
5969 save_CXXFLAGS
="$CXXFLAGS"
5970 CXXFLAGS
="$CXXFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
5971 CFLAGS
="$CFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
5972 cat >conftest.
$ac_ext <<_ACEOF
5975 rm -f conftest.
$ac_objext
5976 if { (ac_try
="$ac_compile"
5978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5979 *) ac_try_echo=$ac_try;;
5981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5982 (eval "$ac_compile") 2>conftest.er1
5984 grep -v '^ *+' conftest.er1 >conftest.err
5986 cat conftest.err >&5
5987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5988 (exit $ac_status); } && {
5989 test -z "$ac_c_werror_flag" ||
5990 test ! -s conftest.err
5991 } && test -s conftest.$ac_objext; then
5993 { echo "$as_me:$LINENO: Compiling with gcc -fstack-protector-all et al." >&5
5994 echo "$as_me: Compiling with gcc -fstack-protector-all et al." >&6;}
5995 CFLAGS="$save_CFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
5996 CXFXLAGS="$save_CXXFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
5998 echo "$as_me: failed program was:" >&5
5999 sed 's/^/| /' conftest.$ac_ext >&5
6002 { echo "$as_me:$LINENO: Compiler does not support -fstack-protector-all et al." >&5
6003 echo "$as_me: Compiler does not support -fstack-protector-all et al." >&6;}
6004 CFLAGS="$save_CFLAGS"
6005 CXXFLAGS="$save_CXXFLAGS"
6008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6012 # Check whether --enable-pie was given.
6013 if test "${enable_pie+set}" = set; then
6014 enableval=$enable_pie;
6017 if test "x$enable_pie" != xno; then
6019 save_CFLAGS="$CFLAGS"
6020 save_CXXFLAGS="$CXXFLAGS"
6021 save_LDFLAGS="$LDFLAGS"
6022 CFLAGS="$CFLAGS -fpie"
6023 CXXFLAGS="$CXXFLAGS -fpie"
6024 LDFLAGS="$LDFLAGS -pie -Wl,-z,relro -Wl,-z,now"
6025 cat >conftest.$ac_ext <<_ACEOF
6028 rm -f conftest.$ac_objext conftest$ac_exeext
6029 if { (ac_try="$ac_link"
6031 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6032 *) ac_try_echo
=$ac_try;;
6034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6035 (eval "$ac_link") 2>conftest.er1
6037 grep -v '^ *+' conftest.er1
>conftest.err
6039 cat conftest.err
>&5
6040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6041 (exit $ac_status); } && {
6042 test -z "$ac_c_werror_flag" ||
6043 test ! -s conftest.err
6044 } && test -s conftest
$ac_exeext &&
6045 $as_test_x conftest
$ac_exeext; then
6047 { echo "$as_me:$LINENO: Compiling with gcc pie et al." >&5
6048 echo "$as_me: Compiling with gcc pie et al." >&6;}
6049 # LDFLAGS is special since it may be passed down to bundled-elfutils,
6050 # and interfere with the .so's built therein
6051 PIELDFLAGS
="$LDFLAGS -pie -Wl,-z,relro -Wl,-z,now"
6052 LDFLAGS
="$save_LDFLAGS"
6055 echo "$as_me: failed program was:" >&5
6056 sed 's/^/| /' conftest.
$ac_ext >&5
6059 { echo "$as_me:$LINENO: Compiler does not support -pie et al." >&5
6060 echo "$as_me: Compiler does not support -pie et al." >&6;}
6061 CFLAGS
="$save_CFLAGS"
6062 CXXFLAGS
="$save_CXXFLAGS"
6064 LDFLAGS
="$save_LDFLAGS"
6067 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6068 conftest
$ac_exeext conftest.
$ac_ext
6073 # Check whether --enable-sqlite was given.
6074 if test "${enable_sqlite+set}" = set; then
6075 enableval
=$enable_sqlite;
6080 if test "x$enable_sqlite" != xno
; then
6081 { echo "$as_me:$LINENO: checking for sqlite3_open in -lsqlite3" >&5
6082 echo $ECHO_N "checking for sqlite3_open in -lsqlite3... $ECHO_C" >&6; }
6083 if test "${ac_cv_lib_sqlite3_sqlite3_open+set}" = set; then
6084 echo $ECHO_N "(cached) $ECHO_C" >&6
6086 ac_check_lib_save_LIBS
=$LIBS
6087 LIBS
="-lsqlite3 $LIBS"
6088 cat >conftest.
$ac_ext <<_ACEOF
6091 cat confdefs.h
>>conftest.
$ac_ext
6092 cat >>conftest.
$ac_ext <<_ACEOF
6093 /* end confdefs.h. */
6095 /* Override any GCC internal prototype to avoid an error.
6096 Use char because int might match the return type of a GCC
6097 builtin and then its argument prototype would still apply. */
6101 char sqlite3_open ();
6105 return sqlite3_open ();
6110 rm -f conftest.
$ac_objext conftest
$ac_exeext
6111 if { (ac_try
="$ac_link"
6113 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6114 *) ac_try_echo=$ac_try;;
6116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6117 (eval "$ac_link") 2>conftest.er1
6119 grep -v '^ *+' conftest.er1 >conftest.err
6121 cat conftest.err >&5
6122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6123 (exit $ac_status); } && {
6124 test -z "$ac_c_werror_flag" ||
6125 test ! -s conftest.err
6126 } && test -s conftest$ac_exeext &&
6127 $as_test_x conftest$ac_exeext; then
6128 ac_cv_lib_sqlite3_sqlite3_open=yes
6130 echo "$as_me: failed program was:" >&5
6131 sed 's/^/| /' conftest.$ac_ext >&5
6133 ac_cv_lib_sqlite3_sqlite3_open=no
6136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6137 conftest$ac_exeext conftest.$ac_ext
6138 LIBS=$ac_check_lib_save_LIBS
6140 { echo "$as_me:$LINENO: result: $ac_cv_lib_sqlite3_sqlite3_open" >&5
6141 echo "${ECHO_T}$ac_cv_lib_sqlite3_sqlite3_open" >&6; }
6142 if test $ac_cv_lib_sqlite3_sqlite3_open = yes; then
6143 sqlite3_LIBS=-lsqlite3
6146 cat >>confdefs.h <<\_ACEOF
6147 #define HAVE_LIBSQLITE3 1
6151 if test "x$enable_sqlite" != xcheck; then
6152 { { echo "$as_me:$LINENO: error: --enable-sqlite was given, but test for sqlite failed
6153 See \`config.log
' for more details." >&5
6154 echo "$as_me: error: --enable-sqlite was given, but test for sqlite failed
6155 See \`config.log' for more details.
" >&2;}
6156 { (exit 1); exit 1; }; }
6163 # Check whether --enable-crash was given.
6164 if test "${enable_crash+set}" = set; then
6165 enableval=$enable_crash; if test "$enable_crash" != "no
"; then
6166 save_CPPFLAGS="$CPPFLAGS"
6167 if test "$enable_crash" != "yes"; then
6168 staplog_CPPFLAGS=-I$enable_crash
6169 CPPFLAGS="${staplog_CPPFLAGS} $CPPFLAGS"
6173 for ac_header in crash/defs.h
6175 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
6176 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
6177 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
6178 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6179 echo $ECHO_N "(cached
) $ECHO_C" >&6
6181 cat >conftest.$ac_ext <<_ACEOF
6184 cat confdefs.h >>conftest.$ac_ext
6185 cat >>conftest.$ac_ext <<_ACEOF
6186 /* end confdefs.h. */
6191 #include <$ac_header>
6193 rm -f conftest.$ac_objext
6194 if { (ac_try="$ac_compile"
6196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6197 *) ac_try_echo=$ac_try;;
6199 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6200 (eval "$ac_compile") 2>conftest.er1
6202 grep -v '^ *+' conftest.er1 >conftest.err
6204 cat conftest.err >&5
6205 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6206 (exit $ac_status); } && {
6207 test -z "$ac_c_werror_flag" ||
6208 test ! -s conftest.err
6209 } && test -s conftest.$ac_objext; then
6210 eval "$as_ac_Header=yes"
6212 echo "$as_me: failed program was
:" >&5
6213 sed 's/^/| /' conftest.$ac_ext >&5
6215 eval "$as_ac_Header=no
"
6218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6220 ac_res=`eval echo '${'$as_ac_Header'}'`
6221 { echo "$as_me:$LINENO: result
: $ac_res" >&5
6222 echo "${ECHO_T}$ac_res" >&6; }
6223 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6224 cat >>confdefs.h <<_ACEOF
6225 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
6229 { { echo "$as_me:$LINENO: error
: cannot
find required crash header
(crash-devel may need to be installed
)" >&5
6230 echo "$as_me: error
: cannot
find required crash header
(crash-devel may need to be installed
)" >&2;}
6231 { (exit 1); exit 1; }; }
6236 CPPFLAGS="$save_CPPFLAGS"
6242 if test "$enable_crash" != "no
"; then
6243 BUILD_CRASHMOD_TRUE=
6244 BUILD_CRASHMOD_FALSE='#'
6246 BUILD_CRASHMOD_TRUE='#'
6247 BUILD_CRASHMOD_FALSE=
6251 # Check whether --enable-docs was given.
6252 if test "${enable_docs+set}" = set; then
6253 enableval=$enable_docs; enable_docs=$enableval
6258 # Extract the first word of "latex
", so it can be a program name with args.
6259 set dummy latex; ac_word=$2
6260 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6261 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6262 if test "${ac_cv_prog_have_latex+set}" = set; then
6263 echo $ECHO_N "(cached
) $ECHO_C" >&6
6265 if test -n "$have_latex"; then
6266 ac_cv_prog_have_latex="$have_latex" # Let the user override the test.
6268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6272 test -z "$as_dir" && as_dir=.
6273 for ac_exec_ext in '' $ac_executable_extensions; do
6274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6275 ac_cv_prog_have_latex="yes"
6276 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6283 test -z "$ac_cv_prog_have_latex" && ac_cv_prog_have_latex="no
"
6286 have_latex=$ac_cv_prog_have_latex
6287 if test -n "$have_latex"; then
6288 { echo "$as_me:$LINENO: result
: $have_latex" >&5
6289 echo "${ECHO_T}$have_latex" >&6; }
6291 { echo "$as_me:$LINENO: result
: no
" >&5
6292 echo "${ECHO_T}no
" >&6; }
6296 # Extract the first word of "dvips
", so it can be a program name with args.
6297 set dummy dvips; ac_word=$2
6298 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6299 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6300 if test "${ac_cv_prog_have_dvips+set}" = set; then
6301 echo $ECHO_N "(cached
) $ECHO_C" >&6
6303 if test -n "$have_dvips"; then
6304 ac_cv_prog_have_dvips="$have_dvips" # Let the user override the test.
6306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6310 test -z "$as_dir" && as_dir=.
6311 for ac_exec_ext in '' $ac_executable_extensions; do
6312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6313 ac_cv_prog_have_dvips="yes"
6314 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6321 test -z "$ac_cv_prog_have_dvips" && ac_cv_prog_have_dvips="no
"
6324 have_dvips=$ac_cv_prog_have_dvips
6325 if test -n "$have_dvips"; then
6326 { echo "$as_me:$LINENO: result
: $have_dvips" >&5
6327 echo "${ECHO_T}$have_dvips" >&6; }
6329 { echo "$as_me:$LINENO: result
: no
" >&5
6330 echo "${ECHO_T}no
" >&6; }
6334 # Extract the first word of "ps2pdf
", so it can be a program name with args.
6335 set dummy ps2pdf; ac_word=$2
6336 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6337 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6338 if test "${ac_cv_prog_have_ps2pdf+set}" = set; then
6339 echo $ECHO_N "(cached
) $ECHO_C" >&6
6341 if test -n "$have_ps2pdf"; then
6342 ac_cv_prog_have_ps2pdf="$have_ps2pdf" # Let the user override the test.
6344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6348 test -z "$as_dir" && as_dir=.
6349 for ac_exec_ext in '' $ac_executable_extensions; do
6350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6351 ac_cv_prog_have_ps2pdf="yes"
6352 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6359 test -z "$ac_cv_prog_have_ps2pdf" && ac_cv_prog_have_ps2pdf="no
"
6362 have_ps2pdf=$ac_cv_prog_have_ps2pdf
6363 if test -n "$have_ps2pdf"; then
6364 { echo "$as_me:$LINENO: result
: $have_ps2pdf" >&5
6365 echo "${ECHO_T}$have_ps2pdf" >&6; }
6367 { echo "$as_me:$LINENO: result
: no
" >&5
6368 echo "${ECHO_T}no
" >&6; }
6372 # Extract the first word of "latex2html
", so it can be a program name with args.
6373 set dummy latex2html; ac_word=$2
6374 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6375 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6376 if test "${ac_cv_prog_have_latex2html+set}" = set; then
6377 echo $ECHO_N "(cached
) $ECHO_C" >&6
6379 if test -n "$have_latex2html"; then
6380 ac_cv_prog_have_latex2html="$have_latex2html" # Let the user override the test.
6382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6386 test -z "$as_dir" && as_dir=.
6387 for ac_exec_ext in '' $ac_executable_extensions; do
6388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6389 ac_cv_prog_have_latex2html="yes"
6390 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6397 test -z "$ac_cv_prog_have_latex2html" && ac_cv_prog_have_latex2html="no
"
6400 have_latex2html=$ac_cv_prog_have_latex2html
6401 if test -n "$have_latex2html"; then
6402 { echo "$as_me:$LINENO: result
: $have_latex2html" >&5
6403 echo "${ECHO_T}$have_latex2html" >&6; }
6405 { echo "$as_me:$LINENO: result
: no
" >&5
6406 echo "${ECHO_T}no
" >&6; }
6410 if test "$enable_docs" == "yes"; then
6411 if test "x
${have_latex}${have_dvips}${have_ps2pdf}${have_latex2html}" != "xyesyesyesyes
"; then
6412 { { echo "$as_me:$LINENO: error
: cannot
find all tools
for building documentation
" >&5
6413 echo "$as_me: error
: cannot
find all tools
for building documentation
" >&2;}
6414 { (exit 1); exit 1; }; }
6417 if test "x
${have_latex}${have_dvips}${have_ps2pdf}${have_latex2html}" == "xyesyesyesyes
" -a "$enable_docs" != "no
"; then
6419 BUILD_DOCS_FALSE='#'
6427 for ac_header in sys/capability.h
6429 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
6430 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6431 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
6432 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
6433 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6434 echo $ECHO_N "(cached
) $ECHO_C" >&6
6436 ac_res=`eval echo '${'$as_ac_Header'}'`
6437 { echo "$as_me:$LINENO: result
: $ac_res" >&5
6438 echo "${ECHO_T}$ac_res" >&6; }
6440 # Is the header compilable?
6441 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
6442 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
6443 cat >conftest.$ac_ext <<_ACEOF
6446 cat confdefs.h >>conftest.$ac_ext
6447 cat >>conftest.$ac_ext <<_ACEOF
6448 /* end confdefs.h. */
6449 $ac_includes_default
6450 #include <$ac_header>
6452 rm -f conftest.$ac_objext
6453 if { (ac_try="$ac_compile"
6455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6456 *) ac_try_echo=$ac_try;;
6458 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6459 (eval "$ac_compile") 2>conftest.er1
6461 grep -v '^ *+' conftest.er1 >conftest.err
6463 cat conftest.err >&5
6464 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6465 (exit $ac_status); } && {
6466 test -z "$ac_c_werror_flag" ||
6467 test ! -s conftest.err
6468 } && test -s conftest.$ac_objext; then
6469 ac_header_compiler=yes
6471 echo "$as_me: failed program was
:" >&5
6472 sed 's/^/| /' conftest.$ac_ext >&5
6474 ac_header_compiler=no
6477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6478 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
6479 echo "${ECHO_T}$ac_header_compiler" >&6; }
6481 # Is the header present?
6482 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
6483 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
6484 cat >conftest.$ac_ext <<_ACEOF
6487 cat confdefs.h >>conftest.$ac_ext
6488 cat >>conftest.$ac_ext <<_ACEOF
6489 /* end confdefs.h. */
6490 #include <$ac_header>
6492 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6495 *) ac_try_echo=$ac_try;;
6497 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6498 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6500 grep -v '^ *+' conftest.er1 >conftest.err
6502 cat conftest.err >&5
6503 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6504 (exit $ac_status); } >/dev/null && {
6505 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6506 test ! -s conftest.err
6508 ac_header_preproc=yes
6510 echo "$as_me: failed program was
:" >&5
6511 sed 's/^/| /' conftest.$ac_ext >&5
6513 ac_header_preproc=no
6516 rm -f conftest.err conftest.$ac_ext
6517 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
6518 echo "${ECHO_T}$ac_header_preproc" >&6; }
6520 # So? What about this header?
6521 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6523 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
6524 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
6525 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
6526 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
6527 ac_header_preproc=yes
6530 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
6531 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
6532 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
6533 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
6534 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
6535 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
6536 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
6537 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
6538 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
6539 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
6540 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
6541 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
6543 ## ------------------------------------------- ##
6544 ## Report this to systemtap@sources.redhat.com ##
6545 ## ------------------------------------------- ##
6547 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
6550 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
6551 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
6552 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6553 echo $ECHO_N "(cached
) $ECHO_C" >&6
6555 eval "$as_ac_Header=\
$ac_header_preproc"
6557 ac_res=`eval echo '${'$as_ac_Header'}'`
6558 { echo "$as_me:$LINENO: result
: $ac_res" >&5
6559 echo "${ECHO_T}$ac_res" >&6; }
6562 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6563 cat >>confdefs.h <<_ACEOF
6564 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
6568 { { echo "$as_me:$LINENO: error
: cannot
find required libcap header
(libcap-devel may need to be installed
)" >&5
6569 echo "$as_me: error
: cannot
find required libcap header
(libcap-devel may need to be installed
)" >&2;}
6570 { (exit 1); exit 1; }; }
6578 # Check whether --with-elfutils was given.
6579 if test "${with_elfutils+set}" = set; then
6580 withval=$with_elfutils;
6581 case "$with_elfutils" in
6582 yes) { { echo "$as_me:$LINENO: error
: --with-elfutils requires an argument
" >&5
6583 echo "$as_me: error
: --with-elfutils requires an argument
" >&2;}
6584 { (exit 1); exit 1; }; } ;;
6586 *) build_elfutils=yes ;;
6590 if test $build_elfutils = yes; then
6591 BUILD_ELFUTILS_TRUE=
6592 BUILD_ELFUTILS_FALSE='#'
6594 BUILD_ELFUTILS_TRUE='#'
6595 BUILD_ELFUTILS_FALSE=
6598 elfutils_abs_srcdir=`if test $build_elfutils = yes; then
6599 cd $with_elfutils && pwd
6604 if test $build_elfutils = no; then
6605 # Need libdwfl-capable recent elfutils from Fedora
6608 { echo "$as_me:$LINENO: checking
for dwfl_module_getsym
in -ldw" >&5
6609 echo $ECHO_N "checking
for dwfl_module_getsym
in -ldw...
$ECHO_C" >&6; }
6610 if test "${ac_cv_lib_dw_dwfl_module_getsym+set}" = set; then
6611 echo $ECHO_N "(cached
) $ECHO_C" >&6
6613 ac_check_lib_save_LIBS=$LIBS
6615 cat >conftest.$ac_ext <<_ACEOF
6618 cat confdefs.h >>conftest.$ac_ext
6619 cat >>conftest.$ac_ext <<_ACEOF
6620 /* end confdefs.h. */
6622 /* Override any GCC internal prototype to avoid an error.
6623 Use char because int might match the return type of a GCC
6624 builtin and then its argument prototype would still apply. */
6628 char dwfl_module_getsym ();
6632 return dwfl_module_getsym ();
6637 rm -f conftest.$ac_objext conftest$ac_exeext
6638 if { (ac_try="$ac_link"
6640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6641 *) ac_try_echo=$ac_try;;
6643 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6644 (eval "$ac_link") 2>conftest.er1
6646 grep -v '^ *+' conftest.er1 >conftest.err
6648 cat conftest.err >&5
6649 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6650 (exit $ac_status); } && {
6651 test -z "$ac_c_werror_flag" ||
6652 test ! -s conftest.err
6653 } && test -s conftest$ac_exeext &&
6654 $as_test_x conftest$ac_exeext; then
6655 ac_cv_lib_dw_dwfl_module_getsym=yes
6657 echo "$as_me: failed program was
:" >&5
6658 sed 's/^/| /' conftest.$ac_ext >&5
6660 ac_cv_lib_dw_dwfl_module_getsym=no
6663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6664 conftest$ac_exeext conftest.$ac_ext
6665 LIBS=$ac_check_lib_save_LIBS
6667 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dw_dwfl_module_getsym" >&5
6668 echo "${ECHO_T}$ac_cv_lib_dw_dwfl_module_getsym" >&6; }
6669 if test $ac_cv_lib_dw_dwfl_module_getsym = yes; then
6670 cat >>confdefs.h <<_ACEOF
6671 #define HAVE_LIBDW 1
6678 { { echo "$as_me:$LINENO: error
: missing elfutils development headers
/libraries
(dw
0.123+)" >&5
6679 echo "$as_me: error
: missing elfutils development headers
/libraries
(dw
0.123+)" >&2;}
6680 { (exit 1); exit 1; }; }
6684 { echo "$as_me:$LINENO: checking
for ebl_openbackend
in -lebl" >&5
6685 echo $ECHO_N "checking
for ebl_openbackend
in -lebl...
$ECHO_C" >&6; }
6686 if test "${ac_cv_lib_ebl_ebl_openbackend+set}" = set; then
6687 echo $ECHO_N "(cached
) $ECHO_C" >&6
6689 ac_check_lib_save_LIBS=$LIBS
6691 cat >conftest.$ac_ext <<_ACEOF
6694 cat confdefs.h >>conftest.$ac_ext
6695 cat >>conftest.$ac_ext <<_ACEOF
6696 /* end confdefs.h. */
6698 /* Override any GCC internal prototype to avoid an error.
6699 Use char because int might match the return type of a GCC
6700 builtin and then its argument prototype would still apply. */
6704 char ebl_openbackend ();
6708 return ebl_openbackend ();
6713 rm -f conftest.$ac_objext conftest$ac_exeext
6714 if { (ac_try="$ac_link"
6716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6717 *) ac_try_echo=$ac_try;;
6719 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6720 (eval "$ac_link") 2>conftest.er1
6722 grep -v '^ *+' conftest.er1 >conftest.err
6724 cat conftest.err >&5
6725 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6726 (exit $ac_status); } && {
6727 test -z "$ac_c_werror_flag" ||
6728 test ! -s conftest.err
6729 } && test -s conftest$ac_exeext &&
6730 $as_test_x conftest$ac_exeext; then
6731 ac_cv_lib_ebl_ebl_openbackend=yes
6733 echo "$as_me: failed program was
:" >&5
6734 sed 's/^/| /' conftest.$ac_ext >&5
6736 ac_cv_lib_ebl_ebl_openbackend=no
6739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6740 conftest$ac_exeext conftest.$ac_ext
6741 LIBS=$ac_check_lib_save_LIBS
6743 { echo "$as_me:$LINENO: result
: $ac_cv_lib_ebl_ebl_openbackend" >&5
6744 echo "${ECHO_T}$ac_cv_lib_ebl_ebl_openbackend" >&6; }
6745 if test $ac_cv_lib_ebl_ebl_openbackend = yes; then
6746 cat >>confdefs.h <<_ACEOF
6747 #define HAVE_LIBEBL 1
6754 { { echo "$as_me:$LINENO: error
: missing elfutils development headers
/libraries
(ebl
0.123+)" >&5
6755 echo "$as_me: error
: missing elfutils development headers
/libraries
(ebl
0.123+)" >&2;}
6756 { (exit 1); exit 1; }; }
6763 # We built our own and stap_LDFLAGS points at the install.
6764 stap_LIBS="-ldw -lebl"
6768 { echo "$as_me:$LINENO: stap will link
$stap_LIBS" >&5
6769 echo "$as_me: stap will link
$stap_LIBS" >&6;}
6771 date=`date +%Y-%m-%d`
6773 cat >>confdefs.h <<_ACEOF
6774 #define DATE "$date"
6781 # This procflags business is for staprun/stapio, which need to
6782 # be compiled with the same bitness as the kernel. On e.g. PPC,
6783 # userspace might be 32-bit default, but staprun needs to be
6784 # 64-bit. See also bug #4037.
6786 processor=`uname -p`
6787 case "$processor" in
6788 ppc64) PROCFLAGS=-m64 ;;
6789 x86_64) PROCFLAGS=-m64 ;;
6794 # -lcap is used for staprun, so PROCFLAGS comes in to play
6796 SAVE_CFLAGS="$CFLAGS"
6797 CFLAGS="$CFLAGS $PROCFLAGS"
6799 { echo "$as_me:$LINENO: checking
for cap_init
in -lcap" >&5
6800 echo $ECHO_N "checking
for cap_init
in -lcap...
$ECHO_C" >&6; }
6801 if test "${ac_cv_lib_cap_cap_init+set}" = set; then
6802 echo $ECHO_N "(cached
) $ECHO_C" >&6
6804 ac_check_lib_save_LIBS=$LIBS
6806 cat >conftest.$ac_ext <<_ACEOF
6809 cat confdefs.h >>conftest.$ac_ext
6810 cat >>conftest.$ac_ext <<_ACEOF
6811 /* end confdefs.h. */
6813 /* Override any GCC internal prototype to avoid an error.
6814 Use char because int might match the return type of a GCC
6815 builtin and then its argument prototype would still apply. */
6828 rm -f conftest.$ac_objext conftest$ac_exeext
6829 if { (ac_try="$ac_link"
6831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6832 *) ac_try_echo=$ac_try;;
6834 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6835 (eval "$ac_link") 2>conftest.er1
6837 grep -v '^ *+' conftest.er1 >conftest.err
6839 cat conftest.err >&5
6840 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6841 (exit $ac_status); } && {
6842 test -z "$ac_c_werror_flag" ||
6843 test ! -s conftest.err
6844 } && test -s conftest$ac_exeext &&
6845 $as_test_x conftest$ac_exeext; then
6846 ac_cv_lib_cap_cap_init=yes
6848 echo "$as_me: failed program was
:" >&5
6849 sed 's/^/| /' conftest.$ac_ext >&5
6851 ac_cv_lib_cap_cap_init=no
6854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6855 conftest$ac_exeext conftest.$ac_ext
6856 LIBS=$ac_check_lib_save_LIBS
6858 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cap_cap_init" >&5
6859 echo "${ECHO_T}$ac_cv_lib_cap_cap_init" >&6; }
6860 if test $ac_cv_lib_cap_cap_init = yes; then
6861 cat >>confdefs.h <<_ACEOF
6862 #define HAVE_LIBCAP 1
6868 { { echo "$as_me:$LINENO: error
: need
$PROCFLAGS -lcap" >&5
6869 echo "$as_me: error
: need
$PROCFLAGS -lcap" >&2;}
6870 { (exit 1); exit 1; }; }
6876 CFLAGS="$SAVE_CFLAGS"
6878 ac_config_headers="$ac_config_headers config.h
:config.
in"
6880 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"
6882 subdirs="$subdirs testsuite
"
6885 cat >confcache <<\_ACEOF
6886 # This file is a shell script that caches the results of configure
6887 # tests run on this system so they can be shared between configure
6888 # scripts and configure runs, see configure's option --config-cache.
6889 # It is not useful on other systems. If it contains results you don't
6890 # want to keep, you may remove or edit it.
6892 # config.status only pays attention to the cache file if you give it
6893 # the --recheck option to rerun configure.
6895 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6896 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6901 # The following way of writing the cache mishandles newlines in values,
6902 # but we know of no workaround that is simple, portable, and efficient.
6903 # So, we kill variables containing newlines.
6904 # Ultrix sh set writes to stderr and can't be redirected directly,
6905 # and sets the high bit in the cache file unless we assign to the vars.
6907 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6908 eval ac_val=\$$ac_var
6912 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
6913 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
6916 _ | IFS | as_nl) ;; #(
6917 *) $as_unset $ac_var ;;
6923 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6924 *${as_nl}ac_space=\ *)
6925 # `set' does not quote correctly, so add quotes (double-quote
6926 # substitution turns \\\\ into \\, and sed turns \\ into \).
6929 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
6932 # `set' quotes correctly as required by POSIX, so do not add quotes.
6933 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
6942 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6944 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6946 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6947 if test -w "$cache_file"; then
6948 test "x
$cache_file" != "x
/dev
/null
" &&
6949 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
6950 echo "$as_me: updating cache
$cache_file" >&6;}
6951 cat confcache >$cache_file
6953 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
6954 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
6959 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
6960 # Let make expand exec_prefix.
6961 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
6963 DEFS=-DHAVE_CONFIG_H
6967 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
6968 # 1. Remove the extension, and $U if already installed.
6969 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6970 ac_i=`echo "$ac_i" | sed "$ac_script"`
6971 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6972 # will be set to the directory where LIBOBJS objects are built.
6973 ac_libobjs="$ac_libobjs \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
6974 ac_ltlibobjs="$ac_ltlibobjs \
${LIBOBJDIR}$ac_i"'$U.lo'
6978 LTLIBOBJS=$ac_ltlibobjs
6981 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6982 { { echo "$as_me:$LINENO: error
: conditional
\"MAINTAINER_MODE
\" was never defined.
6983 Usually this means the macro was only invoked conditionally.
" >&5
6984 echo "$as_me: error
: conditional
\"MAINTAINER_MODE
\" was never defined.
6985 Usually this means the macro was only invoked conditionally.
" >&2;}
6986 { (exit 1); exit 1; }; }
6988 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6989 { { echo "$as_me:$LINENO: error
: conditional
\"AMDEP
\" was never defined.
6990 Usually this means the macro was only invoked conditionally.
" >&5
6991 echo "$as_me: error
: conditional
\"AMDEP
\" was never defined.
6992 Usually this means the macro was only invoked conditionally.
" >&2;}
6993 { (exit 1); exit 1; }; }
6995 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6996 { { echo "$as_me:$LINENO: error
: conditional
\"am__fastdepCC
\" was never defined.
6997 Usually this means the macro was only invoked conditionally.
" >&5
6998 echo "$as_me: error
: conditional
\"am__fastdepCC
\" was never defined.
6999 Usually this means the macro was only invoked conditionally.
" >&2;}
7000 { (exit 1); exit 1; }; }
7002 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7003 { { echo "$as_me:$LINENO: error
: conditional
\"am__fastdepCXX
\" was never defined.
7004 Usually this means the macro was only invoked conditionally.
" >&5
7005 echo "$as_me: error
: conditional
\"am__fastdepCXX
\" was never defined.
7006 Usually this means the macro was only invoked conditionally.
" >&2;}
7007 { (exit 1); exit 1; }; }
7009 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7010 { { echo "$as_me:$LINENO: error
: conditional
\"am__fastdepCC
\" was never defined.
7011 Usually this means the macro was only invoked conditionally.
" >&5
7012 echo "$as_me: error
: conditional
\"am__fastdepCC
\" was never defined.
7013 Usually this means the macro was only invoked conditionally.
" >&2;}
7014 { (exit 1); exit 1; }; }
7016 if test -z "${BUILD_CRASHMOD_TRUE}" && test -z "${BUILD_CRASHMOD_FALSE}"; then
7017 { { echo "$as_me:$LINENO: error
: conditional
\"BUILD_CRASHMOD
\" was never defined.
7018 Usually this means the macro was only invoked conditionally.
" >&5
7019 echo "$as_me: error
: conditional
\"BUILD_CRASHMOD
\" was never defined.
7020 Usually this means the macro was only invoked conditionally.
" >&2;}
7021 { (exit 1); exit 1; }; }
7023 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
7024 { { echo "$as_me:$LINENO: error
: conditional
\"BUILD_DOCS
\" was never defined.
7025 Usually this means the macro was only invoked conditionally.
" >&5
7026 echo "$as_me: error
: conditional
\"BUILD_DOCS
\" was never defined.
7027 Usually this means the macro was only invoked conditionally.
" >&2;}
7028 { (exit 1); exit 1; }; }
7030 if test -z "${BUILD_ELFUTILS_TRUE}" && test -z "${BUILD_ELFUTILS_FALSE}"; then
7031 { { echo "$as_me:$LINENO: error
: conditional
\"BUILD_ELFUTILS
\" was never defined.
7032 Usually this means the macro was only invoked conditionally.
" >&5
7033 echo "$as_me: error
: conditional
\"BUILD_ELFUTILS
\" was never defined.
7034 Usually this means the macro was only invoked conditionally.
" >&2;}
7035 { (exit 1); exit 1; }; }
7038 : ${CONFIG_STATUS=./config.status}
7039 ac_clean_files_save=$ac_clean_files
7040 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7041 { echo "$as_me:$LINENO: creating
$CONFIG_STATUS" >&5
7042 echo "$as_me: creating
$CONFIG_STATUS" >&6;}
7043 cat >$CONFIG_STATUS <<_ACEOF
7045 # Generated by $as_me.
7046 # Run this file to recreate the current configuration.
7047 # Compiler output produced by configure, useful for debugging
7048 # configure, is in config.log if it exists.
7053 SHELL=\${CONFIG_SHELL-$SHELL}
7056 cat >>$CONFIG_STATUS <<\_ACEOF
7057 ## --------------------- ##
7058 ## M4sh Initialization. ##
7059 ## --------------------- ##
7061 # Be more Bourne compatible
7062 DUALCASE=1; export DUALCASE # for MKS sh
7063 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7066 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7067 # is contrary to our usage. Disable this feature.
7068 alias -g '${1+"$@"}'='"$@
"'
7069 setopt NO_GLOB_SUBST
7071 case `(set -o) 2>/dev/null` in
7072 *posix*) set -o posix ;;
7081 # Avoid depending upon Character Ranges.
7082 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7083 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7084 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7085 as_cr_digits='0123456789'
7086 as_cr_alnum=$as_cr_Letters$as_cr_digits
7088 # The user is always right.
7089 if test "${PATH_SEPARATOR+set}" != set; then
7090 echo "#! /bin/sh" >conf$$.sh
7091 echo "exit 0" >>conf$$.sh
7093 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7101 # Support unset when possible.
7102 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7110 # We need space, tab and new line, in precisely that order. Quoting is
7111 # there to prevent editors from complaining about space-tab.
7112 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7113 # splitting by setting IFS to empty value.)
7118 # Find who we are. Look in the path if we contain no directory separator.
7120 *[\\/]* ) as_myself
=$0 ;;
7121 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7125 test -z "$as_dir" && as_dir
=.
7126 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7132 # We did not find ourselves, most probably we were run as `sh COMMAND'
7133 # in which case we are not to be found in the path.
7134 if test "x$as_myself" = x
; then
7137 if test ! -f "$as_myself"; then
7138 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7139 { (exit 1); exit 1; }
7142 # Work around bugs in pre-3.0 UWIN ksh.
7143 for as_var
in ENV MAIL MAILPATH
7144 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
7152 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7153 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7154 LC_TELEPHONE LC_TIME
7156 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7157 eval $as_var=C
; export $as_var
7159 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
7163 # Required to use basename.
7164 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7165 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7171 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7172 as_basename
=basename
7178 # Name of the executable.
7179 as_me
=`$as_basename -- "$0" ||
7180 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7181 X"$0" : 'X\(//\)$' \| \
7182 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7184 sed '/^.*\/\([^/][^/]*\)\/*$/{
7205 test "x$as_lineno_1" != "x$as_lineno_2" &&
7206 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
7208 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7209 # uniformly replaced by the line number. The first 'sed' inserts a
7210 # line-number line after each line using $LINENO; the second 'sed'
7211 # does the real work. The second script uses 'N' to pair each
7212 # line-number line with the line containing $LINENO, and appends
7213 # trailing '-' during substitution so that $LINENO is not a special
7215 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7216 # scripts with optimization help from Paolo Bonzini. Blame Lee
7217 # E. McMahon (1931-1989) for sed's syntax. :-)
7229 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7233 chmod +x
"$as_me.lineno" ||
7234 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7235 { (exit 1); exit 1; }; }
7237 # Don't try to exec as it changes $[0], causing all sort of problems
7238 # (the dirname of $[0] is not the place where we might find the
7239 # original and so on. Autoconf is especially sensitive to this).
7241 # Exit status is that of the last command.
7246 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7252 ECHO_C
= ECHO_N
= ECHO_T
=
7255 case `echo 'x\c'` in
7256 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7263 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7264 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7270 rm -f conf$$ conf$$.exe conf$$.
file
7271 if test -d conf$$.dir
; then
7272 rm -f conf$$.dir
/conf$$.
file
7278 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7280 # ... but there are two gotchas:
7281 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7282 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7283 # In both cases, we have to default to `cp -p'.
7284 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7286 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7291 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7292 rmdir conf$$.dir
2>/dev
/null
7294 if mkdir
-p .
2>/dev
/null
; then
7297 test -d .
/-p && rmdir .
/-p
7301 if test -x / >/dev
/null
2>&1; then
7304 if ls -dL / >/dev
/null
2>&1; then
7311 if test -d "$1"; then
7317 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
7318 ???[sx]*):;;*)false;;esac;fi
7322 as_executable_p
=$as_test_x
7324 # Sed expression to map a string onto a valid CPP name.
7325 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7327 # Sed expression to map a string onto a valid variable name.
7328 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7333 # Save the log message, to keep $[0] and so on meaningful, and to
7334 # report actual input values of CONFIG_FILES etc. instead of their
7335 # values after options handling.
7337 This file was extended by systemtap $as_me 0.7, which was
7338 generated by GNU Autoconf 2.61. Invocation command line was
7340 CONFIG_FILES = $CONFIG_FILES
7341 CONFIG_HEADERS = $CONFIG_HEADERS
7342 CONFIG_LINKS = $CONFIG_LINKS
7343 CONFIG_COMMANDS = $CONFIG_COMMANDS
7346 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7351 cat >>$CONFIG_STATUS <<_ACEOF
7352 # Files that config.status was made for.
7353 config_files="$ac_config_files"
7354 config_headers="$ac_config_headers"
7355 config_commands="$ac_config_commands"
7359 cat >>$CONFIG_STATUS <<\_ACEOF
7361 \`$as_me' instantiates files from templates according to the
7362 current configuration.
7364 Usage: $0 [OPTIONS] [FILE]...
7366 -h, --help print this help, then exit
7367 -V, --version print version number and configuration settings, then exit
7368 -q, --quiet do not print progress messages
7369 -d, --debug don't remove temporary files
7370 --recheck update $as_me by reconfiguring in the same conditions
7371 --file=FILE[:TEMPLATE]
7372 instantiate the configuration file FILE
7373 --header=FILE[:TEMPLATE]
7374 instantiate the configuration header FILE
7376 Configuration files:
7379 Configuration headers:
7382 Configuration commands:
7385 Report bugs to <bug-autoconf@gnu.org>."
7388 cat >>$CONFIG_STATUS <<_ACEOF
7390 systemtap config.status 0.7
7391 configured by $0, generated by GNU Autoconf 2.61,
7392 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7394 Copyright (C) 2006 Free Software Foundation, Inc.
7395 This config.status script is free software; the Free Software Foundation
7396 gives unlimited permission to copy, distribute and modify it."
7404 cat >>$CONFIG_STATUS <<\_ACEOF
7405 # If no file are specified by the user, then we need to provide default
7406 # value. By we need to know if files were specified by the user.
7412 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7413 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7424 # Handling of the options.
7425 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7427 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7428 echo "$ac_cs_version"; exit ;;
7429 --debug |
--debu |
--deb |
--de |
--d |
-d )
7431 --file |
--fil |
--fi |
--f )
7433 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7434 ac_need_defaults
=false
;;
7435 --header |
--heade |
--head |
--hea )
7437 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7438 ac_need_defaults
=false
;;
7440 # Conflict between --help and --header
7441 { echo "$as_me: error: ambiguous option: $1
7442 Try \`$0 --help' for more information." >&2
7443 { (exit 1); exit 1; }; };;
7444 --help |
--hel |
-h )
7445 echo "$ac_cs_usage"; exit ;;
7446 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7447 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7451 -*) { echo "$as_me: error: unrecognized option: $1
7452 Try \`$0 --help' for more information." >&2
7453 { (exit 1); exit 1; }; } ;;
7455 *) ac_config_targets
="$ac_config_targets $1"
7456 ac_need_defaults
=false
;;
7462 ac_configure_extra_args
=
7464 if $ac_cs_silent; then
7466 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7470 cat >>$CONFIG_STATUS <<_ACEOF
7471 if \$ac_cs_recheck; then
7472 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7475 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7479 cat >>$CONFIG_STATUS <<\_ACEOF
7483 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7484 ## Running $as_me. ##
7490 cat >>$CONFIG_STATUS <<_ACEOF
7494 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7498 cat >>$CONFIG_STATUS <<\_ACEOF
7500 # Handling of arguments.
7501 for ac_config_target
in $ac_config_targets
7503 case $ac_config_target in
7504 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7505 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
7506 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7507 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
7508 "systemtap.spec") CONFIG_FILES
="$CONFIG_FILES systemtap.spec" ;;
7509 "stap.1") CONFIG_FILES
="$CONFIG_FILES stap.1" ;;
7510 "stapprobes.5") CONFIG_FILES
="$CONFIG_FILES stapprobes.5" ;;
7511 "stapfuncs.5") CONFIG_FILES
="$CONFIG_FILES stapfuncs.5" ;;
7512 "stapex.5") CONFIG_FILES
="$CONFIG_FILES stapex.5" ;;
7513 "staprun.8") CONFIG_FILES
="$CONFIG_FILES staprun.8" ;;
7514 "man/stapprobes.iosched.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.iosched.5" ;;
7515 "man/stapprobes.netdev.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.netdev.5" ;;
7516 "man/stapprobes.nfs.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.nfs.5" ;;
7517 "man/stapprobes.nfsd.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.nfsd.5" ;;
7518 "man/stapprobes.pagefault.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.pagefault.5" ;;
7519 "man/stapprobes.process.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.process.5" ;;
7520 "man/stapprobes.rpc.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.rpc.5" ;;
7521 "man/stapprobes.scsi.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.scsi.5" ;;
7522 "man/stapprobes.signal.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.signal.5" ;;
7523 "man/stapprobes.socket.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.socket.5" ;;
7524 "man/stapprobes.tcp.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.tcp.5" ;;
7525 "man/stapprobes.udp.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.udp.5" ;;
7527 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7528 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7529 { (exit 1); exit 1; }; };;
7534 # If the user did not use the arguments to specify the items to instantiate,
7535 # then the envvar interface is used. Set only those that are not.
7536 # We use the long form for the default assignment because of an extremely
7537 # bizarre bug on SunOS 4.1.3.
7538 if $ac_need_defaults; then
7539 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7540 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7541 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7544 # Have a temporary directory for convenience. Make it in the build tree
7545 # simply because there is no reason against having it here, and in addition,
7546 # creating and moving files from /tmp can sometimes cause problems.
7547 # Hook for its removal unless debugging.
7548 # Note that there is a small window in which the directory will not be cleaned:
7549 # after its creation but before its name has been assigned to `$tmp'.
7553 trap 'exit_status=$?
7554 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7556 trap '{ (exit 1); exit 1; }' 1 2 13 15
7558 # Create a (secure) tmp directory for tmp files.
7561 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7562 test -n "$tmp" && test -d "$tmp"
7565 tmp
=.
/conf$$
-$RANDOM
7566 (umask 077 && mkdir
"$tmp")
7569 echo "$me: cannot create a temporary directory in ." >&2
7570 { (exit 1); exit 1; }
7574 # Set up the sed scripts for CONFIG_FILES section.
7577 # No need to generate the scripts if there are no CONFIG_FILES.
7578 # This happens for instance when ./config.status config.h
7579 if test -n "$CONFIG_FILES"; then
7586 for ac_last_try
in false false false false false
:; do
7587 cat >conf$
$subs.
sed <<_ACEOF
7588 SHELL!$SHELL$ac_delim
7589 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
7590 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
7591 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
7592 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
7593 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
7594 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
7595 exec_prefix!$exec_prefix$ac_delim
7596 prefix!$prefix$ac_delim
7597 program_transform_name!$program_transform_name$ac_delim
7598 bindir!$bindir$ac_delim
7599 sbindir!$sbindir$ac_delim
7600 libexecdir!$libexecdir$ac_delim
7601 datarootdir!$datarootdir$ac_delim
7602 datadir!$datadir$ac_delim
7603 sysconfdir!$sysconfdir$ac_delim
7604 sharedstatedir!$sharedstatedir$ac_delim
7605 localstatedir!$localstatedir$ac_delim
7606 includedir!$includedir$ac_delim
7607 oldincludedir!$oldincludedir$ac_delim
7608 docdir!$docdir$ac_delim
7609 infodir!$infodir$ac_delim
7610 htmldir!$htmldir$ac_delim
7611 dvidir!$dvidir$ac_delim
7612 pdfdir!$pdfdir$ac_delim
7613 psdir!$psdir$ac_delim
7614 libdir!$libdir$ac_delim
7615 localedir!$localedir$ac_delim
7616 mandir!$mandir$ac_delim
7618 ECHO_C!$ECHO_C$ac_delim
7619 ECHO_N!$ECHO_N$ac_delim
7620 ECHO_T!$ECHO_T$ac_delim
7622 build_alias!$build_alias$ac_delim
7623 host_alias!$host_alias$ac_delim
7624 target_alias!$target_alias$ac_delim
7625 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
7626 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
7627 INSTALL_DATA!$INSTALL_DATA$ac_delim
7628 am__isrc!$am__isrc$ac_delim
7629 CYGPATH_W!$CYGPATH_W$ac_delim
7630 PACKAGE!$PACKAGE$ac_delim
7631 VERSION!$VERSION$ac_delim
7632 ACLOCAL!$ACLOCAL$ac_delim
7633 AUTOCONF!$AUTOCONF$ac_delim
7634 AUTOMAKE!$AUTOMAKE$ac_delim
7635 AUTOHEADER!$AUTOHEADER$ac_delim
7636 MAKEINFO!$MAKEINFO$ac_delim
7637 install_sh!$install_sh$ac_delim
7638 STRIP!$STRIP$ac_delim
7639 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
7640 mkdir_p!$mkdir_p$ac_delim
7642 SET_MAKE!$SET_MAKE$ac_delim
7643 am__leading_dot!$am__leading_dot$ac_delim
7644 AMTAR!$AMTAR$ac_delim
7645 am__tar!$am__tar$ac_delim
7646 am__untar!$am__untar$ac_delim
7647 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
7648 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
7649 MAINT!$MAINT$ac_delim
7652 CFLAGS!$CFLAGS$ac_delim
7653 LDFLAGS!$LDFLAGS$ac_delim
7654 CPPFLAGS!$CPPFLAGS$ac_delim
7655 ac_ct_CC!$ac_ct_CC$ac_delim
7656 EXEEXT!$EXEEXT$ac_delim
7657 OBJEXT!$OBJEXT$ac_delim
7658 DEPDIR!$DEPDIR$ac_delim
7659 am__include!$am__include$ac_delim
7660 am__quote!$am__quote$ac_delim
7661 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
7662 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
7663 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
7664 CCDEPMODE!$CCDEPMODE$ac_delim
7665 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
7666 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
7668 CXXFLAGS!$CXXFLAGS$ac_delim
7669 ac_ct_CXX!$ac_ct_CXX$ac_delim
7670 CXXDEPMODE!$CXXDEPMODE$ac_delim
7671 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
7672 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
7675 EGREP!$EGREP$ac_delim
7677 ANSI2KNR!$ANSI2KNR$ac_delim
7678 RANLIB!$RANLIB$ac_delim
7679 PIELDFLAGS!$PIELDFLAGS$ac_delim
7680 sqlite3_LIBS!$sqlite3_LIBS$ac_delim
7681 staplog_CPPFLAGS!$staplog_CPPFLAGS$ac_delim
7682 BUILD_CRASHMOD_TRUE!$BUILD_CRASHMOD_TRUE$ac_delim
7683 BUILD_CRASHMOD_FALSE!$BUILD_CRASHMOD_FALSE$ac_delim
7684 have_latex!$have_latex$ac_delim
7687 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
7689 elif $ac_last_try; then
7690 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7691 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7692 { (exit 1); exit 1; }; }
7694 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
7698 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7699 if test -n "$ac_eof"; then
7700 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
7701 ac_eof
=`expr $ac_eof + 1`
7704 cat >>$CONFIG_STATUS <<_ACEOF
7705 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7706 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7709 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7710 s/^/s,@/; s/!/@,|#_!!_#|/
7713 s/'"$ac_delim"'$/,g/; t
7715 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7716 ' >>$CONFIG_STATUS <conf$
$subs.
sed
7717 rm -f conf$
$subs.
sed
7718 cat >>$CONFIG_STATUS <<_ACEOF
7724 for ac_last_try
in false false false false false
:; do
7725 cat >conf$
$subs.
sed <<_ACEOF
7726 have_dvips!$have_dvips$ac_delim
7727 have_ps2pdf!$have_ps2pdf$ac_delim
7728 have_latex2html!$have_latex2html$ac_delim
7729 BUILD_DOCS_TRUE!$BUILD_DOCS_TRUE$ac_delim
7730 BUILD_DOCS_FALSE!$BUILD_DOCS_FALSE$ac_delim
7731 BUILD_ELFUTILS_TRUE!$BUILD_ELFUTILS_TRUE$ac_delim
7732 BUILD_ELFUTILS_FALSE!$BUILD_ELFUTILS_FALSE$ac_delim
7733 elfutils_abs_srcdir!$elfutils_abs_srcdir$ac_delim
7734 stap_LIBS!$stap_LIBS$ac_delim
7736 PROCFLAGS!$PROCFLAGS$ac_delim
7737 cap_LIBS!$cap_LIBS$ac_delim
7738 subdirs!$subdirs$ac_delim
7739 LIBOBJS!$LIBOBJS$ac_delim
7740 LTLIBOBJS!$LTLIBOBJS$ac_delim
7743 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 15; then
7745 elif $ac_last_try; then
7746 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7747 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7748 { (exit 1); exit 1; }; }
7750 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
7754 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7755 if test -n "$ac_eof"; then
7756 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
7757 ac_eof
=`expr $ac_eof + 1`
7760 cat >>$CONFIG_STATUS <<_ACEOF
7761 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
7762 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7765 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7766 s/^/s,@/; s/!/@,|#_!!_#|/
7769 s/'"$ac_delim"'$/,g/; t
7771 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7772 ' >>$CONFIG_STATUS <conf$
$subs.
sed
7773 rm -f conf$
$subs.
sed
7774 cat >>$CONFIG_STATUS <<_ACEOF
7781 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7782 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7783 # trailing colons and then remove the whole line if VPATH becomes empty
7784 # (actually we leave an empty line to preserve line numbers).
7785 if test "x$srcdir" = x.
; then
7786 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7790 s/^\([^=]*=[ ]*\):*/\1/
7796 cat >>$CONFIG_STATUS <<\_ACEOF
7797 fi # test -n "$CONFIG_FILES"
7800 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
7803 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7805 case $ac_mode$ac_tag in
7807 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7808 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
7809 { (exit 1); exit 1; }; };;
7810 :[FH
]-) ac_tag
=-:-;;
7811 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7828 -) ac_f
="$tmp/stdin";;
7829 *) # Look for the file first in the build tree, then in the source tree
7830 # (if the path is not absolute). The absolute path cannot be DOS-style,
7831 # because $ac_f cannot contain `:'.
7835 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7837 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7838 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7839 { (exit 1); exit 1; }; };;
7841 ac_file_inputs
="$ac_file_inputs $ac_f"
7844 # Let's still pretend it is `configure' which instantiates (i.e., don't
7845 # use $as_me), people would be surprised to read:
7846 # /* config.h. Generated by config.status. */
7847 configure_input
="Generated from "`IFS=:
7848 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7849 if test x
"$ac_file" != x-
; then
7850 configure_input
="$ac_file. $configure_input"
7851 { echo "$as_me:$LINENO: creating $ac_file" >&5
7852 echo "$as_me: creating $ac_file" >&6;}
7856 *:-:* |
*:-) cat >"$tmp/stdin";;
7861 ac_dir
=`$as_dirname -- "$ac_file" ||
7862 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7863 X"$ac_file" : 'X\(//\)[^/]' \| \
7864 X"$ac_file" : 'X\(//\)$' \| \
7865 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7867 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7886 -*) as_dir
=.
/$as_dir;;
7888 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
7892 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7893 *) as_qdir
=$as_dir;;
7895 as_dirs
="'$as_qdir' $as_dirs"
7896 as_dir
=`$as_dirname -- "$as_dir" ||
7897 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7898 X"$as_dir" : 'X\(//\)[^/]' \| \
7899 X"$as_dir" : 'X\(//\)$' \| \
7900 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7902 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7919 test -d "$as_dir" && break
7921 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7922 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7923 echo "$as_me: error: cannot create directory $as_dir" >&2;}
7924 { (exit 1); exit 1; }; }; }
7928 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7930 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7931 # A ".." for each directory in $ac_dir_suffix.
7932 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7933 case $ac_top_builddir_sub in
7934 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7935 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7938 ac_abs_top_builddir
=$ac_pwd
7939 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7940 # for backward compatibility:
7941 ac_top_builddir
=$ac_top_build_prefix
7944 .
) # We are building in place.
7946 ac_top_srcdir
=$ac_top_builddir_sub
7947 ac_abs_top_srcdir
=$ac_pwd ;;
7948 [\\/]* | ?
:[\\/]* ) # Absolute name.
7949 ac_srcdir
=$srcdir$ac_dir_suffix;
7950 ac_top_srcdir
=$srcdir
7951 ac_abs_top_srcdir
=$srcdir ;;
7953 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7954 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7955 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7957 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7967 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7968 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7972 [\\/$
]* | ?
:[\\/]* ) ;;
7973 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
7977 cat >>$CONFIG_STATUS <<\_ACEOF
7978 # If the template does not know about datarootdir, expand it.
7979 # FIXME: This hack should be removed a few years after 2.60.
7980 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7982 case `sed -n '/datarootdir/ {
7991 ' $ac_file_inputs` in
7992 *datarootdir
*) ac_datarootdir_seen
=yes;;
7993 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7994 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7995 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7997 cat >>$CONFIG_STATUS <<_ACEOF
7998 ac_datarootdir_hack='
7999 s&@datadir@&$datadir&g
8000 s&@docdir@&$docdir&g
8001 s&@infodir@&$infodir&g
8002 s&@localedir@&$localedir&g
8003 s&@mandir@&$mandir&g
8004 s&\\\${datarootdir}&$datarootdir&g' ;;
8008 # Neutralize VPATH when `$srcdir' = `.'.
8009 # Shell code in configure.ac might set extrasub.
8010 # FIXME: do we really want to maintain this feature?
8011 cat >>$CONFIG_STATUS <<_ACEOF
8015 cat >>$CONFIG_STATUS <<\_ACEOF
8017 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8018 s
&@configure_input@
&$configure_input&;t t
8019 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8020 s
&@srcdir@
&$ac_srcdir&;t t
8021 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8022 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8023 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8024 s
&@builddir@
&$ac_builddir&;t t
8025 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8026 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8027 s
&@INSTALL@
&$ac_INSTALL&;t t
8028 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
8029 $ac_datarootdir_hack
8030 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
8032 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8033 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
8034 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
8035 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8036 which seems to be undefined. Please make sure it is defined." >&5
8037 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8038 which seems to be undefined. Please make sure it is defined." >&2;}
8042 -) cat "$tmp/out"; rm -f "$tmp/out";;
8043 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
8052 # Transform confdefs.h into a sed script `conftest.defines', that
8053 # substitutes the proper values into config.h.in to produce config.h.
8054 rm -f conftest.defines conftest.
tail
8055 # First, append a space to every undef/define line, to ease matching.
8056 echo 's/$/ /' >conftest.defines
8057 # Then, protect against being on the right side of a sed subst, or in
8058 # an unquoted here document, in config.status. If some macros were
8059 # called several times there might be several #defines for the same
8060 # symbol, which is useless. But do not sort them, since the last
8061 # AC_DEFINE must be honored.
8062 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
8063 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
8064 # NAME is the cpp macro being defined, VALUE is the value it is being given.
8065 # PARAMS is the parameter list in the macro definition--in most cases, it's
8066 # just an empty string.
8067 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
8068 ac_dB
='\\)[ (].*,\\1define\\2'
8076 s/^[ ]*#[ ]*define[ ][ ]*//
8081 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
8082 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
8083 ' >>conftest.defines
8085 # Remove the space that was appended to ease matching.
8086 # Then replace #undef with comments. This is necessary, for
8087 # example, in the case of _POSIX_SOURCE, which is predefined and required
8088 # on some systems where configure will not decide to define it.
8089 # (The regexp can be short, since the line contains either #define or #undef.)
8091 s,^[ #]*u.*,/* & */,' >>conftest.defines
8093 # Break up conftest.defines:
8096 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
8097 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
8098 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
8100 ac_in
='$ac_file_inputs'
8101 ac_out
='"$tmp/out1"'
8102 ac_nxt
='"$tmp/out2"'
8106 # Write a here document:
8107 cat >>$CONFIG_STATUS <<_ACEOF
8108 # First, check the format of the line:
8109 cat >"\$tmp/defines.sed" <<\\CEOF
8110 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
8111 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
8115 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
8117 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
8118 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
8119 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
8120 grep . conftest.
tail >/dev
/null ||
break
8121 rm -f conftest.defines
8122 mv conftest.
tail conftest.defines
8124 rm -f conftest.defines conftest.
tail
8126 echo "ac_result=$ac_in" >>$CONFIG_STATUS
8127 cat >>$CONFIG_STATUS <<\_ACEOF
8128 if test x
"$ac_file" != x-
; then
8129 echo "/* $configure_input */" >"$tmp/config.h"
8130 cat "$ac_result" >>"$tmp/config.h"
8131 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
8132 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8133 echo "$as_me: $ac_file is unchanged" >&6;}
8136 mv "$tmp/config.h" $ac_file
8139 echo "/* $configure_input */"
8143 # Compute $ac_file's index in $config_headers.
8146 for _am_header
in $config_headers :; do
8148 $_am_arg |
$_am_arg:* )
8151 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8154 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8155 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8156 X"$_am_arg" : 'X\(//\)[^/]' \| \
8157 X"$_am_arg" : 'X\(//\)$' \| \
8158 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8176 s/.*/./; q'`/stamp-h
$_am_stamp_count
8179 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
8180 echo "$as_me: executing $ac_file commands" >&6;}
8185 case $ac_file$ac_mode in
8186 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
8187 # Strip MF so we end up with the name of the file.
8188 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8189 # Check whether this is an Automake generated Makefile or not.
8190 # We used to match only the files named `Makefile.in', but
8191 # some people rename them; so instead we look at the file content.
8192 # Grep'ing the first line is not enough: some people post-process
8193 # each Makefile.in and add a new line on top of each file to say so.
8194 # Grep'ing the whole file is not good either: AIX grep has a line
8195 # limit of 2048, but all sed's we know have understand at least 4000.
8196 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
8197 dirpart
=`$as_dirname -- "$mf" ||
8198 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8199 X"$mf" : 'X\(//\)[^/]' \| \
8200 X"$mf" : 'X\(//\)$' \| \
8201 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8223 # Extract the definition of DEPDIR, am__include, and am__quote
8224 # from the Makefile without running `make'.
8225 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8226 test -z "$DEPDIR" && continue
8227 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8228 test -z "am__include" && continue
8229 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8230 # When using ansi2knr, U may be empty or an underscore; expand it
8231 U
=`sed -n 's/^U = //p' < "$mf"`
8232 # Find all dependency output files, they are included files with
8233 # $(DEPDIR) in their names. We invoke sed twice because it is the
8234 # simplest approach to changing $(DEPDIR) to its actual value in the
8236 for file in `sed -n "
8237 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8238 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8239 # Make sure the directory exists.
8240 test -f "$dirpart/$file" && continue
8241 fdir
=`$as_dirname -- "$file" ||
8242 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8243 X"$file" : 'X\(//\)[^/]' \| \
8244 X"$file" : 'X\(//\)$' \| \
8245 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8247 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8264 { as_dir
=$dirpart/$fdir
8266 -*) as_dir
=.
/$as_dir;;
8268 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
8272 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8273 *) as_qdir
=$as_dir;;
8275 as_dirs
="'$as_qdir' $as_dirs"
8276 as_dir
=`$as_dirname -- "$as_dir" ||
8277 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8278 X"$as_dir" : 'X\(//\)[^/]' \| \
8279 X"$as_dir" : 'X\(//\)$' \| \
8280 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8282 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8299 test -d "$as_dir" && break
8301 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8302 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8303 echo "$as_me: error: cannot create directory $as_dir" >&2;}
8304 { (exit 1); exit 1; }; }; }
8305 # echo "creating $dirpart/$file"
8306 echo '# dummy' > "$dirpart/$file"
8315 { (exit 0); exit 0; }
8317 chmod +x
$CONFIG_STATUS
8318 ac_clean_files
=$ac_clean_files_save
8321 # configure is writing to config.log, and then calls config.status.
8322 # config.status does its own redirection, appending to config.log.
8323 # Unfortunately, on DOS this fails, as config.log is still kept open
8324 # by configure, so config.status won't be able to write to it; its
8325 # output is simply discarded. So we exec the FD to /dev/null,
8326 # effectively closing config.log, so it can be properly (re)opened and
8327 # appended to by config.status. When coming back to configure, we
8328 # need to make the FD available again.
8329 if test "$no_create" != yes; then
8331 ac_config_status_args
=
8332 test "$silent" = yes &&
8333 ac_config_status_args
="$ac_config_status_args --quiet"
8335 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8337 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8338 # would make configure fail if this is the last instruction.
8339 $ac_cs_success ||
{ (exit 1); exit 1; }
8343 # CONFIG_SUBDIRS section.
8345 if test "$no_recursion" != yes; then
8347 # Remove --cache-file and --srcdir arguments so they do not pile up.
8348 ac_sub_configure_args
=
8350 eval "set x $ac_configure_args"
8354 if test -n "$ac_prev"; then
8359 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
8360 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
8361 ac_prev
=cache_file
;;
8362 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
8363 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
8366 --config-cache |
-C)
8368 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
8370 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
8372 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
8374 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
8378 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8380 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
8384 # Always prepend --prefix to ensure using the same prefix
8385 # in subdir configurations.
8386 ac_arg
="--prefix=$prefix"
8388 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8390 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
8393 if test "$silent" = yes; then
8394 ac_sub_configure_args
="--silent $ac_sub_configure_args"
8398 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
8400 # Do not complain, so a configure script can configure whichever
8401 # parts of a large source tree are present.
8402 test -d "$srcdir/$ac_dir" ||
continue
8404 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
8405 echo "$as_me:$LINENO: $ac_msg" >&5
8409 -*) as_dir
=.
/$as_dir;;
8411 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
8415 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8416 *) as_qdir
=$as_dir;;
8418 as_dirs
="'$as_qdir' $as_dirs"
8419 as_dir
=`$as_dirname -- "$as_dir" ||
8420 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8421 X"$as_dir" : 'X\(//\)[^/]' \| \
8422 X"$as_dir" : 'X\(//\)$' \| \
8423 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8442 test -d "$as_dir" && break
8444 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8445 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8446 echo "$as_me: error: cannot create directory $as_dir" >&2;}
8447 { (exit 1); exit 1; }; }; }
8451 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8453 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8454 # A ".." for each directory in $ac_dir_suffix.
8455 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
8456 case $ac_top_builddir_sub in
8457 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8458 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8461 ac_abs_top_builddir
=$ac_pwd
8462 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8463 # for backward compatibility:
8464 ac_top_builddir
=$ac_top_build_prefix
8467 .
) # We are building in place.
8469 ac_top_srcdir
=$ac_top_builddir_sub
8470 ac_abs_top_srcdir
=$ac_pwd ;;
8471 [\\/]* | ?
:[\\/]* ) # Absolute name.
8472 ac_srcdir
=$srcdir$ac_dir_suffix;
8473 ac_top_srcdir
=$srcdir
8474 ac_abs_top_srcdir
=$srcdir ;;
8476 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8477 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8478 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8480 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8485 # Check for guested configure; otherwise get Cygnus style configure.
8486 if test -f "$ac_srcdir/configure.gnu"; then
8487 ac_sub_configure
=$ac_srcdir/configure.gnu
8488 elif test -f "$ac_srcdir/configure"; then
8489 ac_sub_configure
=$ac_srcdir/configure
8490 elif test -f "$ac_srcdir/configure.in"; then
8491 # This should be Cygnus configure.
8492 ac_sub_configure
=$ac_aux_dir/configure
8494 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
8495 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
8499 # The recursion is here.
8500 if test -n "$ac_sub_configure"; then
8501 # Make the cache file name correct relative to the subdirectory.
8503 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
8505 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
8508 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
8509 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
8510 # The eval makes quoting arguments work.
8511 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
8512 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
8513 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
8514 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
8515 { (exit 1); exit 1; }; }
8523 if test $build_elfutils = yes; then
8524 case "$with_elfutils" in
8525 /*) elfutils_srcdir
="$with_elfutils" ;;
8526 *) elfutils_srcdir
="../$with_elfutils" ;;
8528 { echo "$as_me:$LINENO: running ${elfutils_srcdir}/configure" >&5
8529 echo "$as_me: running ${elfutils_srcdir}/configure" >&6;}
8530 # Our libdw.so's libebl will look in $ORIGIN/../lib/... but that
8531 # $ORIGIN is where libdw.so resides, which is not where there is a ../lib.
8532 # Note that $libdir might be using a quoted use of $exec_prefix or $prefix.
8533 # So we must make sure to pass those settings to elfutils configure.
8534 elfutils_rpath
="-Wl,--enable-new-dtags,-rpath,${libdir}/${PACKAGE_NAME}"
8536 (mkdir
-p build-elfutils
&& cd build-elfutils
&&
8537 ${elfutils_srcdir}/configure
--enable-libebl-subdir=${PACKAGE_NAME} \
8538 --includedir="${here}/include-elfutils" \
8539 --libdir="${here}/lib-elfutils" \
8540 --exec-prefix="$exec_prefix" \
8541 --prefix="$prefix" \
8542 CFLAGS
="${CFLAGS/-Wall/}" \
8543 LDFLAGS
="$LDFLAGS $elfutils_rpath"