2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for systemtap 0.8.
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.8'
578 PACKAGE_STRING
='systemtap 0.8'
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
740 ac_precious_vars
='build_alias
758 ac_subdirs_all
='testsuite'
760 # Initialize some variables set by options.
762 ac_init_version
=false
763 # The variables have the same names as the options, with
764 # dashes changed to underlines.
772 program_transform_name
=s
,x
,x
,
780 # Installation directory options.
781 # These are left unexpanded so users can "make install exec_prefix=/foo"
782 # and all the variables that are supposed to be based on exec_prefix
783 # by default will actually change.
784 # Use braces instead of parens because sh, perl, etc. also accept them.
785 # (The list follows the same order as the GNU Coding Standards.)
786 bindir
='${exec_prefix}/bin'
787 sbindir
='${exec_prefix}/sbin'
788 libexecdir
='${exec_prefix}/libexec'
789 datarootdir
='${prefix}/share'
790 datadir
='${datarootdir}'
791 sysconfdir
='${prefix}/etc'
792 sharedstatedir
='${prefix}/com'
793 localstatedir
='${prefix}/var'
794 includedir
='${prefix}/include'
795 oldincludedir
='/usr/include'
796 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
797 infodir
='${datarootdir}/info'
802 libdir
='${exec_prefix}/lib'
803 localedir
='${datarootdir}/locale'
804 mandir
='${datarootdir}/man'
810 # If the previous option needs an argument, assign it.
811 if test -n "$ac_prev"; then
812 eval $ac_prev=\
$ac_option
818 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
822 # Accept the important Cygnus configure options, so we can diagnose typos.
824 case $ac_dashdash$ac_option in
828 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
830 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
833 -build |
--build |
--buil |
--bui |
--bu)
834 ac_prev
=build_alias
;;
835 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
836 build_alias
=$ac_optarg ;;
838 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
839 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
840 ac_prev
=cache_file
;;
841 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
842 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
843 cache_file
=$ac_optarg ;;
846 cache_file
=config.cache
;;
848 -datadir |
--datadir |
--datadi |
--datad)
850 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
851 datadir
=$ac_optarg ;;
853 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
854 |
--dataroo |
--dataro |
--datar)
855 ac_prev
=datarootdir
;;
856 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
857 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
858 datarootdir
=$ac_optarg ;;
860 -disable-* |
--disable-*)
861 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
862 # Reject names that are not valid shell variable names.
863 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
864 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
865 { (exit 1); exit 1; }; }
866 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
867 eval enable_
$ac_feature=no
;;
869 -docdir |
--docdir |
--docdi |
--doc |
--do)
871 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
874 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
876 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
879 -enable-* |
--enable-*)
880 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
881 # Reject names that are not valid shell variable names.
882 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
883 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
884 { (exit 1); exit 1; }; }
885 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
886 eval enable_
$ac_feature=\
$ac_optarg ;;
888 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
889 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
890 |
--exec |
--exe |
--ex)
891 ac_prev
=exec_prefix
;;
892 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
893 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
894 |
--exec=* |
--exe=* |
--ex=*)
895 exec_prefix
=$ac_optarg ;;
897 -gas |
--gas |
--ga |
--g)
898 # Obsolete; use --with-gas.
901 -help |
--help |
--hel |
--he |
-h)
903 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
904 ac_init_help
=recursive
;;
905 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
906 ac_init_help
=short
;;
908 -host |
--host |
--hos |
--ho)
909 ac_prev
=host_alias
;;
910 -host=* |
--host=* |
--hos=* |
--ho=*)
911 host_alias
=$ac_optarg ;;
913 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
915 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
917 htmldir
=$ac_optarg ;;
919 -includedir |
--includedir |
--includedi |
--included |
--include \
920 |
--includ |
--inclu |
--incl |
--inc)
921 ac_prev
=includedir
;;
922 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
923 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
924 includedir
=$ac_optarg ;;
926 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
928 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
929 infodir
=$ac_optarg ;;
931 -libdir |
--libdir |
--libdi |
--libd)
933 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
936 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
937 |
--libexe |
--libex |
--libe)
938 ac_prev
=libexecdir
;;
939 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
940 |
--libexe=* |
--libex=* |
--libe=*)
941 libexecdir
=$ac_optarg ;;
943 -localedir |
--localedir |
--localedi |
--localed |
--locale)
945 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
946 localedir
=$ac_optarg ;;
948 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
949 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
950 ac_prev
=localstatedir
;;
951 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
952 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
953 localstatedir
=$ac_optarg ;;
955 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
957 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
961 # Obsolete; use --without-fp.
964 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
965 |
--no-cr |
--no-c |
-n)
968 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
969 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
972 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
973 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
974 |
--oldin |
--oldi |
--old |
--ol |
--o)
975 ac_prev
=oldincludedir
;;
976 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
977 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
978 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
979 oldincludedir
=$ac_optarg ;;
981 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
983 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
986 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
987 |
--program-pre |
--program-pr |
--program-p)
988 ac_prev
=program_prefix
;;
989 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
990 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
991 program_prefix
=$ac_optarg ;;
993 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
994 |
--program-suf |
--program-su |
--program-s)
995 ac_prev
=program_suffix
;;
996 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
997 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
998 program_suffix
=$ac_optarg ;;
1000 -program-transform-name |
--program-transform-name \
1001 |
--program-transform-nam |
--program-transform-na \
1002 |
--program-transform-n |
--program-transform- \
1003 |
--program-transform |
--program-transfor \
1004 |
--program-transfo |
--program-transf \
1005 |
--program-trans |
--program-tran \
1006 |
--progr-tra |
--program-tr |
--program-t)
1007 ac_prev
=program_transform_name
;;
1008 -program-transform-name=* |
--program-transform-name=* \
1009 |
--program-transform-nam=* |
--program-transform-na=* \
1010 |
--program-transform-n=* |
--program-transform-=* \
1011 |
--program-transform=* |
--program-transfor=* \
1012 |
--program-transfo=* |
--program-transf=* \
1013 |
--program-trans=* |
--program-tran=* \
1014 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1015 program_transform_name
=$ac_optarg ;;
1017 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1019 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1020 pdfdir
=$ac_optarg ;;
1022 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1024 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1027 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1028 |
-silent |
--silent |
--silen |
--sile |
--sil)
1031 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1033 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1035 sbindir
=$ac_optarg ;;
1037 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1038 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1039 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1041 ac_prev
=sharedstatedir
;;
1042 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1043 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1044 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1046 sharedstatedir
=$ac_optarg ;;
1048 -site |
--site |
--sit)
1050 -site=* |
--site=* |
--sit=*)
1053 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1055 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1056 srcdir
=$ac_optarg ;;
1058 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1059 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1060 ac_prev
=sysconfdir
;;
1061 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1062 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1063 sysconfdir
=$ac_optarg ;;
1065 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1066 ac_prev
=target_alias
;;
1067 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1068 target_alias
=$ac_optarg ;;
1070 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1073 -version |
--version |
--versio |
--versi |
--vers |
-V)
1074 ac_init_version
=: ;;
1077 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1078 # Reject names that are not valid shell variable names.
1079 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1080 { echo "$as_me: error: invalid package name: $ac_package" >&2
1081 { (exit 1); exit 1; }; }
1082 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1083 eval with_
$ac_package=\
$ac_optarg ;;
1085 -without-* |
--without-*)
1086 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1087 # Reject names that are not valid shell variable names.
1088 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1089 { echo "$as_me: error: invalid package name: $ac_package" >&2
1090 { (exit 1); exit 1; }; }
1091 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1092 eval with_
$ac_package=no
;;
1095 # Obsolete; use --with-x.
1098 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1099 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1100 ac_prev
=x_includes
;;
1101 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1102 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1103 x_includes
=$ac_optarg ;;
1105 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1106 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1107 ac_prev
=x_libraries
;;
1108 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1109 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1110 x_libraries
=$ac_optarg ;;
1112 -*) { echo "$as_me: error: unrecognized option: $ac_option
1113 Try \`$0 --help' for more information." >&2
1114 { (exit 1); exit 1; }; }
1118 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1121 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1122 { (exit 1); exit 1; }; }
1123 eval $ac_envvar=\
$ac_optarg
1124 export $ac_envvar ;;
1127 # FIXME: should be removed in autoconf 3.0.
1128 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1129 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1130 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1131 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1137 if test -n "$ac_prev"; then
1138 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1139 { echo "$as_me: error: missing argument to $ac_option" >&2
1140 { (exit 1); exit 1; }; }
1143 # Be sure to have absolute directory names.
1144 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1145 datadir sysconfdir sharedstatedir localstatedir includedir \
1146 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1147 libdir localedir mandir
1149 eval ac_val
=\$
$ac_var
1151 [\\/$
]* | ?
:[\\/]* ) continue;;
1152 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1154 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1155 { (exit 1); exit 1; }; }
1158 # There might be people who depend on the old broken behavior: `$host'
1159 # used to hold the argument of --host etc.
1160 # FIXME: To remove some day.
1163 target
=$target_alias
1165 # FIXME: To remove some day.
1166 if test "x$host_alias" != x
; then
1167 if test "x$build_alias" = x
; then
1168 cross_compiling
=maybe
1169 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1170 If a cross compiler is detected then cross compile mode will be used." >&2
1171 elif test "x$build_alias" != "x$host_alias"; then
1177 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1179 test "$silent" = yes && exec 6>/dev
/null
1182 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1183 ac_ls_di
=`ls -di .` &&
1184 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1185 { echo "$as_me: error: Working directory cannot be determined" >&2
1186 { (exit 1); exit 1; }; }
1187 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1188 { echo "$as_me: error: pwd does not report name of working directory" >&2
1189 { (exit 1); exit 1; }; }
1192 # Find the source files, if location was not specified.
1193 if test -z "$srcdir"; then
1194 ac_srcdir_defaulted
=yes
1195 # Try the directory containing this script, then the parent directory.
1196 ac_confdir
=`$as_dirname -- "$0" ||
1197 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1198 X"$0" : 'X\(//\)[^/]' \| \
1199 X"$0" : 'X\(//\)$' \| \
1200 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1220 if test ! -r "$srcdir/$ac_unique_file"; then
1224 ac_srcdir_defaulted
=no
1226 if test ! -r "$srcdir/$ac_unique_file"; then
1227 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1228 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1229 { (exit 1); exit 1; }; }
1231 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1233 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1234 { (exit 1); exit 1; }; }
1236 # When building in place, set srcdir=.
1237 if test "$ac_abs_confdir" = "$ac_pwd"; then
1240 # Remove unnecessary trailing slashes from srcdir.
1241 # Double slashes in file names in object file debugging info
1242 # mess up M-x gdb in Emacs.
1244 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1246 for ac_var
in $ac_precious_vars; do
1247 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1248 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1249 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1250 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1254 # Report the --help message.
1256 if test "$ac_init_help" = "long"; then
1257 # Omit some internal or obsolete options to make the list less imposing.
1258 # This message is too long to be a string in the A/UX 3.1 sh.
1260 \`configure' configures systemtap 0.8 to adapt to many kinds of systems.
1262 Usage: $0 [OPTION]... [VAR=VALUE]...
1264 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1265 VAR=VALUE. See below for descriptions of some of the useful variables.
1267 Defaults for the options are specified in brackets.
1270 -h, --help display this help and exit
1271 --help=short display options specific to this package
1272 --help=recursive display the short help of all the included packages
1273 -V, --version display version information and exit
1274 -q, --quiet, --silent do not print \`checking...' messages
1275 --cache-file=FILE cache test results in FILE [disabled]
1276 -C, --config-cache alias for \`--cache-file=config.cache'
1277 -n, --no-create do not create output files
1278 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1280 Installation directories:
1281 --prefix=PREFIX install architecture-independent files in PREFIX
1282 [$ac_default_prefix]
1283 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1286 By default, \`make install' will install all the files in
1287 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1288 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1289 for instance \`--prefix=\$HOME'.
1291 For better control, use the options below.
1293 Fine tuning of the installation directories:
1294 --bindir=DIR user executables [EPREFIX/bin]
1295 --sbindir=DIR system admin executables [EPREFIX/sbin]
1296 --libexecdir=DIR program executables [EPREFIX/libexec]
1297 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1298 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1299 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1300 --libdir=DIR object code libraries [EPREFIX/lib]
1301 --includedir=DIR C header files [PREFIX/include]
1302 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1303 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1304 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1305 --infodir=DIR info documentation [DATAROOTDIR/info]
1306 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1307 --mandir=DIR man documentation [DATAROOTDIR/man]
1308 --docdir=DIR documentation root [DATAROOTDIR/doc/systemtap]
1309 --htmldir=DIR html documentation [DOCDIR]
1310 --dvidir=DIR dvi documentation [DOCDIR]
1311 --pdfdir=DIR pdf documentation [DOCDIR]
1312 --psdir=DIR ps documentation [DOCDIR]
1318 --program-prefix=PREFIX prepend PREFIX to installed program names
1319 --program-suffix=SUFFIX append SUFFIX to installed program names
1320 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1324 if test -n "$ac_init_help"; then
1325 case $ac_init_help in
1326 short | recursive
) echo "Configuration of systemtap 0.8:";;
1331 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1332 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1333 --enable-maintainer-mode enable make rules and dependencies not useful
1334 (and sometimes confusing
) to the casual installer
1335 --disable-dependency-tracking speeds up one-time build
1336 --enable-dependency-tracking do not reject slow dependency extractors
1337 --enable-perfmon[=DIRECTORY
]
1338 enable perfmon support
(default is disabled
).
1339 Optional DIRECTORY is the path to the perfmon
1340 installation
(needed
if installed
in a non-standard
1342 --enable-prologues make -P prologue-searching default
1343 --disable-ssp disable gcc stack-protector
1344 --disable-pie disable position-independent-executable
1345 --enable-sqlite build with sqlite support
1346 --enable-crash[=DIRECTORY
]
1347 enable crash extension
(default is disabled
).
1348 Optional DIRECTORY is the path to the crash header
1349 file (needed
if installed
in a non-standard
1351 --enable-docs enable building documentation
(default on
if latex
1353 --enable-refdocs enable building reference documentation
(default on
1354 if xmlto etc. found and other documentation built
).
1355 --enble-server enable building of stap-server
/client
(default on
if
1359 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1360 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1361 --with-elfutils=DIRECTORY
1362 find elfutils
source code
in DIRECTORY
1364 Some influential environment variables
:
1365 CC C compiler
command
1366 CFLAGS C compiler flags
1367 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1368 nonstandard directory
<lib dir
>
1369 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1370 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1371 you have headers
in a nonstandard directory
<include dir
>
1372 CXX C
++ compiler
command
1373 CXXFLAGS C
++ compiler flags
1375 PKG_CONFIG path to pkg-config utility
1376 nss_CFLAGS C compiler flags
for nss
, overriding pkg-config
1377 nss_LIBS linker flags
for nss
, overriding pkg-config
1378 nspr_CFLAGS C compiler flags
for nspr
, overriding pkg-config
1379 nspr_LIBS linker flags
for nspr
, overriding pkg-config
1380 CXXCPP C
++ preprocessor
1382 Use these variables to override the choices made by
`configure' or to help
1383 it to find libraries and programs with nonstandard names/locations.
1385 Report bugs to <systemtap@sources.redhat.com>.
1390 if test "$ac_init_help" = "recursive"; then
1391 # If there are subdirs, report their specific --help.
1392 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1393 test -d "$ac_dir" || continue
1397 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1399 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1400 # A ".." for each directory in $ac_dir_suffix.
1401 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1402 case $ac_top_builddir_sub in
1403 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1404 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1407 ac_abs_top_builddir=$ac_pwd
1408 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1409 # for backward compatibility:
1410 ac_top_builddir=$ac_top_build_prefix
1413 .) # We are building in place.
1415 ac_top_srcdir=$ac_top_builddir_sub
1416 ac_abs_top_srcdir=$ac_pwd ;;
1417 [\\/]* | ?:[\\/]* ) # Absolute name.
1418 ac_srcdir=$srcdir$ac_dir_suffix;
1419 ac_top_srcdir=$srcdir
1420 ac_abs_top_srcdir=$srcdir ;;
1422 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1423 ac_top_srcdir=$ac_top_build_prefix$srcdir
1424 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1426 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1428 cd "$ac_dir" || { ac_status=$?; continue; }
1429 # Check for guested configure.
1430 if test -f "$ac_srcdir/configure.gnu"; then
1432 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1433 elif test -f "$ac_srcdir/configure"; then
1435 $SHELL "$ac_srcdir/configure" --help=recursive
1437 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1439 cd "$ac_pwd" || { ac_status=$?; break; }
1443 test -n "$ac_init_help" && exit $ac_status
1444 if $ac_init_version; then
1446 systemtap configure 0.8
1447 generated by GNU Autoconf 2.61
1449 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1450 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1451 This configure script is free software; the Free Software Foundation
1452 gives unlimited permission to copy, distribute and modify it.
1456 cat >config.log <<_ACEOF
1457 This file contains any messages produced by compilers while
1458 running configure, to aid debugging if configure makes a mistake.
1460 It was created by systemtap $as_me 0.8, which was
1461 generated by GNU Autoconf 2.61. Invocation command line was
1473 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1474 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1475 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1476 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1477 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1479 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1480 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1482 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1483 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1484 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1485 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1486 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1487 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1488 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1496 test -z "$as_dir" && as_dir=.
1497 echo "PATH: $as_dir"
1513 # Keep a trace of the command line.
1514 # Strip out --no-create and --no-recursion so they do not pile up.
1515 # Strip out --silent because we don't want to record it for future runs.
1516 # Also quote any args containing shell meta-characters.
1517 # Make two passes to allow for proper duplicate-argument suppression.
1521 ac_must_keep_next=false
1527 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1528 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1529 | -silent | --silent | --silen | --sile | --sil)
1532 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1535 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1537 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1538 if test $ac_must_keep_next = true; then
1539 ac_must_keep_next=false # Got value, back to normal.
1542 *=* | --config-cache | -C | -disable-* | --disable-* \
1543 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1544 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1545 | -with-* | --with-* | -without-* | --without-* | --x)
1546 case "$ac_configure_args0 " in
1547 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1550 -* ) ac_must_keep_next=true ;;
1553 ac_configure_args="$ac_configure_args '$ac_arg'"
1558 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1559 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1561 # When interrupted or exit'd, cleanup temporary files, and complete
1562 # config.log. We remove comments because anyway the quotes in there
1563 # would cause problems or look ugly.
1564 # WARNING: Use '\'' to represent an apostrophe within the trap.
1565 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1566 trap 'exit_status=$?
1567 # Save into config.log some information that might help in debugging.
1572 ## ---------------- ##
1573 ## Cache variables. ##
1574 ## ---------------- ##
1577 # The following way of writing the cache mishandles newlines in values,
1579 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1580 eval ac_val=\$$ac_var
1584 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1585 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1588 _ | IFS | as_nl) ;; #(
1589 *) $as_unset $ac_var ;;
1594 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1595 *${as_nl}ac_space=\ *)
1597 "s/'\''/'\''\\\\'\'''\''/g;
1598 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1601 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1609 ## ----------------- ##
1610 ## Output variables. ##
1611 ## ----------------- ##
1614 for ac_var in $ac_subst_vars
1616 eval ac_val=\$$ac_var
1618 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1620 echo "$ac_var='\''$ac_val'\''"
1624 if test -n "$ac_subst_files"; then
1626 ## ------------------- ##
1627 ## File substitutions. ##
1628 ## ------------------- ##
1631 for ac_var in $ac_subst_files
1633 eval ac_val=\$$ac_var
1635 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1637 echo "$ac_var='\''$ac_val'\''"
1642 if test -s confdefs.h; then
1652 test "$ac_signal" != 0 &&
1653 echo "$as_me: caught signal $ac_signal"
1654 echo "$as_me: exit $exit_status"
1656 rm -f core *.core core.conftest.* &&
1657 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1660 for ac_signal in 1 2 13 15; do
1661 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1665 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1666 rm -f -r conftest* confdefs.h
1668 # Predefined preprocessor variables.
1670 cat >>confdefs.h <<_ACEOF
1671 #define PACKAGE_NAME "$PACKAGE_NAME"
1675 cat >>confdefs.h <<_ACEOF
1676 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1680 cat >>confdefs.h <<_ACEOF
1681 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1685 cat >>confdefs.h <<_ACEOF
1686 #define PACKAGE_STRING "$PACKAGE_STRING"
1690 cat >>confdefs.h <<_ACEOF
1691 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1695 # Let the site file select an alternate cache file if it wants to.
1696 # Prefer explicitly selected file to automatically selected ones.
1697 if test -n "$CONFIG_SITE"; then
1698 set x "$CONFIG_SITE"
1699 elif test "x$prefix" != xNONE; then
1700 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1702 set x "$ac_default_prefix/share/config.site" \
1703 "$ac_default_prefix/etc/config.site"
1708 if test -r "$ac_site_file"; then
1709 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1710 echo "$as_me: loading site script $ac_site_file" >&6;}
1711 sed 's/^/| /' "$ac_site_file" >&5
1716 if test -r "$cache_file"; then
1717 # Some versions of bash will fail to source /dev/null (special
1718 # files actually), so we avoid doing that.
1719 if test -f "$cache_file"; then
1720 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1721 echo "$as_me: loading cache $cache_file" >&6;}
1723 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1724 *) . "./$cache_file";;
1728 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1729 echo "$as_me: creating cache $cache_file" >&6;}
1733 # Check that the precious variables saved in the cache have kept the same
1735 ac_cache_corrupted=false
1736 for ac_var in $ac_precious_vars; do
1737 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1738 eval ac_new_set=\$ac_env_${ac_var}_set
1739 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1740 eval ac_new_val=\$ac_env_${ac_var}_value
1741 case $ac_old_set,$ac_new_set in
1743 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1744 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1745 ac_cache_corrupted=: ;;
1747 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1748 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1749 ac_cache_corrupted=: ;;
1752 if test "x$ac_old_val" != "x$ac_new_val"; then
1753 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1754 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1755 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1756 echo "$as_me: former value
: $ac_old_val" >&2;}
1757 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1758 echo "$as_me: current value
: $ac_new_val" >&2;}
1759 ac_cache_corrupted=:
1762 # Pass precious variables to config.status.
1763 if test "$ac_new_set" = set; then
1765 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1766 *) ac_arg=$ac_var=$ac_new_val ;;
1768 case " $ac_configure_args " in
1769 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1770 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1774 if $ac_cache_corrupted; then
1775 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1776 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1777 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1778 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1779 { (exit 1); exit 1; }; }
1807 ac_cpp='$CPP $CPPFLAGS'
1808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1815 am__api_version='1.10'
1818 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1819 if test -f "$ac_dir/install-sh"; then
1821 ac_install_sh="$ac_aux_dir/install-sh -c"
1823 elif test -f "$ac_dir/install.sh"; then
1825 ac_install_sh="$ac_aux_dir/install.sh -c"
1827 elif test -f "$ac_dir/shtool"; then
1829 ac_install_sh="$ac_aux_dir/shtool install -c"
1833 if test -z "$ac_aux_dir"; then
1834 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1835 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1836 { (exit 1); exit 1; }; }
1839 # These three variables are undocumented and unsupported,
1840 # and are intended to be withdrawn in a future Autoconf release.
1841 # They can cause serious problems if a builder's source tree is in a directory
1842 # whose full name contains unusual characters.
1843 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1844 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1845 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1848 # Find a good install program. We prefer a C program (faster),
1849 # so one script is as good as another. But avoid the broken or
1850 # incompatible versions:
1851 # SysV /etc/install, /usr/sbin/install
1852 # SunOS /usr/etc/install
1853 # IRIX /sbin/install
1855 # AmigaOS /C/install, which installs bootblocks on floppy discs
1856 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1857 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1858 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1859 # OS/2's system install, which has a completely different semantic
1860 # ./install, which can be erroneously created by make from ./install.sh.
1861 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1862 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1863 if test -z "$INSTALL"; then
1864 if test "${ac_cv_path_install+set}" = set; then
1865 echo $ECHO_N "(cached) $ECHO_C" >&6
1867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1871 test -z "$as_dir" && as_dir=.
1872 # Account for people who put trailing slashes in PATH elements.
1874 ./ | .// | /cC/* | \
1875 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1876 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1879 # OSF1 and SCO ODT 3.0 have their own names for install.
1880 # Don't use installbsd from OSF since it installs stuff as root
1882 for ac_prog in ginstall scoinst install; do
1883 for ac_exec_ext in '' $ac_executable_extensions; do
1884 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1885 if test $ac_prog = install &&
1886 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1887 # AIX install. It has an incompatible calling convention.
1889 elif test $ac_prog = install &&
1890 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1891 # program-specific install script used by HP pwplus--don't use.
1894 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1907 if test "${ac_cv_path_install+set}" = set; then
1908 INSTALL=$ac_cv_path_install
1910 # As a last resort, use the slow shell script. Don't cache a
1911 # value for INSTALL within a source directory, because that will
1912 # break other packages using the cache if that directory is
1913 # removed, or if the value is a relative name.
1914 INSTALL=$ac_install_sh
1917 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1918 echo "${ECHO_T}$INSTALL" >&6; }
1920 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1921 # It thinks the first close brace ends the variable substitution.
1922 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1924 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1926 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1928 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1929 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1932 echo timestamp > conftest.file
1933 # Do `set' in a subshell so we don't clobber the current shell
's
1934 # arguments. Must try -L first in case configure is actually a
1935 # symlink; some systems play weird games with the mod time of symlinks
1936 # (eg FreeBSD returns the mod time of the symlink's containing
1939 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1940 if test "$*" = "X"; then
1942 set X
`ls -t $srcdir/configure conftest.file`
1945 if test "$*" != "X $srcdir/configure conftest.file" \
1946 && test "$*" != "X conftest.file $srcdir/configure"; then
1948 # If neither matched, then we have a broken ls. This can happen
1949 # if, for instance, CONFIG_SHELL is bash and it inherits a
1950 # broken ls alias from the environment. This has actually
1951 # happened. Such a system could not be considered "sane".
1952 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1953 alias in your environment" >&5
1954 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1955 alias in your environment" >&2;}
1956 { (exit 1); exit 1; }; }
1959 test "$2" = conftest.
file
1965 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1966 Check your system clock" >&5
1967 echo "$as_me: error: newly created file is older than distributed files!
1968 Check your system clock" >&2;}
1969 { (exit 1); exit 1; }; }
1971 { echo "$as_me:$LINENO: result: yes" >&5
1972 echo "${ECHO_T}yes" >&6; }
1973 test "$program_prefix" != NONE
&&
1974 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1975 # Use a double $ so make ignores it.
1976 test "$program_suffix" != NONE
&&
1977 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1978 # Double any \ or $. echo might interpret backslashes.
1979 # By default was `s,x,x', remove it if useless.
1980 cat <<\_ACEOF
>conftest.
sed
1981 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1983 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1986 # expand $ac_aux_dir to an absolute path
1987 am_aux_dir
=`cd $ac_aux_dir && pwd`
1989 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1990 # Use eval to expand $SHELL
1991 if eval "$MISSING --run true"; then
1992 am_missing_run
="$MISSING --run "
1995 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1996 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1999 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2000 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2001 if test -z "$MKDIR_P"; then
2002 if test "${ac_cv_path_mkdir+set}" = set; then
2003 echo $ECHO_N "(cached) $ECHO_C" >&6
2005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2006 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2009 test -z "$as_dir" && as_dir
=.
2010 for ac_prog
in mkdir gmkdir
; do
2011 for ac_exec_ext
in '' $ac_executable_extensions; do
2012 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2013 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2014 'mkdir (GNU coreutils) '* | \
2015 'mkdir (coreutils) '* | \
2016 'mkdir (fileutils) '4.1*)
2017 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2027 if test "${ac_cv_path_mkdir+set}" = set; then
2028 MKDIR_P
="$ac_cv_path_mkdir -p"
2030 # As a last resort, use the slow shell script. Don't cache a
2031 # value for MKDIR_P within a source directory, because that will
2032 # break other packages using the cache if that directory is
2033 # removed, or if the value is a relative name.
2034 test -d .
/--version && rmdir .
/--version
2035 MKDIR_P
="$ac_install_sh -d"
2038 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2039 echo "${ECHO_T}$MKDIR_P" >&6; }
2043 [\\/$
]* | ?
:[\\/]*) ;;
2044 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2047 for ac_prog
in gawk mawk nawk
awk
2049 # Extract the first word of "$ac_prog", so it can be a program name with args.
2050 set dummy
$ac_prog; ac_word
=$2
2051 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2053 if test "${ac_cv_prog_AWK+set}" = set; then
2054 echo $ECHO_N "(cached) $ECHO_C" >&6
2056 if test -n "$AWK"; then
2057 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2063 test -z "$as_dir" && as_dir
=.
2064 for ac_exec_ext
in '' $ac_executable_extensions; do
2065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2066 ac_cv_prog_AWK
="$ac_prog"
2067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2077 if test -n "$AWK"; then
2078 { echo "$as_me:$LINENO: result: $AWK" >&5
2079 echo "${ECHO_T}$AWK" >&6; }
2081 { echo "$as_me:$LINENO: result: no" >&5
2082 echo "${ECHO_T}no" >&6; }
2086 test -n "$AWK" && break
2089 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2090 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2091 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2092 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2093 echo $ECHO_N "(cached) $ECHO_C" >&6
2095 cat >conftest.
make <<\_ACEOF
2098 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2100 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2101 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2103 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2105 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2109 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2110 { echo "$as_me:$LINENO: result: yes" >&5
2111 echo "${ECHO_T}yes" >&6; }
2114 { echo "$as_me:$LINENO: result: no" >&5
2115 echo "${ECHO_T}no" >&6; }
2116 SET_MAKE
="MAKE=${MAKE-make}"
2119 rm -rf .tst
2>/dev
/null
2120 mkdir .tst
2>/dev
/null
2121 if test -d .tst
; then
2126 rmdir .tst
2>/dev
/null
2128 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2129 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2130 # is not polluted with repeated "-I."
2131 am__isrc
=' -I$(srcdir)'
2132 # test to see if srcdir already configured
2133 if test -f $srcdir/config.status
; then
2134 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2135 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2136 { (exit 1); exit 1; }; }
2140 # test whether we have cygpath
2141 if test -z "$CYGPATH_W"; then
2142 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2143 CYGPATH_W
='cygpath -w'
2150 # Define the identity of the package.
2155 cat >>confdefs.h
<<_ACEOF
2156 #define PACKAGE "$PACKAGE"
2160 cat >>confdefs.h
<<_ACEOF
2161 #define VERSION "$VERSION"
2164 # Some tools Automake needs.
2166 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2169 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2172 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2175 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2178 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2180 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2182 # Installed binaries are usually stripped using `strip' when the user
2183 # run `make install-strip'. However `strip' might not be the right
2184 # tool to use in cross-compilation environments, therefore Automake
2185 # will honor the `STRIP' environment variable to overrule this program.
2186 if test "$cross_compiling" != no
; then
2187 if test -n "$ac_tool_prefix"; then
2188 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2189 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2190 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2192 if test "${ac_cv_prog_STRIP+set}" = set; then
2193 echo $ECHO_N "(cached) $ECHO_C" >&6
2195 if test -n "$STRIP"; then
2196 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2202 test -z "$as_dir" && as_dir
=.
2203 for ac_exec_ext
in '' $ac_executable_extensions; do
2204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2205 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2215 STRIP
=$ac_cv_prog_STRIP
2216 if test -n "$STRIP"; then
2217 { echo "$as_me:$LINENO: result: $STRIP" >&5
2218 echo "${ECHO_T}$STRIP" >&6; }
2220 { echo "$as_me:$LINENO: result: no" >&5
2221 echo "${ECHO_T}no" >&6; }
2226 if test -z "$ac_cv_prog_STRIP"; then
2228 # Extract the first word of "strip", so it can be a program name with args.
2229 set dummy strip
; ac_word
=$2
2230 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2232 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2233 echo $ECHO_N "(cached) $ECHO_C" >&6
2235 if test -n "$ac_ct_STRIP"; then
2236 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2242 test -z "$as_dir" && as_dir
=.
2243 for ac_exec_ext
in '' $ac_executable_extensions; do
2244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2245 ac_cv_prog_ac_ct_STRIP
="strip"
2246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2255 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2256 if test -n "$ac_ct_STRIP"; then
2257 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2258 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2260 { echo "$as_me:$LINENO: result: no" >&5
2261 echo "${ECHO_T}no" >&6; }
2264 if test "x$ac_ct_STRIP" = x
; then
2267 case $cross_compiling:$ac_tool_warned in
2269 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2270 whose name does not start with the host triplet. If you think this
2271 configuration is useful to you, please write to autoconf@gnu.org." >&5
2272 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2273 whose name does not start with the host triplet. If you think this
2274 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2275 ac_tool_warned
=yes ;;
2280 STRIP
="$ac_cv_prog_STRIP"
2284 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2286 # We need awk for the "check" target. The system "awk" is bad on
2288 # Always define AMTAR for backward compatibility.
2290 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2292 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2298 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2299 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2300 # Check whether --enable-maintainer-mode was given.
2301 if test "${enable_maintainer_mode+set}" = set; then
2302 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2304 USE_MAINTAINER_MODE
=no
2307 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2308 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2309 if test $USE_MAINTAINER_MODE = yes; then
2310 MAINTAINER_MODE_TRUE
=
2311 MAINTAINER_MODE_FALSE
='#'
2313 MAINTAINER_MODE_TRUE
='#'
2314 MAINTAINER_MODE_FALSE
=
2317 MAINT
=$MAINTAINER_MODE_TRUE
2323 [\\/$
]* | ?
:[\\/]*) ;;
2324 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2327 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
2328 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2330 if test "$LN_S" = "ln -s"; then
2331 { echo "$as_me:$LINENO: result: yes" >&5
2332 echo "${ECHO_T}yes" >&6; }
2334 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2335 echo "${ECHO_T}no, using $LN_S" >&6; }
2339 ac_cpp
='$CPP $CPPFLAGS'
2340 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2341 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2342 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2343 if test -n "$ac_tool_prefix"; then
2344 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2345 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2348 if test "${ac_cv_prog_CC+set}" = set; then
2349 echo $ECHO_N "(cached) $ECHO_C" >&6
2351 if test -n "$CC"; then
2352 ac_cv_prog_CC
="$CC" # Let the user override the test.
2354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2358 test -z "$as_dir" && as_dir
=.
2359 for ac_exec_ext
in '' $ac_executable_extensions; do
2360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2361 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2372 if test -n "$CC"; then
2373 { echo "$as_me:$LINENO: result: $CC" >&5
2374 echo "${ECHO_T}$CC" >&6; }
2376 { echo "$as_me:$LINENO: result: no" >&5
2377 echo "${ECHO_T}no" >&6; }
2382 if test -z "$ac_cv_prog_CC"; then
2384 # Extract the first word of "gcc", so it can be a program name with args.
2385 set dummy gcc
; ac_word
=$2
2386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2388 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2389 echo $ECHO_N "(cached) $ECHO_C" >&6
2391 if test -n "$ac_ct_CC"; then
2392 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2398 test -z "$as_dir" && as_dir
=.
2399 for ac_exec_ext
in '' $ac_executable_extensions; do
2400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2401 ac_cv_prog_ac_ct_CC
="gcc"
2402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2411 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2412 if test -n "$ac_ct_CC"; then
2413 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2414 echo "${ECHO_T}$ac_ct_CC" >&6; }
2416 { echo "$as_me:$LINENO: result: no" >&5
2417 echo "${ECHO_T}no" >&6; }
2420 if test "x$ac_ct_CC" = x
; then
2423 case $cross_compiling:$ac_tool_warned in
2425 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2426 whose name does not start with the host triplet. If you think this
2427 configuration is useful to you, please write to autoconf@gnu.org." >&5
2428 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2429 whose name does not start with the host triplet. If you think this
2430 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2431 ac_tool_warned
=yes ;;
2439 if test -z "$CC"; then
2440 if test -n "$ac_tool_prefix"; then
2441 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2442 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2443 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2445 if test "${ac_cv_prog_CC+set}" = set; then
2446 echo $ECHO_N "(cached) $ECHO_C" >&6
2448 if test -n "$CC"; then
2449 ac_cv_prog_CC
="$CC" # Let the user override the test.
2451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2455 test -z "$as_dir" && as_dir
=.
2456 for ac_exec_ext
in '' $ac_executable_extensions; do
2457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2458 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2469 if test -n "$CC"; then
2470 { echo "$as_me:$LINENO: result: $CC" >&5
2471 echo "${ECHO_T}$CC" >&6; }
2473 { echo "$as_me:$LINENO: result: no" >&5
2474 echo "${ECHO_T}no" >&6; }
2480 if test -z "$CC"; then
2481 # Extract the first word of "cc", so it can be a program name with args.
2482 set dummy cc
; ac_word
=$2
2483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2485 if test "${ac_cv_prog_CC+set}" = set; then
2486 echo $ECHO_N "(cached) $ECHO_C" >&6
2488 if test -n "$CC"; then
2489 ac_cv_prog_CC
="$CC" # Let the user override the test.
2492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2496 test -z "$as_dir" && as_dir
=.
2497 for ac_exec_ext
in '' $ac_executable_extensions; do
2498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2499 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2500 ac_prog_rejected
=yes
2504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2511 if test $ac_prog_rejected = yes; then
2512 # We found a bogon in the path, so make sure we never use it.
2513 set dummy
$ac_cv_prog_CC
2515 if test $# != 0; then
2516 # We chose a different compiler from the bogus one.
2517 # However, it has the same basename, so the bogon will be chosen
2518 # first if we set CC to just the basename; use the full file name.
2520 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2526 if test -n "$CC"; then
2527 { echo "$as_me:$LINENO: result: $CC" >&5
2528 echo "${ECHO_T}$CC" >&6; }
2530 { echo "$as_me:$LINENO: result: no" >&5
2531 echo "${ECHO_T}no" >&6; }
2536 if test -z "$CC"; then
2537 if test -n "$ac_tool_prefix"; then
2538 for ac_prog
in cl.exe
2540 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2541 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2542 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2544 if test "${ac_cv_prog_CC+set}" = set; then
2545 echo $ECHO_N "(cached) $ECHO_C" >&6
2547 if test -n "$CC"; then
2548 ac_cv_prog_CC
="$CC" # Let the user override the test.
2550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2554 test -z "$as_dir" && as_dir
=.
2555 for ac_exec_ext
in '' $ac_executable_extensions; do
2556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2557 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2568 if test -n "$CC"; then
2569 { echo "$as_me:$LINENO: result: $CC" >&5
2570 echo "${ECHO_T}$CC" >&6; }
2572 { echo "$as_me:$LINENO: result: no" >&5
2573 echo "${ECHO_T}no" >&6; }
2577 test -n "$CC" && break
2580 if test -z "$CC"; then
2582 for ac_prog
in cl.exe
2584 # Extract the first word of "$ac_prog", so it can be a program name with args.
2585 set dummy
$ac_prog; ac_word
=$2
2586 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2588 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2589 echo $ECHO_N "(cached) $ECHO_C" >&6
2591 if test -n "$ac_ct_CC"; then
2592 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2598 test -z "$as_dir" && as_dir
=.
2599 for ac_exec_ext
in '' $ac_executable_extensions; do
2600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2601 ac_cv_prog_ac_ct_CC
="$ac_prog"
2602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2611 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2612 if test -n "$ac_ct_CC"; then
2613 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2614 echo "${ECHO_T}$ac_ct_CC" >&6; }
2616 { echo "$as_me:$LINENO: result: no" >&5
2617 echo "${ECHO_T}no" >&6; }
2621 test -n "$ac_ct_CC" && break
2624 if test "x$ac_ct_CC" = x
; then
2627 case $cross_compiling:$ac_tool_warned in
2629 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2630 whose name does not start with the host triplet. If you think this
2631 configuration is useful to you, please write to autoconf@gnu.org." >&5
2632 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2633 whose name does not start with the host triplet. If you think this
2634 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2635 ac_tool_warned
=yes ;;
2644 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2645 See \`config.log' for more details." >&5
2646 echo "$as_me: error: no acceptable C compiler found in \$PATH
2647 See \`config.log' for more details." >&2;}
2648 { (exit 1); exit 1; }; }
2650 # Provide some information about the compiler.
2651 echo "$as_me:$LINENO: checking for C compiler version" >&5
2652 ac_compiler
=`set X $ac_compile; echo $2`
2653 { (ac_try
="$ac_compiler --version >&5"
2655 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2656 *) ac_try_echo=$ac_try;;
2658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2659 (eval "$ac_compiler --version >&5") 2>&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); }
2663 { (ac_try="$ac_compiler -v >&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 -v >&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); }
2684 cat >conftest.$ac_ext <<_ACEOF
2687 cat confdefs.h >>conftest.$ac_ext
2688 cat >>conftest.$ac_ext <<_ACEOF
2689 /* end confdefs.h. */
2699 ac_clean_files_save=$ac_clean_files
2700 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2701 # Try to create an executable without -o first, disregard a.out.
2702 # It will help us diagnose broken compilers, and finding out an intuition
2704 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2705 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2706 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2708 # List of possible output files, starting from the most likely.
2709 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2710 # only as a last resort. b.out is created by i960 compilers.
2711 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2713 # The IRIX 6 linker writes into existing files which may not be
2714 # executable, retaining their permissions. Remove them first so a
2715 # subsequent execution test works.
2717 for ac_file in $ac_files
2720 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2721 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2726 if { (ac_try="$ac_link_default"
2728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2729 *) ac_try_echo=$ac_try;;
2731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2732 (eval "$ac_link_default") 2>&5
2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735 (exit $ac_status); }; then
2736 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2737 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2738 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2739 # so that the user can short-circuit this test for compilers unknown to
2741 for ac_file
in $ac_files ''
2743 test -f "$ac_file" ||
continue
2745 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2748 # We found the default executable, but exeext='' is most
2752 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2754 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2756 # We set ac_cv_exeext here because the later test for it is not
2757 # safe: cross compilers may not add the suffix if given an `-o'
2758 # argument, so we may need to know it at that point already.
2759 # Even if this section looks crufty: it has the advantage of
2766 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2772 { echo "$as_me:$LINENO: result: $ac_file" >&5
2773 echo "${ECHO_T}$ac_file" >&6; }
2774 if test -z "$ac_file"; then
2775 echo "$as_me: failed program was:" >&5
2776 sed 's/^/| /' conftest.
$ac_ext >&5
2778 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2779 See \`config.log' for more details." >&5
2780 echo "$as_me: error: C compiler cannot create executables
2781 See \`config.log' for more details." >&2;}
2782 { (exit 77); exit 77; }; }
2785 ac_exeext
=$ac_cv_exeext
2787 # Check that the compiler produces executables we can run. If not, either
2788 # the compiler is broken, or we cross compile.
2789 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2790 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2791 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2792 # If not cross compiling, check that we can run a simple program.
2793 if test "$cross_compiling" != yes; then
2794 if { ac_try
='./$ac_file'
2795 { (case "(($ac_try" in
2796 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2797 *) ac_try_echo=$ac_try;;
2799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2800 (eval "$ac_try") 2>&5
2802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803 (exit $ac_status); }; }; then
2806 if test "$cross_compiling" = maybe; then
2809 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2810 If you meant to cross compile, use \`--host'.
2811 See \`config.log' for more details.
" >&5
2812 echo "$as_me: error
: cannot run C compiled programs.
2813 If you meant to cross compile
, use \
`--host'.
2814 See \`config.log
' for more details." >&2;}
2815 { (exit 1); exit 1; }; }
2819 { echo "$as_me:$LINENO: result: yes" >&5
2820 echo "${ECHO_T}yes" >&6; }
2822 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2823 ac_clean_files=$ac_clean_files_save
2824 # Check that the compiler produces executables we can run. If not, either
2825 # the compiler is broken, or we cross compile.
2826 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2827 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2828 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2829 echo "${ECHO_T}$cross_compiling" >&6; }
2831 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2832 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2833 if { (ac_try="$ac_link"
2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836 *) ac_try_echo=$ac_try;;
2838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2839 (eval "$ac_link") 2>&5
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); }; then
2843 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2844 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2845 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2847 for ac_file
in conftest.exe conftest conftest.
*; do
2848 test -f "$ac_file" ||
continue
2850 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2851 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2857 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2858 See \`config.log' for more details." >&5
2859 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2860 See \`config.log' for more details." >&2;}
2861 { (exit 1); exit 1; }; }
2864 rm -f conftest
$ac_cv_exeext
2865 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2866 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2868 rm -f conftest.
$ac_ext
2869 EXEEXT
=$ac_cv_exeext
2871 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2872 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2873 if test "${ac_cv_objext+set}" = set; then
2874 echo $ECHO_N "(cached) $ECHO_C" >&6
2876 cat >conftest.
$ac_ext <<_ACEOF
2879 cat confdefs.h
>>conftest.
$ac_ext
2880 cat >>conftest.
$ac_ext <<_ACEOF
2881 /* end confdefs.h. */
2891 rm -f conftest.o conftest.obj
2892 if { (ac_try
="$ac_compile"
2894 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2895 *) ac_try_echo=$ac_try;;
2897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2898 (eval "$ac_compile") 2>&5
2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901 (exit $ac_status); }; then
2902 for ac_file in conftest.o conftest.obj conftest.*; do
2903 test -f "$ac_file" || continue;
2905 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2906 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2911 echo "$as_me: failed program was:" >&5
2912 sed 's/^/| /' conftest.$ac_ext >&5
2914 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2915 See \`config.log
' for more details." >&5
2916 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2917 See \`config.log' for more details.
" >&2;}
2918 { (exit 1); exit 1; }; }
2921 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2923 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2924 echo "${ECHO_T}$ac_cv_objext" >&6; }
2925 OBJEXT=$ac_cv_objext
2927 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2928 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2929 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2930 echo $ECHO_N "(cached
) $ECHO_C" >&6
2932 cat >conftest.$ac_ext <<_ACEOF
2935 cat confdefs.h >>conftest.$ac_ext
2936 cat >>conftest.$ac_ext <<_ACEOF
2937 /* end confdefs.h. */
2950 rm -f conftest.$ac_objext
2951 if { (ac_try="$ac_compile"
2953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2954 *) ac_try_echo=$ac_try;;
2956 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2957 (eval "$ac_compile") 2>conftest.er1
2959 grep -v '^ *+' conftest.er1 >conftest.err
2961 cat conftest.err >&5
2962 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2963 (exit $ac_status); } && {
2964 test -z "$ac_c_werror_flag" ||
2965 test ! -s conftest.err
2966 } && test -s conftest.$ac_objext; then
2969 echo "$as_me: failed program was
:" >&5
2970 sed 's/^/| /' conftest.$ac_ext >&5
2975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2976 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2979 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2980 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2981 GCC=`test $ac_compiler_gnu = yes && echo yes`
2982 ac_test_CFLAGS=${CFLAGS+set}
2983 ac_save_CFLAGS=$CFLAGS
2984 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2985 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2986 if test "${ac_cv_prog_cc_g+set}" = set; then
2987 echo $ECHO_N "(cached
) $ECHO_C" >&6
2989 ac_save_c_werror_flag=$ac_c_werror_flag
2990 ac_c_werror_flag=yes
2993 cat >conftest.$ac_ext <<_ACEOF
2996 cat confdefs.h >>conftest.$ac_ext
2997 cat >>conftest.$ac_ext <<_ACEOF
2998 /* end confdefs.h. */
3008 rm -f conftest.$ac_objext
3009 if { (ac_try="$ac_compile"
3011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3012 *) ac_try_echo=$ac_try;;
3014 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3015 (eval "$ac_compile") 2>conftest.er1
3017 grep -v '^ *+' conftest.er1 >conftest.err
3019 cat conftest.err >&5
3020 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3021 (exit $ac_status); } && {
3022 test -z "$ac_c_werror_flag" ||
3023 test ! -s conftest.err
3024 } && test -s conftest.$ac_objext; then
3027 echo "$as_me: failed program was
:" >&5
3028 sed 's/^/| /' conftest.$ac_ext >&5
3031 cat >conftest.$ac_ext <<_ACEOF
3034 cat confdefs.h >>conftest.$ac_ext
3035 cat >>conftest.$ac_ext <<_ACEOF
3036 /* end confdefs.h. */
3046 rm -f conftest.$ac_objext
3047 if { (ac_try="$ac_compile"
3049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3050 *) ac_try_echo=$ac_try;;
3052 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3053 (eval "$ac_compile") 2>conftest.er1
3055 grep -v '^ *+' conftest.er1 >conftest.err
3057 cat conftest.err >&5
3058 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3059 (exit $ac_status); } && {
3060 test -z "$ac_c_werror_flag" ||
3061 test ! -s conftest.err
3062 } && test -s conftest.$ac_objext; then
3065 echo "$as_me: failed program was
:" >&5
3066 sed 's/^/| /' conftest.$ac_ext >&5
3068 ac_c_werror_flag=$ac_save_c_werror_flag
3070 cat >conftest.$ac_ext <<_ACEOF
3073 cat confdefs.h >>conftest.$ac_ext
3074 cat >>conftest.$ac_ext <<_ACEOF
3075 /* end confdefs.h. */
3085 rm -f conftest.$ac_objext
3086 if { (ac_try="$ac_compile"
3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089 *) ac_try_echo=$ac_try;;
3091 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3092 (eval "$ac_compile") 2>conftest.er1
3094 grep -v '^ *+' conftest.er1 >conftest.err
3096 cat conftest.err >&5
3097 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3098 (exit $ac_status); } && {
3099 test -z "$ac_c_werror_flag" ||
3100 test ! -s conftest.err
3101 } && test -s conftest.$ac_objext; then
3104 echo "$as_me: failed program was
:" >&5
3105 sed 's/^/| /' conftest.$ac_ext >&5
3110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3117 ac_c_werror_flag=$ac_save_c_werror_flag
3119 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3120 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3121 if test "$ac_test_CFLAGS" = set; then
3122 CFLAGS=$ac_save_CFLAGS
3123 elif test $ac_cv_prog_cc_g = yes; then
3124 if test "$GCC" = yes; then
3130 if test "$GCC" = yes; then
3136 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3137 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3138 if test "${ac_cv_prog_cc_c89+set}" = set; then
3139 echo $ECHO_N "(cached
) $ECHO_C" >&6
3141 ac_cv_prog_cc_c89=no
3143 cat >conftest.$ac_ext <<_ACEOF
3146 cat confdefs.h >>conftest.$ac_ext
3147 cat >>conftest.$ac_ext <<_ACEOF
3148 /* end confdefs.h. */
3151 #include <sys/types.h>
3152 #include <sys/stat.h>
3153 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3154 struct buf { int x; };
3155 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3156 static char *e (p, i)
3162 static char *f (char * (*g) (char **, int), char **p, ...)
3167 s = g (p, va_arg (v,int));
3172 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3173 function prototypes and stuff, but not '\xHH' hex character constants.
3174 These don't provoke an error unfortunately, instead are silently treated
3175 as 'x'. The following induces an error, until -std is added to get
3176 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3177 array size at least. It's necessary to write '\x00'==0 to get something
3178 that's true only with -std. */
3179 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3181 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3182 inside strings and character constants. */
3184 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3186 int test (int i, double x);
3187 struct s1 {int (*f) (int a);};
3188 struct s2 {int (*f) (double a);};
3189 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3195 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3200 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3201 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3203 CC="$ac_save_CC $ac_arg"
3204 rm -f conftest.$ac_objext
3205 if { (ac_try="$ac_compile"
3207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3208 *) ac_try_echo=$ac_try;;
3210 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3211 (eval "$ac_compile") 2>conftest.er1
3213 grep -v '^ *+' conftest.er1 >conftest.err
3215 cat conftest.err >&5
3216 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3217 (exit $ac_status); } && {
3218 test -z "$ac_c_werror_flag" ||
3219 test ! -s conftest.err
3220 } && test -s conftest.$ac_objext; then
3221 ac_cv_prog_cc_c89=$ac_arg
3223 echo "$as_me: failed program was
:" >&5
3224 sed 's/^/| /' conftest.$ac_ext >&5
3229 rm -f core conftest.err conftest.$ac_objext
3230 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3232 rm -f conftest.$ac_ext
3237 case "x
$ac_cv_prog_cc_c89" in
3239 { echo "$as_me:$LINENO: result
: none needed
" >&5
3240 echo "${ECHO_T}none needed
" >&6; } ;;
3242 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3243 echo "${ECHO_T}unsupported
" >&6; } ;;
3245 CC="$CC $ac_cv_prog_cc_c89"
3246 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3247 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3252 ac_cpp='$CPP $CPPFLAGS'
3253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3256 DEPDIR="${am__leading_dot}deps
"
3258 ac_config_commands="$ac_config_commands depfiles
"
3261 am_make=${MAKE-make}
3262 cat > confinc << 'END'
3267 # If we don't find an include directive, just comment out the code.
3268 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3269 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3273 # First try GNU make style include.
3274 echo "include confinc" > confmf
3275 # We grep out `Entering directory' and `Leaving directory'
3276 # messages which can occur if `w' ends up in MAKEFLAGS.
3277 # In particular we don't look at `^make:' because GNU make might
3278 # be invoked under some other name (usually "gmake"), in which
3279 # case it prints its new name instead of `make'.
3280 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3285 # Now try BSD make style include.
3286 if test "$am__include" = "#"; then
3287 echo '.include "confinc"' > confmf
3288 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3289 am__include
=.include
3296 { echo "$as_me:$LINENO: result: $_am_result" >&5
3297 echo "${ECHO_T}$_am_result" >&6; }
3298 rm -f confinc confmf
3300 # Check whether --enable-dependency-tracking was given.
3301 if test "${enable_dependency_tracking+set}" = set; then
3302 enableval
=$enable_dependency_tracking;
3305 if test "x$enable_dependency_tracking" != xno
; then
3306 am_depcomp
="$ac_aux_dir/depcomp"
3309 if test "x$enable_dependency_tracking" != xno; then
3319 depcc
="$CC" am_compiler_list
=
3321 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3322 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3323 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3324 echo $ECHO_N "(cached) $ECHO_C" >&6
3326 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3327 # We make a subdir and do the tests there. Otherwise we can end up
3328 # making bogus files that we don't know about and never remove. For
3329 # instance it was reported that on HP-UX the gcc test will end up
3330 # making a dummy file named `D' -- because `-MD' means `put the output
3333 # Copy depcomp to subdir because otherwise we won't find it if we're
3334 # using a relative directory.
3335 cp "$am_depcomp" conftest.dir
3337 # We will build objects and dependencies in a subdirectory because
3338 # it helps to detect inapplicable dependency modes. For instance
3339 # both Tru64's cc and ICC support -MD to output dependencies as a
3340 # side effect of compilation, but ICC will put the dependencies in
3341 # the current directory while Tru64 will put them in the object
3345 am_cv_CC_dependencies_compiler_type
=none
3346 if test "$am_compiler_list" = ""; then
3347 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3349 for depmode
in $am_compiler_list; do
3350 # Setup a source with many dependencies, because some compilers
3351 # like to wrap large dependency lists on column 80 (with \), and
3352 # we should not choose a depcomp mode which is confused by this.
3354 # We need to recreate these files for each test, as the compiler may
3355 # overwrite some of them when testing with obscure command lines.
3356 # This happens at least with the AIX C compiler.
3358 for i
in 1 2 3 4 5 6; do
3359 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3360 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3361 # Solaris 8's {/usr,}/bin/sh.
3362 touch sub
/conftst
$i.h
3364 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3368 # after this tag, mechanisms are not by side-effect, so they'll
3369 # only be used when explicitly requested
3370 if test "x$enable_dependency_tracking" = xyes
; then
3378 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3379 # mode. It turns out that the SunPro C++ compiler does not properly
3380 # handle `-M -o', and we need to detect this.
3381 if depmode
=$depmode \
3382 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3383 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3384 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3385 >/dev
/null
2>conftest.err
&&
3386 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3387 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3388 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3389 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3390 # icc doesn't choke on unknown options, it will just issue warnings
3391 # or remarks (even with -Werror). So we grep stderr for any message
3392 # that says an option was ignored or not supported.
3393 # When given -MP, icc 7.0 and 7.1 complain thusly:
3394 # icc: Command line warning: ignoring option '-M'; no argument required
3395 # The diagnosis changed in icc 8.0:
3396 # icc: Command line remark: option '-MP' not supported
3397 if (grep 'ignoring option' conftest.err ||
3398 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3399 am_cv_CC_dependencies_compiler_type
=$depmode
3408 am_cv_CC_dependencies_compiler_type
=none
3412 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3413 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3414 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3417 test "x$enable_dependency_tracking" != xno \
3418 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3420 am__fastdepCC_FALSE
='#'
3422 am__fastdepCC_TRUE
='#'
3423 am__fastdepCC_FALSE
=
3428 ac_cpp
='$CXXCPP $CPPFLAGS'
3429 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3430 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3431 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3432 if test -z "$CXX"; then
3433 if test -n "$CCC"; then
3436 if test -n "$ac_tool_prefix"; then
3437 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3439 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3440 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3441 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3443 if test "${ac_cv_prog_CXX+set}" = set; then
3444 echo $ECHO_N "(cached) $ECHO_C" >&6
3446 if test -n "$CXX"; then
3447 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3453 test -z "$as_dir" && as_dir
=.
3454 for ac_exec_ext
in '' $ac_executable_extensions; do
3455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3456 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3467 if test -n "$CXX"; then
3468 { echo "$as_me:$LINENO: result: $CXX" >&5
3469 echo "${ECHO_T}$CXX" >&6; }
3471 { echo "$as_me:$LINENO: result: no" >&5
3472 echo "${ECHO_T}no" >&6; }
3476 test -n "$CXX" && break
3479 if test -z "$CXX"; then
3481 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3483 # Extract the first word of "$ac_prog", so it can be a program name with args.
3484 set dummy
$ac_prog; ac_word
=$2
3485 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3487 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3488 echo $ECHO_N "(cached) $ECHO_C" >&6
3490 if test -n "$ac_ct_CXX"; then
3491 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3497 test -z "$as_dir" && as_dir
=.
3498 for ac_exec_ext
in '' $ac_executable_extensions; do
3499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3500 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3510 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3511 if test -n "$ac_ct_CXX"; then
3512 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3513 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3515 { echo "$as_me:$LINENO: result: no" >&5
3516 echo "${ECHO_T}no" >&6; }
3520 test -n "$ac_ct_CXX" && break
3523 if test "x$ac_ct_CXX" = x
; then
3526 case $cross_compiling:$ac_tool_warned in
3528 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3529 whose name does not start with the host triplet. If you think this
3530 configuration is useful to you, please write to autoconf@gnu.org." >&5
3531 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3532 whose name does not start with the host triplet. If you think this
3533 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3534 ac_tool_warned
=yes ;;
3542 # Provide some information about the compiler.
3543 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3544 ac_compiler
=`set X $ac_compile; echo $2`
3545 { (ac_try
="$ac_compiler --version >&5"
3547 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3548 *) ac_try_echo=$ac_try;;
3550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3551 (eval "$ac_compiler --version >&5") 2>&5
3553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3554 (exit $ac_status); }
3555 { (ac_try="$ac_compiler -v >&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 -v >&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); }
3576 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3577 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3578 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3579 echo $ECHO_N "(cached) $ECHO_C" >&6
3581 cat >conftest.$ac_ext <<_ACEOF
3584 cat confdefs.h >>conftest.$ac_ext
3585 cat >>conftest.$ac_ext <<_ACEOF
3586 /* end confdefs.h. */
3599 rm -f conftest.$ac_objext
3600 if { (ac_try="$ac_compile"
3602 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3603 *) ac_try_echo
=$ac_try;;
3605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3606 (eval "$ac_compile") 2>conftest.er1
3608 grep -v '^ *+' conftest.er1
>conftest.err
3610 cat conftest.err
>&5
3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); } && {
3613 test -z "$ac_cxx_werror_flag" ||
3614 test ! -s conftest.err
3615 } && test -s conftest.
$ac_objext; then
3618 echo "$as_me: failed program was:" >&5
3619 sed 's/^/| /' conftest.
$ac_ext >&5
3624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3625 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3628 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3629 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3630 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3631 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3632 ac_save_CXXFLAGS
=$CXXFLAGS
3633 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3634 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3635 if test "${ac_cv_prog_cxx_g+set}" = set; then
3636 echo $ECHO_N "(cached) $ECHO_C" >&6
3638 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3639 ac_cxx_werror_flag
=yes
3642 cat >conftest.
$ac_ext <<_ACEOF
3645 cat confdefs.h
>>conftest.
$ac_ext
3646 cat >>conftest.
$ac_ext <<_ACEOF
3647 /* end confdefs.h. */
3657 rm -f conftest.
$ac_objext
3658 if { (ac_try
="$ac_compile"
3660 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3661 *) ac_try_echo=$ac_try;;
3663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3664 (eval "$ac_compile") 2>conftest.er1
3666 grep -v '^ *+' conftest.er1 >conftest.err
3668 cat conftest.err >&5
3669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670 (exit $ac_status); } && {
3671 test -z "$ac_cxx_werror_flag" ||
3672 test ! -s conftest.err
3673 } && test -s conftest.$ac_objext; then
3674 ac_cv_prog_cxx_g=yes
3676 echo "$as_me: failed program was:" >&5
3677 sed 's/^/| /' conftest.$ac_ext >&5
3680 cat >conftest.$ac_ext <<_ACEOF
3683 cat confdefs.h >>conftest.$ac_ext
3684 cat >>conftest.$ac_ext <<_ACEOF
3685 /* end confdefs.h. */
3695 rm -f conftest.$ac_objext
3696 if { (ac_try="$ac_compile"
3698 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3699 *) ac_try_echo
=$ac_try;;
3701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3702 (eval "$ac_compile") 2>conftest.er1
3704 grep -v '^ *+' conftest.er1
>conftest.err
3706 cat conftest.err
>&5
3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708 (exit $ac_status); } && {
3709 test -z "$ac_cxx_werror_flag" ||
3710 test ! -s conftest.err
3711 } && test -s conftest.
$ac_objext; then
3714 echo "$as_me: failed program was:" >&5
3715 sed 's/^/| /' conftest.
$ac_ext >&5
3717 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3719 cat >conftest.
$ac_ext <<_ACEOF
3722 cat confdefs.h
>>conftest.
$ac_ext
3723 cat >>conftest.
$ac_ext <<_ACEOF
3724 /* end confdefs.h. */
3734 rm -f conftest.
$ac_objext
3735 if { (ac_try
="$ac_compile"
3737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3738 *) ac_try_echo=$ac_try;;
3740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3741 (eval "$ac_compile") 2>conftest.er1
3743 grep -v '^ *+' conftest.er1 >conftest.err
3745 cat conftest.err >&5
3746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3747 (exit $ac_status); } && {
3748 test -z "$ac_cxx_werror_flag" ||
3749 test ! -s conftest.err
3750 } && test -s conftest.$ac_objext; then
3751 ac_cv_prog_cxx_g=yes
3753 echo "$as_me: failed program was:" >&5
3754 sed 's/^/| /' conftest.$ac_ext >&5
3759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3766 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3768 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3769 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3770 if test "$ac_test_CXXFLAGS" = set; then
3771 CXXFLAGS=$ac_save_CXXFLAGS
3772 elif test $ac_cv_prog_cxx_g = yes; then
3773 if test "$GXX" = yes; then
3779 if test "$GXX" = yes; then
3786 ac_cpp='$CPP $CPPFLAGS'
3787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3791 depcc="$CXX" am_compiler_list=
3793 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3794 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3795 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3796 echo $ECHO_N "(cached) $ECHO_C" >&6
3798 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3799 # We make a subdir and do the tests there. Otherwise we can end up
3800 # making bogus files that we don't know about and never remove. For
3801 # instance it was reported that on HP-UX the gcc test will end up
3802 # making a dummy file named `D
' -- because `-MD' means
`put the output
3805 # Copy depcomp to subdir because otherwise we won't find it if we're
3806 # using a relative directory.
3807 cp "$am_depcomp" conftest.dir
3809 # We will build objects and dependencies in a subdirectory because
3810 # it helps to detect inapplicable dependency modes. For instance
3811 # both Tru64's cc and ICC support -MD to output dependencies as a
3812 # side effect of compilation, but ICC will put the dependencies in
3813 # the current directory while Tru64 will put them in the object
3817 am_cv_CXX_dependencies_compiler_type=none
3818 if test "$am_compiler_list" = ""; then
3819 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3821 for depmode in $am_compiler_list; do
3822 # Setup a source with many dependencies, because some compilers
3823 # like to wrap large dependency lists on column 80 (with \), and
3824 # we should not choose a depcomp mode which is confused by this.
3826 # We need to recreate these files for each test, as the compiler may
3827 # overwrite some of them when testing with obscure command lines.
3828 # This happens at least with the AIX C compiler.
3830 for i in 1 2 3 4 5 6; do
3831 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3832 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3833 # Solaris 8's
{/usr
,}/bin
/sh.
3834 touch sub
/conftst
$i.h
3836 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3840 # after this tag, mechanisms are not by side-effect, so they'll
3841 # only be used when explicitly requested
3842 if test "x$enable_dependency_tracking" = xyes
; then
3850 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3851 # mode. It turns out that the SunPro C++ compiler does not properly
3852 # handle `-M -o', and we need to detect this.
3853 if depmode
=$depmode \
3854 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3855 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3856 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3857 >/dev
/null
2>conftest.err
&&
3858 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3859 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3860 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3861 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3862 # icc doesn't choke on unknown options, it will just issue warnings
3863 # or remarks (even with -Werror). So we grep stderr for any message
3864 # that says an option was ignored or not supported.
3865 # When given -MP, icc 7.0 and 7.1 complain thusly:
3866 # icc: Command line warning: ignoring option '-M'; no argument required
3867 # The diagnosis changed in icc 8.0:
3868 # icc: Command line remark: option '-MP' not supported
3869 if (grep 'ignoring option' conftest.err ||
3870 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3871 am_cv_CXX_dependencies_compiler_type
=$depmode
3880 am_cv_CXX_dependencies_compiler_type
=none
3884 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3885 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3886 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3889 test "x$enable_dependency_tracking" != xno \
3890 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3891 am__fastdepCXX_TRUE
=
3892 am__fastdepCXX_FALSE
='#'
3894 am__fastdepCXX_TRUE
='#'
3895 am__fastdepCXX_FALSE
=
3900 ac_cpp
='$CPP $CPPFLAGS'
3901 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3902 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3903 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3904 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3905 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3906 # On Suns, sometimes $CPP names a directory.
3907 if test -n "$CPP" && test -d "$CPP"; then
3910 if test -z "$CPP"; then
3911 if test "${ac_cv_prog_CPP+set}" = set; then
3912 echo $ECHO_N "(cached) $ECHO_C" >&6
3914 # Double quotes because CPP needs to be expanded
3915 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3918 for ac_c_preproc_warn_flag
in '' yes
3920 # Use a header file that comes with gcc, so configuring glibc
3921 # with a fresh cross-compiler works.
3922 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3923 # <limits.h> exists even on freestanding compilers.
3924 # On the NeXT, cc -E runs the code through the compiler's parser,
3925 # not just through cpp. "Syntax error" is here to catch this case.
3926 cat >conftest.
$ac_ext <<_ACEOF
3929 cat confdefs.h
>>conftest.
$ac_ext
3930 cat >>conftest.
$ac_ext <<_ACEOF
3931 /* end confdefs.h. */
3933 # include <limits.h>
3935 # include <assert.h>
3939 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3941 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3942 *) ac_try_echo=$ac_try;;
3944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3945 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3947 grep -v '^ *+' conftest.er1 >conftest.err
3949 cat conftest.err >&5
3950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3951 (exit $ac_status); } >/dev/null && {
3952 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3953 test ! -s conftest.err
3957 echo "$as_me: failed program was:" >&5
3958 sed 's/^/| /' conftest.$ac_ext >&5
3960 # Broken: fails on valid input.
3964 rm -f conftest.err conftest.$ac_ext
3966 # OK, works on sane cases. Now check whether nonexistent headers
3967 # can be detected and how.
3968 cat >conftest.$ac_ext <<_ACEOF
3971 cat confdefs.h >>conftest.$ac_ext
3972 cat >>conftest.$ac_ext <<_ACEOF
3973 /* end confdefs.h. */
3974 #include <ac_nonexistent.h>
3976 if { (ac_try="$ac_cpp conftest.$ac_ext"
3978 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3979 *) ac_try_echo
=$ac_try;;
3981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3982 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3984 grep -v '^ *+' conftest.er1
>conftest.err
3986 cat conftest.err
>&5
3987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3988 (exit $ac_status); } >/dev
/null
&& {
3989 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3990 test ! -s conftest.err
3992 # Broken: success on invalid input.
3995 echo "$as_me: failed program was:" >&5
3996 sed 's/^/| /' conftest.
$ac_ext >&5
3998 # Passes both tests.
4003 rm -f conftest.err conftest.
$ac_ext
4006 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4007 rm -f conftest.err conftest.
$ac_ext
4008 if $ac_preproc_ok; then
4020 { echo "$as_me:$LINENO: result: $CPP" >&5
4021 echo "${ECHO_T}$CPP" >&6; }
4023 for ac_c_preproc_warn_flag
in '' yes
4025 # Use a header file that comes with gcc, so configuring glibc
4026 # with a fresh cross-compiler works.
4027 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4028 # <limits.h> exists even on freestanding compilers.
4029 # On the NeXT, cc -E runs the code through the compiler's parser,
4030 # not just through cpp. "Syntax error" is here to catch this case.
4031 cat >conftest.
$ac_ext <<_ACEOF
4034 cat confdefs.h
>>conftest.
$ac_ext
4035 cat >>conftest.
$ac_ext <<_ACEOF
4036 /* end confdefs.h. */
4038 # include <limits.h>
4040 # include <assert.h>
4044 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4046 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4047 *) ac_try_echo=$ac_try;;
4049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4050 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4052 grep -v '^ *+' conftest.er1 >conftest.err
4054 cat conftest.err >&5
4055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4056 (exit $ac_status); } >/dev/null && {
4057 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4058 test ! -s conftest.err
4062 echo "$as_me: failed program was:" >&5
4063 sed 's/^/| /' conftest.$ac_ext >&5
4065 # Broken: fails on valid input.
4069 rm -f conftest.err conftest.$ac_ext
4071 # OK, works on sane cases. Now check whether nonexistent headers
4072 # can be detected and how.
4073 cat >conftest.$ac_ext <<_ACEOF
4076 cat confdefs.h >>conftest.$ac_ext
4077 cat >>conftest.$ac_ext <<_ACEOF
4078 /* end confdefs.h. */
4079 #include <ac_nonexistent.h>
4081 if { (ac_try="$ac_cpp conftest.$ac_ext"
4083 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4084 *) ac_try_echo
=$ac_try;;
4086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4087 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4089 grep -v '^ *+' conftest.er1
>conftest.err
4091 cat conftest.err
>&5
4092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4093 (exit $ac_status); } >/dev
/null
&& {
4094 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4095 test ! -s conftest.err
4097 # Broken: success on invalid input.
4100 echo "$as_me: failed program was:" >&5
4101 sed 's/^/| /' conftest.
$ac_ext >&5
4103 # Passes both tests.
4108 rm -f conftest.err conftest.
$ac_ext
4111 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4112 rm -f conftest.err conftest.
$ac_ext
4113 if $ac_preproc_ok; then
4116 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4117 See \`config.log' for more details." >&5
4118 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4119 See \`config.log' for more details." >&2;}
4120 { (exit 1); exit 1; }; }
4124 ac_cpp
='$CPP $CPPFLAGS'
4125 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4126 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4127 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4130 ac_cpp
='$CPP $CPPFLAGS'
4131 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4132 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4133 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4134 if test -n "$ac_tool_prefix"; then
4135 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4136 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4137 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4139 if test "${ac_cv_prog_CC+set}" = set; then
4140 echo $ECHO_N "(cached) $ECHO_C" >&6
4142 if test -n "$CC"; then
4143 ac_cv_prog_CC
="$CC" # Let the user override the test.
4145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4149 test -z "$as_dir" && as_dir
=.
4150 for ac_exec_ext
in '' $ac_executable_extensions; do
4151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4152 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4163 if test -n "$CC"; then
4164 { echo "$as_me:$LINENO: result: $CC" >&5
4165 echo "${ECHO_T}$CC" >&6; }
4167 { echo "$as_me:$LINENO: result: no" >&5
4168 echo "${ECHO_T}no" >&6; }
4173 if test -z "$ac_cv_prog_CC"; then
4175 # Extract the first word of "gcc", so it can be a program name with args.
4176 set dummy gcc
; ac_word
=$2
4177 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4179 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4180 echo $ECHO_N "(cached) $ECHO_C" >&6
4182 if test -n "$ac_ct_CC"; then
4183 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4189 test -z "$as_dir" && as_dir
=.
4190 for ac_exec_ext
in '' $ac_executable_extensions; do
4191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4192 ac_cv_prog_ac_ct_CC
="gcc"
4193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4202 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4203 if test -n "$ac_ct_CC"; then
4204 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4205 echo "${ECHO_T}$ac_ct_CC" >&6; }
4207 { echo "$as_me:$LINENO: result: no" >&5
4208 echo "${ECHO_T}no" >&6; }
4211 if test "x$ac_ct_CC" = x
; then
4214 case $cross_compiling:$ac_tool_warned in
4216 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4217 whose name does not start with the host triplet. If you think this
4218 configuration is useful to you, please write to autoconf@gnu.org." >&5
4219 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4220 whose name does not start with the host triplet. If you think this
4221 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4222 ac_tool_warned
=yes ;;
4230 if test -z "$CC"; then
4231 if test -n "$ac_tool_prefix"; then
4232 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4233 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4234 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4236 if test "${ac_cv_prog_CC+set}" = set; then
4237 echo $ECHO_N "(cached) $ECHO_C" >&6
4239 if test -n "$CC"; then
4240 ac_cv_prog_CC
="$CC" # Let the user override the test.
4242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4246 test -z "$as_dir" && as_dir
=.
4247 for ac_exec_ext
in '' $ac_executable_extensions; do
4248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4249 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4260 if test -n "$CC"; then
4261 { echo "$as_me:$LINENO: result: $CC" >&5
4262 echo "${ECHO_T}$CC" >&6; }
4264 { echo "$as_me:$LINENO: result: no" >&5
4265 echo "${ECHO_T}no" >&6; }
4271 if test -z "$CC"; then
4272 # Extract the first word of "cc", so it can be a program name with args.
4273 set dummy cc
; ac_word
=$2
4274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4276 if test "${ac_cv_prog_CC+set}" = set; then
4277 echo $ECHO_N "(cached) $ECHO_C" >&6
4279 if test -n "$CC"; then
4280 ac_cv_prog_CC
="$CC" # Let the user override the test.
4283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4287 test -z "$as_dir" && as_dir
=.
4288 for ac_exec_ext
in '' $ac_executable_extensions; do
4289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4290 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4291 ac_prog_rejected
=yes
4295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4302 if test $ac_prog_rejected = yes; then
4303 # We found a bogon in the path, so make sure we never use it.
4304 set dummy
$ac_cv_prog_CC
4306 if test $# != 0; then
4307 # We chose a different compiler from the bogus one.
4308 # However, it has the same basename, so the bogon will be chosen
4309 # first if we set CC to just the basename; use the full file name.
4311 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4317 if test -n "$CC"; then
4318 { echo "$as_me:$LINENO: result: $CC" >&5
4319 echo "${ECHO_T}$CC" >&6; }
4321 { echo "$as_me:$LINENO: result: no" >&5
4322 echo "${ECHO_T}no" >&6; }
4327 if test -z "$CC"; then
4328 if test -n "$ac_tool_prefix"; then
4329 for ac_prog
in cl.exe
4331 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4332 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4333 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4335 if test "${ac_cv_prog_CC+set}" = set; then
4336 echo $ECHO_N "(cached) $ECHO_C" >&6
4338 if test -n "$CC"; then
4339 ac_cv_prog_CC
="$CC" # Let the user override the test.
4341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4345 test -z "$as_dir" && as_dir
=.
4346 for ac_exec_ext
in '' $ac_executable_extensions; do
4347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4348 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4359 if test -n "$CC"; then
4360 { echo "$as_me:$LINENO: result: $CC" >&5
4361 echo "${ECHO_T}$CC" >&6; }
4363 { echo "$as_me:$LINENO: result: no" >&5
4364 echo "${ECHO_T}no" >&6; }
4368 test -n "$CC" && break
4371 if test -z "$CC"; then
4373 for ac_prog
in cl.exe
4375 # Extract the first word of "$ac_prog", so it can be a program name with args.
4376 set dummy
$ac_prog; ac_word
=$2
4377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4379 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4380 echo $ECHO_N "(cached) $ECHO_C" >&6
4382 if test -n "$ac_ct_CC"; then
4383 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4389 test -z "$as_dir" && as_dir
=.
4390 for ac_exec_ext
in '' $ac_executable_extensions; do
4391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4392 ac_cv_prog_ac_ct_CC
="$ac_prog"
4393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4402 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4403 if test -n "$ac_ct_CC"; then
4404 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4405 echo "${ECHO_T}$ac_ct_CC" >&6; }
4407 { echo "$as_me:$LINENO: result: no" >&5
4408 echo "${ECHO_T}no" >&6; }
4412 test -n "$ac_ct_CC" && break
4415 if test "x$ac_ct_CC" = x
; then
4418 case $cross_compiling:$ac_tool_warned in
4420 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4421 whose name does not start with the host triplet. If you think this
4422 configuration is useful to you, please write to autoconf@gnu.org." >&5
4423 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4424 whose name does not start with the host triplet. If you think this
4425 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4426 ac_tool_warned
=yes ;;
4435 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4436 See \`config.log' for more details." >&5
4437 echo "$as_me: error: no acceptable C compiler found in \$PATH
4438 See \`config.log' for more details." >&2;}
4439 { (exit 1); exit 1; }; }
4441 # Provide some information about the compiler.
4442 echo "$as_me:$LINENO: checking for C compiler version" >&5
4443 ac_compiler
=`set X $ac_compile; echo $2`
4444 { (ac_try
="$ac_compiler --version >&5"
4446 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4447 *) ac_try_echo=$ac_try;;
4449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4450 (eval "$ac_compiler --version >&5") 2>&5
4452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4453 (exit $ac_status); }
4454 { (ac_try="$ac_compiler -v >&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 -v >&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); }
4475 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4476 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4477 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4478 echo $ECHO_N "(cached) $ECHO_C" >&6
4480 cat >conftest.$ac_ext <<_ACEOF
4483 cat confdefs.h >>conftest.$ac_ext
4484 cat >>conftest.$ac_ext <<_ACEOF
4485 /* end confdefs.h. */
4498 rm -f conftest.$ac_objext
4499 if { (ac_try="$ac_compile"
4501 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4502 *) ac_try_echo
=$ac_try;;
4504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4505 (eval "$ac_compile") 2>conftest.er1
4507 grep -v '^ *+' conftest.er1
>conftest.err
4509 cat conftest.err
>&5
4510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511 (exit $ac_status); } && {
4512 test -z "$ac_c_werror_flag" ||
4513 test ! -s conftest.err
4514 } && test -s conftest.
$ac_objext; then
4517 echo "$as_me: failed program was:" >&5
4518 sed 's/^/| /' conftest.
$ac_ext >&5
4523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4524 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4527 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4528 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4529 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4530 ac_test_CFLAGS
=${CFLAGS+set}
4531 ac_save_CFLAGS
=$CFLAGS
4532 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4533 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4534 if test "${ac_cv_prog_cc_g+set}" = set; then
4535 echo $ECHO_N "(cached) $ECHO_C" >&6
4537 ac_save_c_werror_flag
=$ac_c_werror_flag
4538 ac_c_werror_flag
=yes
4541 cat >conftest.
$ac_ext <<_ACEOF
4544 cat confdefs.h
>>conftest.
$ac_ext
4545 cat >>conftest.
$ac_ext <<_ACEOF
4546 /* end confdefs.h. */
4556 rm -f conftest.
$ac_objext
4557 if { (ac_try
="$ac_compile"
4559 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4560 *) ac_try_echo=$ac_try;;
4562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4563 (eval "$ac_compile") 2>conftest.er1
4565 grep -v '^ *+' conftest.er1 >conftest.err
4567 cat conftest.err >&5
4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); } && {
4570 test -z "$ac_c_werror_flag" ||
4571 test ! -s conftest.err
4572 } && test -s conftest.$ac_objext; then
4575 echo "$as_me: failed program was:" >&5
4576 sed 's/^/| /' conftest.$ac_ext >&5
4579 cat >conftest.$ac_ext <<_ACEOF
4582 cat confdefs.h >>conftest.$ac_ext
4583 cat >>conftest.$ac_ext <<_ACEOF
4584 /* end confdefs.h. */
4594 rm -f conftest.$ac_objext
4595 if { (ac_try="$ac_compile"
4597 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4598 *) ac_try_echo
=$ac_try;;
4600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4601 (eval "$ac_compile") 2>conftest.er1
4603 grep -v '^ *+' conftest.er1
>conftest.err
4605 cat conftest.err
>&5
4606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); } && {
4608 test -z "$ac_c_werror_flag" ||
4609 test ! -s conftest.err
4610 } && test -s conftest.
$ac_objext; then
4613 echo "$as_me: failed program was:" >&5
4614 sed 's/^/| /' conftest.
$ac_ext >&5
4616 ac_c_werror_flag
=$ac_save_c_werror_flag
4618 cat >conftest.
$ac_ext <<_ACEOF
4621 cat confdefs.h
>>conftest.
$ac_ext
4622 cat >>conftest.
$ac_ext <<_ACEOF
4623 /* end confdefs.h. */
4633 rm -f conftest.
$ac_objext
4634 if { (ac_try
="$ac_compile"
4636 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4637 *) ac_try_echo=$ac_try;;
4639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4640 (eval "$ac_compile") 2>conftest.er1
4642 grep -v '^ *+' conftest.er1 >conftest.err
4644 cat conftest.err >&5
4645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4646 (exit $ac_status); } && {
4647 test -z "$ac_c_werror_flag" ||
4648 test ! -s conftest.err
4649 } && test -s conftest.$ac_objext; then
4652 echo "$as_me: failed program was:" >&5
4653 sed 's/^/| /' conftest.$ac_ext >&5
4658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4665 ac_c_werror_flag=$ac_save_c_werror_flag
4667 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4668 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4669 if test "$ac_test_CFLAGS" = set; then
4670 CFLAGS=$ac_save_CFLAGS
4671 elif test $ac_cv_prog_cc_g = yes; then
4672 if test "$GCC" = yes; then
4678 if test "$GCC" = yes; then
4684 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4685 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4686 if test "${ac_cv_prog_cc_c89+set}" = set; then
4687 echo $ECHO_N "(cached) $ECHO_C" >&6
4689 ac_cv_prog_cc_c89=no
4691 cat >conftest.$ac_ext <<_ACEOF
4694 cat confdefs.h >>conftest.$ac_ext
4695 cat >>conftest.$ac_ext <<_ACEOF
4696 /* end confdefs.h. */
4699 #include <sys/types.h>
4700 #include <sys/stat.h>
4701 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4702 struct buf { int x; };
4703 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4704 static char *e (p, i)
4710 static char *f (char * (*g) (char **, int), char **p, ...)
4715 s = g (p, va_arg (v,int));
4720 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4721 function prototypes and stuff, but not '\xHH' hex character constants.
4722 These don't provoke an error unfortunately, instead are silently treated
4723 as 'x'. The following induces an error, until -std is added to get
4724 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4725 array size at least. It's necessary to write '\x00'==0 to get something
4726 that's true only with -std. */
4727 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4729 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4730 inside strings and character constants. */
4732 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4734 int test (int i, double x);
4735 struct s1 {int (*f) (int a);};
4736 struct s2 {int (*f) (double a);};
4737 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4743 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4748 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4749 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4751 CC="$ac_save_CC $ac_arg"
4752 rm -f conftest.$ac_objext
4753 if { (ac_try="$ac_compile"
4755 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4756 *) ac_try_echo
=$ac_try;;
4758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4759 (eval "$ac_compile") 2>conftest.er1
4761 grep -v '^ *+' conftest.er1
>conftest.err
4763 cat conftest.err
>&5
4764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765 (exit $ac_status); } && {
4766 test -z "$ac_c_werror_flag" ||
4767 test ! -s conftest.err
4768 } && test -s conftest.
$ac_objext; then
4769 ac_cv_prog_cc_c89
=$ac_arg
4771 echo "$as_me: failed program was:" >&5
4772 sed 's/^/| /' conftest.
$ac_ext >&5
4777 rm -f core conftest.err conftest.
$ac_objext
4778 test "x$ac_cv_prog_cc_c89" != "xno" && break
4780 rm -f conftest.
$ac_ext
4785 case "x$ac_cv_prog_cc_c89" in
4787 { echo "$as_me:$LINENO: result: none needed" >&5
4788 echo "${ECHO_T}none needed" >&6; } ;;
4790 { echo "$as_me:$LINENO: result: unsupported" >&5
4791 echo "${ECHO_T}unsupported" >&6; } ;;
4793 CC
="$CC $ac_cv_prog_cc_c89"
4794 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4795 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4800 ac_cpp
='$CPP $CPPFLAGS'
4801 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4802 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4803 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4805 depcc
="$CC" am_compiler_list
=
4807 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4808 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4809 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4810 echo $ECHO_N "(cached) $ECHO_C" >&6
4812 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4813 # We make a subdir and do the tests there. Otherwise we can end up
4814 # making bogus files that we don't know about and never remove. For
4815 # instance it was reported that on HP-UX the gcc test will end up
4816 # making a dummy file named `D' -- because `-MD' means `put the output
4819 # Copy depcomp to subdir because otherwise we won't find it if we're
4820 # using a relative directory.
4821 cp "$am_depcomp" conftest.dir
4823 # We will build objects and dependencies in a subdirectory because
4824 # it helps to detect inapplicable dependency modes. For instance
4825 # both Tru64's cc and ICC support -MD to output dependencies as a
4826 # side effect of compilation, but ICC will put the dependencies in
4827 # the current directory while Tru64 will put them in the object
4831 am_cv_CC_dependencies_compiler_type
=none
4832 if test "$am_compiler_list" = ""; then
4833 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4835 for depmode
in $am_compiler_list; do
4836 # Setup a source with many dependencies, because some compilers
4837 # like to wrap large dependency lists on column 80 (with \), and
4838 # we should not choose a depcomp mode which is confused by this.
4840 # We need to recreate these files for each test, as the compiler may
4841 # overwrite some of them when testing with obscure command lines.
4842 # This happens at least with the AIX C compiler.
4844 for i
in 1 2 3 4 5 6; do
4845 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4846 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4847 # Solaris 8's {/usr,}/bin/sh.
4848 touch sub
/conftst
$i.h
4850 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4854 # after this tag, mechanisms are not by side-effect, so they'll
4855 # only be used when explicitly requested
4856 if test "x$enable_dependency_tracking" = xyes
; then
4864 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4865 # mode. It turns out that the SunPro C++ compiler does not properly
4866 # handle `-M -o', and we need to detect this.
4867 if depmode
=$depmode \
4868 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4869 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4870 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4871 >/dev
/null
2>conftest.err
&&
4872 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4873 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4874 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4875 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4876 # icc doesn't choke on unknown options, it will just issue warnings
4877 # or remarks (even with -Werror). So we grep stderr for any message
4878 # that says an option was ignored or not supported.
4879 # When given -MP, icc 7.0 and 7.1 complain thusly:
4880 # icc: Command line warning: ignoring option '-M'; no argument required
4881 # The diagnosis changed in icc 8.0:
4882 # icc: Command line remark: option '-MP' not supported
4883 if (grep 'ignoring option' conftest.err ||
4884 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4885 am_cv_CC_dependencies_compiler_type
=$depmode
4894 am_cv_CC_dependencies_compiler_type
=none
4898 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4899 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4900 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4903 test "x$enable_dependency_tracking" != xno \
4904 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4906 am__fastdepCC_FALSE
='#'
4908 am__fastdepCC_TRUE
='#'
4909 am__fastdepCC_FALSE
=
4914 am_cv_prog_cc_stdc
=$ac_cv_prog_cc_stdc
4916 if test "x$CC" != xcc
; then
4917 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
4918 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
4920 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
4921 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
4923 set dummy
$CC; ac_cc
=`echo $2 |
4924 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4925 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
4926 echo $ECHO_N "(cached) $ECHO_C" >&6
4928 cat >conftest.
$ac_ext <<_ACEOF
4931 cat confdefs.h
>>conftest.
$ac_ext
4932 cat >>conftest.
$ac_ext <<_ACEOF
4933 /* end confdefs.h. */
4943 # Make sure it works both with $CC and with simple cc.
4944 # We do the test twice because some compilers refuse to overwrite an
4945 # existing .o file with -o, though they will create one.
4946 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4948 if { (case "(($ac_try" in
4949 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4950 *) ac_try_echo=$ac_try;;
4952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4953 (eval "$ac_try") 2>&5
4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956 (exit $ac_status); } &&
4957 test -f conftest2.$ac_objext && { (case "(($ac_try" in
4958 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4959 *) ac_try_echo
=$ac_try;;
4961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4962 (eval "$ac_try") 2>&5
4964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4965 (exit $ac_status); };
4967 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
4968 if test "x$CC" != xcc
; then
4969 # Test first that cc exists at all.
4970 if { ac_try
='cc -c conftest.$ac_ext >&5'
4971 { (case "(($ac_try" in
4972 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4973 *) ac_try_echo=$ac_try;;
4975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4976 (eval "$ac_try") 2>&5
4978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979 (exit $ac_status); }; }; then
4980 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4982 if { (case "(($ac_try" in
4983 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4984 *) ac_try_echo
=$ac_try;;
4986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4987 (eval "$ac_try") 2>&5
4989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990 (exit $ac_status); } &&
4991 test -f conftest2.
$ac_objext && { (case "(($ac_try" in
4992 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4993 *) ac_try_echo=$ac_try;;
4995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4996 (eval "$ac_try") 2>&5
4998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999 (exit $ac_status); };
5004 # cc exists but doesn't like -o.
5005 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5010 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5012 rm -f core conftest*
5015 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5016 { echo "$as_me:$LINENO: result: yes" >&5
5017 echo "${ECHO_T}yes" >&6; }
5019 { echo "$as_me:$LINENO: result: no" >&5
5020 echo "${ECHO_T}no" >&6; }
5022 cat >>confdefs.h <<\_ACEOF
5023 #define NO_MINUS_C_MINUS_O 1
5028 # FIXME: we rely on the cache variable name because
5029 # there is no other way.
5031 ac_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5032 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o
`\" != yes"; then
5033 # Losing compiler, so override with the script.
5034 # FIXME: It is wrong to rewrite CC.
5035 # But if we don't then we get into trouble of one sort or another.
5036 # A longer-term fix would be to have automake use am__CC in this case,
5037 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5038 CC="$am_aux_dir/compile $CC"
5042 { echo "$as_me:$LINENO: checking for function prototypes" >&5
5043 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
5044 if test "$ac_cv_prog_cc_c89" != no; then
5045 { echo "$as_me:$LINENO: result: yes" >&5
5046 echo "${ECHO_T}yes" >&6; }
5048 cat >>confdefs.h <<\_ACEOF
5049 #define PROTOTYPES 1
5053 cat >>confdefs.h <<\_ACEOF
5054 #define __PROTOTYPES 1
5058 { echo "$as_me:$LINENO: result: no" >&5
5059 echo "${ECHO_T}no" >&6; }
5064 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5065 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5066 if test "${ac_cv_path_GREP+set}" = set; then
5067 echo $ECHO_N "(cached) $ECHO_C" >&6
5069 # Extract the first word of "grep ggrep" to use in msg output
5070 if test -z "$GREP"; then
5071 set dummy grep ggrep; ac_prog_name=$2
5072 if test "${ac_cv_path_GREP+set}" = set; then
5073 echo $ECHO_N "(cached) $ECHO_C" >&6
5075 ac_path_GREP_found=false
5076 # Loop through the user's path and test for each of PROGNAME-LIST
5077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5078 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5081 test -z "$as_dir" && as_dir=.
5082 for ac_prog in grep ggrep; do
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5085 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5086 # Check for GNU ac_path_GREP and select it if it is found.
5087 # Check for GNU $ac_path_GREP
5088 case `"$ac_path_GREP" --version 2>&1` in
5090 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5093 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5096 cat "conftest.in" "conftest.in" >"conftest.tmp"
5097 mv "conftest.tmp" "conftest.in"
5098 cp "conftest.in" "conftest.nl"
5099 echo 'GREP' >> "conftest.nl"
5100 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5101 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5102 ac_count=`expr $ac_count + 1`
5103 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5104 # Best one so far, save it but keep looking for a better one
5105 ac_cv_path_GREP="$ac_path_GREP"
5106 ac_path_GREP_max=$ac_count
5108 # 10*(2^10) chars as input seems more than enough
5109 test $ac_count -gt 10 && break
5111 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5115 $ac_path_GREP_found && break 3
5125 GREP="$ac_cv_path_GREP"
5126 if test -z "$GREP"; then
5127 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5128 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5129 { (exit 1); exit 1; }; }
5133 ac_cv_path_GREP=$GREP
5138 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5139 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5140 GREP="$ac_cv_path_GREP"
5143 { echo "$as_me:$LINENO: checking for egrep" >&5
5144 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5145 if test "${ac_cv_path_EGREP+set}" = set; then
5146 echo $ECHO_N "(cached) $ECHO_C" >&6
5148 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5149 then ac_cv_path_EGREP="$GREP -E"
5151 # Extract the first word of "egrep" to use in msg output
5152 if test -z "$EGREP"; then
5153 set dummy egrep; ac_prog_name=$2
5154 if test "${ac_cv_path_EGREP+set}" = set; then
5155 echo $ECHO_N "(cached) $ECHO_C" >&6
5157 ac_path_EGREP_found=false
5158 # Loop through the user's path and test for each of PROGNAME-LIST
5159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5160 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5163 test -z "$as_dir" && as_dir=.
5164 for ac_prog in egrep; do
5165 for ac_exec_ext in '' $ac_executable_extensions; do
5166 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5167 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5168 # Check for GNU ac_path_EGREP and select it if it is found.
5169 # Check for GNU $ac_path_EGREP
5170 case `"$ac_path_EGREP" --version 2>&1` in
5172 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5175 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5178 cat "conftest.in" "conftest.in" >"conftest.tmp"
5179 mv "conftest.tmp" "conftest.in"
5180 cp "conftest.in" "conftest.nl"
5181 echo 'EGREP' >> "conftest.nl"
5182 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5183 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5184 ac_count=`expr $ac_count + 1`
5185 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5186 # Best one so far, save it but keep looking for a better one
5187 ac_cv_path_EGREP="$ac_path_EGREP"
5188 ac_path_EGREP_max=$ac_count
5190 # 10*(2^10) chars as input seems more than enough
5191 test $ac_count -gt 10 && break
5193 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5197 $ac_path_EGREP_found && break 3
5207 EGREP="$ac_cv_path_EGREP"
5208 if test -z "$EGREP"; then
5209 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5210 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5211 { (exit 1); exit 1; }; }
5215 ac_cv_path_EGREP=$EGREP
5221 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5222 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5223 EGREP="$ac_cv_path_EGREP"
5226 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5227 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5228 if test "${ac_cv_header_stdc+set}" = set; then
5229 echo $ECHO_N "(cached) $ECHO_C" >&6
5231 cat >conftest.$ac_ext <<_ACEOF
5234 cat confdefs.h >>conftest.$ac_ext
5235 cat >>conftest.$ac_ext <<_ACEOF
5236 /* end confdefs.h. */
5250 rm -f conftest.$ac_objext
5251 if { (ac_try="$ac_compile"
5253 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5254 *) ac_try_echo
=$ac_try;;
5256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5257 (eval "$ac_compile") 2>conftest.er1
5259 grep -v '^ *+' conftest.er1
>conftest.err
5261 cat conftest.err
>&5
5262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5263 (exit $ac_status); } && {
5264 test -z "$ac_c_werror_flag" ||
5265 test ! -s conftest.err
5266 } && test -s conftest.
$ac_objext; then
5267 ac_cv_header_stdc
=yes
5269 echo "$as_me: failed program was:" >&5
5270 sed 's/^/| /' conftest.
$ac_ext >&5
5272 ac_cv_header_stdc
=no
5275 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5277 if test $ac_cv_header_stdc = yes; then
5278 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5279 cat >conftest.
$ac_ext <<_ACEOF
5282 cat confdefs.h
>>conftest.
$ac_ext
5283 cat >>conftest.
$ac_ext <<_ACEOF
5284 /* end confdefs.h. */
5288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5289 $EGREP "memchr" >/dev
/null
2>&1; then
5292 ac_cv_header_stdc
=no
5298 if test $ac_cv_header_stdc = yes; then
5299 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5300 cat >conftest.
$ac_ext <<_ACEOF
5303 cat confdefs.h
>>conftest.
$ac_ext
5304 cat >>conftest.
$ac_ext <<_ACEOF
5305 /* end confdefs.h. */
5309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5310 $EGREP "free" >/dev
/null
2>&1; then
5313 ac_cv_header_stdc
=no
5319 if test $ac_cv_header_stdc = yes; then
5320 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5321 if test "$cross_compiling" = yes; then
5324 cat >conftest.
$ac_ext <<_ACEOF
5327 cat confdefs.h
>>conftest.
$ac_ext
5328 cat >>conftest.
$ac_ext <<_ACEOF
5329 /* end confdefs.h. */
5332 #if ((' ' & 0x0FF) == 0x020)
5333 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5334 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5336 # define ISLOWER(c) \
5337 (('a' <= (c) && (c) <= 'i') \
5338 || ('j' <= (c) && (c) <= 'r') \
5339 || ('s' <= (c) && (c) <= 'z'))
5340 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5343 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5348 for (i = 0; i < 256; i++)
5349 if (XOR (islower (i), ISLOWER (i))
5350 || toupper (i) != TOUPPER (i))
5355 rm -f conftest
$ac_exeext
5356 if { (ac_try
="$ac_link"
5358 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5359 *) ac_try_echo=$ac_try;;
5361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5362 (eval "$ac_link") 2>&5
5364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5365 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5366 { (case "(($ac_try" in
5367 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5368 *) ac_try_echo
=$ac_try;;
5370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5371 (eval "$ac_try") 2>&5
5373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5374 (exit $ac_status); }; }; then
5377 echo "$as_me: program exited with status $ac_status" >&5
5378 echo "$as_me: failed program was:" >&5
5379 sed 's/^/| /' conftest.
$ac_ext >&5
5382 ac_cv_header_stdc
=no
5384 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5390 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5391 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5392 if test $ac_cv_header_stdc = yes; then
5394 cat >>confdefs.h
<<\_ACEOF
5395 #define STDC_HEADERS 1
5400 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5410 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5411 inttypes.h stdint.h unistd.h
5413 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5414 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5416 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5417 echo $ECHO_N "(cached) $ECHO_C" >&6
5419 cat >conftest.
$ac_ext <<_ACEOF
5422 cat confdefs.h
>>conftest.
$ac_ext
5423 cat >>conftest.
$ac_ext <<_ACEOF
5424 /* end confdefs.h. */
5425 $ac_includes_default
5427 #include <$ac_header>
5429 rm -f conftest.
$ac_objext
5430 if { (ac_try
="$ac_compile"
5432 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5433 *) ac_try_echo=$ac_try;;
5435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5436 (eval "$ac_compile") 2>conftest.er1
5438 grep -v '^ *+' conftest.er1 >conftest.err
5440 cat conftest.err >&5
5441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5442 (exit $ac_status); } && {
5443 test -z "$ac_c_werror_flag" ||
5444 test ! -s conftest.err
5445 } && test -s conftest.$ac_objext; then
5446 eval "$as_ac_Header=yes"
5448 echo "$as_me: failed program was:" >&5
5449 sed 's/^/| /' conftest.$ac_ext >&5
5451 eval "$as_ac_Header=no"
5454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5456 ac_res=`eval echo '${'$as_ac_Header'}'`
5457 { echo "$as_me:$LINENO: result: $ac_res" >&5
5458 echo "${ECHO_T}$ac_res" >&6; }
5459 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5460 cat >>confdefs.h <<_ACEOF
5461 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5470 if test "$ac_cv_prog_cc_stdc" != no; then
5473 U=_ ANSI2KNR=./ansi2knr
5475 # Ensure some checks needed by ansi2knr itself.
5478 for ac_header in string.h
5480 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5481 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5482 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5484 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5485 echo $ECHO_N "(cached) $ECHO_C" >&6
5487 ac_res=`eval echo '${'$as_ac_Header'}'`
5488 { echo "$as_me:$LINENO: result: $ac_res" >&5
5489 echo "${ECHO_T}$ac_res" >&6; }
5491 # Is the header compilable?
5492 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5493 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5494 cat >conftest.$ac_ext <<_ACEOF
5497 cat confdefs.h >>conftest.$ac_ext
5498 cat >>conftest.$ac_ext <<_ACEOF
5499 /* end confdefs.h. */
5500 $ac_includes_default
5501 #include <$ac_header>
5503 rm -f conftest.$ac_objext
5504 if { (ac_try="$ac_compile"
5506 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5507 *) ac_try_echo
=$ac_try;;
5509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5510 (eval "$ac_compile") 2>conftest.er1
5512 grep -v '^ *+' conftest.er1
>conftest.err
5514 cat conftest.err
>&5
5515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516 (exit $ac_status); } && {
5517 test -z "$ac_c_werror_flag" ||
5518 test ! -s conftest.err
5519 } && test -s conftest.
$ac_objext; then
5520 ac_header_compiler
=yes
5522 echo "$as_me: failed program was:" >&5
5523 sed 's/^/| /' conftest.
$ac_ext >&5
5525 ac_header_compiler
=no
5528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5529 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5530 echo "${ECHO_T}$ac_header_compiler" >&6; }
5532 # Is the header present?
5533 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5534 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5535 cat >conftest.
$ac_ext <<_ACEOF
5538 cat confdefs.h
>>conftest.
$ac_ext
5539 cat >>conftest.
$ac_ext <<_ACEOF
5540 /* end confdefs.h. */
5541 #include <$ac_header>
5543 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5546 *) ac_try_echo=$ac_try;;
5548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5549 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5551 grep -v '^ *+' conftest.er1 >conftest.err
5553 cat conftest.err >&5
5554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 (exit $ac_status); } >/dev/null && {
5556 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5557 test ! -s conftest.err
5559 ac_header_preproc=yes
5561 echo "$as_me: failed program was:" >&5
5562 sed 's/^/| /' conftest.$ac_ext >&5
5564 ac_header_preproc=no
5567 rm -f conftest.err conftest.$ac_ext
5568 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5569 echo "${ECHO_T}$ac_header_preproc" >&6; }
5571 # So? What about this header?
5572 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5574 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5575 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5577 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5578 ac_header_preproc=yes
5581 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5582 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5583 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5584 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5585 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5586 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5587 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5588 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5590 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5591 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5592 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5594 ## ------------------------------------------- ##
5595 ## Report this to systemtap@sources.redhat.com ##
5596 ## ------------------------------------------- ##
5598 ) | sed "s/^/$as_me: WARNING: /" >&2
5601 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5603 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5604 echo $ECHO_N "(cached) $ECHO_C" >&6
5606 eval "$as_ac_Header=\$ac_header_preproc"
5608 ac_res=`eval echo '${'$as_ac_Header'}'`
5609 { echo "$as_me:$LINENO: result: $ac_res" >&5
5610 echo "${ECHO_T}$ac_res" >&6; }
5613 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5614 cat >>confdefs.h <<_ACEOF
5615 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5623 if test -n "$ac_tool_prefix"; then
5624 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5625 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5628 if test "${ac_cv_prog_RANLIB+set}" = set; then
5629 echo $ECHO_N "(cached) $ECHO_C" >&6
5631 if test -n "$RANLIB"; then
5632 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5638 test -z "$as_dir" && as_dir=.
5639 for ac_exec_ext in '' $ac_executable_extensions; do
5640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5641 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5651 RANLIB=$ac_cv_prog_RANLIB
5652 if test -n "$RANLIB"; then
5653 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5654 echo "${ECHO_T}$RANLIB" >&6; }
5656 { echo "$as_me:$LINENO: result: no" >&5
5657 echo "${ECHO_T}no" >&6; }
5662 if test -z "$ac_cv_prog_RANLIB"; then
5663 ac_ct_RANLIB=$RANLIB
5664 # Extract the first word of "ranlib", so it can be a program name with args.
5665 set dummy ranlib; ac_word=$2
5666 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5668 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5669 echo $ECHO_N "(cached) $ECHO_C" >&6
5671 if test -n "$ac_ct_RANLIB"; then
5672 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5678 test -z "$as_dir" && as_dir=.
5679 for ac_exec_ext in '' $ac_executable_extensions; do
5680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5681 ac_cv_prog_ac_ct_RANLIB="ranlib"
5682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5691 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5692 if test -n "$ac_ct_RANLIB"; then
5693 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5694 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5696 { echo "$as_me:$LINENO: result: no" >&5
5697 echo "${ECHO_T}no" >&6; }
5700 if test "x$ac_ct_RANLIB" = x; then
5703 case $cross_compiling:$ac_tool_warned in
5705 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5706 whose name does not start with the host triplet. If you think this
5707 configuration is useful to you, please write to autoconf@gnu.org." >&5
5708 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5709 whose name does not start with the host triplet. If you think this
5710 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5711 ac_tool_warned=yes ;;
5713 RANLIB=$ac_ct_RANLIB
5716 RANLIB="$ac_cv_prog_RANLIB"
5721 # Find a good install program. We prefer a C program (faster),
5722 # so one script is as good as another. But avoid the broken or
5723 # incompatible versions:
5724 # SysV /etc/install, /usr/sbin/install
5725 # SunOS /usr/etc/install
5726 # IRIX /sbin/install
5728 # AmigaOS /C/install, which installs bootblocks on floppy discs
5729 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5730 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5731 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5732 # OS/2's system install, which has a completely different semantic
5733 # ./install, which can be erroneously created by make from ./install.sh.
5734 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5735 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5736 if test -z "$INSTALL"; then
5737 if test "${ac_cv_path_install+set}" = set; then
5738 echo $ECHO_N "(cached) $ECHO_C" >&6
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5744 test -z "$as_dir" && as_dir=.
5745 # Account for people who put trailing slashes in PATH elements.
5747 ./ | .// | /cC/* | \
5748 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5749 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5752 # OSF1 and SCO ODT 3.0 have their own names for install.
5753 # Don't use installbsd from OSF since it installs stuff as root
5755 for ac_prog in ginstall scoinst install; do
5756 for ac_exec_ext in '' $ac_executable_extensions; do
5757 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5758 if test $ac_prog = install &&
5759 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5760 # AIX install. It has an incompatible calling convention.
5762 elif test $ac_prog = install &&
5763 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5764 # program-specific install script used by HP pwplus--don't use.
5767 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5780 if test "${ac_cv_path_install+set}" = set; then
5781 INSTALL=$ac_cv_path_install
5783 # As a last resort, use the slow shell script. Don't cache a
5784 # value for INSTALL within a source directory, because that will
5785 # break other packages using the cache if that directory is
5786 # removed, or if the value is a relative name.
5787 INSTALL=$ac_install_sh
5790 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5791 echo "${ECHO_T}$INSTALL" >&6; }
5793 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5794 # It thinks the first close brace ends the variable substitution.
5795 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5797 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5799 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5801 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5802 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
5803 set x ${MAKE-make}; ac_make=`echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5804 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
5805 echo $ECHO_N "(cached) $ECHO_C" >&6
5807 cat >conftest.make <<\_ACEOF
5810 @echo '@@@%%%=$(MAKE)=@@@%%%'
5812 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5813 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
5815 eval ac_cv_prog_make_${ac_make}_set=yes;;
5817 eval ac_cv_prog_make_${ac_make}_set=no;;
5821 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5822 { echo "$as_me:$LINENO: result: yes" >&5
5823 echo "${ECHO_T}yes" >&6; }
5826 { echo "$as_me:$LINENO: result: no" >&5
5827 echo "${ECHO_T}no" >&6; }
5828 SET_MAKE="MAKE=${MAKE-make}"
5834 # Check whether --enable-perfmon was given.
5835 if test "${enable_perfmon+set}" = set; then
5836 enableval=$enable_perfmon;
5837 if test "$enable_perfmon" != "no"; then
5838 CPPFLAGS="$CPPFLAGS -DPERFMON"
5840 if test "$enable_perfmon" != "yes"; then
5841 CPPFLAGS="$CPPFLAGS -I$enable_perfmon/include"
5842 LDFLAGS="$LDFLAGS -L$enable_perfmon/lib"
5845 { echo "$as_me:$LINENO: checking for pfm_start in -lpfm" >&5
5846 echo $ECHO_N "checking for pfm_start in -lpfm... $ECHO_C" >&6; }
5847 if test "${ac_cv_lib_pfm_pfm_start+set}" = set; then
5848 echo $ECHO_N "(cached) $ECHO_C" >&6
5850 ac_check_lib_save_LIBS=$LIBS
5852 cat >conftest.$ac_ext <<_ACEOF
5855 cat confdefs.h >>conftest.$ac_ext
5856 cat >>conftest.$ac_ext <<_ACEOF
5857 /* end confdefs.h. */
5859 /* Override any GCC internal prototype to avoid an error.
5860 Use char because int might match the return type of a GCC
5861 builtin and then its argument prototype would still apply. */
5869 return pfm_start ();
5874 rm -f conftest.$ac_objext conftest$ac_exeext
5875 if { (ac_try="$ac_link"
5877 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5878 *) ac_try_echo
=$ac_try;;
5880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5881 (eval "$ac_link") 2>conftest.er1
5883 grep -v '^ *+' conftest.er1
>conftest.err
5885 cat conftest.err
>&5
5886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5887 (exit $ac_status); } && {
5888 test -z "$ac_c_werror_flag" ||
5889 test ! -s conftest.err
5890 } && test -s conftest
$ac_exeext &&
5891 $as_test_x conftest
$ac_exeext; then
5892 ac_cv_lib_pfm_pfm_start
=yes
5894 echo "$as_me: failed program was:" >&5
5895 sed 's/^/| /' conftest.
$ac_ext >&5
5897 ac_cv_lib_pfm_pfm_start
=no
5900 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5901 conftest
$ac_exeext conftest.
$ac_ext
5902 LIBS
=$ac_check_lib_save_LIBS
5904 { echo "$as_me:$LINENO: result: $ac_cv_lib_pfm_pfm_start" >&5
5905 echo "${ECHO_T}$ac_cv_lib_pfm_pfm_start" >&6; }
5906 if test $ac_cv_lib_pfm_pfm_start = yes; then
5907 cat >>confdefs.h
<<_ACEOF
5908 #define HAVE_LIBPFM 1
5915 { { echo "$as_me:$LINENO: error: systemtap cannot find required perfmon libs (libpfm-devel may need to be installed" >&5
5916 echo "$as_me: error: systemtap cannot find required perfmon libs (libpfm-devel may need to be installed" >&2;}
5917 { (exit 1); exit 1; }; }
5924 if test "${enable_prologues+set}" != set; then
5925 { echo "$as_me:$LINENO: checking to see if prologue searching should be the default" >&5
5926 echo $ECHO_N "checking to see if prologue searching should be the default... $ECHO_C" >&6; }
5927 if { echo '#if __i386__ == 1 && __GNUC__ < 4'
5929 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
5930 enable_prologues
=yes
5931 { echo "$as_me:$LINENO: result: yes" >&5
5932 echo "${ECHO_T}yes" >&6; }
5934 { echo "$as_me:$LINENO: result: no" >&5
5935 echo "${ECHO_T}no" >&6; }
5938 # Check whether --enable-prologues was given.
5939 if test "${enable_prologues+set}" = set; then
5940 enableval
=$enable_prologues;
5941 if test "$enable_prologues" = yes; then
5943 cat >>confdefs.h
<<\_ACEOF
5944 #define ENABLE_PROLOGUES
5951 # Check whether --enable-ssp was given.
5952 if test "${enable_ssp+set}" = set; then
5953 enableval
=$enable_ssp;
5956 if test "x$enable_ssp" != xno
; then
5958 save_CFLAGS
="$CFLAGS"
5959 save_CXXFLAGS
="$CXXFLAGS"
5960 CXXFLAGS
="$CXXFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
5961 CFLAGS
="$CFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
5962 cat >conftest.
$ac_ext <<_ACEOF
5965 rm -f conftest.
$ac_objext
5966 if { (ac_try
="$ac_compile"
5968 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5969 *) ac_try_echo=$ac_try;;
5971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5972 (eval "$ac_compile") 2>conftest.er1
5974 grep -v '^ *+' conftest.er1 >conftest.err
5976 cat conftest.err >&5
5977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5978 (exit $ac_status); } && {
5979 test -z "$ac_c_werror_flag" ||
5980 test ! -s conftest.err
5981 } && test -s conftest.$ac_objext; then
5983 { echo "$as_me:$LINENO: Compiling with gcc -fstack-protector-all et al." >&5
5984 echo "$as_me: Compiling with gcc -fstack-protector-all et al." >&6;}
5985 CFLAGS="$save_CFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
5986 CXFXLAGS="$save_CXXFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
5988 echo "$as_me: failed program was:" >&5
5989 sed 's/^/| /' conftest.$ac_ext >&5
5992 { echo "$as_me:$LINENO: Compiler does not support -fstack-protector-all et al." >&5
5993 echo "$as_me: Compiler does not support -fstack-protector-all et al." >&6;}
5994 CFLAGS="$save_CFLAGS"
5995 CXXFLAGS="$save_CXXFLAGS"
5998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6002 # Check whether --enable-pie was given.
6003 if test "${enable_pie+set}" = set; then
6004 enableval=$enable_pie;
6007 if test "x$enable_pie" != xno; then
6009 save_CFLAGS="$CFLAGS"
6010 save_CXXFLAGS="$CXXFLAGS"
6011 save_LDFLAGS="$LDFLAGS"
6012 CFLAGS="$CFLAGS -fPIE"
6013 CXXFLAGS="$CXXFLAGS -fPIE"
6014 LDFLAGS="$LDFLAGS -pie -Wl,-z,relro -Wl,-z,now"
6015 cat >conftest.$ac_ext <<_ACEOF
6018 rm -f conftest.$ac_objext conftest$ac_exeext
6019 if { (ac_try="$ac_link"
6021 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6022 *) ac_try_echo
=$ac_try;;
6024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6025 (eval "$ac_link") 2>conftest.er1
6027 grep -v '^ *+' conftest.er1
>conftest.err
6029 cat conftest.err
>&5
6030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031 (exit $ac_status); } && {
6032 test -z "$ac_c_werror_flag" ||
6033 test ! -s conftest.err
6034 } && test -s conftest
$ac_exeext &&
6035 $as_test_x conftest
$ac_exeext; then
6037 { echo "$as_me:$LINENO: Compiling with gcc pie et al." >&5
6038 echo "$as_me: Compiling with gcc pie et al." >&6;}
6039 # LDFLAGS is special since it may be passed down to bundled-elfutils,
6040 # and interfere with the .so's built therein
6041 PIELDFLAGS
="$LDFLAGS -pie -Wl,-z,relro -Wl,-z,now"
6042 LDFLAGS
="$save_LDFLAGS"
6045 echo "$as_me: failed program was:" >&5
6046 sed 's/^/| /' conftest.
$ac_ext >&5
6049 { echo "$as_me:$LINENO: Compiler does not support -pie et al." >&5
6050 echo "$as_me: Compiler does not support -pie et al." >&6;}
6051 CFLAGS
="$save_CFLAGS"
6052 CXXFLAGS
="$save_CXXFLAGS"
6054 LDFLAGS
="$save_LDFLAGS"
6057 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6058 conftest
$ac_exeext conftest.
$ac_ext
6063 # Check whether --enable-sqlite was given.
6064 if test "${enable_sqlite+set}" = set; then
6065 enableval
=$enable_sqlite;
6070 if test "x$enable_sqlite" != xno
; then
6071 { echo "$as_me:$LINENO: checking for sqlite3_open in -lsqlite3" >&5
6072 echo $ECHO_N "checking for sqlite3_open in -lsqlite3... $ECHO_C" >&6; }
6073 if test "${ac_cv_lib_sqlite3_sqlite3_open+set}" = set; then
6074 echo $ECHO_N "(cached) $ECHO_C" >&6
6076 ac_check_lib_save_LIBS
=$LIBS
6077 LIBS
="-lsqlite3 $LIBS"
6078 cat >conftest.
$ac_ext <<_ACEOF
6081 cat confdefs.h
>>conftest.
$ac_ext
6082 cat >>conftest.
$ac_ext <<_ACEOF
6083 /* end confdefs.h. */
6085 /* Override any GCC internal prototype to avoid an error.
6086 Use char because int might match the return type of a GCC
6087 builtin and then its argument prototype would still apply. */
6091 char sqlite3_open ();
6095 return sqlite3_open ();
6100 rm -f conftest.
$ac_objext conftest
$ac_exeext
6101 if { (ac_try
="$ac_link"
6103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6104 *) ac_try_echo=$ac_try;;
6106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6107 (eval "$ac_link") 2>conftest.er1
6109 grep -v '^ *+' conftest.er1 >conftest.err
6111 cat conftest.err >&5
6112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6113 (exit $ac_status); } && {
6114 test -z "$ac_c_werror_flag" ||
6115 test ! -s conftest.err
6116 } && test -s conftest$ac_exeext &&
6117 $as_test_x conftest$ac_exeext; then
6118 ac_cv_lib_sqlite3_sqlite3_open=yes
6120 echo "$as_me: failed program was:" >&5
6121 sed 's/^/| /' conftest.$ac_ext >&5
6123 ac_cv_lib_sqlite3_sqlite3_open=no
6126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6127 conftest$ac_exeext conftest.$ac_ext
6128 LIBS=$ac_check_lib_save_LIBS
6130 { echo "$as_me:$LINENO: result: $ac_cv_lib_sqlite3_sqlite3_open" >&5
6131 echo "${ECHO_T}$ac_cv_lib_sqlite3_sqlite3_open" >&6; }
6132 if test $ac_cv_lib_sqlite3_sqlite3_open = yes; then
6133 sqlite3_LIBS=-lsqlite3
6136 cat >>confdefs.h <<\_ACEOF
6137 #define HAVE_LIBSQLITE3 1
6141 if test "x$enable_sqlite" != xcheck; then
6142 { { echo "$as_me:$LINENO: error: --enable-sqlite was given, but test for sqlite failed
6143 See \`config.log
' for more details." >&5
6144 echo "$as_me: error: --enable-sqlite was given, but test for sqlite failed
6145 See \`config.log' for more details.
" >&2;}
6146 { (exit 1); exit 1; }; }
6153 # Check whether --enable-crash was given.
6154 if test "${enable_crash+set}" = set; then
6155 enableval=$enable_crash; if test "$enable_crash" != "no
"; then
6156 save_CPPFLAGS="$CPPFLAGS"
6157 if test "$enable_crash" != "yes"; then
6158 staplog_CPPFLAGS=-I$enable_crash
6159 CPPFLAGS="${staplog_CPPFLAGS} $CPPFLAGS"
6163 for ac_header in crash/defs.h
6165 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
6166 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
6167 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
6168 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6169 echo $ECHO_N "(cached
) $ECHO_C" >&6
6171 cat >conftest.$ac_ext <<_ACEOF
6174 cat confdefs.h >>conftest.$ac_ext
6175 cat >>conftest.$ac_ext <<_ACEOF
6176 /* end confdefs.h. */
6181 #include <$ac_header>
6183 rm -f conftest.$ac_objext
6184 if { (ac_try="$ac_compile"
6186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6187 *) ac_try_echo=$ac_try;;
6189 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6190 (eval "$ac_compile") 2>conftest.er1
6192 grep -v '^ *+' conftest.er1 >conftest.err
6194 cat conftest.err >&5
6195 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6196 (exit $ac_status); } && {
6197 test -z "$ac_c_werror_flag" ||
6198 test ! -s conftest.err
6199 } && test -s conftest.$ac_objext; then
6200 eval "$as_ac_Header=yes"
6202 echo "$as_me: failed program was
:" >&5
6203 sed 's/^/| /' conftest.$ac_ext >&5
6205 eval "$as_ac_Header=no
"
6208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6210 ac_res=`eval echo '${'$as_ac_Header'}'`
6211 { echo "$as_me:$LINENO: result
: $ac_res" >&5
6212 echo "${ECHO_T}$ac_res" >&6; }
6213 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6214 cat >>confdefs.h <<_ACEOF
6215 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
6219 { { echo "$as_me:$LINENO: error
: cannot
find required crash header
(crash-devel may need to be installed
)" >&5
6220 echo "$as_me: error
: cannot
find required crash header
(crash-devel may need to be installed
)" >&2;}
6221 { (exit 1); exit 1; }; }
6226 CPPFLAGS="$save_CPPFLAGS"
6232 if test "$enable_crash" != "no
"; then
6233 BUILD_CRASHMOD_TRUE=
6234 BUILD_CRASHMOD_FALSE='#'
6236 BUILD_CRASHMOD_TRUE='#'
6237 BUILD_CRASHMOD_FALSE=
6242 # Check whether --enable-docs was given.
6243 if test "${enable_docs+set}" = set; then
6244 enableval=$enable_docs; enable_docs=$enableval
6249 # Extract the first word of "latex
", so it can be a program name with args.
6250 set dummy latex; ac_word=$2
6251 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6252 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6253 if test "${ac_cv_prog_have_latex+set}" = set; then
6254 echo $ECHO_N "(cached
) $ECHO_C" >&6
6256 if test -n "$have_latex"; then
6257 ac_cv_prog_have_latex="$have_latex" # Let the user override the test.
6259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6263 test -z "$as_dir" && as_dir=.
6264 for ac_exec_ext in '' $ac_executable_extensions; do
6265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6266 ac_cv_prog_have_latex="yes"
6267 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6274 test -z "$ac_cv_prog_have_latex" && ac_cv_prog_have_latex="no
"
6277 have_latex=$ac_cv_prog_have_latex
6278 if test -n "$have_latex"; then
6279 { echo "$as_me:$LINENO: result
: $have_latex" >&5
6280 echo "${ECHO_T}$have_latex" >&6; }
6282 { echo "$as_me:$LINENO: result
: no
" >&5
6283 echo "${ECHO_T}no
" >&6; }
6287 # Extract the first word of "dvips
", so it can be a program name with args.
6288 set dummy dvips; ac_word=$2
6289 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6290 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6291 if test "${ac_cv_prog_have_dvips+set}" = set; then
6292 echo $ECHO_N "(cached
) $ECHO_C" >&6
6294 if test -n "$have_dvips"; then
6295 ac_cv_prog_have_dvips="$have_dvips" # Let the user override the test.
6297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6301 test -z "$as_dir" && as_dir=.
6302 for ac_exec_ext in '' $ac_executable_extensions; do
6303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6304 ac_cv_prog_have_dvips="yes"
6305 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6312 test -z "$ac_cv_prog_have_dvips" && ac_cv_prog_have_dvips="no
"
6315 have_dvips=$ac_cv_prog_have_dvips
6316 if test -n "$have_dvips"; then
6317 { echo "$as_me:$LINENO: result
: $have_dvips" >&5
6318 echo "${ECHO_T}$have_dvips" >&6; }
6320 { echo "$as_me:$LINENO: result
: no
" >&5
6321 echo "${ECHO_T}no
" >&6; }
6325 # Extract the first word of "ps2pdf
", so it can be a program name with args.
6326 set dummy ps2pdf; ac_word=$2
6327 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6328 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6329 if test "${ac_cv_prog_have_ps2pdf+set}" = set; then
6330 echo $ECHO_N "(cached
) $ECHO_C" >&6
6332 if test -n "$have_ps2pdf"; then
6333 ac_cv_prog_have_ps2pdf="$have_ps2pdf" # Let the user override the test.
6335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6339 test -z "$as_dir" && as_dir=.
6340 for ac_exec_ext in '' $ac_executable_extensions; do
6341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6342 ac_cv_prog_have_ps2pdf="yes"
6343 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6350 test -z "$ac_cv_prog_have_ps2pdf" && ac_cv_prog_have_ps2pdf="no
"
6353 have_ps2pdf=$ac_cv_prog_have_ps2pdf
6354 if test -n "$have_ps2pdf"; then
6355 { echo "$as_me:$LINENO: result
: $have_ps2pdf" >&5
6356 echo "${ECHO_T}$have_ps2pdf" >&6; }
6358 { echo "$as_me:$LINENO: result
: no
" >&5
6359 echo "${ECHO_T}no
" >&6; }
6363 # Extract the first word of "latex2html
", so it can be a program name with args.
6364 set dummy latex2html; ac_word=$2
6365 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6366 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6367 if test "${ac_cv_prog_have_latex2html+set}" = set; then
6368 echo $ECHO_N "(cached
) $ECHO_C" >&6
6370 if test -n "$have_latex2html"; then
6371 ac_cv_prog_have_latex2html="$have_latex2html" # Let the user override the test.
6373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6377 test -z "$as_dir" && as_dir=.
6378 for ac_exec_ext in '' $ac_executable_extensions; do
6379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6380 ac_cv_prog_have_latex2html="yes"
6381 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6388 test -z "$ac_cv_prog_have_latex2html" && ac_cv_prog_have_latex2html="no
"
6391 have_latex2html=$ac_cv_prog_have_latex2html
6392 if test -n "$have_latex2html"; then
6393 { echo "$as_me:$LINENO: result
: $have_latex2html" >&5
6394 echo "${ECHO_T}$have_latex2html" >&6; }
6396 { echo "$as_me:$LINENO: result
: no
" >&5
6397 echo "${ECHO_T}no
" >&6; }
6401 if test "x
${have_latex}${have_dvips}${have_ps2pdf}${have_latex2html}" != "xyesyesyesyes
"; then
6402 if test "$enable_docs" == "yes"; then
6403 { { echo "$as_me:$LINENO: error
: cannot
find all tools
for building documentation
" >&5
6404 echo "$as_me: error
: cannot
find all tools
for building documentation
" >&2;}
6405 { (exit 1); exit 1; }; }
6407 if test "$enable_docs" == "check
"; then
6408 { echo "$as_me:$LINENO: WARNING
: will not build documentation
, cannot
find all tools
" >&5
6409 echo "$as_me: WARNING
: will not build documentation
, cannot
find all tools
" >&2;}
6412 if test "x
${have_latex}${have_dvips}${have_ps2pdf}${have_latex2html}" == "xyesyesyesyes
" -a "$enable_docs" != "no
"; then
6415 if test "$building_docs" == "yes"; then
6417 BUILD_DOCS_FALSE='#'
6424 building_refdocs="no
"
6425 # Check whether --enable-refdocs was given.
6426 if test "${enable_refdocs+set}" = set; then
6427 enableval=$enable_refdocs; enable_refdocs=$enableval
6429 enable_refdocs="check
"
6432 if test "$building_docs" == "no
" -a "$enable_refdocs" == "yes" ; then
6433 { { echo "$as_me:$LINENO: error
: must use
--enable-docs with
--enable-refdocs" >&5
6434 echo "$as_me: error
: must use
--enable-docs with
--enable-refdocs" >&2;}
6435 { (exit 1); exit 1; }; }
6437 # Extract the first word of "xmlto
", so it can be a program name with args.
6438 set dummy xmlto; ac_word=$2
6439 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6440 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6441 if test "${ac_cv_prog_have_xmlto+set}" = set; then
6442 echo $ECHO_N "(cached
) $ECHO_C" >&6
6444 if test -n "$have_xmlto"; then
6445 ac_cv_prog_have_xmlto="$have_xmlto" # Let the user override the test.
6447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6451 test -z "$as_dir" && as_dir=.
6452 for ac_exec_ext in '' $ac_executable_extensions; do
6453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6454 ac_cv_prog_have_xmlto="yes"
6455 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6462 test -z "$ac_cv_prog_have_xmlto" && ac_cv_prog_have_xmlto="no
"
6465 have_xmlto=$ac_cv_prog_have_xmlto
6466 if test -n "$have_xmlto"; then
6467 { echo "$as_me:$LINENO: result
: $have_xmlto" >&5
6468 echo "${ECHO_T}$have_xmlto" >&6; }
6470 { echo "$as_me:$LINENO: result
: no
" >&5
6471 echo "${ECHO_T}no
" >&6; }
6475 if test "$enable_refdocs" == "yes"; then
6476 if test "x
${have_xmlto}" != "xyes
"; then
6477 { { echo "$as_me:$LINENO: error
: cannot
find xmlto
for building reference documentation
" >&5
6478 echo "$as_me: error
: cannot
find xmlto
for building reference documentation
" >&2;}
6479 { (exit 1); exit 1; }; }
6482 if test "x
${have_xmlto}" == "xyes
" -a "$enable_refdocs" != "no
" -a "${building_docs}" == "yes"; then
6483 building_refdocs="yes"
6485 if test "$building_refdocs" == "yes"; then
6487 BUILD_REFDOCS_FALSE='#'
6489 BUILD_REFDOCS_TRUE='#'
6490 BUILD_REFDOCS_FALSE=
6494 # Check whether --enable-server was given.
6495 if test "${enable_server+set}" = set; then
6496 enableval=$enable_server; enable_server=$enableval
6498 enable_server="check
"
6503 if test "x
$ac_cv_env_PKG_CONFIG_set" != "xset
"; then
6504 if test -n "$ac_tool_prefix"; then
6505 # Extract the first word of "${ac_tool_prefix}pkg-config
", so it can be a program name with args.
6506 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6507 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6508 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6509 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6510 echo $ECHO_N "(cached
) $ECHO_C" >&6
6514 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6521 test -z "$as_dir" && as_dir=.
6522 for ac_exec_ext in '' $ac_executable_extensions; do
6523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6524 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6525 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6535 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6536 if test -n "$PKG_CONFIG"; then
6537 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
6538 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6540 { echo "$as_me:$LINENO: result
: no
" >&5
6541 echo "${ECHO_T}no
" >&6; }
6546 if test -z "$ac_cv_path_PKG_CONFIG"; then
6547 ac_pt_PKG_CONFIG=$PKG_CONFIG
6548 # Extract the first word of "pkg-config
", so it can be a program name with args.
6549 set dummy pkg-config; ac_word=$2
6550 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6551 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6552 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
6553 echo $ECHO_N "(cached
) $ECHO_C" >&6
6555 case $ac_pt_PKG_CONFIG in
6557 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564 test -z "$as_dir" && as_dir=.
6565 for ac_exec_ext in '' $ac_executable_extensions; do
6566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6567 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6568 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6578 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6579 if test -n "$ac_pt_PKG_CONFIG"; then
6580 { echo "$as_me:$LINENO: result
: $ac_pt_PKG_CONFIG" >&5
6581 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
6583 { echo "$as_me:$LINENO: result
: no
" >&5
6584 echo "${ECHO_T}no
" >&6; }
6587 if test "x
$ac_pt_PKG_CONFIG" = x; then
6590 case $cross_compiling:$ac_tool_warned in
6592 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
6593 whose name does not start with the
host triplet. If you think this
6594 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
6595 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
6596 whose name does not start with the
host triplet. If you think this
6597 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
6598 ac_tool_warned=yes ;;
6600 PKG_CONFIG=$ac_pt_PKG_CONFIG
6603 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6607 if test -n "$PKG_CONFIG"; then
6608 _pkg_min_version=0.9.0
6609 { echo "$as_me:$LINENO: checking pkg-config is
at least version
$_pkg_min_version" >&5
6610 echo $ECHO_N "checking pkg-config is
at least version
$_pkg_min_version...
$ECHO_C" >&6; }
6611 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6612 { echo "$as_me:$LINENO: result
: yes" >&5
6613 echo "${ECHO_T}yes" >&6; }
6615 { echo "$as_me:$LINENO: result
: no
" >&5
6616 echo "${ECHO_T}no
" >&6; }
6623 { echo "$as_me:$LINENO: checking
for nss
" >&5
6624 echo $ECHO_N "checking
for nss...
$ECHO_C" >&6; }
6626 if test -n "$nss_CFLAGS"; then
6627 pkg_cv_nss_CFLAGS="$nss_CFLAGS"
6628 elif test -n "$PKG_CONFIG"; then
6629 if test -n "$PKG_CONFIG" && \
6630 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"nss
>= 3\"") >&5
6631 ($PKG_CONFIG --exists --print-errors "nss
>= 3") 2>&5
6633 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6634 (exit $ac_status); }; then
6635 pkg_cv_nss_CFLAGS=`$PKG_CONFIG --cflags "nss
>= 3" 2>/dev/null`
6642 if test -n "$nss_LIBS"; then
6643 pkg_cv_nss_LIBS="$nss_LIBS"
6644 elif test -n "$PKG_CONFIG"; then
6645 if test -n "$PKG_CONFIG" && \
6646 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"nss
>= 3\"") >&5
6647 ($PKG_CONFIG --exists --print-errors "nss
>= 3") 2>&5
6649 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6650 (exit $ac_status); }; then
6651 pkg_cv_nss_LIBS=`$PKG_CONFIG --libs "nss
>= 3" 2>/dev/null`
6661 if test $pkg_failed = yes; then
6663 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6664 _pkg_short_errors_supported=yes
6666 _pkg_short_errors_supported=no
6668 if test $_pkg_short_errors_supported = yes; then
6669 nss_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "nss
>= 3" 2>&1`
6671 nss_PKG_ERRORS=`$PKG_CONFIG --print-errors "nss
>= 3" 2>&1`
6673 # Put the nasty error message in config.log where it belongs
6674 echo "$nss_PKG_ERRORS" >&5
6676 { echo "$as_me:$LINENO: result
: no
" >&5
6677 echo "${ECHO_T}no
" >&6; }
6679 elif test $pkg_failed = untried; then
6682 nss_CFLAGS=$pkg_cv_nss_CFLAGS
6683 nss_LIBS=$pkg_cv_nss_LIBS
6684 { echo "$as_me:$LINENO: result
: yes" >&5
6685 echo "${ECHO_T}yes" >&6; }
6690 { echo "$as_me:$LINENO: checking
for nspr
" >&5
6691 echo $ECHO_N "checking
for nspr...
$ECHO_C" >&6; }
6693 if test -n "$nspr_CFLAGS"; then
6694 pkg_cv_nspr_CFLAGS="$nspr_CFLAGS"
6695 elif test -n "$PKG_CONFIG"; then
6696 if test -n "$PKG_CONFIG" && \
6697 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"nspr
>= 4\"") >&5
6698 ($PKG_CONFIG --exists --print-errors "nspr
>= 4") 2>&5
6700 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6701 (exit $ac_status); }; then
6702 pkg_cv_nspr_CFLAGS=`$PKG_CONFIG --cflags "nspr
>= 4" 2>/dev/null`
6709 if test -n "$nspr_LIBS"; then
6710 pkg_cv_nspr_LIBS="$nspr_LIBS"
6711 elif test -n "$PKG_CONFIG"; then
6712 if test -n "$PKG_CONFIG" && \
6713 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"nspr
>= 4\"") >&5
6714 ($PKG_CONFIG --exists --print-errors "nspr
>= 4") 2>&5
6716 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6717 (exit $ac_status); }; then
6718 pkg_cv_nspr_LIBS=`$PKG_CONFIG --libs "nspr
>= 4" 2>/dev/null`
6728 if test $pkg_failed = yes; then
6730 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6731 _pkg_short_errors_supported=yes
6733 _pkg_short_errors_supported=no
6735 if test $_pkg_short_errors_supported = yes; then
6736 nspr_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "nspr
>= 4" 2>&1`
6738 nspr_PKG_ERRORS=`$PKG_CONFIG --print-errors "nspr
>= 4" 2>&1`
6740 # Put the nasty error message in config.log where it belongs
6741 echo "$nspr_PKG_ERRORS" >&5
6743 { echo "$as_me:$LINENO: result
: no
" >&5
6744 echo "${ECHO_T}no
" >&6; }
6746 elif test $pkg_failed = untried; then
6749 nspr_CFLAGS=$pkg_cv_nspr_CFLAGS
6750 nspr_LIBS=$pkg_cv_nspr_LIBS
6751 { echo "$as_me:$LINENO: result
: yes" >&5
6752 echo "${ECHO_T}yes" >&6; }
6755 if test "x
${have_nss}${have_nspr}" != "xyesyes
"; then
6756 if test "$enable_server" == "yes"; then
6757 { { echo "$as_me:$LINENO: error
: cannot
find all libraries
for stap-server
" >&5
6758 echo "$as_me: error
: cannot
find all libraries
for stap-server
" >&2;}
6759 { (exit 1); exit 1; }; }
6761 if test "$enable_server" == "check
"; then
6762 { echo "$as_me:$LINENO: WARNING
: will not build stap-server
, cannot
find all libraries
" >&5
6763 echo "$as_me: WARNING
: will not build stap-server
, cannot
find all libraries
" >&2;}
6766 if test "x
${have_nss}${have_nspr}" == "xyesyes
" -a "$enable_server" != "no
"; then
6768 BUILD_SERVER_FALSE='#'
6770 BUILD_SERVER_TRUE='#'
6777 # Check whether --with-elfutils was given.
6778 if test "${with_elfutils+set}" = set; then
6779 withval=$with_elfutils;
6780 case "$with_elfutils" in
6781 yes) { { echo "$as_me:$LINENO: error
: --with-elfutils requires an argument
" >&5
6782 echo "$as_me: error
: --with-elfutils requires an argument
" >&2;}
6783 { (exit 1); exit 1; }; } ;;
6785 *) build_elfutils=yes ;;
6789 if test $build_elfutils = yes; then
6790 BUILD_ELFUTILS_TRUE=
6791 BUILD_ELFUTILS_FALSE='#'
6793 BUILD_ELFUTILS_TRUE='#'
6794 BUILD_ELFUTILS_FALSE=
6797 elfutils_abs_srcdir=`if test $build_elfutils = yes; then
6798 cd $with_elfutils && pwd
6803 if test $build_elfutils = no; then
6804 # Need libdwfl-capable recent elfutils http://elfutils.fedorahosted.org/
6807 { echo "$as_me:$LINENO: checking
for dwfl_module_getsym
in -ldw" >&5
6808 echo $ECHO_N "checking
for dwfl_module_getsym
in -ldw...
$ECHO_C" >&6; }
6809 if test "${ac_cv_lib_dw_dwfl_module_getsym+set}" = set; then
6810 echo $ECHO_N "(cached
) $ECHO_C" >&6
6812 ac_check_lib_save_LIBS=$LIBS
6813 LIBS="-ldw -Wl,--start-group -ldw -lebl -Wl,--end-group -lelf $LIBS"
6814 cat >conftest.$ac_ext <<_ACEOF
6817 cat confdefs.h >>conftest.$ac_ext
6818 cat >>conftest.$ac_ext <<_ACEOF
6819 /* end confdefs.h. */
6821 /* Override any GCC internal prototype to avoid an error.
6822 Use char because int might match the return type of a GCC
6823 builtin and then its argument prototype would still apply. */
6827 char dwfl_module_getsym ();
6831 return dwfl_module_getsym ();
6836 rm -f conftest.$ac_objext conftest$ac_exeext
6837 if { (ac_try="$ac_link"
6839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6840 *) ac_try_echo=$ac_try;;
6842 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6843 (eval "$ac_link") 2>conftest.er1
6845 grep -v '^ *+' conftest.er1 >conftest.err
6847 cat conftest.err >&5
6848 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6849 (exit $ac_status); } && {
6850 test -z "$ac_c_werror_flag" ||
6851 test ! -s conftest.err
6852 } && test -s conftest$ac_exeext &&
6853 $as_test_x conftest$ac_exeext; then
6854 ac_cv_lib_dw_dwfl_module_getsym=yes
6856 echo "$as_me: failed program was
:" >&5
6857 sed 's/^/| /' conftest.$ac_ext >&5
6859 ac_cv_lib_dw_dwfl_module_getsym=no
6862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6863 conftest$ac_exeext conftest.$ac_ext
6864 LIBS=$ac_check_lib_save_LIBS
6866 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dw_dwfl_module_getsym" >&5
6867 echo "${ECHO_T}$ac_cv_lib_dw_dwfl_module_getsym" >&6; }
6868 if test $ac_cv_lib_dw_dwfl_module_getsym = yes; then
6869 cat >>confdefs.h <<_ACEOF
6870 #define HAVE_LIBDW 1
6877 { { echo "$as_me:$LINENO: error
: missing elfutils development headers
/libraries
(install elfutils-devel
, libebl-dev
, libdw-dev and
/or libebl-devel
)" >&5
6878 echo "$as_me: error
: missing elfutils development headers
/libraries
(install elfutils-devel
, libebl-dev
, libdw-dev and
/or libebl-devel
)" >&2;}
6879 { (exit 1); exit 1; }; }
6883 { echo "$as_me:$LINENO: checking
for dwarf_getelf
in -ldw" >&5
6884 echo $ECHO_N "checking
for dwarf_getelf
in -ldw...
$ECHO_C" >&6; }
6885 if test "${ac_cv_lib_dw_dwarf_getelf+set}" = set; then
6886 echo $ECHO_N "(cached
) $ECHO_C" >&6
6888 ac_check_lib_save_LIBS=$LIBS
6889 LIBS="-ldw -Wl,--start-group -ldw -lebl -Wl,--end-group -lelf $LIBS"
6890 cat >conftest.$ac_ext <<_ACEOF
6893 cat confdefs.h >>conftest.$ac_ext
6894 cat >>conftest.$ac_ext <<_ACEOF
6895 /* end confdefs.h. */
6897 /* Override any GCC internal prototype to avoid an error.
6898 Use char because int might match the return type of a GCC
6899 builtin and then its argument prototype would still apply. */
6903 char dwarf_getelf ();
6907 return dwarf_getelf ();
6912 rm -f conftest.$ac_objext conftest$ac_exeext
6913 if { (ac_try="$ac_link"
6915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6916 *) ac_try_echo=$ac_try;;
6918 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6919 (eval "$ac_link") 2>conftest.er1
6921 grep -v '^ *+' conftest.er1 >conftest.err
6923 cat conftest.err >&5
6924 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6925 (exit $ac_status); } && {
6926 test -z "$ac_c_werror_flag" ||
6927 test ! -s conftest.err
6928 } && test -s conftest$ac_exeext &&
6929 $as_test_x conftest$ac_exeext; then
6930 ac_cv_lib_dw_dwarf_getelf=yes
6932 echo "$as_me: failed program was
:" >&5
6933 sed 's/^/| /' conftest.$ac_ext >&5
6935 ac_cv_lib_dw_dwarf_getelf=no
6938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6939 conftest$ac_exeext conftest.$ac_ext
6940 LIBS=$ac_check_lib_save_LIBS
6942 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dw_dwarf_getelf" >&5
6943 echo "${ECHO_T}$ac_cv_lib_dw_dwarf_getelf" >&6; }
6944 if test $ac_cv_lib_dw_dwarf_getelf = yes; then
6945 cat >>confdefs.h <<_ACEOF
6946 #define HAVE_LIBDW 1
6953 { { echo "$as_me:$LINENO: error
: elfutils
, libdw too old
, need
0.126+" >&5
6954 echo "$as_me: error
: elfutils
, libdw too old
, need
0.126+" >&2;}
6955 { (exit 1); exit 1; }; }
6958 stap_LIBS="-Wl,--start-group -ldw -lebl -Wl,--end-group -lelf"
6961 # We built our own and stap_LDFLAGS points at the install.
6962 stap_LIBS="-Wl,--start-group -ldw -lebl -Wl,--end-group -lelf"
6966 { echo "$as_me:$LINENO: stap will link
$stap_LIBS" >&5
6967 echo "$as_me: stap will link
$stap_LIBS" >&6;}
6969 date=`date +%Y-%m-%d`
6971 cat >>confdefs.h <<_ACEOF
6972 #define DATE "$date"
6979 # This procflags business is for staprun/stapio, which need to
6980 # be compiled with the same bitness as the kernel. On e.g. PPC,
6981 # userspace might be 32-bit default, but staprun needs to be
6982 # 64-bit. See also bug #4037.
6984 processor=`uname -p`
6985 case "$processor" in
6986 ppc64) PROCFLAGS=-m64 ;;
6987 x86_64) PROCFLAGS=-m64 ;;
6992 # Use tr1/unordered_map if available
6994 ac_cpp='$CXXCPP $CPPFLAGS'
6995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7001 ac_cpp='$CXXCPP $CPPFLAGS'
7002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7005 { echo "$as_me:$LINENO: checking how to run the C
++ preprocessor
" >&5
7006 echo $ECHO_N "checking how to run the C
++ preprocessor...
$ECHO_C" >&6; }
7007 if test -z "$CXXCPP"; then
7008 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7009 echo $ECHO_N "(cached
) $ECHO_C" >&6
7011 # Double quotes because CXXCPP needs to be expanded
7012 for CXXCPP in "$CXX -E" "/lib
/cpp
"
7015 for ac_cxx_preproc_warn_flag in '' yes
7017 # Use a header file that comes with gcc, so configuring glibc
7018 # with a fresh cross-compiler works.
7019 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7020 # <limits.h> exists even on freestanding compilers.
7021 # On the NeXT, cc -E runs the code through the compiler's parser,
7022 # not just through cpp. "Syntax error
" is here to catch this case.
7023 cat >conftest.$ac_ext <<_ACEOF
7026 cat confdefs.h >>conftest.$ac_ext
7027 cat >>conftest.$ac_ext <<_ACEOF
7028 /* end confdefs.h. */
7030 # include <limits.h>
7032 # include <assert.h>
7036 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7039 *) ac_try_echo=$ac_try;;
7041 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7042 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7044 grep -v '^ *+' conftest.er1 >conftest.err
7046 cat conftest.err >&5
7047 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7048 (exit $ac_status); } >/dev/null && {
7049 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7050 test ! -s conftest.err
7054 echo "$as_me: failed program was
:" >&5
7055 sed 's/^/| /' conftest.$ac_ext >&5
7057 # Broken: fails on valid input.
7061 rm -f conftest.err conftest.$ac_ext
7063 # OK, works on sane cases. Now check whether nonexistent headers
7064 # can be detected and how.
7065 cat >conftest.$ac_ext <<_ACEOF
7068 cat confdefs.h >>conftest.$ac_ext
7069 cat >>conftest.$ac_ext <<_ACEOF
7070 /* end confdefs.h. */
7071 #include <ac_nonexistent.h>
7073 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7076 *) ac_try_echo=$ac_try;;
7078 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7079 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7081 grep -v '^ *+' conftest.er1 >conftest.err
7083 cat conftest.err >&5
7084 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7085 (exit $ac_status); } >/dev/null && {
7086 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7087 test ! -s conftest.err
7089 # Broken: success on invalid input.
7092 echo "$as_me: failed program was
:" >&5
7093 sed 's/^/| /' conftest.$ac_ext >&5
7095 # Passes both tests.
7100 rm -f conftest.err conftest.$ac_ext
7103 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7104 rm -f conftest.err conftest.$ac_ext
7105 if $ac_preproc_ok; then
7110 ac_cv_prog_CXXCPP=$CXXCPP
7113 CXXCPP=$ac_cv_prog_CXXCPP
7115 ac_cv_prog_CXXCPP=$CXXCPP
7117 { echo "$as_me:$LINENO: result
: $CXXCPP" >&5
7118 echo "${ECHO_T}$CXXCPP" >&6; }
7120 for ac_cxx_preproc_warn_flag in '' yes
7122 # Use a header file that comes with gcc, so configuring glibc
7123 # with a fresh cross-compiler works.
7124 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7125 # <limits.h> exists even on freestanding compilers.
7126 # On the NeXT, cc -E runs the code through the compiler's parser,
7127 # not just through cpp. "Syntax error
" is here to catch this case.
7128 cat >conftest.$ac_ext <<_ACEOF
7131 cat confdefs.h >>conftest.$ac_ext
7132 cat >>conftest.$ac_ext <<_ACEOF
7133 /* end confdefs.h. */
7135 # include <limits.h>
7137 # include <assert.h>
7141 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7144 *) ac_try_echo=$ac_try;;
7146 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7147 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7149 grep -v '^ *+' conftest.er1 >conftest.err
7151 cat conftest.err >&5
7152 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7153 (exit $ac_status); } >/dev/null && {
7154 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7155 test ! -s conftest.err
7159 echo "$as_me: failed program was
:" >&5
7160 sed 's/^/| /' conftest.$ac_ext >&5
7162 # Broken: fails on valid input.
7166 rm -f conftest.err conftest.$ac_ext
7168 # OK, works on sane cases. Now check whether nonexistent headers
7169 # can be detected and how.
7170 cat >conftest.$ac_ext <<_ACEOF
7173 cat confdefs.h >>conftest.$ac_ext
7174 cat >>conftest.$ac_ext <<_ACEOF
7175 /* end confdefs.h. */
7176 #include <ac_nonexistent.h>
7178 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7181 *) ac_try_echo=$ac_try;;
7183 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7184 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7186 grep -v '^ *+' conftest.er1 >conftest.err
7188 cat conftest.err >&5
7189 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7190 (exit $ac_status); } >/dev/null && {
7191 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7192 test ! -s conftest.err
7194 # Broken: success on invalid input.
7197 echo "$as_me: failed program was
:" >&5
7198 sed 's/^/| /' conftest.$ac_ext >&5
7200 # Passes both tests.
7205 rm -f conftest.err conftest.$ac_ext
7208 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7209 rm -f conftest.err conftest.$ac_ext
7210 if $ac_preproc_ok; then
7213 { { echo "$as_me:$LINENO: error
: C
++ preprocessor
\"$CXXCPP\" fails sanity check
7214 See \
`config.log' for more details." >&5
7215 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7216 See \`config.log
' for more details." >&2;}
7217 { (exit 1); exit 1; }; }
7221 ac_cpp='$CXXCPP $CPPFLAGS'
7222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
7223 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7228 for ac_header in tr1/unordered_map
7230 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7231 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7232 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7234 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7235 echo $ECHO_N "(cached) $ECHO_C" >&6
7237 ac_res=`eval echo '${'$as_ac_Header'}'`
7238 { echo "$as_me:$LINENO: result: $ac_res" >&5
7239 echo "${ECHO_T}$ac_res" >&6; }
7241 # Is the header compilable?
7242 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7243 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7244 cat >conftest.$ac_ext <<_ACEOF
7247 cat confdefs.h >>conftest.$ac_ext
7248 cat >>conftest.$ac_ext <<_ACEOF
7249 /* end confdefs.h. */
7250 $ac_includes_default
7251 #include <$ac_header>
7253 rm -f conftest.$ac_objext
7254 if { (ac_try="$ac_compile"
7256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7257 *) ac_try_echo=$ac_try;;
7259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7260 (eval "$ac_compile") 2>conftest.er1
7262 grep -v '^
*+' conftest.er1 >conftest.err
7264 cat conftest.err >&5
7265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7266 (exit $ac_status); } && {
7267 test -z "$ac_cxx_werror_flag" ||
7268 test ! -s conftest.err
7269 } && test -s conftest.$ac_objext; then
7270 ac_header_compiler=yes
7272 echo "$as_me: failed program was:" >&5
7273 sed 's
/^
/|
/' conftest.$ac_ext >&5
7275 ac_header_compiler=no
7278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7279 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7280 echo "${ECHO_T}$ac_header_compiler" >&6; }
7282 # Is the header present?
7283 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7284 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7285 cat >conftest.$ac_ext <<_ACEOF
7288 cat confdefs.h >>conftest.$ac_ext
7289 cat >>conftest.$ac_ext <<_ACEOF
7290 /* end confdefs.h. */
7291 #include <$ac_header>
7293 if { (ac_try="$ac_cpp conftest.$ac_ext"
7295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7296 *) ac_try_echo=$ac_try;;
7298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7299 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7301 grep -v '^
*+' conftest.er1 >conftest.err
7303 cat conftest.err >&5
7304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7305 (exit $ac_status); } >/dev/null && {
7306 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7307 test ! -s conftest.err
7309 ac_header_preproc=yes
7311 echo "$as_me: failed program was:" >&5
7312 sed 's
/^
/|
/' conftest.$ac_ext >&5
7314 ac_header_preproc=no
7317 rm -f conftest.err conftest.$ac_ext
7318 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7319 echo "${ECHO_T}$ac_header_preproc" >&6; }
7321 # So? What about this header?
7322 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7324 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7325 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7326 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
7327 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
7328 ac_header_preproc=yes
7331 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7332 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7333 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7334 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7335 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7336 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7337 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7338 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7339 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
7340 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
7341 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7342 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7344 ## ------------------------------------------- ##
7345 ## Report this to systemtap@sources.redhat.com ##
7346 ## ------------------------------------------- ##
7348 ) | sed "s/^/$as_me: WARNING: /" >&2
7351 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7353 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7354 echo $ECHO_N "(cached) $ECHO_C" >&6
7356 eval "$as_ac_Header=\$ac_header_preproc"
7358 ac_res=`eval echo '${'$as_ac_Header'}'`
7359 { echo "$as_me:$LINENO: result: $ac_res" >&5
7360 echo "${ECHO_T}$ac_res" >&6; }
7363 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7364 cat >>confdefs.h <<_ACEOF
7365 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7373 ac_cpp='$CPP $CPPFLAGS'
7374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
7375 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7380 if test $build_elfutils = yes; then
7381 case "$with_elfutils" in
7382 /*) elfutils_srcdir="$with_elfutils" ;;
7383 *) elfutils_srcdir="../$with_elfutils" ;;
7385 { echo "$as_me:$LINENO: running ${elfutils_srcdir}/configure" >&5
7386 echo "$as_me: running ${elfutils_srcdir}/configure" >&6;}
7387 # Our libdw.so's libebl will
look in $ORIGIN/..
/lib
/... but that
7388 # $ORIGIN is where libdw.so resides, which is not where there is a ../lib.
7389 # Note that $libdir might be using a quoted use of $exec_prefix or $prefix.
7390 # So we must make sure to pass those settings to elfutils configure.
7391 elfutils_rpath
="-Wl,--enable-new-dtags,-rpath,${libdir}/${PACKAGE_NAME}"
7393 (mkdir
-p build-elfutils
&& cd build-elfutils
&&
7394 ${elfutils_srcdir}/configure
--enable-libebl-subdir=${PACKAGE_NAME} \
7395 --includedir="${here}/include-elfutils" \
7396 --libdir="${here}/lib-elfutils" \
7397 --exec-prefix="$exec_prefix" \
7398 --prefix="$prefix" \
7399 CFLAGS
="${CFLAGS/-Wall/}" \
7400 LDFLAGS
="$LDFLAGS $elfutils_rpath" &&
7401 make install-data
# so that elfutils/version.h - if any - may be found.
7405 save_CPPFLAGS
=${CPPFLAGS}
7406 CPPFLAGS
="${CPPFLAGS} -Iinclude-elfutils" # in case bundled elfutils
7408 for ac_header
in elfutils
/version.h
7410 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7411 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7412 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7414 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7415 echo $ECHO_N "(cached) $ECHO_C" >&6
7417 ac_res
=`eval echo '${'$as_ac_Header'}'`
7418 { echo "$as_me:$LINENO: result: $ac_res" >&5
7419 echo "${ECHO_T}$ac_res" >&6; }
7421 # Is the header compilable?
7422 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7423 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7424 cat >conftest.
$ac_ext <<_ACEOF
7427 cat confdefs.h
>>conftest.
$ac_ext
7428 cat >>conftest.
$ac_ext <<_ACEOF
7429 /* end confdefs.h. */
7430 $ac_includes_default
7431 #include <$ac_header>
7433 rm -f conftest.
$ac_objext
7434 if { (ac_try
="$ac_compile"
7436 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7437 *) ac_try_echo=$ac_try;;
7439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7440 (eval "$ac_compile") 2>conftest.er1
7442 grep -v '^ *+' conftest.er1 >conftest.err
7444 cat conftest.err >&5
7445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 (exit $ac_status); } && {
7447 test -z "$ac_c_werror_flag" ||
7448 test ! -s conftest.err
7449 } && test -s conftest.$ac_objext; then
7450 ac_header_compiler=yes
7452 echo "$as_me: failed program was:" >&5
7453 sed 's/^/| /' conftest.$ac_ext >&5
7455 ac_header_compiler=no
7458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7459 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7460 echo "${ECHO_T}$ac_header_compiler" >&6; }
7462 # Is the header present?
7463 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7464 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7465 cat >conftest.$ac_ext <<_ACEOF
7468 cat confdefs.h >>conftest.$ac_ext
7469 cat >>conftest.$ac_ext <<_ACEOF
7470 /* end confdefs.h. */
7471 #include <$ac_header>
7473 if { (ac_try="$ac_cpp conftest.$ac_ext"
7475 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7476 *) ac_try_echo
=$ac_try;;
7478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7479 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7481 grep -v '^ *+' conftest.er1
>conftest.err
7483 cat conftest.err
>&5
7484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7485 (exit $ac_status); } >/dev
/null
&& {
7486 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7487 test ! -s conftest.err
7489 ac_header_preproc
=yes
7491 echo "$as_me: failed program was:" >&5
7492 sed 's/^/| /' conftest.
$ac_ext >&5
7494 ac_header_preproc
=no
7497 rm -f conftest.err conftest.
$ac_ext
7498 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7499 echo "${ECHO_T}$ac_header_preproc" >&6; }
7501 # So? What about this header?
7502 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7504 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7505 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7507 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7508 ac_header_preproc
=yes
7511 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7512 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7513 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7514 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7515 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7516 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7517 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7518 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7519 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7520 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7521 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7522 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7524 ## ------------------------------------------- ##
7525 ## Report this to systemtap@sources.redhat.com ##
7526 ## ------------------------------------------- ##
7528 ) |
sed "s/^/$as_me: WARNING: /" >&2
7531 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7532 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7533 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7534 echo $ECHO_N "(cached) $ECHO_C" >&6
7536 eval "$as_ac_Header=\$ac_header_preproc"
7538 ac_res
=`eval echo '${'$as_ac_Header'}'`
7539 { echo "$as_me:$LINENO: result: $ac_res" >&5
7540 echo "${ECHO_T}$ac_res" >&6; }
7543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7544 cat >>confdefs.h
<<_ACEOF
7545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7552 CPPFLAGS
="$save_CPPFLAGS"
7554 ac_config_headers
="$ac_config_headers config.h:config.in"
7556 ac_config_files
="$ac_config_files Makefile doc/Makefile doc/SystemTap_Tapset_Reference/Makefile stap.1 stapprobes.5 stapfuncs.5 stapvars.5 stapex.5 staprun.8 stap-server.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"
7558 subdirs
="$subdirs testsuite"
7560 ac_config_files
="$ac_config_files run-stap"
7562 cat >confcache
<<\_ACEOF
7563 # This file is a shell script that caches the results of configure
7564 # tests run on this system so they can be shared between configure
7565 # scripts and configure runs, see configure's option --config-cache.
7566 # It is not useful on other systems. If it contains results you don't
7567 # want to keep, you may remove or edit it.
7569 # config.status only pays attention to the cache file if you give it
7570 # the --recheck option to rerun configure.
7572 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7573 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7578 # The following way of writing the cache mishandles newlines in values,
7579 # but we know of no workaround that is simple, portable, and efficient.
7580 # So, we kill variables containing newlines.
7581 # Ultrix sh set writes to stderr and can't be redirected directly,
7582 # and sets the high bit in the cache file unless we assign to the vars.
7584 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7585 eval ac_val
=\$
$ac_var
7589 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
7590 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
7593 _ | IFS | as_nl
) ;; #(
7594 *) $as_unset $ac_var ;;
7600 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7601 *${as_nl}ac_space
=\
*)
7602 # `set' does not quote correctly, so add quotes (double-quote
7603 # substitution turns \\\\ into \\, and sed turns \\ into \).
7606 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7609 # `set' quotes correctly as required by POSIX, so do not add quotes.
7610 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7619 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7621 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7623 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7624 if test -w "$cache_file"; then
7625 test "x$cache_file" != "x/dev/null" &&
7626 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
7627 echo "$as_me: updating cache $cache_file" >&6;}
7628 cat confcache
>$cache_file
7630 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
7631 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7636 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7637 # Let make expand exec_prefix.
7638 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7640 DEFS
=-DHAVE_CONFIG_H
7644 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7645 # 1. Remove the extension, and $U if already installed.
7646 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7647 ac_i
=`echo "$ac_i" | sed "$ac_script"`
7648 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7649 # will be set to the directory where LIBOBJS objects are built.
7650 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7651 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
7655 LTLIBOBJS
=$ac_ltlibobjs
7658 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7659 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
7660 Usually this means the macro was only invoked conditionally." >&5
7661 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
7662 Usually this means the macro was only invoked conditionally." >&2;}
7663 { (exit 1); exit 1; }; }
7665 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7666 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7667 Usually this means the macro was only invoked conditionally." >&5
7668 echo "$as_me: error: conditional \"AMDEP\" was never defined.
7669 Usually this means the macro was only invoked conditionally." >&2;}
7670 { (exit 1); exit 1; }; }
7672 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7673 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7674 Usually this means the macro was only invoked conditionally." >&5
7675 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7676 Usually this means the macro was only invoked conditionally." >&2;}
7677 { (exit 1); exit 1; }; }
7679 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7680 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
7681 Usually this means the macro was only invoked conditionally." >&5
7682 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
7683 Usually this means the macro was only invoked conditionally." >&2;}
7684 { (exit 1); exit 1; }; }
7686 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7687 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7688 Usually this means the macro was only invoked conditionally." >&5
7689 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7690 Usually this means the macro was only invoked conditionally." >&2;}
7691 { (exit 1); exit 1; }; }
7693 if test -z "${BUILD_CRASHMOD_TRUE}" && test -z "${BUILD_CRASHMOD_FALSE}"; then
7694 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CRASHMOD\" was never defined.
7695 Usually this means the macro was only invoked conditionally." >&5
7696 echo "$as_me: error: conditional \"BUILD_CRASHMOD\" was never defined.
7697 Usually this means the macro was only invoked conditionally." >&2;}
7698 { (exit 1); exit 1; }; }
7700 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
7701 { { echo "$as_me:$LINENO: error: conditional \"BUILD_DOCS\" was never defined.
7702 Usually this means the macro was only invoked conditionally." >&5
7703 echo "$as_me: error: conditional \"BUILD_DOCS\" was never defined.
7704 Usually this means the macro was only invoked conditionally." >&2;}
7705 { (exit 1); exit 1; }; }
7707 if test -z "${BUILD_REFDOCS_TRUE}" && test -z "${BUILD_REFDOCS_FALSE}"; then
7708 { { echo "$as_me:$LINENO: error: conditional \"BUILD_REFDOCS\" was never defined.
7709 Usually this means the macro was only invoked conditionally." >&5
7710 echo "$as_me: error: conditional \"BUILD_REFDOCS\" was never defined.
7711 Usually this means the macro was only invoked conditionally." >&2;}
7712 { (exit 1); exit 1; }; }
7714 if test -z "${BUILD_SERVER_TRUE}" && test -z "${BUILD_SERVER_FALSE}"; then
7715 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SERVER\" was never defined.
7716 Usually this means the macro was only invoked conditionally." >&5
7717 echo "$as_me: error: conditional \"BUILD_SERVER\" was never defined.
7718 Usually this means the macro was only invoked conditionally." >&2;}
7719 { (exit 1); exit 1; }; }
7721 if test -z "${BUILD_ELFUTILS_TRUE}" && test -z "${BUILD_ELFUTILS_FALSE}"; then
7722 { { echo "$as_me:$LINENO: error: conditional \"BUILD_ELFUTILS\" was never defined.
7723 Usually this means the macro was only invoked conditionally." >&5
7724 echo "$as_me: error: conditional \"BUILD_ELFUTILS\" was never defined.
7725 Usually this means the macro was only invoked conditionally." >&2;}
7726 { (exit 1); exit 1; }; }
7729 : ${CONFIG_STATUS=./config.status}
7730 ac_clean_files_save
=$ac_clean_files
7731 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7732 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7733 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7734 cat >$CONFIG_STATUS <<_ACEOF
7736 # Generated by $as_me.
7737 # Run this file to recreate the current configuration.
7738 # Compiler output produced by configure, useful for debugging
7739 # configure, is in config.log if it exists.
7744 SHELL=\${CONFIG_SHELL-$SHELL}
7747 cat >>$CONFIG_STATUS <<\_ACEOF
7748 ## --------------------- ##
7749 ## M4sh Initialization. ##
7750 ## --------------------- ##
7752 # Be more Bourne compatible
7753 DUALCASE
=1; export DUALCASE
# for MKS sh
7754 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7757 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7758 # is contrary to our usage. Disable this feature.
7759 alias -g '${1+"$@"}'='"$@"'
7760 setopt NO_GLOB_SUBST
7762 case `(set -o) 2>/dev/null` in
7763 *posix
*) set -o posix
;;
7772 # Avoid depending upon Character Ranges.
7773 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7774 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7775 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7776 as_cr_digits
='0123456789'
7777 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7779 # The user is always right.
7780 if test "${PATH_SEPARATOR+set}" != set; then
7781 echo "#! /bin/sh" >conf$$.sh
7782 echo "exit 0" >>conf$$.sh
7784 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7792 # Support unset when possible.
7793 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7801 # We need space, tab and new line, in precisely that order. Quoting is
7802 # there to prevent editors from complaining about space-tab.
7803 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7804 # splitting by setting IFS to empty value.)
7809 # Find who we are. Look in the path if we contain no directory separator.
7811 *[\\/]* ) as_myself
=$0 ;;
7812 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7816 test -z "$as_dir" && as_dir
=.
7817 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7823 # We did not find ourselves, most probably we were run as `sh COMMAND'
7824 # in which case we are not to be found in the path.
7825 if test "x$as_myself" = x
; then
7828 if test ! -f "$as_myself"; then
7829 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7830 { (exit 1); exit 1; }
7833 # Work around bugs in pre-3.0 UWIN ksh.
7834 for as_var
in ENV MAIL MAILPATH
7835 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
7843 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7844 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7845 LC_TELEPHONE LC_TIME
7847 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7848 eval $as_var=C
; export $as_var
7850 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
7854 # Required to use basename.
7855 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7856 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7862 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7863 as_basename
=basename
7869 # Name of the executable.
7870 as_me
=`$as_basename -- "$0" ||
7871 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7872 X"$0" : 'X\(//\)$' \| \
7873 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7875 sed '/^.*\/\([^/][^/]*\)\/*$/{
7896 test "x$as_lineno_1" != "x$as_lineno_2" &&
7897 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
7899 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7900 # uniformly replaced by the line number. The first 'sed' inserts a
7901 # line-number line after each line using $LINENO; the second 'sed'
7902 # does the real work. The second script uses 'N' to pair each
7903 # line-number line with the line containing $LINENO, and appends
7904 # trailing '-' during substitution so that $LINENO is not a special
7906 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7907 # scripts with optimization help from Paolo Bonzini. Blame Lee
7908 # E. McMahon (1931-1989) for sed's syntax. :-)
7920 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7924 chmod +x
"$as_me.lineno" ||
7925 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7926 { (exit 1); exit 1; }; }
7928 # Don't try to exec as it changes $[0], causing all sort of problems
7929 # (the dirname of $[0] is not the place where we might find the
7930 # original and so on. Autoconf is especially sensitive to this).
7932 # Exit status is that of the last command.
7937 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7943 ECHO_C
= ECHO_N
= ECHO_T
=
7946 case `echo 'x\c'` in
7947 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7954 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7955 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7961 rm -f conf$$ conf$$.exe conf$$.
file
7962 if test -d conf$$.dir
; then
7963 rm -f conf$$.dir
/conf$$.
file
7969 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7971 # ... but there are two gotchas:
7972 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7973 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7974 # In both cases, we have to default to `cp -p'.
7975 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7977 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7982 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7983 rmdir conf$$.dir
2>/dev
/null
7985 if mkdir
-p .
2>/dev
/null
; then
7988 test -d .
/-p && rmdir .
/-p
7992 if test -x / >/dev
/null
2>&1; then
7995 if ls -dL / >/dev
/null
2>&1; then
8002 if test -d "$1"; then
8008 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8009 ???[sx]*):;;*)false;;esac;fi
8013 as_executable_p
=$as_test_x
8015 # Sed expression to map a string onto a valid CPP name.
8016 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8018 # Sed expression to map a string onto a valid variable name.
8019 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8024 # Save the log message, to keep $[0] and so on meaningful, and to
8025 # report actual input values of CONFIG_FILES etc. instead of their
8026 # values after options handling.
8028 This file was extended by systemtap $as_me 0.8, which was
8029 generated by GNU Autoconf 2.61. Invocation command line was
8031 CONFIG_FILES = $CONFIG_FILES
8032 CONFIG_HEADERS = $CONFIG_HEADERS
8033 CONFIG_LINKS = $CONFIG_LINKS
8034 CONFIG_COMMANDS = $CONFIG_COMMANDS
8037 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8042 cat >>$CONFIG_STATUS <<_ACEOF
8043 # Files that config.status was made for.
8044 config_files="$ac_config_files"
8045 config_headers="$ac_config_headers"
8046 config_commands="$ac_config_commands"
8050 cat >>$CONFIG_STATUS <<\_ACEOF
8052 \`$as_me' instantiates files from templates according to the
8053 current configuration.
8055 Usage: $0 [OPTIONS] [FILE]...
8057 -h, --help print this help, then exit
8058 -V, --version print version number and configuration settings, then exit
8059 -q, --quiet do not print progress messages
8060 -d, --debug don't remove temporary files
8061 --recheck update $as_me by reconfiguring in the same conditions
8062 --file=FILE[:TEMPLATE]
8063 instantiate the configuration file FILE
8064 --header=FILE[:TEMPLATE]
8065 instantiate the configuration header FILE
8067 Configuration files:
8070 Configuration headers:
8073 Configuration commands:
8076 Report bugs to <bug-autoconf@gnu.org>."
8079 cat >>$CONFIG_STATUS <<_ACEOF
8081 systemtap config.status 0.8
8082 configured by $0, generated by GNU Autoconf 2.61,
8083 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8085 Copyright (C) 2006 Free Software Foundation, Inc.
8086 This config.status script is free software; the Free Software Foundation
8087 gives unlimited permission to copy, distribute and modify it."
8095 cat >>$CONFIG_STATUS <<\_ACEOF
8096 # If no file are specified by the user, then we need to provide default
8097 # value. By we need to know if files were specified by the user.
8103 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8104 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8115 # Handling of the options.
8116 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8118 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8119 echo "$ac_cs_version"; exit ;;
8120 --debug |
--debu |
--deb |
--de |
--d |
-d )
8122 --file |
--fil |
--fi |
--f )
8124 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
8125 ac_need_defaults
=false
;;
8126 --header |
--heade |
--head |
--hea )
8128 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
8129 ac_need_defaults
=false
;;
8131 # Conflict between --help and --header
8132 { echo "$as_me: error: ambiguous option: $1
8133 Try \`$0 --help' for more information." >&2
8134 { (exit 1); exit 1; }; };;
8135 --help |
--hel |
-h )
8136 echo "$ac_cs_usage"; exit ;;
8137 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8138 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8142 -*) { echo "$as_me: error: unrecognized option: $1
8143 Try \`$0 --help' for more information." >&2
8144 { (exit 1); exit 1; }; } ;;
8146 *) ac_config_targets
="$ac_config_targets $1"
8147 ac_need_defaults
=false
;;
8153 ac_configure_extra_args
=
8155 if $ac_cs_silent; then
8157 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8161 cat >>$CONFIG_STATUS <<_ACEOF
8162 if \$ac_cs_recheck; then
8163 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8166 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8170 cat >>$CONFIG_STATUS <<\_ACEOF
8174 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8175 ## Running $as_me. ##
8181 cat >>$CONFIG_STATUS <<_ACEOF
8185 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8189 cat >>$CONFIG_STATUS <<\_ACEOF
8191 # Handling of arguments.
8192 for ac_config_target
in $ac_config_targets
8194 case $ac_config_target in
8195 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8196 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
8197 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8198 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
8199 "doc/SystemTap_Tapset_Reference/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/SystemTap_Tapset_Reference/Makefile" ;;
8200 "stap.1") CONFIG_FILES
="$CONFIG_FILES stap.1" ;;
8201 "stapprobes.5") CONFIG_FILES
="$CONFIG_FILES stapprobes.5" ;;
8202 "stapfuncs.5") CONFIG_FILES
="$CONFIG_FILES stapfuncs.5" ;;
8203 "stapvars.5") CONFIG_FILES
="$CONFIG_FILES stapvars.5" ;;
8204 "stapex.5") CONFIG_FILES
="$CONFIG_FILES stapex.5" ;;
8205 "staprun.8") CONFIG_FILES
="$CONFIG_FILES staprun.8" ;;
8206 "stap-server.8") CONFIG_FILES
="$CONFIG_FILES stap-server.8" ;;
8207 "man/stapprobes.iosched.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.iosched.5" ;;
8208 "man/stapprobes.netdev.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.netdev.5" ;;
8209 "man/stapprobes.nfs.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.nfs.5" ;;
8210 "man/stapprobes.nfsd.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.nfsd.5" ;;
8211 "man/stapprobes.pagefault.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.pagefault.5" ;;
8212 "man/stapprobes.process.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.process.5" ;;
8213 "man/stapprobes.rpc.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.rpc.5" ;;
8214 "man/stapprobes.scsi.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.scsi.5" ;;
8215 "man/stapprobes.signal.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.signal.5" ;;
8216 "man/stapprobes.socket.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.socket.5" ;;
8217 "man/stapprobes.tcp.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.tcp.5" ;;
8218 "man/stapprobes.udp.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.udp.5" ;;
8219 "run-stap") CONFIG_FILES
="$CONFIG_FILES run-stap" ;;
8221 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8222 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8223 { (exit 1); exit 1; }; };;
8228 # If the user did not use the arguments to specify the items to instantiate,
8229 # then the envvar interface is used. Set only those that are not.
8230 # We use the long form for the default assignment because of an extremely
8231 # bizarre bug on SunOS 4.1.3.
8232 if $ac_need_defaults; then
8233 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8234 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8235 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8238 # Have a temporary directory for convenience. Make it in the build tree
8239 # simply because there is no reason against having it here, and in addition,
8240 # creating and moving files from /tmp can sometimes cause problems.
8241 # Hook for its removal unless debugging.
8242 # Note that there is a small window in which the directory will not be cleaned:
8243 # after its creation but before its name has been assigned to `$tmp'.
8247 trap 'exit_status=$?
8248 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8250 trap '{ (exit 1); exit 1; }' 1 2 13 15
8252 # Create a (secure) tmp directory for tmp files.
8255 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8256 test -n "$tmp" && test -d "$tmp"
8259 tmp
=.
/conf$$
-$RANDOM
8260 (umask 077 && mkdir
"$tmp")
8263 echo "$me: cannot create a temporary directory in ." >&2
8264 { (exit 1); exit 1; }
8268 # Set up the sed scripts for CONFIG_FILES section.
8271 # No need to generate the scripts if there are no CONFIG_FILES.
8272 # This happens for instance when ./config.status config.h
8273 if test -n "$CONFIG_FILES"; then
8280 for ac_last_try
in false false false false false
:; do
8281 cat >conf$
$subs.
sed <<_ACEOF
8282 SHELL!$SHELL$ac_delim
8283 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
8284 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
8285 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
8286 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
8287 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
8288 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
8289 exec_prefix!$exec_prefix$ac_delim
8290 prefix!$prefix$ac_delim
8291 program_transform_name!$program_transform_name$ac_delim
8292 bindir!$bindir$ac_delim
8293 sbindir!$sbindir$ac_delim
8294 libexecdir!$libexecdir$ac_delim
8295 datarootdir!$datarootdir$ac_delim
8296 datadir!$datadir$ac_delim
8297 sysconfdir!$sysconfdir$ac_delim
8298 sharedstatedir!$sharedstatedir$ac_delim
8299 localstatedir!$localstatedir$ac_delim
8300 includedir!$includedir$ac_delim
8301 oldincludedir!$oldincludedir$ac_delim
8302 docdir!$docdir$ac_delim
8303 infodir!$infodir$ac_delim
8304 htmldir!$htmldir$ac_delim
8305 dvidir!$dvidir$ac_delim
8306 pdfdir!$pdfdir$ac_delim
8307 psdir!$psdir$ac_delim
8308 libdir!$libdir$ac_delim
8309 localedir!$localedir$ac_delim
8310 mandir!$mandir$ac_delim
8312 ECHO_C!$ECHO_C$ac_delim
8313 ECHO_N!$ECHO_N$ac_delim
8314 ECHO_T!$ECHO_T$ac_delim
8316 build_alias!$build_alias$ac_delim
8317 host_alias!$host_alias$ac_delim
8318 target_alias!$target_alias$ac_delim
8319 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
8320 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
8321 INSTALL_DATA!$INSTALL_DATA$ac_delim
8322 am__isrc!$am__isrc$ac_delim
8323 CYGPATH_W!$CYGPATH_W$ac_delim
8324 PACKAGE!$PACKAGE$ac_delim
8325 VERSION!$VERSION$ac_delim
8326 ACLOCAL!$ACLOCAL$ac_delim
8327 AUTOCONF!$AUTOCONF$ac_delim
8328 AUTOMAKE!$AUTOMAKE$ac_delim
8329 AUTOHEADER!$AUTOHEADER$ac_delim
8330 MAKEINFO!$MAKEINFO$ac_delim
8331 install_sh!$install_sh$ac_delim
8332 STRIP!$STRIP$ac_delim
8333 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
8334 mkdir_p!$mkdir_p$ac_delim
8336 SET_MAKE!$SET_MAKE$ac_delim
8337 am__leading_dot!$am__leading_dot$ac_delim
8338 AMTAR!$AMTAR$ac_delim
8339 am__tar!$am__tar$ac_delim
8340 am__untar!$am__untar$ac_delim
8341 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
8342 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
8343 MAINT!$MAINT$ac_delim
8346 CFLAGS!$CFLAGS$ac_delim
8347 LDFLAGS!$LDFLAGS$ac_delim
8348 CPPFLAGS!$CPPFLAGS$ac_delim
8349 ac_ct_CC!$ac_ct_CC$ac_delim
8350 EXEEXT!$EXEEXT$ac_delim
8351 OBJEXT!$OBJEXT$ac_delim
8352 DEPDIR!$DEPDIR$ac_delim
8353 am__include!$am__include$ac_delim
8354 am__quote!$am__quote$ac_delim
8355 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
8356 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
8357 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
8358 CCDEPMODE!$CCDEPMODE$ac_delim
8359 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
8360 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
8362 CXXFLAGS!$CXXFLAGS$ac_delim
8363 ac_ct_CXX!$ac_ct_CXX$ac_delim
8364 CXXDEPMODE!$CXXDEPMODE$ac_delim
8365 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
8366 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
8369 EGREP!$EGREP$ac_delim
8371 ANSI2KNR!$ANSI2KNR$ac_delim
8372 RANLIB!$RANLIB$ac_delim
8373 PIELDFLAGS!$PIELDFLAGS$ac_delim
8374 sqlite3_LIBS!$sqlite3_LIBS$ac_delim
8375 staplog_CPPFLAGS!$staplog_CPPFLAGS$ac_delim
8376 BUILD_CRASHMOD_TRUE!$BUILD_CRASHMOD_TRUE$ac_delim
8377 BUILD_CRASHMOD_FALSE!$BUILD_CRASHMOD_FALSE$ac_delim
8378 have_latex!$have_latex$ac_delim
8381 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
8383 elif $ac_last_try; then
8384 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8385 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8386 { (exit 1); exit 1; }; }
8388 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
8392 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8393 if test -n "$ac_eof"; then
8394 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
8395 ac_eof
=`expr $ac_eof + 1`
8398 cat >>$CONFIG_STATUS <<_ACEOF
8399 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
8400 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8403 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
8404 s/^/s,@/; s/!/@,|#_!!_#|/
8407 s/'"$ac_delim"'$/,g/; t
8409 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8410 ' >>$CONFIG_STATUS <conf$
$subs.
sed
8411 rm -f conf$
$subs.
sed
8412 cat >>$CONFIG_STATUS <<_ACEOF
8418 for ac_last_try
in false false false false false
:; do
8419 cat >conf$
$subs.
sed <<_ACEOF
8420 have_dvips!$have_dvips$ac_delim
8421 have_ps2pdf!$have_ps2pdf$ac_delim
8422 have_latex2html!$have_latex2html$ac_delim
8423 BUILD_DOCS_TRUE!$BUILD_DOCS_TRUE$ac_delim
8424 BUILD_DOCS_FALSE!$BUILD_DOCS_FALSE$ac_delim
8425 have_xmlto!$have_xmlto$ac_delim
8426 BUILD_REFDOCS_TRUE!$BUILD_REFDOCS_TRUE$ac_delim
8427 BUILD_REFDOCS_FALSE!$BUILD_REFDOCS_FALSE$ac_delim
8428 PKG_CONFIG!$PKG_CONFIG$ac_delim
8429 nss_CFLAGS!$nss_CFLAGS$ac_delim
8430 nss_LIBS!$nss_LIBS$ac_delim
8431 nspr_CFLAGS!$nspr_CFLAGS$ac_delim
8432 nspr_LIBS!$nspr_LIBS$ac_delim
8433 BUILD_SERVER_TRUE!$BUILD_SERVER_TRUE$ac_delim
8434 BUILD_SERVER_FALSE!$BUILD_SERVER_FALSE$ac_delim
8435 BUILD_ELFUTILS_TRUE!$BUILD_ELFUTILS_TRUE$ac_delim
8436 BUILD_ELFUTILS_FALSE!$BUILD_ELFUTILS_FALSE$ac_delim
8437 elfutils_abs_srcdir!$elfutils_abs_srcdir$ac_delim
8438 stap_LIBS!$stap_LIBS$ac_delim
8440 PROCFLAGS!$PROCFLAGS$ac_delim
8441 CXXCPP!$CXXCPP$ac_delim
8442 subdirs!$subdirs$ac_delim
8443 LIBOBJS!$LIBOBJS$ac_delim
8444 LTLIBOBJS!$LTLIBOBJS$ac_delim
8447 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 25; then
8449 elif $ac_last_try; then
8450 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8451 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8452 { (exit 1); exit 1; }; }
8454 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
8458 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8459 if test -n "$ac_eof"; then
8460 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
8461 ac_eof
=`expr $ac_eof + 1`
8464 cat >>$CONFIG_STATUS <<_ACEOF
8465 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
8466 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
8469 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
8470 s/^/s,@/; s/!/@,|#_!!_#|/
8473 s/'"$ac_delim"'$/,g/; t
8475 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8476 ' >>$CONFIG_STATUS <conf$
$subs.
sed
8477 rm -f conf$
$subs.
sed
8478 cat >>$CONFIG_STATUS <<_ACEOF
8485 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8486 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8487 # trailing colons and then remove the whole line if VPATH becomes empty
8488 # (actually we leave an empty line to preserve line numbers).
8489 if test "x$srcdir" = x.
; then
8490 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8494 s/^\([^=]*=[ ]*\):*/\1/
8500 cat >>$CONFIG_STATUS <<\_ACEOF
8501 fi # test -n "$CONFIG_FILES"
8504 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
8507 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8509 case $ac_mode$ac_tag in
8511 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
8512 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
8513 { (exit 1); exit 1; }; };;
8514 :[FH
]-) ac_tag
=-:-;;
8515 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8532 -) ac_f
="$tmp/stdin";;
8533 *) # Look for the file first in the build tree, then in the source tree
8534 # (if the path is not absolute). The absolute path cannot be DOS-style,
8535 # because $ac_f cannot contain `:'.
8539 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8541 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8542 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8543 { (exit 1); exit 1; }; };;
8545 ac_file_inputs
="$ac_file_inputs $ac_f"
8548 # Let's still pretend it is `configure' which instantiates (i.e., don't
8549 # use $as_me), people would be surprised to read:
8550 # /* config.h. Generated by config.status. */
8551 configure_input
="Generated from "`IFS=:
8552 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
8553 if test x
"$ac_file" != x-
; then
8554 configure_input
="$ac_file. $configure_input"
8555 { echo "$as_me:$LINENO: creating $ac_file" >&5
8556 echo "$as_me: creating $ac_file" >&6;}
8560 *:-:* |
*:-) cat >"$tmp/stdin";;
8565 ac_dir
=`$as_dirname -- "$ac_file" ||
8566 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8567 X"$ac_file" : 'X\(//\)[^/]' \| \
8568 X"$ac_file" : 'X\(//\)$' \| \
8569 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8571 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8590 -*) as_dir
=.
/$as_dir;;
8592 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
8596 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8597 *) as_qdir
=$as_dir;;
8599 as_dirs
="'$as_qdir' $as_dirs"
8600 as_dir
=`$as_dirname -- "$as_dir" ||
8601 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8602 X"$as_dir" : 'X\(//\)[^/]' \| \
8603 X"$as_dir" : 'X\(//\)$' \| \
8604 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8606 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8623 test -d "$as_dir" && break
8625 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8626 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8627 echo "$as_me: error: cannot create directory $as_dir" >&2;}
8628 { (exit 1); exit 1; }; }; }
8632 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8634 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8635 # A ".." for each directory in $ac_dir_suffix.
8636 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
8637 case $ac_top_builddir_sub in
8638 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8639 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8642 ac_abs_top_builddir
=$ac_pwd
8643 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8644 # for backward compatibility:
8645 ac_top_builddir
=$ac_top_build_prefix
8648 .
) # We are building in place.
8650 ac_top_srcdir
=$ac_top_builddir_sub
8651 ac_abs_top_srcdir
=$ac_pwd ;;
8652 [\\/]* | ?
:[\\/]* ) # Absolute name.
8653 ac_srcdir
=$srcdir$ac_dir_suffix;
8654 ac_top_srcdir
=$srcdir
8655 ac_abs_top_srcdir
=$srcdir ;;
8657 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8658 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8659 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8661 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8671 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8672 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8676 [\\/$
]* | ?
:[\\/]* ) ;;
8677 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
8681 cat >>$CONFIG_STATUS <<\_ACEOF
8682 # If the template does not know about datarootdir, expand it.
8683 # FIXME: This hack should be removed a few years after 2.60.
8684 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8686 case `sed -n '/datarootdir/ {
8695 ' $ac_file_inputs` in
8696 *datarootdir
*) ac_datarootdir_seen
=yes;;
8697 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8698 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8699 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8701 cat >>$CONFIG_STATUS <<_ACEOF
8702 ac_datarootdir_hack='
8703 s&@datadir@&$datadir&g
8704 s&@docdir@&$docdir&g
8705 s&@infodir@&$infodir&g
8706 s&@localedir@&$localedir&g
8707 s&@mandir@&$mandir&g
8708 s&\\\${datarootdir}&$datarootdir&g' ;;
8712 # Neutralize VPATH when `$srcdir' = `.'.
8713 # Shell code in configure.ac might set extrasub.
8714 # FIXME: do we really want to maintain this feature?
8715 cat >>$CONFIG_STATUS <<_ACEOF
8719 cat >>$CONFIG_STATUS <<\_ACEOF
8721 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8722 s
&@configure_input@
&$configure_input&;t t
8723 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8724 s
&@srcdir@
&$ac_srcdir&;t t
8725 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8726 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8727 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8728 s
&@builddir@
&$ac_builddir&;t t
8729 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8730 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8731 s
&@INSTALL@
&$ac_INSTALL&;t t
8732 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
8733 $ac_datarootdir_hack
8734 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
8736 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8737 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
8738 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
8739 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8740 which seems to be undefined. Please make sure it is defined." >&5
8741 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8742 which seems to be undefined. Please make sure it is defined." >&2;}
8746 -) cat "$tmp/out"; rm -f "$tmp/out";;
8747 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
8756 # Transform confdefs.h into a sed script `conftest.defines', that
8757 # substitutes the proper values into config.h.in to produce config.h.
8758 rm -f conftest.defines conftest.
tail
8759 # First, append a space to every undef/define line, to ease matching.
8760 echo 's/$/ /' >conftest.defines
8761 # Then, protect against being on the right side of a sed subst, or in
8762 # an unquoted here document, in config.status. If some macros were
8763 # called several times there might be several #defines for the same
8764 # symbol, which is useless. But do not sort them, since the last
8765 # AC_DEFINE must be honored.
8766 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
8767 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
8768 # NAME is the cpp macro being defined, VALUE is the value it is being given.
8769 # PARAMS is the parameter list in the macro definition--in most cases, it's
8770 # just an empty string.
8771 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
8772 ac_dB
='\\)[ (].*,\\1define\\2'
8780 s/^[ ]*#[ ]*define[ ][ ]*//
8785 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
8786 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
8787 ' >>conftest.defines
8789 # Remove the space that was appended to ease matching.
8790 # Then replace #undef with comments. This is necessary, for
8791 # example, in the case of _POSIX_SOURCE, which is predefined and required
8792 # on some systems where configure will not decide to define it.
8793 # (The regexp can be short, since the line contains either #define or #undef.)
8795 s,^[ #]*u.*,/* & */,' >>conftest.defines
8797 # Break up conftest.defines:
8800 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
8801 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
8802 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
8804 ac_in
='$ac_file_inputs'
8805 ac_out
='"$tmp/out1"'
8806 ac_nxt
='"$tmp/out2"'
8810 # Write a here document:
8811 cat >>$CONFIG_STATUS <<_ACEOF
8812 # First, check the format of the line:
8813 cat >"\$tmp/defines.sed" <<\\CEOF
8814 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
8815 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
8819 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
8821 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
8822 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
8823 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
8824 grep . conftest.
tail >/dev
/null ||
break
8825 rm -f conftest.defines
8826 mv conftest.
tail conftest.defines
8828 rm -f conftest.defines conftest.
tail
8830 echo "ac_result=$ac_in" >>$CONFIG_STATUS
8831 cat >>$CONFIG_STATUS <<\_ACEOF
8832 if test x
"$ac_file" != x-
; then
8833 echo "/* $configure_input */" >"$tmp/config.h"
8834 cat "$ac_result" >>"$tmp/config.h"
8835 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
8836 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8837 echo "$as_me: $ac_file is unchanged" >&6;}
8840 mv "$tmp/config.h" $ac_file
8843 echo "/* $configure_input */"
8847 # Compute $ac_file's index in $config_headers.
8850 for _am_header
in $config_headers :; do
8852 $_am_arg |
$_am_arg:* )
8855 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8858 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8859 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8860 X"$_am_arg" : 'X\(//\)[^/]' \| \
8861 X"$_am_arg" : 'X\(//\)$' \| \
8862 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8880 s/.*/./; q'`/stamp-h
$_am_stamp_count
8883 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
8884 echo "$as_me: executing $ac_file commands" >&6;}
8889 case $ac_file$ac_mode in
8890 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
8891 # Strip MF so we end up with the name of the file.
8892 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8893 # Check whether this is an Automake generated Makefile or not.
8894 # We used to match only the files named `Makefile.in', but
8895 # some people rename them; so instead we look at the file content.
8896 # Grep'ing the first line is not enough: some people post-process
8897 # each Makefile.in and add a new line on top of each file to say so.
8898 # Grep'ing the whole file is not good either: AIX grep has a line
8899 # limit of 2048, but all sed's we know have understand at least 4000.
8900 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
8901 dirpart
=`$as_dirname -- "$mf" ||
8902 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8903 X"$mf" : 'X\(//\)[^/]' \| \
8904 X"$mf" : 'X\(//\)$' \| \
8905 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8907 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8927 # Extract the definition of DEPDIR, am__include, and am__quote
8928 # from the Makefile without running `make'.
8929 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8930 test -z "$DEPDIR" && continue
8931 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8932 test -z "am__include" && continue
8933 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8934 # When using ansi2knr, U may be empty or an underscore; expand it
8935 U
=`sed -n 's/^U = //p' < "$mf"`
8936 # Find all dependency output files, they are included files with
8937 # $(DEPDIR) in their names. We invoke sed twice because it is the
8938 # simplest approach to changing $(DEPDIR) to its actual value in the
8940 for file in `sed -n "
8941 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8942 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8943 # Make sure the directory exists.
8944 test -f "$dirpart/$file" && continue
8945 fdir
=`$as_dirname -- "$file" ||
8946 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8947 X"$file" : 'X\(//\)[^/]' \| \
8948 X"$file" : 'X\(//\)$' \| \
8949 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8968 { as_dir
=$dirpart/$fdir
8970 -*) as_dir
=.
/$as_dir;;
8972 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
8976 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8977 *) as_qdir
=$as_dir;;
8979 as_dirs
="'$as_qdir' $as_dirs"
8980 as_dir
=`$as_dirname -- "$as_dir" ||
8981 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8982 X"$as_dir" : 'X\(//\)[^/]' \| \
8983 X"$as_dir" : 'X\(//\)$' \| \
8984 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8986 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9003 test -d "$as_dir" && break
9005 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9006 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9007 echo "$as_me: error: cannot create directory $as_dir" >&2;}
9008 { (exit 1); exit 1; }; }; }
9009 # echo "creating $dirpart/$file"
9010 echo '# dummy' > "$dirpart/$file"
9014 "run-stap":F
) chmod +x run-stap
;;
9020 { (exit 0); exit 0; }
9022 chmod +x
$CONFIG_STATUS
9023 ac_clean_files
=$ac_clean_files_save
9026 # configure is writing to config.log, and then calls config.status.
9027 # config.status does its own redirection, appending to config.log.
9028 # Unfortunately, on DOS this fails, as config.log is still kept open
9029 # by configure, so config.status won't be able to write to it; its
9030 # output is simply discarded. So we exec the FD to /dev/null,
9031 # effectively closing config.log, so it can be properly (re)opened and
9032 # appended to by config.status. When coming back to configure, we
9033 # need to make the FD available again.
9034 if test "$no_create" != yes; then
9036 ac_config_status_args
=
9037 test "$silent" = yes &&
9038 ac_config_status_args
="$ac_config_status_args --quiet"
9040 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9042 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9043 # would make configure fail if this is the last instruction.
9044 $ac_cs_success ||
{ (exit 1); exit 1; }
9048 # CONFIG_SUBDIRS section.
9050 if test "$no_recursion" != yes; then
9052 # Remove --cache-file and --srcdir arguments so they do not pile up.
9053 ac_sub_configure_args
=
9055 eval "set x $ac_configure_args"
9059 if test -n "$ac_prev"; then
9064 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
9065 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
9066 ac_prev
=cache_file
;;
9067 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
9068 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
9071 --config-cache |
-C)
9073 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
9075 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
9077 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
9079 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
9083 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9085 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
9089 # Always prepend --prefix to ensure using the same prefix
9090 # in subdir configurations.
9091 ac_arg
="--prefix=$prefix"
9093 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9095 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
9098 if test "$silent" = yes; then
9099 ac_sub_configure_args
="--silent $ac_sub_configure_args"
9103 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
9105 # Do not complain, so a configure script can configure whichever
9106 # parts of a large source tree are present.
9107 test -d "$srcdir/$ac_dir" ||
continue
9109 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
9110 echo "$as_me:$LINENO: $ac_msg" >&5
9114 -*) as_dir
=.
/$as_dir;;
9116 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9120 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9121 *) as_qdir
=$as_dir;;
9123 as_dirs
="'$as_qdir' $as_dirs"
9124 as_dir
=`$as_dirname -- "$as_dir" ||
9125 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9126 X"$as_dir" : 'X\(//\)[^/]' \| \
9127 X"$as_dir" : 'X\(//\)$' \| \
9128 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9130 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9147 test -d "$as_dir" && break
9149 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9150 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9151 echo "$as_me: error: cannot create directory $as_dir" >&2;}
9152 { (exit 1); exit 1; }; }; }
9156 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9158 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9159 # A ".." for each directory in $ac_dir_suffix.
9160 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
9161 case $ac_top_builddir_sub in
9162 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9163 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9166 ac_abs_top_builddir
=$ac_pwd
9167 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9168 # for backward compatibility:
9169 ac_top_builddir
=$ac_top_build_prefix
9172 .
) # We are building in place.
9174 ac_top_srcdir
=$ac_top_builddir_sub
9175 ac_abs_top_srcdir
=$ac_pwd ;;
9176 [\\/]* | ?
:[\\/]* ) # Absolute name.
9177 ac_srcdir
=$srcdir$ac_dir_suffix;
9178 ac_top_srcdir
=$srcdir
9179 ac_abs_top_srcdir
=$srcdir ;;
9181 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9182 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9183 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9185 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9190 # Check for guested configure; otherwise get Cygnus style configure.
9191 if test -f "$ac_srcdir/configure.gnu"; then
9192 ac_sub_configure
=$ac_srcdir/configure.gnu
9193 elif test -f "$ac_srcdir/configure"; then
9194 ac_sub_configure
=$ac_srcdir/configure
9195 elif test -f "$ac_srcdir/configure.in"; then
9196 # This should be Cygnus configure.
9197 ac_sub_configure
=$ac_aux_dir/configure
9199 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
9200 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
9204 # The recursion is here.
9205 if test -n "$ac_sub_configure"; then
9206 # Make the cache file name correct relative to the subdirectory.
9208 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
9210 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
9213 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
9214 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
9215 # The eval makes quoting arguments work.
9216 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
9217 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
9218 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
9219 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
9220 { (exit 1); exit 1; }; }
9228 if test "${prefix}" = "/usr/local"; then
9229 { echo "$as_me:$LINENO: " >&5
9230 echo "$as_me: " >&6;}
9231 { echo "$as_me:$LINENO: For a private or temporary build of systemtap, we recommend" >&5
9232 echo "$as_me: For a private or temporary build of systemtap, we recommend" >&6;}
9233 { echo "$as_me:$LINENO: configuring with a prefix. For example, try" >&5
9234 echo "$as_me: configuring with a prefix. For example, try" >&6;}
9235 { echo "$as_me:$LINENO: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&5
9236 echo "$as_me: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&6;}
9237 { echo "$as_me:$LINENO: Running systemtap uninstalled, entirely out of the build tree," >&5
9238 echo "$as_me: Running systemtap uninstalled, entirely out of the build tree," >&6;}
9239 { echo "$as_me:$LINENO: is not supported." >&5
9240 echo "$as_me: is not supported." >&6;}