2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 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, 2007, 2008 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 # Pre-4.2 versions of Zsh do 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
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x
; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var
in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
144 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me
=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x
; then
176 if (eval ":") 2>/dev
/null
; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev
/null
; then
242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
243 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir
=.
249 for as_base
in sh bash ksh sh5
; do
250 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
257 for as_shell
in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
279 CONFIG_SHELL
=$as_shell
281 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix
*) set -o posix
;;
307 as_func_ret_success
() {
310 as_func_ret_failure
() {
315 if as_func_success
; then
319 echo as_func_success failed.
322 if as_func_failure
; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success
; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure
; then
336 echo as_func_ret_failure succeeded.
339 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) ||
{ (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x
; then
364 for as_var
in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no
; then
373 echo This
script requires a shell
more modern than all the
374 echo shells that I found on your system. Please
install a
375 echo modern shell
, or manually run the
script under such a
376 echo shell
if you
do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") ||
{
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system
,
438 echo including any error possibly output before this message.
439 echo This can
help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x
"$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
494 ECHO_C
= ECHO_N
= ECHO_T
=
498 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
504 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
511 rm -f conf$$ conf$$.exe conf$$.
file
512 if test -d conf$$.dir
; then
513 rm -f conf$$.dir
/conf$$.
file
516 mkdir conf$$.dir
2>/dev
/null
518 if (echo >conf$$.
file) 2>/dev
/null
; then
519 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
527 elif ln conf$$.
file conf$$
2>/dev
/null
; then
535 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
536 rmdir conf$$.dir
2>/dev
/null
538 if mkdir
-p .
2>/dev
/null
; then
541 test -d .
/-p && rmdir .
/-p
545 if test -x / >/dev
/null
2>&1; then
548 if ls -dL / >/dev
/null
2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p
=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
576 exec 7<&0 </dev
/null
6>&1
579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580 # so uname gets run too.
581 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
586 ac_default_prefix
=/usr
/local
588 ac_config_libobj_dir
=.
594 SHELL
=${CONFIG_SHELL-/bin/sh}
596 # Identity of this package.
597 PACKAGE_NAME
='systemtap'
598 PACKAGE_TARNAME
='systemtap'
599 PACKAGE_VERSION
='0.8'
600 PACKAGE_STRING
='systemtap 0.8'
601 PACKAGE_BUGREPORT
='systemtap@sources.redhat.com'
603 # Factoring default headers for most tests.
604 ac_includes_default
="\
606 #ifdef HAVE_SYS_TYPES_H
607 # include <sys/types.h>
609 #ifdef HAVE_SYS_STAT_H
610 # include <sys/stat.h>
616 # ifdef HAVE_STDLIB_H
621 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
626 #ifdef HAVE_STRINGS_H
627 # include <strings.h>
629 #ifdef HAVE_INTTYPES_H
630 # include <inttypes.h>
639 enable_option_checking
=no
640 ac_subst_vars
='LTLIBOBJS
703 MAINTAINER_MODE_FALSE
713 INSTALL_STRIP_PROGRAM
755 program_transform_name
767 enable_option_checking
768 enable_maintainer_mode
769 enable_dependency_tracking
781 ac_precious_vars
='build_alias
799 ac_subdirs_all
='testsuite'
801 # Initialize some variables set by options.
803 ac_init_version
=false
804 ac_unrecognized_opts
=
806 # The variables have the same names as the options, with
807 # dashes changed to underlines.
815 program_transform_name
=s
,x
,x
,
823 # Installation directory options.
824 # These are left unexpanded so users can "make install exec_prefix=/foo"
825 # and all the variables that are supposed to be based on exec_prefix
826 # by default will actually change.
827 # Use braces instead of parens because sh, perl, etc. also accept them.
828 # (The list follows the same order as the GNU Coding Standards.)
829 bindir
='${exec_prefix}/bin'
830 sbindir
='${exec_prefix}/sbin'
831 libexecdir
='${exec_prefix}/libexec'
832 datarootdir
='${prefix}/share'
833 datadir
='${datarootdir}'
834 sysconfdir
='${prefix}/etc'
835 sharedstatedir
='${prefix}/com'
836 localstatedir
='${prefix}/var'
837 includedir
='${prefix}/include'
838 oldincludedir
='/usr/include'
839 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
840 infodir
='${datarootdir}/info'
845 libdir
='${exec_prefix}/lib'
846 localedir
='${datarootdir}/locale'
847 mandir
='${datarootdir}/man'
853 # If the previous option needs an argument, assign it.
854 if test -n "$ac_prev"; then
855 eval $ac_prev=\
$ac_option
861 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
865 # Accept the important Cygnus configure options, so we can diagnose typos.
867 case $ac_dashdash$ac_option in
871 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
873 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
876 -build |
--build |
--buil |
--bui |
--bu)
877 ac_prev
=build_alias
;;
878 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
879 build_alias
=$ac_optarg ;;
881 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
882 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
883 ac_prev
=cache_file
;;
884 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
885 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
886 cache_file
=$ac_optarg ;;
889 cache_file
=config.cache
;;
891 -datadir |
--datadir |
--datadi |
--datad)
893 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
894 datadir
=$ac_optarg ;;
896 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
897 |
--dataroo |
--dataro |
--datar)
898 ac_prev
=datarootdir
;;
899 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
900 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
901 datarootdir
=$ac_optarg ;;
903 -disable-* |
--disable-*)
904 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
905 # Reject names that are not valid shell variable names.
906 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
907 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
908 { (exit 1); exit 1; }; }
909 ac_useropt_orig
=$ac_useropt
910 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
911 case $ac_user_opts in
915 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
916 ac_unrecognized_sep
=', ';;
918 eval enable_
$ac_useropt=no
;;
920 -docdir |
--docdir |
--docdi |
--doc |
--do)
922 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
925 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
927 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
930 -enable-* |
--enable-*)
931 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
932 # Reject names that are not valid shell variable names.
933 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
934 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
935 { (exit 1); exit 1; }; }
936 ac_useropt_orig
=$ac_useropt
937 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
938 case $ac_user_opts in
942 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
943 ac_unrecognized_sep
=', ';;
945 eval enable_
$ac_useropt=\
$ac_optarg ;;
947 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
948 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
949 |
--exec |
--exe |
--ex)
950 ac_prev
=exec_prefix
;;
951 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
952 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
953 |
--exec=* |
--exe=* |
--ex=*)
954 exec_prefix
=$ac_optarg ;;
956 -gas |
--gas |
--ga |
--g)
957 # Obsolete; use --with-gas.
960 -help |
--help |
--hel |
--he |
-h)
962 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
963 ac_init_help
=recursive
;;
964 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
965 ac_init_help
=short
;;
967 -host |
--host |
--hos |
--ho)
968 ac_prev
=host_alias
;;
969 -host=* |
--host=* |
--hos=* |
--ho=*)
970 host_alias
=$ac_optarg ;;
972 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
974 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
976 htmldir
=$ac_optarg ;;
978 -includedir |
--includedir |
--includedi |
--included |
--include \
979 |
--includ |
--inclu |
--incl |
--inc)
980 ac_prev
=includedir
;;
981 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
982 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
983 includedir
=$ac_optarg ;;
985 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
987 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
988 infodir
=$ac_optarg ;;
990 -libdir |
--libdir |
--libdi |
--libd)
992 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
995 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
996 |
--libexe |
--libex |
--libe)
997 ac_prev
=libexecdir
;;
998 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
999 |
--libexe=* |
--libex=* |
--libe=*)
1000 libexecdir
=$ac_optarg ;;
1002 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1003 ac_prev
=localedir
;;
1004 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1005 localedir
=$ac_optarg ;;
1007 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1008 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1009 ac_prev
=localstatedir
;;
1010 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1011 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1012 localstatedir
=$ac_optarg ;;
1014 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1016 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1017 mandir
=$ac_optarg ;;
1019 -nfp |
--nfp |
--nf)
1020 # Obsolete; use --without-fp.
1023 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1024 |
--no-cr |
--no-c |
-n)
1027 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1028 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1031 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1032 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1033 |
--oldin |
--oldi |
--old |
--ol |
--o)
1034 ac_prev
=oldincludedir
;;
1035 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1036 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1037 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1038 oldincludedir
=$ac_optarg ;;
1040 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1042 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1043 prefix
=$ac_optarg ;;
1045 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1046 |
--program-pre |
--program-pr |
--program-p)
1047 ac_prev
=program_prefix
;;
1048 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1049 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1050 program_prefix
=$ac_optarg ;;
1052 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1053 |
--program-suf |
--program-su |
--program-s)
1054 ac_prev
=program_suffix
;;
1055 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1056 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1057 program_suffix
=$ac_optarg ;;
1059 -program-transform-name |
--program-transform-name \
1060 |
--program-transform-nam |
--program-transform-na \
1061 |
--program-transform-n |
--program-transform- \
1062 |
--program-transform |
--program-transfor \
1063 |
--program-transfo |
--program-transf \
1064 |
--program-trans |
--program-tran \
1065 |
--progr-tra |
--program-tr |
--program-t)
1066 ac_prev
=program_transform_name
;;
1067 -program-transform-name=* |
--program-transform-name=* \
1068 |
--program-transform-nam=* |
--program-transform-na=* \
1069 |
--program-transform-n=* |
--program-transform-=* \
1070 |
--program-transform=* |
--program-transfor=* \
1071 |
--program-transfo=* |
--program-transf=* \
1072 |
--program-trans=* |
--program-tran=* \
1073 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1074 program_transform_name
=$ac_optarg ;;
1076 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1078 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1079 pdfdir
=$ac_optarg ;;
1081 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1083 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1086 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1087 |
-silent |
--silent |
--silen |
--sile |
--sil)
1090 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1092 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1094 sbindir
=$ac_optarg ;;
1096 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1097 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1098 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1100 ac_prev
=sharedstatedir
;;
1101 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1102 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1103 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1105 sharedstatedir
=$ac_optarg ;;
1107 -site |
--site |
--sit)
1109 -site=* |
--site=* |
--sit=*)
1112 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1114 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1115 srcdir
=$ac_optarg ;;
1117 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1118 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1119 ac_prev
=sysconfdir
;;
1120 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1121 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1122 sysconfdir
=$ac_optarg ;;
1124 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1125 ac_prev
=target_alias
;;
1126 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1127 target_alias
=$ac_optarg ;;
1129 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1132 -version |
--version |
--versio |
--versi |
--vers |
-V)
1133 ac_init_version
=: ;;
1136 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1137 # Reject names that are not valid shell variable names.
1138 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1139 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1140 { (exit 1); exit 1; }; }
1141 ac_useropt_orig
=$ac_useropt
1142 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1143 case $ac_user_opts in
1147 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1148 ac_unrecognized_sep
=', ';;
1150 eval with_
$ac_useropt=\
$ac_optarg ;;
1152 -without-* |
--without-*)
1153 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1154 # Reject names that are not valid shell variable names.
1155 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1156 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1157 { (exit 1); exit 1; }; }
1158 ac_useropt_orig
=$ac_useropt
1159 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1160 case $ac_user_opts in
1164 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1165 ac_unrecognized_sep
=', ';;
1167 eval with_
$ac_useropt=no
;;
1170 # Obsolete; use --with-x.
1173 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1174 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1175 ac_prev
=x_includes
;;
1176 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1177 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1178 x_includes
=$ac_optarg ;;
1180 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1181 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1182 ac_prev
=x_libraries
;;
1183 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1184 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1185 x_libraries
=$ac_optarg ;;
1187 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1188 Try \`$0 --help' for more information." >&2
1189 { (exit 1); exit 1; }; }
1193 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1194 # Reject names that are not valid shell variable names.
1195 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1196 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1197 { (exit 1); exit 1; }; }
1198 eval $ac_envvar=\
$ac_optarg
1199 export $ac_envvar ;;
1202 # FIXME: should be removed in autoconf 3.0.
1203 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1204 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1205 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1206 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1212 if test -n "$ac_prev"; then
1213 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1214 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1215 { (exit 1); exit 1; }; }
1218 if test -n "$ac_unrecognized_opts"; then
1219 case $enable_option_checking in
1221 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1222 { (exit 1); exit 1; }; } ;;
1223 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1227 # Check all directory arguments for consistency.
1228 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1229 datadir sysconfdir sharedstatedir localstatedir includedir \
1230 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1231 libdir localedir mandir
1233 eval ac_val
=\$
$ac_var
1234 # Remove trailing slashes.
1237 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1238 eval $ac_var=\
$ac_val;;
1240 # Be sure to have absolute directory names.
1242 [\\/$
]* | ?
:[\\/]* ) continue;;
1243 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1245 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1246 { (exit 1); exit 1; }; }
1249 # There might be people who depend on the old broken behavior: `$host'
1250 # used to hold the argument of --host etc.
1251 # FIXME: To remove some day.
1254 target
=$target_alias
1256 # FIXME: To remove some day.
1257 if test "x$host_alias" != x
; then
1258 if test "x$build_alias" = x
; then
1259 cross_compiling
=maybe
1260 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1261 If a cross compiler is detected then cross compile mode will be used." >&2
1262 elif test "x$build_alias" != "x$host_alias"; then
1268 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1270 test "$silent" = yes && exec 6>/dev
/null
1273 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1274 ac_ls_di
=`ls -di .` &&
1275 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1276 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1277 { (exit 1); exit 1; }; }
1278 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1279 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1280 { (exit 1); exit 1; }; }
1283 # Find the source files, if location was not specified.
1284 if test -z "$srcdir"; then
1285 ac_srcdir_defaulted
=yes
1286 # Try the directory containing this script, then the parent directory.
1287 ac_confdir
=`$as_dirname -- "$as_myself" ||
1288 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1289 X"$as_myself" : 'X\(//\)[^/]' \| \
1290 X"$as_myself" : 'X\(//\)$' \| \
1291 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1292 $as_echo X"$as_myself" |
1293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1311 if test ! -r "$srcdir/$ac_unique_file"; then
1315 ac_srcdir_defaulted
=no
1317 if test ! -r "$srcdir/$ac_unique_file"; then
1318 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1319 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1320 { (exit 1); exit 1; }; }
1322 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1324 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1325 { (exit 1); exit 1; }; }
1327 # When building in place, set srcdir=.
1328 if test "$ac_abs_confdir" = "$ac_pwd"; then
1331 # Remove unnecessary trailing slashes from srcdir.
1332 # Double slashes in file names in object file debugging info
1333 # mess up M-x gdb in Emacs.
1335 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1337 for ac_var
in $ac_precious_vars; do
1338 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1339 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1340 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1341 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1345 # Report the --help message.
1347 if test "$ac_init_help" = "long"; then
1348 # Omit some internal or obsolete options to make the list less imposing.
1349 # This message is too long to be a string in the A/UX 3.1 sh.
1351 \`configure' configures systemtap 0.8 to adapt to many kinds of systems.
1353 Usage: $0 [OPTION]... [VAR=VALUE]...
1355 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1356 VAR=VALUE. See below for descriptions of some of the useful variables.
1358 Defaults for the options are specified in brackets.
1361 -h, --help display this help and exit
1362 --help=short display options specific to this package
1363 --help=recursive display the short help of all the included packages
1364 -V, --version display version information and exit
1365 -q, --quiet, --silent do not print \`checking...' messages
1366 --cache-file=FILE cache test results in FILE [disabled]
1367 -C, --config-cache alias for \`--cache-file=config.cache'
1368 -n, --no-create do not create output files
1369 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1371 Installation directories:
1372 --prefix=PREFIX install architecture-independent files in PREFIX
1373 [$ac_default_prefix]
1374 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1377 By default, \`make install' will install all the files in
1378 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1379 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1380 for instance \`--prefix=\$HOME'.
1382 For better control, use the options below.
1384 Fine tuning of the installation directories:
1385 --bindir=DIR user executables [EPREFIX/bin]
1386 --sbindir=DIR system admin executables [EPREFIX/sbin]
1387 --libexecdir=DIR program executables [EPREFIX/libexec]
1388 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1389 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1390 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1391 --libdir=DIR object code libraries [EPREFIX/lib]
1392 --includedir=DIR C header files [PREFIX/include]
1393 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1394 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1395 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1396 --infodir=DIR info documentation [DATAROOTDIR/info]
1397 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1398 --mandir=DIR man documentation [DATAROOTDIR/man]
1399 --docdir=DIR documentation root [DATAROOTDIR/doc/systemtap]
1400 --htmldir=DIR html documentation [DOCDIR]
1401 --dvidir=DIR dvi documentation [DOCDIR]
1402 --pdfdir=DIR pdf documentation [DOCDIR]
1403 --psdir=DIR ps documentation [DOCDIR]
1409 --program-prefix=PREFIX prepend PREFIX to installed program names
1410 --program-suffix=SUFFIX append SUFFIX to installed program names
1411 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1415 if test -n "$ac_init_help"; then
1416 case $ac_init_help in
1417 short | recursive
) echo "Configuration of systemtap 0.8:";;
1422 --disable-option-checking ignore unrecognized
--enable/--with options
1423 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1424 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1425 --enable-maintainer-mode enable make rules and dependencies not useful
1426 (and sometimes confusing
) to the casual installer
1427 --disable-dependency-tracking speeds up one-time build
1428 --enable-dependency-tracking do not reject slow dependency extractors
1429 --enable-perfmon[=DIRECTORY
]
1430 enable perfmon support
(default is disabled
).
1431 Optional DIRECTORY is the path to the perfmon
1432 installation
(needed
if installed
in a non-standard
1434 --enable-prologues make -P prologue-searching default
1435 --disable-ssp disable gcc stack-protector
1436 --disable-pie disable position-independent-executable
1437 --enable-sqlite build with sqlite support
1438 --enable-crash[=DIRECTORY
]
1439 enable crash extension
(default is disabled
).
1440 Optional DIRECTORY is the path to the crash header
1441 file (needed
if installed
in a non-standard
1443 --enable-docs enable building documentation
(default on
if latex
1445 --enable-refdocs enable building reference documentation
(default on
1446 if xmlto etc. found and other documentation built
).
1447 --enable-server enable building of stap-server
/client
(default on
if
1451 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1452 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1453 --with-elfutils=DIRECTORY
1454 find elfutils
source code
in DIRECTORY
1456 Some influential environment variables
:
1457 CC C compiler
command
1458 CFLAGS C compiler flags
1459 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1460 nonstandard directory
<lib dir
>
1461 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1462 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1463 you have headers
in a nonstandard directory
<include dir
>
1464 CXX C
++ compiler
command
1465 CXXFLAGS C
++ compiler flags
1467 PKG_CONFIG path to pkg-config utility
1468 nss_CFLAGS C compiler flags
for nss
, overriding pkg-config
1469 nss_LIBS linker flags
for nss
, overriding pkg-config
1470 nspr_CFLAGS C compiler flags
for nspr
, overriding pkg-config
1471 nspr_LIBS linker flags
for nspr
, overriding pkg-config
1472 CXXCPP C
++ preprocessor
1474 Use these variables to override the choices made by
`configure' or to help
1475 it to find libraries and programs with nonstandard names/locations.
1477 Report bugs to <systemtap@sources.redhat.com>.
1482 if test "$ac_init_help" = "recursive"; then
1483 # If there are subdirs, report their specific --help.
1484 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1485 test -d "$ac_dir" ||
1486 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1491 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1493 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1494 # A ".." for each directory in $ac_dir_suffix.
1495 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1496 case $ac_top_builddir_sub in
1497 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1498 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1501 ac_abs_top_builddir=$ac_pwd
1502 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1503 # for backward compatibility:
1504 ac_top_builddir=$ac_top_build_prefix
1507 .) # We are building in place.
1509 ac_top_srcdir=$ac_top_builddir_sub
1510 ac_abs_top_srcdir=$ac_pwd ;;
1511 [\\/]* | ?:[\\/]* ) # Absolute name.
1512 ac_srcdir=$srcdir$ac_dir_suffix;
1513 ac_top_srcdir=$srcdir
1514 ac_abs_top_srcdir=$srcdir ;;
1516 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1517 ac_top_srcdir=$ac_top_build_prefix$srcdir
1518 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1520 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1522 cd "$ac_dir" || { ac_status=$?; continue; }
1523 # Check for guested configure.
1524 if test -f "$ac_srcdir/configure.gnu"; then
1526 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1527 elif test -f "$ac_srcdir/configure"; then
1529 $SHELL "$ac_srcdir/configure" --help=recursive
1531 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1533 cd "$ac_pwd" || { ac_status=$?; break; }
1537 test -n "$ac_init_help" && exit $ac_status
1538 if $ac_init_version; then
1540 systemtap configure 0.8
1541 generated by GNU Autoconf 2.63
1543 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1544 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1545 This configure script is free software; the Free Software Foundation
1546 gives unlimited permission to copy, distribute and modify it.
1550 cat >config.log <<_ACEOF
1551 This file contains any messages produced by compilers while
1552 running configure, to aid debugging if configure makes a mistake.
1554 It was created by systemtap $as_me 0.8, which was
1555 generated by GNU Autoconf 2.63. Invocation command line was
1567 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1568 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1569 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1570 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1571 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1573 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1574 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1576 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1577 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1578 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1579 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1580 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1581 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1582 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1590 test -z "$as_dir" && as_dir=.
1591 $as_echo "PATH: $as_dir"
1607 # Keep a trace of the command line.
1608 # Strip out --no-create and --no-recursion so they do not pile up.
1609 # Strip out --silent because we don't want to record it for future runs.
1610 # Also quote any args containing shell meta-characters.
1611 # Make two passes to allow for proper duplicate-argument suppression.
1615 ac_must_keep_next=false
1621 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1622 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1623 | -silent | --silent | --silen | --sile | --sil)
1626 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1629 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1631 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1632 if test $ac_must_keep_next = true; then
1633 ac_must_keep_next=false # Got value, back to normal.
1636 *=* | --config-cache | -C | -disable-* | --disable-* \
1637 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1638 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1639 | -with-* | --with-* | -without-* | --without-* | --x)
1640 case "$ac_configure_args0 " in
1641 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1644 -* ) ac_must_keep_next=true ;;
1647 ac_configure_args="$ac_configure_args '$ac_arg'"
1652 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1653 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1655 # When interrupted or exit'd, cleanup temporary files, and complete
1656 # config.log. We remove comments because anyway the quotes in there
1657 # would cause problems or look ugly.
1658 # WARNING: Use '\'' to represent an apostrophe within the trap.
1659 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1660 trap 'exit_status=$?
1661 # Save into config.log some information that might help in debugging.
1666 ## ---------------- ##
1667 ## Cache variables. ##
1668 ## ---------------- ##
1671 # The following way of writing the cache mishandles newlines in values,
1673 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1674 eval ac_val=\$$ac_var
1678 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1679 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1682 _ | IFS | as_nl) ;; #(
1683 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1684 *) $as_unset $ac_var ;;
1689 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1690 *${as_nl}ac_space=\ *)
1692 "s/'\''/'\''\\\\'\'''\''/g;
1693 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1696 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1704 ## ----------------- ##
1705 ## Output variables. ##
1706 ## ----------------- ##
1709 for ac_var in $ac_subst_vars
1711 eval ac_val=\$$ac_var
1713 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1715 $as_echo "$ac_var='\''$ac_val'\''"
1719 if test -n "$ac_subst_files"; then
1721 ## ------------------- ##
1722 ## File substitutions. ##
1723 ## ------------------- ##
1726 for ac_var in $ac_subst_files
1728 eval ac_val=\$$ac_var
1730 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1732 $as_echo "$ac_var='\''$ac_val'\''"
1737 if test -s confdefs.h; then
1747 test "$ac_signal" != 0 &&
1748 $as_echo "$as_me: caught signal $ac_signal"
1749 $as_echo "$as_me: exit $exit_status"
1751 rm -f core *.core core.conftest.* &&
1752 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1755 for ac_signal in 1 2 13 15; do
1756 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1760 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1761 rm -f -r conftest* confdefs.h
1763 # Predefined preprocessor variables.
1765 cat >>confdefs.h <<_ACEOF
1766 #define PACKAGE_NAME "$PACKAGE_NAME"
1770 cat >>confdefs.h <<_ACEOF
1771 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1775 cat >>confdefs.h <<_ACEOF
1776 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1780 cat >>confdefs.h <<_ACEOF
1781 #define PACKAGE_STRING "$PACKAGE_STRING"
1785 cat >>confdefs.h <<_ACEOF
1786 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1790 # Let the site file select an alternate cache file if it wants to.
1791 # Prefer an explicitly selected file to automatically selected ones.
1794 if test -n "$CONFIG_SITE"; then
1795 ac_site_file1=$CONFIG_SITE
1796 elif test "x$prefix" != xNONE; then
1797 ac_site_file1=$prefix/share/config.site
1798 ac_site_file2=$prefix/etc/config.site
1800 ac_site_file1=$ac_default_prefix/share/config.site
1801 ac_site_file2=$ac_default_prefix/etc/config.site
1803 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1805 test "x$ac_site_file" = xNONE && continue
1806 if test -r "$ac_site_file"; then
1807 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1808 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1809 sed 's/^/| /' "$ac_site_file" >&5
1814 if test -r "$cache_file"; then
1815 # Some versions of bash will fail to source /dev/null (special
1816 # files actually), so we avoid doing that.
1817 if test -f "$cache_file"; then
1818 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1819 $as_echo "$as_me: loading cache $cache_file" >&6;}
1821 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1822 *) . "./$cache_file";;
1826 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1827 $as_echo "$as_me: creating cache $cache_file" >&6;}
1831 # Check that the precious variables saved in the cache have kept the same
1833 ac_cache_corrupted=false
1834 for ac_var in $ac_precious_vars; do
1835 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1836 eval ac_new_set=\$ac_env_${ac_var}_set
1837 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1838 eval ac_new_val=\$ac_env_${ac_var}_value
1839 case $ac_old_set,$ac_new_set in
1841 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1842 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1843 ac_cache_corrupted=: ;;
1845 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1846 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1847 ac_cache_corrupted=: ;;
1850 if test "x$ac_old_val" != "x$ac_new_val"; then
1851 # differences in whitespace do not lead to failure.
1852 ac_old_val_w=`echo x
$ac_old_val`
1853 ac_new_val_w=`echo x
$ac_new_val`
1854 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1855 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1856 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1857 ac_cache_corrupted=:
1859 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1860 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1861 eval $ac_var=\$ac_old_val
1863 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1864 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1865 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1866 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1869 # Pass precious variables to config.status.
1870 if test "$ac_new_set" = set; then
1872 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1873 *) ac_arg=$ac_var=$ac_new_val ;;
1875 case " $ac_configure_args " in
1876 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1877 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1881 if $ac_cache_corrupted; then
1882 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1883 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1884 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1885 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1886 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
1887 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
1888 { (exit 1); exit 1; }; }
1916 ac_cpp='$CPP $CPPFLAGS'
1917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1924 am__api_version='1.10'
1927 for ac_dir in "$srcdir" "$srcdir/..
" "$srcdir/..
/..
"; do
1928 if test -f "$ac_dir/install-sh
"; then
1930 ac_install_sh="$ac_aux_dir/install-sh
-c"
1932 elif test -f "$ac_dir/install.sh
"; then
1934 ac_install_sh="$ac_aux_dir/install.sh
-c"
1936 elif test -f "$ac_dir/shtool
"; then
1938 ac_install_sh="$ac_aux_dir/shtool
install -c"
1942 if test -z "$ac_aux_dir"; then
1943 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&5
1944 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&2;}
1945 { (exit 1); exit 1; }; }
1948 # These three variables are undocumented and unsupported,
1949 # and are intended to be withdrawn in a future Autoconf release.
1950 # They can cause serious problems if a builder's source tree is in a directory
1951 # whose full name contains unusual characters.
1952 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
1953 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
1954 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
1957 # Find a good install program. We prefer a C program (faster),
1958 # so one script is as good as another. But avoid the broken or
1959 # incompatible versions:
1960 # SysV /etc/install, /usr/sbin/install
1961 # SunOS /usr/etc/install
1962 # IRIX /sbin/install
1964 # AmigaOS /C/install, which installs bootblocks on floppy discs
1965 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1966 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1967 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
1968 # OS/2's system install, which has a completely different semantic
1969 # ./install, which can be erroneously created by make from ./install.sh.
1970 # Reject install programs that cannot install multiple files.
1971 { $as_echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
1972 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
1973 if test -z "$INSTALL"; then
1974 if test "${ac_cv_path_install+set}" = set; then
1975 $as_echo_n "(cached
) " >&6
1977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1981 test -z "$as_dir" && as_dir=.
1982 # Account for people who put trailing slashes in PATH elements.
1984 ./ | .// | /cC/* | \
1985 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1986 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1989 # OSF1 and SCO ODT 3.0 have their own names for install.
1990 # Don't use installbsd from OSF since it installs stuff as root
1992 for ac_prog in ginstall scoinst install; do
1993 for ac_exec_ext in '' $ac_executable_extensions; do
1994 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1995 if test $ac_prog = install &&
1996 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1997 # AIX install. It has an incompatible calling convention.
1999 elif test $ac_prog = install &&
2000 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2001 # program-specific install script used by HP pwplus--don't use.
2004 rm -rf conftest.one conftest.two conftest.dir
2005 echo one > conftest.one
2006 echo two > conftest.two
2008 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
2009 test -s conftest.one && test -s conftest.two &&
2010 test -s conftest.dir/conftest.one &&
2011 test -s conftest.dir/conftest.two
2013 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2026 rm -rf conftest.one conftest.two conftest.dir
2029 if test "${ac_cv_path_install+set}" = set; then
2030 INSTALL=$ac_cv_path_install
2032 # As a last resort, use the slow shell script. Don't cache a
2033 # value for INSTALL within a source directory, because that will
2034 # break other packages using the cache if that directory is
2035 # removed, or if the value is a relative name.
2036 INSTALL=$ac_install_sh
2039 { $as_echo "$as_me:$LINENO: result
: $INSTALL" >&5
2040 $as_echo "$INSTALL" >&6; }
2042 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2043 # It thinks the first close brace ends the variable substitution.
2044 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2046 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2048 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2050 { $as_echo "$as_me:$LINENO: checking whether build environment is sane
" >&5
2051 $as_echo_n "checking whether build environment is sane...
" >&6; }
2054 echo timestamp > conftest.file
2055 # Do `set' in a subshell so we don't clobber the current shell's
2056 # arguments. Must try -L first in case configure is actually a
2057 # symlink; some systems play weird games with the mod time of symlinks
2058 # (eg FreeBSD returns the mod time of the symlink's containing
2061 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2062 if test "$
*" = "X
"; then
2064 set X `ls -t $srcdir/configure conftest.file`
2067 if test "$
*" != "X
$srcdir/configure conftest.
file" \
2068 && test "$
*" != "X conftest.
file $srcdir/configure
"; then
2070 # If neither matched, then we have a broken ls. This can happen
2071 # if, for instance, CONFIG_SHELL is bash and it inherits a
2072 # broken ls alias from the environment. This has actually
2073 # happened. Such a system could not be considered "sane
".
2074 { { $as_echo "$as_me:$LINENO: error
: ls -t appears to fail. Make sure there is not a broken
2075 alias in your environment
" >&5
2076 $as_echo "$as_me: error
: ls -t appears to fail. Make sure there is not a broken
2077 alias in your environment
" >&2;}
2078 { (exit 1); exit 1; }; }
2081 test "$2" = conftest.file
2087 { { $as_echo "$as_me:$LINENO: error
: newly created
file is older than distributed files
!
2088 Check your system
clock" >&5
2089 $as_echo "$as_me: error
: newly created
file is older than distributed files
!
2090 Check your system
clock" >&2;}
2091 { (exit 1); exit 1; }; }
2093 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2094 $as_echo "yes" >&6; }
2095 test "$program_prefix" != NONE &&
2096 program_transform_name="s
&^
&$program_prefix&;$program_transform_name"
2097 # Use a double $ so make ignores it.
2098 test "$program_suffix" != NONE &&
2099 program_transform_name="s
&\$
&$program_suffix&;$program_transform_name"
2100 # Double any \ or $.
2101 # By default was `s,x,x', remove it if useless.
2102 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2103 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2105 # expand $ac_aux_dir to an absolute path
2106 am_aux_dir=`cd $ac_aux_dir && pwd`
2108 test x"${MISSING+set}" = xset || MISSING="\
${SHELL} $am_aux_dir/missing
"
2109 # Use eval to expand $SHELL
2110 if eval "$MISSING --run true
"; then
2111 am_missing_run="$MISSING --run "
2114 { $as_echo "$as_me:$LINENO: WARNING
: \
`missing' script is too old or missing" >&5
2115 $as_echo "$as_me: WARNING: \`missing
' script is too old or missing" >&2;}
2118 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2119 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2120 if test -z "$MKDIR_P"; then
2121 if test "${ac_cv_path_mkdir+set}" = set; then
2122 $as_echo_n "(cached) " >&6
2124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2125 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2128 test -z "$as_dir" && as_dir=.
2129 for ac_prog in mkdir gmkdir; do
2130 for ac_exec_ext in '' $ac_executable_extensions; do
2131 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2132 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2133 'mkdir
(GNU coreutils
) '* | \
2134 'mkdir
(coreutils
) '* | \
2135 'mkdir
(fileutils
) '4.1*)
2136 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2146 if test "${ac_cv_path_mkdir+set}" = set; then
2147 MKDIR_P="$ac_cv_path_mkdir -p"
2149 # As a last resort, use the slow shell script. Don't cache a
2150 # value for MKDIR_P within a source directory, because that will
2151 # break other packages using the cache if that directory is
2152 # removed, or if the value is a relative name.
2153 test -d .
/--version && rmdir .
/--version
2154 MKDIR_P
="$ac_install_sh -d"
2157 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2158 $as_echo "$MKDIR_P" >&6; }
2162 [\\/$
]* | ?
:[\\/]*) ;;
2163 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2166 for ac_prog
in gawk mawk nawk
awk
2168 # Extract the first word of "$ac_prog", so it can be a program name with args.
2169 set dummy
$ac_prog; ac_word
=$2
2170 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2171 $as_echo_n "checking for $ac_word... " >&6; }
2172 if test "${ac_cv_prog_AWK+set}" = set; then
2173 $as_echo_n "(cached) " >&6
2175 if test -n "$AWK"; then
2176 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2182 test -z "$as_dir" && as_dir
=.
2183 for ac_exec_ext
in '' $ac_executable_extensions; do
2184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2185 ac_cv_prog_AWK
="$ac_prog"
2186 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2196 if test -n "$AWK"; then
2197 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2198 $as_echo "$AWK" >&6; }
2200 { $as_echo "$as_me:$LINENO: result: no" >&5
2201 $as_echo "no" >&6; }
2205 test -n "$AWK" && break
2208 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2209 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2211 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2212 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2213 $as_echo_n "(cached) " >&6
2215 cat >conftest.
make <<\_ACEOF
2218 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2220 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2221 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2223 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2225 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2229 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2230 { $as_echo "$as_me:$LINENO: result: yes" >&5
2231 $as_echo "yes" >&6; }
2234 { $as_echo "$as_me:$LINENO: result: no" >&5
2235 $as_echo "no" >&6; }
2236 SET_MAKE
="MAKE=${MAKE-make}"
2239 rm -rf .tst
2>/dev
/null
2240 mkdir .tst
2>/dev
/null
2241 if test -d .tst
; then
2246 rmdir .tst
2>/dev
/null
2248 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2249 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2250 # is not polluted with repeated "-I."
2251 am__isrc
=' -I$(srcdir)'
2252 # test to see if srcdir already configured
2253 if test -f $srcdir/config.status
; then
2254 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2255 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2256 { (exit 1); exit 1; }; }
2260 # test whether we have cygpath
2261 if test -z "$CYGPATH_W"; then
2262 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2263 CYGPATH_W
='cygpath -w'
2270 # Define the identity of the package.
2275 cat >>confdefs.h
<<_ACEOF
2276 #define PACKAGE "$PACKAGE"
2280 cat >>confdefs.h
<<_ACEOF
2281 #define VERSION "$VERSION"
2284 # Some tools Automake needs.
2286 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2289 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2292 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2295 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2298 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2300 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2302 # Installed binaries are usually stripped using `strip' when the user
2303 # run `make install-strip'. However `strip' might not be the right
2304 # tool to use in cross-compilation environments, therefore Automake
2305 # will honor the `STRIP' environment variable to overrule this program.
2306 if test "$cross_compiling" != no
; then
2307 if test -n "$ac_tool_prefix"; then
2308 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2309 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2310 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2311 $as_echo_n "checking for $ac_word... " >&6; }
2312 if test "${ac_cv_prog_STRIP+set}" = set; then
2313 $as_echo_n "(cached) " >&6
2315 if test -n "$STRIP"; then
2316 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2322 test -z "$as_dir" && as_dir
=.
2323 for ac_exec_ext
in '' $ac_executable_extensions; do
2324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2325 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2326 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2335 STRIP
=$ac_cv_prog_STRIP
2336 if test -n "$STRIP"; then
2337 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2338 $as_echo "$STRIP" >&6; }
2340 { $as_echo "$as_me:$LINENO: result: no" >&5
2341 $as_echo "no" >&6; }
2346 if test -z "$ac_cv_prog_STRIP"; then
2348 # Extract the first word of "strip", so it can be a program name with args.
2349 set dummy strip
; ac_word
=$2
2350 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2351 $as_echo_n "checking for $ac_word... " >&6; }
2352 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2353 $as_echo_n "(cached) " >&6
2355 if test -n "$ac_ct_STRIP"; then
2356 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2362 test -z "$as_dir" && as_dir
=.
2363 for ac_exec_ext
in '' $ac_executable_extensions; do
2364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2365 ac_cv_prog_ac_ct_STRIP
="strip"
2366 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2375 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2376 if test -n "$ac_ct_STRIP"; then
2377 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2378 $as_echo "$ac_ct_STRIP" >&6; }
2380 { $as_echo "$as_me:$LINENO: result: no" >&5
2381 $as_echo "no" >&6; }
2384 if test "x$ac_ct_STRIP" = x
; then
2387 case $cross_compiling:$ac_tool_warned in
2389 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2390 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2391 ac_tool_warned
=yes ;;
2396 STRIP
="$ac_cv_prog_STRIP"
2400 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2402 # We need awk for the "check" target. The system "awk" is bad on
2404 # Always define AMTAR for backward compatibility.
2406 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2408 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2414 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2415 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2416 # Check whether --enable-maintainer-mode was given.
2417 if test "${enable_maintainer_mode+set}" = set; then
2418 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2420 USE_MAINTAINER_MODE
=no
2423 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2424 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2425 if test $USE_MAINTAINER_MODE = yes; then
2426 MAINTAINER_MODE_TRUE
=
2427 MAINTAINER_MODE_FALSE
='#'
2429 MAINTAINER_MODE_TRUE
='#'
2430 MAINTAINER_MODE_FALSE
=
2433 MAINT
=$MAINTAINER_MODE_TRUE
2439 [\\/$
]* | ?
:[\\/]*) ;;
2440 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2443 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
2444 $as_echo_n "checking whether ln -s works... " >&6; }
2446 if test "$LN_S" = "ln -s"; then
2447 { $as_echo "$as_me:$LINENO: result: yes" >&5
2448 $as_echo "yes" >&6; }
2450 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2451 $as_echo "no, using $LN_S" >&6; }
2455 ac_cpp
='$CPP $CPPFLAGS'
2456 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2457 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2458 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2459 if test -n "$ac_tool_prefix"; then
2460 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2461 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2462 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2463 $as_echo_n "checking for $ac_word... " >&6; }
2464 if test "${ac_cv_prog_CC+set}" = set; then
2465 $as_echo_n "(cached) " >&6
2467 if test -n "$CC"; then
2468 ac_cv_prog_CC
="$CC" # Let the user override the test.
2470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2474 test -z "$as_dir" && as_dir
=.
2475 for ac_exec_ext
in '' $ac_executable_extensions; do
2476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2477 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2478 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2488 if test -n "$CC"; then
2489 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2490 $as_echo "$CC" >&6; }
2492 { $as_echo "$as_me:$LINENO: result: no" >&5
2493 $as_echo "no" >&6; }
2498 if test -z "$ac_cv_prog_CC"; then
2500 # Extract the first word of "gcc", so it can be a program name with args.
2501 set dummy gcc
; ac_word
=$2
2502 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2503 $as_echo_n "checking for $ac_word... " >&6; }
2504 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2505 $as_echo_n "(cached) " >&6
2507 if test -n "$ac_ct_CC"; then
2508 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2514 test -z "$as_dir" && as_dir
=.
2515 for ac_exec_ext
in '' $ac_executable_extensions; do
2516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2517 ac_cv_prog_ac_ct_CC
="gcc"
2518 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2527 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2528 if test -n "$ac_ct_CC"; then
2529 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2530 $as_echo "$ac_ct_CC" >&6; }
2532 { $as_echo "$as_me:$LINENO: result: no" >&5
2533 $as_echo "no" >&6; }
2536 if test "x$ac_ct_CC" = x
; then
2539 case $cross_compiling:$ac_tool_warned in
2541 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2542 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2543 ac_tool_warned
=yes ;;
2551 if test -z "$CC"; then
2552 if test -n "$ac_tool_prefix"; then
2553 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2554 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2555 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2556 $as_echo_n "checking for $ac_word... " >&6; }
2557 if test "${ac_cv_prog_CC+set}" = set; then
2558 $as_echo_n "(cached) " >&6
2560 if test -n "$CC"; then
2561 ac_cv_prog_CC
="$CC" # Let the user override the test.
2563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2567 test -z "$as_dir" && as_dir
=.
2568 for ac_exec_ext
in '' $ac_executable_extensions; do
2569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2570 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2571 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2581 if test -n "$CC"; then
2582 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2583 $as_echo "$CC" >&6; }
2585 { $as_echo "$as_me:$LINENO: result: no" >&5
2586 $as_echo "no" >&6; }
2592 if test -z "$CC"; then
2593 # Extract the first word of "cc", so it can be a program name with args.
2594 set dummy cc
; ac_word
=$2
2595 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2596 $as_echo_n "checking for $ac_word... " >&6; }
2597 if test "${ac_cv_prog_CC+set}" = set; then
2598 $as_echo_n "(cached) " >&6
2600 if test -n "$CC"; then
2601 ac_cv_prog_CC
="$CC" # Let the user override the test.
2604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2608 test -z "$as_dir" && as_dir
=.
2609 for ac_exec_ext
in '' $ac_executable_extensions; do
2610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2611 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2612 ac_prog_rejected
=yes
2616 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2623 if test $ac_prog_rejected = yes; then
2624 # We found a bogon in the path, so make sure we never use it.
2625 set dummy
$ac_cv_prog_CC
2627 if test $# != 0; then
2628 # We chose a different compiler from the bogus one.
2629 # However, it has the same basename, so the bogon will be chosen
2630 # first if we set CC to just the basename; use the full file name.
2632 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2638 if test -n "$CC"; then
2639 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2640 $as_echo "$CC" >&6; }
2642 { $as_echo "$as_me:$LINENO: result: no" >&5
2643 $as_echo "no" >&6; }
2648 if test -z "$CC"; then
2649 if test -n "$ac_tool_prefix"; then
2650 for ac_prog
in cl.exe
2652 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2653 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2654 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2655 $as_echo_n "checking for $ac_word... " >&6; }
2656 if test "${ac_cv_prog_CC+set}" = set; then
2657 $as_echo_n "(cached) " >&6
2659 if test -n "$CC"; then
2660 ac_cv_prog_CC
="$CC" # Let the user override the test.
2662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2666 test -z "$as_dir" && as_dir
=.
2667 for ac_exec_ext
in '' $ac_executable_extensions; do
2668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2669 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2670 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2680 if test -n "$CC"; then
2681 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2682 $as_echo "$CC" >&6; }
2684 { $as_echo "$as_me:$LINENO: result: no" >&5
2685 $as_echo "no" >&6; }
2689 test -n "$CC" && break
2692 if test -z "$CC"; then
2694 for ac_prog
in cl.exe
2696 # Extract the first word of "$ac_prog", so it can be a program name with args.
2697 set dummy
$ac_prog; ac_word
=$2
2698 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2699 $as_echo_n "checking for $ac_word... " >&6; }
2700 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2701 $as_echo_n "(cached) " >&6
2703 if test -n "$ac_ct_CC"; then
2704 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2710 test -z "$as_dir" && as_dir
=.
2711 for ac_exec_ext
in '' $ac_executable_extensions; do
2712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2713 ac_cv_prog_ac_ct_CC
="$ac_prog"
2714 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2723 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2724 if test -n "$ac_ct_CC"; then
2725 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2726 $as_echo "$ac_ct_CC" >&6; }
2728 { $as_echo "$as_me:$LINENO: result: no" >&5
2729 $as_echo "no" >&6; }
2733 test -n "$ac_ct_CC" && break
2736 if test "x$ac_ct_CC" = x
; then
2739 case $cross_compiling:$ac_tool_warned in
2741 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2742 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2743 ac_tool_warned
=yes ;;
2752 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2753 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2754 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2755 See \`config.log' for more details." >&5
2756 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2757 See \`config.log' for more details." >&2;}
2758 { (exit 1); exit 1; }; }; }
2760 # Provide some information about the compiler.
2761 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2764 { (ac_try
="$ac_compiler --version >&5"
2766 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2767 *) ac_try_echo=$ac_try;;
2769 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2770 $as_echo "$ac_try_echo") >&5
2771 (eval "$ac_compiler --version >&5") 2>&5
2773 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774 (exit $ac_status); }
2775 { (ac_try="$ac_compiler -v >&5"
2777 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2778 *) ac_try_echo
=$ac_try;;
2780 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2781 $as_echo "$ac_try_echo") >&5
2782 (eval "$ac_compiler -v >&5") 2>&5
2784 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785 (exit $ac_status); }
2786 { (ac_try
="$ac_compiler -V >&5"
2788 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2789 *) ac_try_echo=$ac_try;;
2791 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2792 $as_echo "$ac_try_echo") >&5
2793 (eval "$ac_compiler -V >&5") 2>&5
2795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796 (exit $ac_status); }
2798 cat >conftest.$ac_ext <<_ACEOF
2801 cat confdefs.h >>conftest.$ac_ext
2802 cat >>conftest.$ac_ext <<_ACEOF
2803 /* end confdefs.h. */
2813 ac_clean_files_save=$ac_clean_files
2814 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2815 # Try to create an executable without -o first, disregard a.out.
2816 # It will help us diagnose broken compilers, and finding out an intuition
2818 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2819 $as_echo_n "checking for C compiler default output file name... " >&6; }
2820 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2822 # The possible output files:
2823 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2826 for ac_file in $ac_files
2829 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2830 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2835 if { (ac_try="$ac_link_default"
2837 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2838 *) ac_try_echo
=$ac_try;;
2840 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2841 $as_echo "$ac_try_echo") >&5
2842 (eval "$ac_link_default") 2>&5
2844 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); }; then
2846 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2847 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2848 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2849 # so that the user can short-circuit this test for compilers unknown to
2851 for ac_file
in $ac_files ''
2853 test -f "$ac_file" ||
continue
2855 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2858 # We found the default executable, but exeext='' is most
2862 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2864 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2866 # We set ac_cv_exeext here because the later test for it is not
2867 # safe: cross compilers may not add the suffix if given an `-o'
2868 # argument, so we may need to know it at that point already.
2869 # Even if this section looks crufty: it has the advantage of
2876 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2882 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2883 $as_echo "$ac_file" >&6; }
2884 if test -z "$ac_file"; then
2885 $as_echo "$as_me: failed program was:" >&5
2886 sed 's/^/| /' conftest.
$ac_ext >&5
2888 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2889 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2890 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2891 See \`config.log' for more details." >&5
2892 $as_echo "$as_me: error: C compiler cannot create executables
2893 See \`config.log' for more details." >&2;}
2894 { (exit 77); exit 77; }; }; }
2897 ac_exeext
=$ac_cv_exeext
2899 # Check that the compiler produces executables we can run. If not, either
2900 # the compiler is broken, or we cross compile.
2901 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2902 $as_echo_n "checking whether the C compiler works... " >&6; }
2903 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2904 # If not cross compiling, check that we can run a simple program.
2905 if test "$cross_compiling" != yes; then
2906 if { ac_try
='./$ac_file'
2907 { (case "(($ac_try" in
2908 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2909 *) ac_try_echo=$ac_try;;
2911 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2912 $as_echo "$ac_try_echo") >&5
2913 (eval "$ac_try") 2>&5
2915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916 (exit $ac_status); }; }; then
2919 if test "$cross_compiling" = maybe; then
2922 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2924 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2925 If you meant to cross compile
, use \
`--host'.
2926 See \`config.log
' for more details." >&5
2927 $as_echo "$as_me: error: cannot run C compiled programs.
2928 If you meant to cross compile, use \`--host'.
2929 See \
`config.log' for more details." >&2;}
2930 { (exit 1); exit 1; }; }; }
2934 { $as_echo "$as_me:$LINENO: result: yes" >&5
2935 $as_echo "yes" >&6; }
2937 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2938 ac_clean_files=$ac_clean_files_save
2939 # Check that the compiler produces executables we can run. If not, either
2940 # the compiler is broken, or we cross compile.
2941 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2942 $as_echo_n "checking whether we are cross compiling... " >&6; }
2943 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2944 $as_echo "$cross_compiling" >&6; }
2946 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2947 $as_echo_n "checking for suffix of executables... " >&6; }
2948 if { (ac_try="$ac_link"
2950 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2951 *) ac_try_echo
=$ac_try;;
2953 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2954 $as_echo "$ac_try_echo") >&5
2955 (eval "$ac_link") 2>&5
2957 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); }; then
2959 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2960 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2961 # work properly (i.e., refer to `conftest.exe'), while it won't with
2963 for ac_file
in conftest.exe conftest conftest.
*; do
2964 test -f "$ac_file" ||
continue
2966 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2967 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2973 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2974 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2975 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2976 See \`config.log' for more details." >&5
2977 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2978 See \`config.log' for more details." >&2;}
2979 { (exit 1); exit 1; }; }; }
2982 rm -f conftest
$ac_cv_exeext
2983 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2984 $as_echo "$ac_cv_exeext" >&6; }
2986 rm -f conftest.
$ac_ext
2987 EXEEXT
=$ac_cv_exeext
2989 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2990 $as_echo_n "checking for suffix of object files... " >&6; }
2991 if test "${ac_cv_objext+set}" = set; then
2992 $as_echo_n "(cached) " >&6
2994 cat >conftest.
$ac_ext <<_ACEOF
2997 cat confdefs.h
>>conftest.
$ac_ext
2998 cat >>conftest.
$ac_ext <<_ACEOF
2999 /* end confdefs.h. */
3009 rm -f conftest.o conftest.obj
3010 if { (ac_try
="$ac_compile"
3012 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3013 *) ac_try_echo=$ac_try;;
3015 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3016 $as_echo "$ac_try_echo") >&5
3017 (eval "$ac_compile") 2>&5
3019 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020 (exit $ac_status); }; then
3021 for ac_file in conftest.o conftest.obj conftest.*; do
3022 test -f "$ac_file" || continue;
3024 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3025 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3030 $as_echo "$as_me: failed program was:" >&5
3031 sed 's/^/| /' conftest.$ac_ext >&5
3033 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3034 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3035 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3036 See \
`config.log' for more details." >&5
3037 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3038 See \`config.log
' for more details." >&2;}
3039 { (exit 1); exit 1; }; }; }
3042 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3044 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3045 $as_echo "$ac_cv_objext" >&6; }
3046 OBJEXT=$ac_cv_objext
3048 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3049 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3050 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3051 $as_echo_n "(cached) " >&6
3053 cat >conftest.$ac_ext <<_ACEOF
3056 cat confdefs.h >>conftest.$ac_ext
3057 cat >>conftest.$ac_ext <<_ACEOF
3058 /* end confdefs.h. */
3071 rm -f conftest.$ac_objext
3072 if { (ac_try="$ac_compile"
3074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3075 *) ac_try_echo=$ac_try;;
3077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3078 $as_echo "$ac_try_echo") >&5
3079 (eval "$ac_compile") 2>conftest.er1
3081 grep -v '^
*+' conftest.er1 >conftest.err
3083 cat conftest.err >&5
3084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 (exit $ac_status); } && {
3086 test -z "$ac_c_werror_flag" ||
3087 test ! -s conftest.err
3088 } && test -s conftest.$ac_objext; then
3091 $as_echo "$as_me: failed program was:" >&5
3092 sed 's
/^
/|
/' conftest.$ac_ext >&5
3097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3098 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3101 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3102 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3103 if test $ac_compiler_gnu = yes; then
3108 ac_test_CFLAGS=${CFLAGS+set}
3109 ac_save_CFLAGS=$CFLAGS
3110 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3111 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3112 if test "${ac_cv_prog_cc_g+set}" = set; then
3113 $as_echo_n "(cached) " >&6
3115 ac_save_c_werror_flag=$ac_c_werror_flag
3116 ac_c_werror_flag=yes
3119 cat >conftest.$ac_ext <<_ACEOF
3122 cat confdefs.h >>conftest.$ac_ext
3123 cat >>conftest.$ac_ext <<_ACEOF
3124 /* end confdefs.h. */
3134 rm -f conftest.$ac_objext
3135 if { (ac_try="$ac_compile"
3137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138 *) ac_try_echo=$ac_try;;
3140 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3141 $as_echo "$ac_try_echo") >&5
3142 (eval "$ac_compile") 2>conftest.er1
3144 grep -v '^
*+' conftest.er1 >conftest.err
3146 cat conftest.err >&5
3147 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); } && {
3149 test -z "$ac_c_werror_flag" ||
3150 test ! -s conftest.err
3151 } && test -s conftest.$ac_objext; then
3154 $as_echo "$as_me: failed program was:" >&5
3155 sed 's
/^
/|
/' conftest.$ac_ext >&5
3158 cat >conftest.$ac_ext <<_ACEOF
3161 cat confdefs.h >>conftest.$ac_ext
3162 cat >>conftest.$ac_ext <<_ACEOF
3163 /* end confdefs.h. */
3173 rm -f conftest.$ac_objext
3174 if { (ac_try="$ac_compile"
3176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3177 *) ac_try_echo=$ac_try;;
3179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3180 $as_echo "$ac_try_echo") >&5
3181 (eval "$ac_compile") 2>conftest.er1
3183 grep -v '^
*+' conftest.er1 >conftest.err
3185 cat conftest.err >&5
3186 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3187 (exit $ac_status); } && {
3188 test -z "$ac_c_werror_flag" ||
3189 test ! -s conftest.err
3190 } && test -s conftest.$ac_objext; then
3193 $as_echo "$as_me: failed program was:" >&5
3194 sed 's
/^
/|
/' conftest.$ac_ext >&5
3196 ac_c_werror_flag=$ac_save_c_werror_flag
3198 cat >conftest.$ac_ext <<_ACEOF
3201 cat confdefs.h >>conftest.$ac_ext
3202 cat >>conftest.$ac_ext <<_ACEOF
3203 /* end confdefs.h. */
3213 rm -f conftest.$ac_objext
3214 if { (ac_try="$ac_compile"
3216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3217 *) ac_try_echo=$ac_try;;
3219 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3220 $as_echo "$ac_try_echo") >&5
3221 (eval "$ac_compile") 2>conftest.er1
3223 grep -v '^
*+' conftest.er1 >conftest.err
3225 cat conftest.err >&5
3226 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227 (exit $ac_status); } && {
3228 test -z "$ac_c_werror_flag" ||
3229 test ! -s conftest.err
3230 } && test -s conftest.$ac_objext; then
3233 $as_echo "$as_me: failed program was:" >&5
3234 sed 's
/^
/|
/' conftest.$ac_ext >&5
3239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3246 ac_c_werror_flag=$ac_save_c_werror_flag
3248 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3249 $as_echo "$ac_cv_prog_cc_g" >&6; }
3250 if test "$ac_test_CFLAGS" = set; then
3251 CFLAGS=$ac_save_CFLAGS
3252 elif test $ac_cv_prog_cc_g = yes; then
3253 if test "$GCC" = yes; then
3259 if test "$GCC" = yes; then
3265 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3266 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3267 if test "${ac_cv_prog_cc_c89+set}" = set; then
3268 $as_echo_n "(cached) " >&6
3270 ac_cv_prog_cc_c89=no
3272 cat >conftest.$ac_ext <<_ACEOF
3275 cat confdefs.h >>conftest.$ac_ext
3276 cat >>conftest.$ac_ext <<_ACEOF
3277 /* end confdefs.h. */
3280 #include <sys/types.h>
3281 #include <sys/stat.h>
3282 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3283 struct buf
{ int x
; };
3284 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3285 static char
*e
(p
, i
)
3291 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3296 s
= g
(p
, va_arg
(v
,int
));
3301 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3302 function prototypes and stuff
, but not
'\xHH' hex character constants.
3303 These don
't provoke an error unfortunately, instead are silently treated
3304 as 'x
'. The following induces an error, until -std is added to get
3305 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3306 array size at least. It's necessary to
write '\x00'==0 to get something
3307 that
's true only with -std. */
3308 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3310 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3311 inside strings and character constants. */
3313 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3315 int test (int i, double x);
3316 struct s1 {int (*f) (int a);};
3317 struct s2 {int (*f) (double a);};
3318 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3324 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3329 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3330 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3332 CC="$ac_save_CC $ac_arg"
3333 rm -f conftest.$ac_objext
3334 if { (ac_try="$ac_compile"
3336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3337 *) ac_try_echo=$ac_try;;
3339 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3340 $as_echo "$ac_try_echo") >&5
3341 (eval "$ac_compile") 2>conftest.er1
3343 grep -v '^
*+' conftest.er1 >conftest.err
3345 cat conftest.err >&5
3346 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3347 (exit $ac_status); } && {
3348 test -z "$ac_c_werror_flag" ||
3349 test ! -s conftest.err
3350 } && test -s conftest.$ac_objext; then
3351 ac_cv_prog_cc_c89=$ac_arg
3353 $as_echo "$as_me: failed program was:" >&5
3354 sed 's
/^
/|
/' conftest.$ac_ext >&5
3359 rm -f core conftest.err conftest.$ac_objext
3360 test "x$ac_cv_prog_cc_c89" != "xno" && break
3362 rm -f conftest.$ac_ext
3367 case "x$ac_cv_prog_cc_c89" in
3369 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3370 $as_echo "none needed" >&6; } ;;
3372 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3373 $as_echo "unsupported" >&6; } ;;
3375 CC="$CC $ac_cv_prog_cc_c89"
3376 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3377 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3382 ac_cpp='$CPP $CPPFLAGS'
3383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3384 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3386 DEPDIR="${am__leading_dot}deps"
3388 ac_config_commands="$ac_config_commands depfiles"
3391 am_make=${MAKE-make}
3392 cat > confinc << 'END
'
3397 # If we don't
find an include directive
, just comment out the code.
3398 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3399 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3403 # First try GNU make style include.
3404 echo "include confinc" > confmf
3405 # We grep out `Entering directory' and `Leaving directory'
3406 # messages which can occur if `w' ends up in MAKEFLAGS.
3407 # In particular we don't look at `^make:' because GNU make might
3408 # be invoked under some other name (usually "gmake"), in which
3409 # case it prints its new name instead of `make'.
3410 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3415 # Now try BSD make style include.
3416 if test "$am__include" = "#"; then
3417 echo '.include "confinc"' > confmf
3418 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3419 am__include
=.include
3426 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3427 $as_echo "$_am_result" >&6; }
3428 rm -f confinc confmf
3430 # Check whether --enable-dependency-tracking was given.
3431 if test "${enable_dependency_tracking+set}" = set; then
3432 enableval
=$enable_dependency_tracking;
3435 if test "x$enable_dependency_tracking" != xno
; then
3436 am_depcomp
="$ac_aux_dir/depcomp"
3439 if test "x$enable_dependency_tracking" != xno; then
3449 depcc
="$CC" am_compiler_list
=
3451 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3452 $as_echo_n "checking dependency style of $depcc... " >&6; }
3453 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3454 $as_echo_n "(cached) " >&6
3456 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3457 # We make a subdir and do the tests there. Otherwise we can end up
3458 # making bogus files that we don't know about and never remove. For
3459 # instance it was reported that on HP-UX the gcc test will end up
3460 # making a dummy file named `D' -- because `-MD' means `put the output
3463 # Copy depcomp to subdir because otherwise we won't find it if we're
3464 # using a relative directory.
3465 cp "$am_depcomp" conftest.dir
3467 # We will build objects and dependencies in a subdirectory because
3468 # it helps to detect inapplicable dependency modes. For instance
3469 # both Tru64's cc and ICC support -MD to output dependencies as a
3470 # side effect of compilation, but ICC will put the dependencies in
3471 # the current directory while Tru64 will put them in the object
3475 am_cv_CC_dependencies_compiler_type
=none
3476 if test "$am_compiler_list" = ""; then
3477 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3479 for depmode
in $am_compiler_list; do
3480 # Setup a source with many dependencies, because some compilers
3481 # like to wrap large dependency lists on column 80 (with \), and
3482 # we should not choose a depcomp mode which is confused by this.
3484 # We need to recreate these files for each test, as the compiler may
3485 # overwrite some of them when testing with obscure command lines.
3486 # This happens at least with the AIX C compiler.
3488 for i
in 1 2 3 4 5 6; do
3489 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3490 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3491 # Solaris 8's {/usr,}/bin/sh.
3492 touch sub
/conftst
$i.h
3494 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3498 # after this tag, mechanisms are not by side-effect, so they'll
3499 # only be used when explicitly requested
3500 if test "x$enable_dependency_tracking" = xyes
; then
3508 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3509 # mode. It turns out that the SunPro C++ compiler does not properly
3510 # handle `-M -o', and we need to detect this.
3511 if depmode
=$depmode \
3512 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3513 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3514 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3515 >/dev
/null
2>conftest.err
&&
3516 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3517 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3518 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3519 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3520 # icc doesn't choke on unknown options, it will just issue warnings
3521 # or remarks (even with -Werror). So we grep stderr for any message
3522 # that says an option was ignored or not supported.
3523 # When given -MP, icc 7.0 and 7.1 complain thusly:
3524 # icc: Command line warning: ignoring option '-M'; no argument required
3525 # The diagnosis changed in icc 8.0:
3526 # icc: Command line remark: option '-MP' not supported
3527 if (grep 'ignoring option' conftest.err ||
3528 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3529 am_cv_CC_dependencies_compiler_type
=$depmode
3538 am_cv_CC_dependencies_compiler_type
=none
3542 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3543 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3544 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3547 test "x$enable_dependency_tracking" != xno \
3548 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3550 am__fastdepCC_FALSE
='#'
3552 am__fastdepCC_TRUE
='#'
3553 am__fastdepCC_FALSE
=
3558 ac_cpp
='$CXXCPP $CPPFLAGS'
3559 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3560 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3561 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3562 if test -z "$CXX"; then
3563 if test -n "$CCC"; then
3566 if test -n "$ac_tool_prefix"; then
3567 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3569 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3570 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3571 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3572 $as_echo_n "checking for $ac_word... " >&6; }
3573 if test "${ac_cv_prog_CXX+set}" = set; then
3574 $as_echo_n "(cached) " >&6
3576 if test -n "$CXX"; then
3577 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3583 test -z "$as_dir" && as_dir
=.
3584 for ac_exec_ext
in '' $ac_executable_extensions; do
3585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3586 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3587 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3597 if test -n "$CXX"; then
3598 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3599 $as_echo "$CXX" >&6; }
3601 { $as_echo "$as_me:$LINENO: result: no" >&5
3602 $as_echo "no" >&6; }
3606 test -n "$CXX" && break
3609 if test -z "$CXX"; then
3611 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3613 # Extract the first word of "$ac_prog", so it can be a program name with args.
3614 set dummy
$ac_prog; ac_word
=$2
3615 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3616 $as_echo_n "checking for $ac_word... " >&6; }
3617 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3618 $as_echo_n "(cached) " >&6
3620 if test -n "$ac_ct_CXX"; then
3621 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3627 test -z "$as_dir" && as_dir
=.
3628 for ac_exec_ext
in '' $ac_executable_extensions; do
3629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3630 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3631 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3640 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3641 if test -n "$ac_ct_CXX"; then
3642 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3643 $as_echo "$ac_ct_CXX" >&6; }
3645 { $as_echo "$as_me:$LINENO: result: no" >&5
3646 $as_echo "no" >&6; }
3650 test -n "$ac_ct_CXX" && break
3653 if test "x$ac_ct_CXX" = x
; then
3656 case $cross_compiling:$ac_tool_warned in
3658 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3660 ac_tool_warned
=yes ;;
3668 # Provide some information about the compiler.
3669 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3672 { (ac_try
="$ac_compiler --version >&5"
3674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3675 *) ac_try_echo=$ac_try;;
3677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3678 $as_echo "$ac_try_echo") >&5
3679 (eval "$ac_compiler --version >&5") 2>&5
3681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682 (exit $ac_status); }
3683 { (ac_try="$ac_compiler -v >&5"
3685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3686 *) ac_try_echo
=$ac_try;;
3688 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3689 $as_echo "$ac_try_echo") >&5
3690 (eval "$ac_compiler -v >&5") 2>&5
3692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); }
3694 { (ac_try
="$ac_compiler -V >&5"
3696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3697 *) ac_try_echo=$ac_try;;
3699 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3700 $as_echo "$ac_try_echo") >&5
3701 (eval "$ac_compiler -V >&5") 2>&5
3703 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704 (exit $ac_status); }
3706 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3707 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3708 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3709 $as_echo_n "(cached) " >&6
3711 cat >conftest.$ac_ext <<_ACEOF
3714 cat confdefs.h >>conftest.$ac_ext
3715 cat >>conftest.$ac_ext <<_ACEOF
3716 /* end confdefs.h. */
3729 rm -f conftest.$ac_objext
3730 if { (ac_try="$ac_compile"
3732 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3733 *) ac_try_echo
=$ac_try;;
3735 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3736 $as_echo "$ac_try_echo") >&5
3737 (eval "$ac_compile") 2>conftest.er1
3739 grep -v '^ *+' conftest.er1
>conftest.err
3741 cat conftest.err
>&5
3742 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3743 (exit $ac_status); } && {
3744 test -z "$ac_cxx_werror_flag" ||
3745 test ! -s conftest.err
3746 } && test -s conftest.
$ac_objext; then
3749 $as_echo "$as_me: failed program was:" >&5
3750 sed 's/^/| /' conftest.
$ac_ext >&5
3755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3756 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3759 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3760 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3761 if test $ac_compiler_gnu = yes; then
3766 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3767 ac_save_CXXFLAGS
=$CXXFLAGS
3768 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3769 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3770 if test "${ac_cv_prog_cxx_g+set}" = set; then
3771 $as_echo_n "(cached) " >&6
3773 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3774 ac_cxx_werror_flag
=yes
3777 cat >conftest.
$ac_ext <<_ACEOF
3780 cat confdefs.h
>>conftest.
$ac_ext
3781 cat >>conftest.
$ac_ext <<_ACEOF
3782 /* end confdefs.h. */
3792 rm -f conftest.
$ac_objext
3793 if { (ac_try
="$ac_compile"
3795 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3796 *) ac_try_echo=$ac_try;;
3798 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3799 $as_echo "$ac_try_echo") >&5
3800 (eval "$ac_compile") 2>conftest.er1
3802 grep -v '^ *+' conftest.er1 >conftest.err
3804 cat conftest.err >&5
3805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3806 (exit $ac_status); } && {
3807 test -z "$ac_cxx_werror_flag" ||
3808 test ! -s conftest.err
3809 } && test -s conftest.$ac_objext; then
3810 ac_cv_prog_cxx_g=yes
3812 $as_echo "$as_me: failed program was:" >&5
3813 sed 's/^/| /' conftest.$ac_ext >&5
3816 cat >conftest.$ac_ext <<_ACEOF
3819 cat confdefs.h >>conftest.$ac_ext
3820 cat >>conftest.$ac_ext <<_ACEOF
3821 /* end confdefs.h. */
3831 rm -f conftest.$ac_objext
3832 if { (ac_try="$ac_compile"
3834 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3835 *) ac_try_echo
=$ac_try;;
3837 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3838 $as_echo "$ac_try_echo") >&5
3839 (eval "$ac_compile") 2>conftest.er1
3841 grep -v '^ *+' conftest.er1
>conftest.err
3843 cat conftest.err
>&5
3844 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3845 (exit $ac_status); } && {
3846 test -z "$ac_cxx_werror_flag" ||
3847 test ! -s conftest.err
3848 } && test -s conftest.
$ac_objext; then
3851 $as_echo "$as_me: failed program was:" >&5
3852 sed 's/^/| /' conftest.
$ac_ext >&5
3854 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3856 cat >conftest.
$ac_ext <<_ACEOF
3859 cat confdefs.h
>>conftest.
$ac_ext
3860 cat >>conftest.
$ac_ext <<_ACEOF
3861 /* end confdefs.h. */
3871 rm -f conftest.
$ac_objext
3872 if { (ac_try
="$ac_compile"
3874 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3875 *) ac_try_echo=$ac_try;;
3877 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3878 $as_echo "$ac_try_echo") >&5
3879 (eval "$ac_compile") 2>conftest.er1
3881 grep -v '^ *+' conftest.er1 >conftest.err
3883 cat conftest.err >&5
3884 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3885 (exit $ac_status); } && {
3886 test -z "$ac_cxx_werror_flag" ||
3887 test ! -s conftest.err
3888 } && test -s conftest.$ac_objext; then
3889 ac_cv_prog_cxx_g=yes
3891 $as_echo "$as_me: failed program was:" >&5
3892 sed 's/^/| /' conftest.$ac_ext >&5
3897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3904 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3906 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3907 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3908 if test "$ac_test_CXXFLAGS" = set; then
3909 CXXFLAGS=$ac_save_CXXFLAGS
3910 elif test $ac_cv_prog_cxx_g = yes; then
3911 if test "$GXX" = yes; then
3917 if test "$GXX" = yes; then
3924 ac_cpp='$CPP $CPPFLAGS'
3925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3929 depcc="$CXX" am_compiler_list=
3931 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3932 $as_echo_n "checking dependency style of $depcc... " >&6; }
3933 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3934 $as_echo_n "(cached) " >&6
3936 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3937 # We make a subdir and do the tests there. Otherwise we can end up
3938 # making bogus files that we don't know about and never remove. For
3939 # instance it was reported that on HP-UX the gcc test will end up
3940 # making a dummy file named `D
' -- because `-MD' means
`put the output
3943 # Copy depcomp to subdir because otherwise we won't find it if we're
3944 # using a relative directory.
3945 cp "$am_depcomp" conftest.dir
3947 # We will build objects and dependencies in a subdirectory because
3948 # it helps to detect inapplicable dependency modes. For instance
3949 # both Tru64's cc and ICC support -MD to output dependencies as a
3950 # side effect of compilation, but ICC will put the dependencies in
3951 # the current directory while Tru64 will put them in the object
3955 am_cv_CXX_dependencies_compiler_type=none
3956 if test "$am_compiler_list" = ""; then
3957 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3959 for depmode in $am_compiler_list; do
3960 # Setup a source with many dependencies, because some compilers
3961 # like to wrap large dependency lists on column 80 (with \), and
3962 # we should not choose a depcomp mode which is confused by this.
3964 # We need to recreate these files for each test, as the compiler may
3965 # overwrite some of them when testing with obscure command lines.
3966 # This happens at least with the AIX C compiler.
3968 for i in 1 2 3 4 5 6; do
3969 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3970 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3971 # Solaris 8's
{/usr
,}/bin
/sh.
3972 touch sub
/conftst
$i.h
3974 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3978 # after this tag, mechanisms are not by side-effect, so they'll
3979 # only be used when explicitly requested
3980 if test "x$enable_dependency_tracking" = xyes
; then
3988 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3989 # mode. It turns out that the SunPro C++ compiler does not properly
3990 # handle `-M -o', and we need to detect this.
3991 if depmode
=$depmode \
3992 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3993 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3994 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3995 >/dev
/null
2>conftest.err
&&
3996 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3997 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3998 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3999 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4000 # icc doesn't choke on unknown options, it will just issue warnings
4001 # or remarks (even with -Werror). So we grep stderr for any message
4002 # that says an option was ignored or not supported.
4003 # When given -MP, icc 7.0 and 7.1 complain thusly:
4004 # icc: Command line warning: ignoring option '-M'; no argument required
4005 # The diagnosis changed in icc 8.0:
4006 # icc: Command line remark: option '-MP' not supported
4007 if (grep 'ignoring option' conftest.err ||
4008 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4009 am_cv_CXX_dependencies_compiler_type
=$depmode
4018 am_cv_CXX_dependencies_compiler_type
=none
4022 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4023 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4024 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4027 test "x$enable_dependency_tracking" != xno \
4028 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4029 am__fastdepCXX_TRUE
=
4030 am__fastdepCXX_FALSE
='#'
4032 am__fastdepCXX_TRUE
='#'
4033 am__fastdepCXX_FALSE
=
4038 ac_cpp
='$CPP $CPPFLAGS'
4039 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4040 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4041 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4042 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4043 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4044 # On Suns, sometimes $CPP names a directory.
4045 if test -n "$CPP" && test -d "$CPP"; then
4048 if test -z "$CPP"; then
4049 if test "${ac_cv_prog_CPP+set}" = set; then
4050 $as_echo_n "(cached) " >&6
4052 # Double quotes because CPP needs to be expanded
4053 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4056 for ac_c_preproc_warn_flag
in '' yes
4058 # Use a header file that comes with gcc, so configuring glibc
4059 # with a fresh cross-compiler works.
4060 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4061 # <limits.h> exists even on freestanding compilers.
4062 # On the NeXT, cc -E runs the code through the compiler's parser,
4063 # not just through cpp. "Syntax error" is here to catch this case.
4064 cat >conftest.
$ac_ext <<_ACEOF
4067 cat confdefs.h
>>conftest.
$ac_ext
4068 cat >>conftest.
$ac_ext <<_ACEOF
4069 /* end confdefs.h. */
4071 # include <limits.h>
4073 # include <assert.h>
4077 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4079 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4080 *) ac_try_echo=$ac_try;;
4082 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4083 $as_echo "$ac_try_echo") >&5
4084 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4086 grep -v '^ *+' conftest.er1 >conftest.err
4088 cat conftest.err >&5
4089 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090 (exit $ac_status); } >/dev/null && {
4091 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4092 test ! -s conftest.err
4096 $as_echo "$as_me: failed program was:" >&5
4097 sed 's/^/| /' conftest.$ac_ext >&5
4099 # Broken: fails on valid input.
4103 rm -f conftest.err conftest.$ac_ext
4105 # OK, works on sane cases. Now check whether nonexistent headers
4106 # can be detected and how.
4107 cat >conftest.$ac_ext <<_ACEOF
4110 cat confdefs.h >>conftest.$ac_ext
4111 cat >>conftest.$ac_ext <<_ACEOF
4112 /* end confdefs.h. */
4113 #include <ac_nonexistent.h>
4115 if { (ac_try="$ac_cpp conftest.$ac_ext"
4117 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4118 *) ac_try_echo
=$ac_try;;
4120 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4121 $as_echo "$ac_try_echo") >&5
4122 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4124 grep -v '^ *+' conftest.er1
>conftest.err
4126 cat conftest.err
>&5
4127 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4128 (exit $ac_status); } >/dev
/null
&& {
4129 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4130 test ! -s conftest.err
4132 # Broken: success on invalid input.
4135 $as_echo "$as_me: failed program was:" >&5
4136 sed 's/^/| /' conftest.
$ac_ext >&5
4138 # Passes both tests.
4143 rm -f conftest.err conftest.
$ac_ext
4146 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4147 rm -f conftest.err conftest.
$ac_ext
4148 if $ac_preproc_ok; then
4160 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4161 $as_echo "$CPP" >&6; }
4163 for ac_c_preproc_warn_flag
in '' yes
4165 # Use a header file that comes with gcc, so configuring glibc
4166 # with a fresh cross-compiler works.
4167 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4168 # <limits.h> exists even on freestanding compilers.
4169 # On the NeXT, cc -E runs the code through the compiler's parser,
4170 # not just through cpp. "Syntax error" is here to catch this case.
4171 cat >conftest.
$ac_ext <<_ACEOF
4174 cat confdefs.h
>>conftest.
$ac_ext
4175 cat >>conftest.
$ac_ext <<_ACEOF
4176 /* end confdefs.h. */
4178 # include <limits.h>
4180 # include <assert.h>
4184 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4186 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4187 *) ac_try_echo=$ac_try;;
4189 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4190 $as_echo "$ac_try_echo") >&5
4191 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4193 grep -v '^ *+' conftest.er1 >conftest.err
4195 cat conftest.err >&5
4196 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4197 (exit $ac_status); } >/dev/null && {
4198 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4199 test ! -s conftest.err
4203 $as_echo "$as_me: failed program was:" >&5
4204 sed 's/^/| /' conftest.$ac_ext >&5
4206 # Broken: fails on valid input.
4210 rm -f conftest.err conftest.$ac_ext
4212 # OK, works on sane cases. Now check whether nonexistent headers
4213 # can be detected and how.
4214 cat >conftest.$ac_ext <<_ACEOF
4217 cat confdefs.h >>conftest.$ac_ext
4218 cat >>conftest.$ac_ext <<_ACEOF
4219 /* end confdefs.h. */
4220 #include <ac_nonexistent.h>
4222 if { (ac_try="$ac_cpp conftest.$ac_ext"
4224 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4225 *) ac_try_echo
=$ac_try;;
4227 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4228 $as_echo "$ac_try_echo") >&5
4229 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4231 grep -v '^ *+' conftest.er1
>conftest.err
4233 cat conftest.err
>&5
4234 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); } >/dev
/null
&& {
4236 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4237 test ! -s conftest.err
4239 # Broken: success on invalid input.
4242 $as_echo "$as_me: failed program was:" >&5
4243 sed 's/^/| /' conftest.
$ac_ext >&5
4245 # Passes both tests.
4250 rm -f conftest.err conftest.
$ac_ext
4253 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4254 rm -f conftest.err conftest.
$ac_ext
4255 if $ac_preproc_ok; then
4258 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4260 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4261 See \`config.log' for more details." >&5
4262 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4263 See \`config.log' for more details." >&2;}
4264 { (exit 1); exit 1; }; }; }
4268 ac_cpp
='$CPP $CPPFLAGS'
4269 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4270 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4271 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4274 ac_cpp
='$CPP $CPPFLAGS'
4275 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4276 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4277 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4278 if test -n "$ac_tool_prefix"; then
4279 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4280 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4281 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4282 $as_echo_n "checking for $ac_word... " >&6; }
4283 if test "${ac_cv_prog_CC+set}" = set; then
4284 $as_echo_n "(cached) " >&6
4286 if test -n "$CC"; then
4287 ac_cv_prog_CC
="$CC" # Let the user override the test.
4289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4293 test -z "$as_dir" && as_dir
=.
4294 for ac_exec_ext
in '' $ac_executable_extensions; do
4295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4296 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4297 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4307 if test -n "$CC"; then
4308 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4309 $as_echo "$CC" >&6; }
4311 { $as_echo "$as_me:$LINENO: result: no" >&5
4312 $as_echo "no" >&6; }
4317 if test -z "$ac_cv_prog_CC"; then
4319 # Extract the first word of "gcc", so it can be a program name with args.
4320 set dummy gcc
; ac_word
=$2
4321 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4322 $as_echo_n "checking for $ac_word... " >&6; }
4323 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4324 $as_echo_n "(cached) " >&6
4326 if test -n "$ac_ct_CC"; then
4327 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4333 test -z "$as_dir" && as_dir
=.
4334 for ac_exec_ext
in '' $ac_executable_extensions; do
4335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4336 ac_cv_prog_ac_ct_CC
="gcc"
4337 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4346 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4347 if test -n "$ac_ct_CC"; then
4348 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4349 $as_echo "$ac_ct_CC" >&6; }
4351 { $as_echo "$as_me:$LINENO: result: no" >&5
4352 $as_echo "no" >&6; }
4355 if test "x$ac_ct_CC" = x
; then
4358 case $cross_compiling:$ac_tool_warned in
4360 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4361 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4362 ac_tool_warned
=yes ;;
4370 if test -z "$CC"; then
4371 if test -n "$ac_tool_prefix"; then
4372 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4373 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4374 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4375 $as_echo_n "checking for $ac_word... " >&6; }
4376 if test "${ac_cv_prog_CC+set}" = set; then
4377 $as_echo_n "(cached) " >&6
4379 if test -n "$CC"; then
4380 ac_cv_prog_CC
="$CC" # Let the user override the test.
4382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4386 test -z "$as_dir" && as_dir
=.
4387 for ac_exec_ext
in '' $ac_executable_extensions; do
4388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4389 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4390 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4400 if test -n "$CC"; then
4401 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4402 $as_echo "$CC" >&6; }
4404 { $as_echo "$as_me:$LINENO: result: no" >&5
4405 $as_echo "no" >&6; }
4411 if test -z "$CC"; then
4412 # Extract the first word of "cc", so it can be a program name with args.
4413 set dummy cc
; ac_word
=$2
4414 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4415 $as_echo_n "checking for $ac_word... " >&6; }
4416 if test "${ac_cv_prog_CC+set}" = set; then
4417 $as_echo_n "(cached) " >&6
4419 if test -n "$CC"; then
4420 ac_cv_prog_CC
="$CC" # Let the user override the test.
4423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4427 test -z "$as_dir" && as_dir
=.
4428 for ac_exec_ext
in '' $ac_executable_extensions; do
4429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4430 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4431 ac_prog_rejected
=yes
4435 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4442 if test $ac_prog_rejected = yes; then
4443 # We found a bogon in the path, so make sure we never use it.
4444 set dummy
$ac_cv_prog_CC
4446 if test $# != 0; then
4447 # We chose a different compiler from the bogus one.
4448 # However, it has the same basename, so the bogon will be chosen
4449 # first if we set CC to just the basename; use the full file name.
4451 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4457 if test -n "$CC"; then
4458 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4459 $as_echo "$CC" >&6; }
4461 { $as_echo "$as_me:$LINENO: result: no" >&5
4462 $as_echo "no" >&6; }
4467 if test -z "$CC"; then
4468 if test -n "$ac_tool_prefix"; then
4469 for ac_prog
in cl.exe
4471 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4472 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4473 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4474 $as_echo_n "checking for $ac_word... " >&6; }
4475 if test "${ac_cv_prog_CC+set}" = set; then
4476 $as_echo_n "(cached) " >&6
4478 if test -n "$CC"; then
4479 ac_cv_prog_CC
="$CC" # Let the user override the test.
4481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4485 test -z "$as_dir" && as_dir
=.
4486 for ac_exec_ext
in '' $ac_executable_extensions; do
4487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4488 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4489 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4499 if test -n "$CC"; then
4500 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4501 $as_echo "$CC" >&6; }
4503 { $as_echo "$as_me:$LINENO: result: no" >&5
4504 $as_echo "no" >&6; }
4508 test -n "$CC" && break
4511 if test -z "$CC"; then
4513 for ac_prog
in cl.exe
4515 # Extract the first word of "$ac_prog", so it can be a program name with args.
4516 set dummy
$ac_prog; ac_word
=$2
4517 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4518 $as_echo_n "checking for $ac_word... " >&6; }
4519 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4520 $as_echo_n "(cached) " >&6
4522 if test -n "$ac_ct_CC"; then
4523 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4529 test -z "$as_dir" && as_dir
=.
4530 for ac_exec_ext
in '' $ac_executable_extensions; do
4531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4532 ac_cv_prog_ac_ct_CC
="$ac_prog"
4533 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4542 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4543 if test -n "$ac_ct_CC"; then
4544 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4545 $as_echo "$ac_ct_CC" >&6; }
4547 { $as_echo "$as_me:$LINENO: result: no" >&5
4548 $as_echo "no" >&6; }
4552 test -n "$ac_ct_CC" && break
4555 if test "x$ac_ct_CC" = x
; then
4558 case $cross_compiling:$ac_tool_warned in
4560 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4561 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4562 ac_tool_warned
=yes ;;
4571 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4572 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4573 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4574 See \`config.log' for more details." >&5
4575 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4576 See \`config.log' for more details." >&2;}
4577 { (exit 1); exit 1; }; }; }
4579 # Provide some information about the compiler.
4580 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4583 { (ac_try
="$ac_compiler --version >&5"
4585 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4586 *) ac_try_echo=$ac_try;;
4588 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4589 $as_echo "$ac_try_echo") >&5
4590 (eval "$ac_compiler --version >&5") 2>&5
4592 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4593 (exit $ac_status); }
4594 { (ac_try="$ac_compiler -v >&5"
4596 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4597 *) ac_try_echo
=$ac_try;;
4599 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4600 $as_echo "$ac_try_echo") >&5
4601 (eval "$ac_compiler -v >&5") 2>&5
4603 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604 (exit $ac_status); }
4605 { (ac_try
="$ac_compiler -V >&5"
4607 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4608 *) ac_try_echo=$ac_try;;
4610 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4611 $as_echo "$ac_try_echo") >&5
4612 (eval "$ac_compiler -V >&5") 2>&5
4614 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4615 (exit $ac_status); }
4617 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4618 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4619 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4620 $as_echo_n "(cached) " >&6
4622 cat >conftest.$ac_ext <<_ACEOF
4625 cat confdefs.h >>conftest.$ac_ext
4626 cat >>conftest.$ac_ext <<_ACEOF
4627 /* end confdefs.h. */
4640 rm -f conftest.$ac_objext
4641 if { (ac_try="$ac_compile"
4643 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4644 *) ac_try_echo
=$ac_try;;
4646 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4647 $as_echo "$ac_try_echo") >&5
4648 (eval "$ac_compile") 2>conftest.er1
4650 grep -v '^ *+' conftest.er1
>conftest.err
4652 cat conftest.err
>&5
4653 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654 (exit $ac_status); } && {
4655 test -z "$ac_c_werror_flag" ||
4656 test ! -s conftest.err
4657 } && test -s conftest.
$ac_objext; then
4660 $as_echo "$as_me: failed program was:" >&5
4661 sed 's/^/| /' conftest.
$ac_ext >&5
4666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4667 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4670 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4671 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4672 if test $ac_compiler_gnu = yes; then
4677 ac_test_CFLAGS
=${CFLAGS+set}
4678 ac_save_CFLAGS
=$CFLAGS
4679 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4680 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4681 if test "${ac_cv_prog_cc_g+set}" = set; then
4682 $as_echo_n "(cached) " >&6
4684 ac_save_c_werror_flag
=$ac_c_werror_flag
4685 ac_c_werror_flag
=yes
4688 cat >conftest.
$ac_ext <<_ACEOF
4691 cat confdefs.h
>>conftest.
$ac_ext
4692 cat >>conftest.
$ac_ext <<_ACEOF
4693 /* end confdefs.h. */
4703 rm -f conftest.
$ac_objext
4704 if { (ac_try
="$ac_compile"
4706 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4707 *) ac_try_echo=$ac_try;;
4709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4710 $as_echo "$ac_try_echo") >&5
4711 (eval "$ac_compile") 2>conftest.er1
4713 grep -v '^ *+' conftest.er1 >conftest.err
4715 cat conftest.err >&5
4716 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4717 (exit $ac_status); } && {
4718 test -z "$ac_c_werror_flag" ||
4719 test ! -s conftest.err
4720 } && test -s conftest.$ac_objext; then
4723 $as_echo "$as_me: failed program was:" >&5
4724 sed 's/^/| /' conftest.$ac_ext >&5
4727 cat >conftest.$ac_ext <<_ACEOF
4730 cat confdefs.h >>conftest.$ac_ext
4731 cat >>conftest.$ac_ext <<_ACEOF
4732 /* end confdefs.h. */
4742 rm -f conftest.$ac_objext
4743 if { (ac_try="$ac_compile"
4745 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4746 *) ac_try_echo
=$ac_try;;
4748 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4749 $as_echo "$ac_try_echo") >&5
4750 (eval "$ac_compile") 2>conftest.er1
4752 grep -v '^ *+' conftest.er1
>conftest.err
4754 cat conftest.err
>&5
4755 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756 (exit $ac_status); } && {
4757 test -z "$ac_c_werror_flag" ||
4758 test ! -s conftest.err
4759 } && test -s conftest.
$ac_objext; then
4762 $as_echo "$as_me: failed program was:" >&5
4763 sed 's/^/| /' conftest.
$ac_ext >&5
4765 ac_c_werror_flag
=$ac_save_c_werror_flag
4767 cat >conftest.
$ac_ext <<_ACEOF
4770 cat confdefs.h
>>conftest.
$ac_ext
4771 cat >>conftest.
$ac_ext <<_ACEOF
4772 /* end confdefs.h. */
4782 rm -f conftest.
$ac_objext
4783 if { (ac_try
="$ac_compile"
4785 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4786 *) ac_try_echo=$ac_try;;
4788 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4789 $as_echo "$ac_try_echo") >&5
4790 (eval "$ac_compile") 2>conftest.er1
4792 grep -v '^ *+' conftest.er1 >conftest.err
4794 cat conftest.err >&5
4795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796 (exit $ac_status); } && {
4797 test -z "$ac_c_werror_flag" ||
4798 test ! -s conftest.err
4799 } && test -s conftest.$ac_objext; then
4802 $as_echo "$as_me: failed program was:" >&5
4803 sed 's/^/| /' conftest.$ac_ext >&5
4808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4815 ac_c_werror_flag=$ac_save_c_werror_flag
4817 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4818 $as_echo "$ac_cv_prog_cc_g" >&6; }
4819 if test "$ac_test_CFLAGS" = set; then
4820 CFLAGS=$ac_save_CFLAGS
4821 elif test $ac_cv_prog_cc_g = yes; then
4822 if test "$GCC" = yes; then
4828 if test "$GCC" = yes; then
4834 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4835 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4836 if test "${ac_cv_prog_cc_c89+set}" = set; then
4837 $as_echo_n "(cached) " >&6
4839 ac_cv_prog_cc_c89=no
4841 cat >conftest.$ac_ext <<_ACEOF
4844 cat confdefs.h >>conftest.$ac_ext
4845 cat >>conftest.$ac_ext <<_ACEOF
4846 /* end confdefs.h. */
4849 #include <sys/types.h>
4850 #include <sys/stat.h>
4851 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4852 struct buf { int x; };
4853 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4854 static char *e (p, i)
4860 static char *f (char * (*g) (char **, int), char **p, ...)
4865 s = g (p, va_arg (v,int));
4870 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4871 function prototypes and stuff, but not '\xHH' hex character constants.
4872 These don't provoke an error unfortunately, instead are silently treated
4873 as 'x'. The following induces an error, until -std is added to get
4874 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4875 array size at least. It's necessary to write '\x00'==0 to get something
4876 that's true only with -std. */
4877 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4879 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4880 inside strings and character constants. */
4882 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4884 int test (int i, double x);
4885 struct s1 {int (*f) (int a);};
4886 struct s2 {int (*f) (double a);};
4887 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4893 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4898 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4899 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4901 CC="$ac_save_CC $ac_arg"
4902 rm -f conftest.$ac_objext
4903 if { (ac_try="$ac_compile"
4905 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4906 *) ac_try_echo
=$ac_try;;
4908 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4909 $as_echo "$ac_try_echo") >&5
4910 (eval "$ac_compile") 2>conftest.er1
4912 grep -v '^ *+' conftest.er1
>conftest.err
4914 cat conftest.err
>&5
4915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4916 (exit $ac_status); } && {
4917 test -z "$ac_c_werror_flag" ||
4918 test ! -s conftest.err
4919 } && test -s conftest.
$ac_objext; then
4920 ac_cv_prog_cc_c89
=$ac_arg
4922 $as_echo "$as_me: failed program was:" >&5
4923 sed 's/^/| /' conftest.
$ac_ext >&5
4928 rm -f core conftest.err conftest.
$ac_objext
4929 test "x$ac_cv_prog_cc_c89" != "xno" && break
4931 rm -f conftest.
$ac_ext
4936 case "x$ac_cv_prog_cc_c89" in
4938 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4939 $as_echo "none needed" >&6; } ;;
4941 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4942 $as_echo "unsupported" >&6; } ;;
4944 CC
="$CC $ac_cv_prog_cc_c89"
4945 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4946 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4951 ac_cpp
='$CPP $CPPFLAGS'
4952 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4953 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4954 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4956 depcc
="$CC" am_compiler_list
=
4958 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4959 $as_echo_n "checking dependency style of $depcc... " >&6; }
4960 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4961 $as_echo_n "(cached) " >&6
4963 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4964 # We make a subdir and do the tests there. Otherwise we can end up
4965 # making bogus files that we don't know about and never remove. For
4966 # instance it was reported that on HP-UX the gcc test will end up
4967 # making a dummy file named `D' -- because `-MD' means `put the output
4970 # Copy depcomp to subdir because otherwise we won't find it if we're
4971 # using a relative directory.
4972 cp "$am_depcomp" conftest.dir
4974 # We will build objects and dependencies in a subdirectory because
4975 # it helps to detect inapplicable dependency modes. For instance
4976 # both Tru64's cc and ICC support -MD to output dependencies as a
4977 # side effect of compilation, but ICC will put the dependencies in
4978 # the current directory while Tru64 will put them in the object
4982 am_cv_CC_dependencies_compiler_type
=none
4983 if test "$am_compiler_list" = ""; then
4984 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4986 for depmode
in $am_compiler_list; do
4987 # Setup a source with many dependencies, because some compilers
4988 # like to wrap large dependency lists on column 80 (with \), and
4989 # we should not choose a depcomp mode which is confused by this.
4991 # We need to recreate these files for each test, as the compiler may
4992 # overwrite some of them when testing with obscure command lines.
4993 # This happens at least with the AIX C compiler.
4995 for i
in 1 2 3 4 5 6; do
4996 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4997 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4998 # Solaris 8's {/usr,}/bin/sh.
4999 touch sub
/conftst
$i.h
5001 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5005 # after this tag, mechanisms are not by side-effect, so they'll
5006 # only be used when explicitly requested
5007 if test "x$enable_dependency_tracking" = xyes
; then
5015 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5016 # mode. It turns out that the SunPro C++ compiler does not properly
5017 # handle `-M -o', and we need to detect this.
5018 if depmode
=$depmode \
5019 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5020 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5021 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5022 >/dev
/null
2>conftest.err
&&
5023 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5024 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5025 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5026 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5027 # icc doesn't choke on unknown options, it will just issue warnings
5028 # or remarks (even with -Werror). So we grep stderr for any message
5029 # that says an option was ignored or not supported.
5030 # When given -MP, icc 7.0 and 7.1 complain thusly:
5031 # icc: Command line warning: ignoring option '-M'; no argument required
5032 # The diagnosis changed in icc 8.0:
5033 # icc: Command line remark: option '-MP' not supported
5034 if (grep 'ignoring option' conftest.err ||
5035 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5036 am_cv_CC_dependencies_compiler_type
=$depmode
5045 am_cv_CC_dependencies_compiler_type
=none
5049 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5050 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5051 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5054 test "x$enable_dependency_tracking" != xno \
5055 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5057 am__fastdepCC_FALSE
='#'
5059 am__fastdepCC_TRUE
='#'
5060 am__fastdepCC_FALSE
=
5065 am_cv_prog_cc_stdc
=$ac_cv_prog_cc_stdc
5067 if test "x$CC" != xcc
; then
5068 { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
5069 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5071 { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
5072 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5074 set dummy
$CC; ac_cc
=`$as_echo "$2" |
5075 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5076 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
5077 $as_echo_n "(cached) " >&6
5079 cat >conftest.
$ac_ext <<_ACEOF
5082 cat confdefs.h
>>conftest.
$ac_ext
5083 cat >>conftest.
$ac_ext <<_ACEOF
5084 /* end confdefs.h. */
5094 # Make sure it works both with $CC and with simple cc.
5095 # We do the test twice because some compilers refuse to overwrite an
5096 # existing .o file with -o, though they will create one.
5097 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5099 if { (case "(($ac_try" in
5100 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5101 *) ac_try_echo=$ac_try;;
5103 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5104 $as_echo "$ac_try_echo") >&5
5105 (eval "$ac_try") 2>&5
5107 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108 (exit $ac_status); } &&
5109 test -f conftest2.$ac_objext && { (case "(($ac_try" in
5110 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5111 *) ac_try_echo
=$ac_try;;
5113 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5114 $as_echo "$ac_try_echo") >&5
5115 (eval "$ac_try") 2>&5
5117 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118 (exit $ac_status); };
5120 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5121 if test "x$CC" != xcc
; then
5122 # Test first that cc exists at all.
5123 if { ac_try
='cc -c conftest.$ac_ext >&5'
5124 { (case "(($ac_try" in
5125 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5126 *) ac_try_echo=$ac_try;;
5128 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5129 $as_echo "$ac_try_echo") >&5
5130 (eval "$ac_try") 2>&5
5132 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5133 (exit $ac_status); }; }; then
5134 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5136 if { (case "(($ac_try" in
5137 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5138 *) ac_try_echo
=$ac_try;;
5140 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5141 $as_echo "$ac_try_echo") >&5
5142 (eval "$ac_try") 2>&5
5144 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5145 (exit $ac_status); } &&
5146 test -f conftest2.
$ac_objext && { (case "(($ac_try" in
5147 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5148 *) ac_try_echo=$ac_try;;
5150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5151 $as_echo "$ac_try_echo") >&5
5152 (eval "$ac_try") 2>&5
5154 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5155 (exit $ac_status); };
5160 # cc exists but doesn't like -o.
5161 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5166 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5168 rm -f core conftest*
5171 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5172 { $as_echo "$as_me:$LINENO: result: yes" >&5
5173 $as_echo "yes" >&6; }
5175 { $as_echo "$as_me:$LINENO: result: no" >&5
5176 $as_echo "no" >&6; }
5178 cat >>confdefs.h <<\_ACEOF
5179 #define NO_MINUS_C_MINUS_O 1
5184 # FIXME: we rely on the cache variable name because
5185 # there is no other way.
5187 ac_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5188 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o
`\" != yes"; then
5189 # Losing compiler, so override with the script.
5190 # FIXME: It is wrong to rewrite CC.
5191 # But if we don't then we get into trouble of one sort or another.
5192 # A longer-term fix would be to have automake use am__CC in this case,
5193 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5194 CC="$am_aux_dir/compile $CC"
5198 { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5
5199 $as_echo_n "checking for function prototypes... " >&6; }
5200 if test "$ac_cv_prog_cc_c89" != no; then
5201 { $as_echo "$as_me:$LINENO: result: yes" >&5
5202 $as_echo "yes" >&6; }
5204 cat >>confdefs.h <<\_ACEOF
5205 #define PROTOTYPES 1
5209 cat >>confdefs.h <<\_ACEOF
5210 #define __PROTOTYPES 1
5214 { $as_echo "$as_me:$LINENO: result: no" >&5
5215 $as_echo "no" >&6; }
5220 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5221 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5222 if test "${ac_cv_path_GREP+set}" = set; then
5223 $as_echo_n "(cached) " >&6
5225 if test -z "$GREP"; then
5226 ac_path_GREP_found=false
5227 # Loop through the user's path and test for each of PROGNAME-LIST
5228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5229 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5232 test -z "$as_dir" && as_dir=.
5233 for ac_prog in grep ggrep; do
5234 for ac_exec_ext in '' $ac_executable_extensions; do
5235 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5236 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5237 # Check for GNU ac_path_GREP and select it if it is found.
5238 # Check for GNU $ac_path_GREP
5239 case `"$ac_path_GREP" --version 2>&1` in
5241 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5244 $as_echo_n 0123456789 >"conftest.in"
5247 cat "conftest.in" "conftest.in" >"conftest.tmp"
5248 mv "conftest.tmp" "conftest.in"
5249 cp "conftest.in" "conftest.nl"
5250 $as_echo 'GREP' >> "conftest.nl"
5251 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5252 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5253 ac_count=`expr $ac_count + 1`
5254 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5255 # Best one so far, save it but keep looking for a better one
5256 ac_cv_path_GREP="$ac_path_GREP"
5257 ac_path_GREP_max=$ac_count
5259 # 10*(2^10) chars as input seems more than enough
5260 test $ac_count -gt 10 && break
5262 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5265 $ac_path_GREP_found && break 3
5270 if test -z "$ac_cv_path_GREP"; then
5271 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5272 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5273 { (exit 1); exit 1; }; }
5276 ac_cv_path_GREP=$GREP
5280 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5281 $as_echo "$ac_cv_path_GREP" >&6; }
5282 GREP="$ac_cv_path_GREP"
5285 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5286 $as_echo_n "checking for egrep... " >&6; }
5287 if test "${ac_cv_path_EGREP+set}" = set; then
5288 $as_echo_n "(cached) " >&6
5290 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5291 then ac_cv_path_EGREP="$GREP -E"
5293 if test -z "$EGREP"; then
5294 ac_path_EGREP_found=false
5295 # Loop through the user's path and test for each of PROGNAME-LIST
5296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5297 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5300 test -z "$as_dir" && as_dir=.
5301 for ac_prog in egrep; do
5302 for ac_exec_ext in '' $ac_executable_extensions; do
5303 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5304 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5305 # Check for GNU ac_path_EGREP and select it if it is found.
5306 # Check for GNU $ac_path_EGREP
5307 case `"$ac_path_EGREP" --version 2>&1` in
5309 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5312 $as_echo_n 0123456789 >"conftest.in"
5315 cat "conftest.in" "conftest.in" >"conftest.tmp"
5316 mv "conftest.tmp" "conftest.in"
5317 cp "conftest.in" "conftest.nl"
5318 $as_echo 'EGREP' >> "conftest.nl"
5319 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5320 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5321 ac_count=`expr $ac_count + 1`
5322 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5323 # Best one so far, save it but keep looking for a better one
5324 ac_cv_path_EGREP="$ac_path_EGREP"
5325 ac_path_EGREP_max=$ac_count
5327 # 10*(2^10) chars as input seems more than enough
5328 test $ac_count -gt 10 && break
5330 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5333 $ac_path_EGREP_found && break 3
5338 if test -z "$ac_cv_path_EGREP"; then
5339 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5340 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5341 { (exit 1); exit 1; }; }
5344 ac_cv_path_EGREP=$EGREP
5349 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5350 $as_echo "$ac_cv_path_EGREP" >&6; }
5351 EGREP="$ac_cv_path_EGREP"
5354 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5355 $as_echo_n "checking for ANSI C header files... " >&6; }
5356 if test "${ac_cv_header_stdc+set}" = set; then
5357 $as_echo_n "(cached) " >&6
5359 cat >conftest.$ac_ext <<_ACEOF
5362 cat confdefs.h >>conftest.$ac_ext
5363 cat >>conftest.$ac_ext <<_ACEOF
5364 /* end confdefs.h. */
5378 rm -f conftest.$ac_objext
5379 if { (ac_try="$ac_compile"
5381 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5382 *) ac_try_echo
=$ac_try;;
5384 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5385 $as_echo "$ac_try_echo") >&5
5386 (eval "$ac_compile") 2>conftest.er1
5388 grep -v '^ *+' conftest.er1
>conftest.err
5390 cat conftest.err
>&5
5391 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5392 (exit $ac_status); } && {
5393 test -z "$ac_c_werror_flag" ||
5394 test ! -s conftest.err
5395 } && test -s conftest.
$ac_objext; then
5396 ac_cv_header_stdc
=yes
5398 $as_echo "$as_me: failed program was:" >&5
5399 sed 's/^/| /' conftest.
$ac_ext >&5
5401 ac_cv_header_stdc
=no
5404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5406 if test $ac_cv_header_stdc = yes; then
5407 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5408 cat >conftest.
$ac_ext <<_ACEOF
5411 cat confdefs.h
>>conftest.
$ac_ext
5412 cat >>conftest.
$ac_ext <<_ACEOF
5413 /* end confdefs.h. */
5417 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5418 $EGREP "memchr" >/dev
/null
2>&1; then
5421 ac_cv_header_stdc
=no
5427 if test $ac_cv_header_stdc = yes; then
5428 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5429 cat >conftest.
$ac_ext <<_ACEOF
5432 cat confdefs.h
>>conftest.
$ac_ext
5433 cat >>conftest.
$ac_ext <<_ACEOF
5434 /* end confdefs.h. */
5438 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5439 $EGREP "free" >/dev
/null
2>&1; then
5442 ac_cv_header_stdc
=no
5448 if test $ac_cv_header_stdc = yes; then
5449 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5450 if test "$cross_compiling" = yes; then
5453 cat >conftest.
$ac_ext <<_ACEOF
5456 cat confdefs.h
>>conftest.
$ac_ext
5457 cat >>conftest.
$ac_ext <<_ACEOF
5458 /* end confdefs.h. */
5461 #if ((' ' & 0x0FF) == 0x020)
5462 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5463 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5465 # define ISLOWER(c) \
5466 (('a' <= (c) && (c) <= 'i') \
5467 || ('j' <= (c) && (c) <= 'r') \
5468 || ('s' <= (c) && (c) <= 'z'))
5469 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5472 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5477 for (i = 0; i < 256; i++)
5478 if (XOR (islower (i), ISLOWER (i))
5479 || toupper (i) != TOUPPER (i))
5484 rm -f conftest
$ac_exeext
5485 if { (ac_try
="$ac_link"
5487 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5488 *) ac_try_echo=$ac_try;;
5490 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5491 $as_echo "$ac_try_echo") >&5
5492 (eval "$ac_link") 2>&5
5494 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5495 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5496 { (case "(($ac_try" in
5497 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5498 *) ac_try_echo
=$ac_try;;
5500 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5501 $as_echo "$ac_try_echo") >&5
5502 (eval "$ac_try") 2>&5
5504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5505 (exit $ac_status); }; }; then
5508 $as_echo "$as_me: program exited with status $ac_status" >&5
5509 $as_echo "$as_me: failed program was:" >&5
5510 sed 's/^/| /' conftest.
$ac_ext >&5
5513 ac_cv_header_stdc
=no
5515 rm -rf conftest.dSYM
5516 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5522 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5523 $as_echo "$ac_cv_header_stdc" >&6; }
5524 if test $ac_cv_header_stdc = yes; then
5526 cat >>confdefs.h
<<\_ACEOF
5527 #define STDC_HEADERS 1
5532 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5542 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5543 inttypes.h stdint.h unistd.h
5545 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5546 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5547 $as_echo_n "checking for $ac_header... " >&6; }
5548 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5549 $as_echo_n "(cached) " >&6
5551 cat >conftest.
$ac_ext <<_ACEOF
5554 cat confdefs.h
>>conftest.
$ac_ext
5555 cat >>conftest.
$ac_ext <<_ACEOF
5556 /* end confdefs.h. */
5557 $ac_includes_default
5559 #include <$ac_header>
5561 rm -f conftest.
$ac_objext
5562 if { (ac_try
="$ac_compile"
5564 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5565 *) ac_try_echo=$ac_try;;
5567 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5568 $as_echo "$ac_try_echo") >&5
5569 (eval "$ac_compile") 2>conftest.er1
5571 grep -v '^ *+' conftest.er1 >conftest.err
5573 cat conftest.err >&5
5574 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5575 (exit $ac_status); } && {
5576 test -z "$ac_c_werror_flag" ||
5577 test ! -s conftest.err
5578 } && test -s conftest.$ac_objext; then
5579 eval "$as_ac_Header=yes"
5581 $as_echo "$as_me: failed program was:" >&5
5582 sed 's/^/| /' conftest.$ac_ext >&5
5584 eval "$as_ac_Header=no"
5587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5589 ac_res=`eval 'as_val=${'$as_ac_Header'}
5590 $as_echo "$as_val"'`
5591 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5592 $as_echo "$ac_res" >&6; }
5593 as_val=`eval 'as_val=${'$as_ac_Header'}
5594 $as_echo "$as_val"'`
5595 if test "x$as_val" = x""yes; then
5596 cat >>confdefs.h <<_ACEOF
5597 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5606 if test "$ac_cv_prog_cc_stdc" != no; then
5609 U=_ ANSI2KNR=./ansi2knr
5611 # Ensure some checks needed by ansi2knr itself.
5614 for ac_header in string.h
5616 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5617 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5618 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5619 $as_echo_n "checking for $ac_header... " >&6; }
5620 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5621 $as_echo_n "(cached) " >&6
5623 ac_res=`eval 'as_val=${'$as_ac_Header'}
5624 $as_echo "$as_val"'`
5625 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5626 $as_echo "$ac_res" >&6; }
5628 # Is the header compilable?
5629 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5630 $as_echo_n "checking $ac_header usability... " >&6; }
5631 cat >conftest.$ac_ext <<_ACEOF
5634 cat confdefs.h >>conftest.$ac_ext
5635 cat >>conftest.$ac_ext <<_ACEOF
5636 /* end confdefs.h. */
5637 $ac_includes_default
5638 #include <$ac_header>
5640 rm -f conftest.$ac_objext
5641 if { (ac_try="$ac_compile"
5643 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5644 *) ac_try_echo
=$ac_try;;
5646 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5647 $as_echo "$ac_try_echo") >&5
5648 (eval "$ac_compile") 2>conftest.er1
5650 grep -v '^ *+' conftest.er1
>conftest.err
5652 cat conftest.err
>&5
5653 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654 (exit $ac_status); } && {
5655 test -z "$ac_c_werror_flag" ||
5656 test ! -s conftest.err
5657 } && test -s conftest.
$ac_objext; then
5658 ac_header_compiler
=yes
5660 $as_echo "$as_me: failed program was:" >&5
5661 sed 's/^/| /' conftest.
$ac_ext >&5
5663 ac_header_compiler
=no
5666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5667 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5668 $as_echo "$ac_header_compiler" >&6; }
5670 # Is the header present?
5671 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5672 $as_echo_n "checking $ac_header presence... " >&6; }
5673 cat >conftest.
$ac_ext <<_ACEOF
5676 cat confdefs.h
>>conftest.
$ac_ext
5677 cat >>conftest.
$ac_ext <<_ACEOF
5678 /* end confdefs.h. */
5679 #include <$ac_header>
5681 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5683 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5684 *) ac_try_echo=$ac_try;;
5686 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5687 $as_echo "$ac_try_echo") >&5
5688 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5690 grep -v '^ *+' conftest.er1 >conftest.err
5692 cat conftest.err >&5
5693 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5694 (exit $ac_status); } >/dev/null && {
5695 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5696 test ! -s conftest.err
5698 ac_header_preproc=yes
5700 $as_echo "$as_me: failed program was:" >&5
5701 sed 's/^/| /' conftest.$ac_ext >&5
5703 ac_header_preproc=no
5706 rm -f conftest.err conftest.$ac_ext
5707 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5708 $as_echo "$ac_header_preproc" >&6; }
5710 # So? What about this header?
5711 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5713 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5714 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5715 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5716 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5717 ac_header_preproc=yes
5720 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5721 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5722 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5723 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5724 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5725 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5726 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5727 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5728 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5729 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5730 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5731 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5733 ## ------------------------------------------- ##
5734 ## Report this to systemtap@sources.redhat.com ##
5735 ## ------------------------------------------- ##
5737 ) | sed "s/^/$as_me: WARNING: /" >&2
5740 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5741 $as_echo_n "checking for $ac_header... " >&6; }
5742 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5743 $as_echo_n "(cached) " >&6
5745 eval "$as_ac_Header=\$ac_header_preproc"
5747 ac_res=`eval 'as_val=${'$as_ac_Header'}
5748 $as_echo "$as_val"'`
5749 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5750 $as_echo "$ac_res" >&6; }
5753 as_val=`eval 'as_val=${'$as_ac_Header'}
5754 $as_echo "$as_val"'`
5755 if test "x$as_val" = x""yes; then
5756 cat >>confdefs.h <<_ACEOF
5757 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5765 if test -n "$ac_tool_prefix"; then
5766 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5767 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5768 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5769 $as_echo_n "checking for $ac_word... " >&6; }
5770 if test "${ac_cv_prog_RANLIB+set}" = set; then
5771 $as_echo_n "(cached) " >&6
5773 if test -n "$RANLIB"; then
5774 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5780 test -z "$as_dir" && as_dir=.
5781 for ac_exec_ext in '' $ac_executable_extensions; do
5782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5783 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5784 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5793 RANLIB=$ac_cv_prog_RANLIB
5794 if test -n "$RANLIB"; then
5795 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5796 $as_echo "$RANLIB" >&6; }
5798 { $as_echo "$as_me:$LINENO: result: no" >&5
5799 $as_echo "no" >&6; }
5804 if test -z "$ac_cv_prog_RANLIB"; then
5805 ac_ct_RANLIB=$RANLIB
5806 # Extract the first word of "ranlib", so it can be a program name with args.
5807 set dummy ranlib; ac_word=$2
5808 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5809 $as_echo_n "checking for $ac_word... " >&6; }
5810 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5811 $as_echo_n "(cached) " >&6
5813 if test -n "$ac_ct_RANLIB"; then
5814 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820 test -z "$as_dir" && as_dir=.
5821 for ac_exec_ext in '' $ac_executable_extensions; do
5822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5823 ac_cv_prog_ac_ct_RANLIB="ranlib"
5824 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5833 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5834 if test -n "$ac_ct_RANLIB"; then
5835 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5836 $as_echo "$ac_ct_RANLIB" >&6; }
5838 { $as_echo "$as_me:$LINENO: result: no" >&5
5839 $as_echo "no" >&6; }
5842 if test "x$ac_ct_RANLIB" = x; then
5845 case $cross_compiling:$ac_tool_warned in
5847 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5849 ac_tool_warned=yes ;;
5851 RANLIB=$ac_ct_RANLIB
5854 RANLIB="$ac_cv_prog_RANLIB"
5859 # Find a good install program. We prefer a C program (faster),
5860 # so one script is as good as another. But avoid the broken or
5861 # incompatible versions:
5862 # SysV /etc/install, /usr/sbin/install
5863 # SunOS /usr/etc/install
5864 # IRIX /sbin/install
5866 # AmigaOS /C/install, which installs bootblocks on floppy discs
5867 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5868 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5869 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5870 # OS/2's system install, which has a completely different semantic
5871 # ./install, which can be erroneously created by make from ./install.sh.
5872 # Reject install programs that cannot install multiple files.
5873 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5874 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5875 if test -z "$INSTALL"; then
5876 if test "${ac_cv_path_install+set}" = set; then
5877 $as_echo_n "(cached) " >&6
5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5883 test -z "$as_dir" && as_dir=.
5884 # Account for people who put trailing slashes in PATH elements.
5886 ./ | .// | /cC/* | \
5887 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5888 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5891 # OSF1 and SCO ODT 3.0 have their own names for install.
5892 # Don't use installbsd from OSF since it installs stuff as root
5894 for ac_prog in ginstall scoinst install; do
5895 for ac_exec_ext in '' $ac_executable_extensions; do
5896 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5897 if test $ac_prog = install &&
5898 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5899 # AIX install. It has an incompatible calling convention.
5901 elif test $ac_prog = install &&
5902 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5903 # program-specific install script used by HP pwplus--don't use.
5906 rm -rf conftest.one conftest.two conftest.dir
5907 echo one > conftest.one
5908 echo two > conftest.two
5910 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
5911 test -s conftest.one && test -s conftest.two &&
5912 test -s conftest.dir/conftest.one &&
5913 test -s conftest.dir/conftest.two
5915 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5928 rm -rf conftest.one conftest.two conftest.dir
5931 if test "${ac_cv_path_install+set}" = set; then
5932 INSTALL=$ac_cv_path_install
5934 # As a last resort, use the slow shell script. Don't cache a
5935 # value for INSTALL within a source directory, because that will
5936 # break other packages using the cache if that directory is
5937 # removed, or if the value is a relative name.
5938 INSTALL=$ac_install_sh
5941 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
5942 $as_echo "$INSTALL" >&6; }
5944 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5945 # It thinks the first close brace ends the variable substitution.
5946 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5948 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5950 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5952 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5953 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5955 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5956 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
5957 $as_echo_n "(cached) " >&6
5959 cat >conftest.make <<\_ACEOF
5962 @echo '@@@%%%=$(MAKE)=@@@%%%'
5964 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5965 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
5967 eval ac_cv_prog_make_${ac_make}_set=yes;;
5969 eval ac_cv_prog_make_${ac_make}_set=no;;
5973 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5974 { $as_echo "$as_me:$LINENO: result: yes" >&5
5975 $as_echo "yes" >&6; }
5978 { $as_echo "$as_me:$LINENO: result: no" >&5
5979 $as_echo "no" >&6; }
5980 SET_MAKE="MAKE=${MAKE-make}"
5986 # Check whether --enable-perfmon was given.
5987 if test "${enable_perfmon+set}" = set; then
5988 enableval=$enable_perfmon;
5989 if test "$enable_perfmon" != "no"; then
5990 CPPFLAGS="$CPPFLAGS -DPERFMON"
5992 if test "$enable_perfmon" != "yes"; then
5993 CPPFLAGS="$CPPFLAGS -I$enable_perfmon/include"
5994 LDFLAGS="$LDFLAGS -L$enable_perfmon/lib"
5997 { $as_echo "$as_me:$LINENO: checking for pfm_start in -lpfm" >&5
5998 $as_echo_n "checking for pfm_start in -lpfm... " >&6; }
5999 if test "${ac_cv_lib_pfm_pfm_start+set}" = set; then
6000 $as_echo_n "(cached) " >&6
6002 ac_check_lib_save_LIBS=$LIBS
6004 cat >conftest.$ac_ext <<_ACEOF
6007 cat confdefs.h >>conftest.$ac_ext
6008 cat >>conftest.$ac_ext <<_ACEOF
6009 /* end confdefs.h. */
6011 /* Override any GCC internal prototype to avoid an error.
6012 Use char because int might match the return type of a GCC
6013 builtin and then its argument prototype would still apply. */
6021 return pfm_start ();
6026 rm -f conftest.$ac_objext conftest$ac_exeext
6027 if { (ac_try="$ac_link"
6029 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6030 *) ac_try_echo
=$ac_try;;
6032 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6033 $as_echo "$ac_try_echo") >&5
6034 (eval "$ac_link") 2>conftest.er1
6036 grep -v '^ *+' conftest.er1
>conftest.err
6038 cat conftest.err
>&5
6039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040 (exit $ac_status); } && {
6041 test -z "$ac_c_werror_flag" ||
6042 test ! -s conftest.err
6043 } && test -s conftest
$ac_exeext && {
6044 test "$cross_compiling" = yes ||
6045 $as_test_x conftest
$ac_exeext
6047 ac_cv_lib_pfm_pfm_start
=yes
6049 $as_echo "$as_me: failed program was:" >&5
6050 sed 's/^/| /' conftest.
$ac_ext >&5
6052 ac_cv_lib_pfm_pfm_start
=no
6055 rm -rf conftest.dSYM
6056 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6057 conftest
$ac_exeext conftest.
$ac_ext
6058 LIBS
=$ac_check_lib_save_LIBS
6060 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pfm_pfm_start" >&5
6061 $as_echo "$ac_cv_lib_pfm_pfm_start" >&6; }
6062 if test "x$ac_cv_lib_pfm_pfm_start" = x
""yes; then
6063 cat >>confdefs.h
<<_ACEOF
6064 #define HAVE_LIBPFM 1
6071 { { $as_echo "$as_me:$LINENO: error: systemtap cannot find required perfmon libs (libpfm-devel may need to be installed" >&5
6072 $as_echo "$as_me: error: systemtap cannot find required perfmon libs (libpfm-devel may need to be installed" >&2;}
6073 { (exit 1); exit 1; }; }
6080 if test "${enable_prologues+set}" != set; then
6081 { $as_echo "$as_me:$LINENO: checking to see if prologue searching should be the default" >&5
6082 $as_echo_n "checking to see if prologue searching should be the default... " >&6; }
6083 if { echo '#if __i386__ == 1 && __GNUC__ < 4'
6085 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
6086 enable_prologues
=yes
6087 { $as_echo "$as_me:$LINENO: result: yes" >&5
6088 $as_echo "yes" >&6; }
6090 { $as_echo "$as_me:$LINENO: result: no" >&5
6091 $as_echo "no" >&6; }
6094 # Check whether --enable-prologues was given.
6095 if test "${enable_prologues+set}" = set; then
6096 enableval
=$enable_prologues;
6097 if test "$enable_prologues" = yes; then
6099 cat >>confdefs.h
<<\_ACEOF
6100 #define ENABLE_PROLOGUES /**/
6107 # Check whether --enable-ssp was given.
6108 if test "${enable_ssp+set}" = set; then
6109 enableval
=$enable_ssp;
6112 if test "x$enable_ssp" != xno
; then
6114 save_CFLAGS
="$CFLAGS"
6115 save_CXXFLAGS
="$CXXFLAGS"
6116 CXXFLAGS
="$CXXFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
6117 CFLAGS
="$CFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
6118 cat >conftest.
$ac_ext <<_ACEOF
6121 rm -f conftest.
$ac_objext
6122 if { (ac_try
="$ac_compile"
6124 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6125 *) ac_try_echo=$ac_try;;
6127 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6128 $as_echo "$ac_try_echo") >&5
6129 (eval "$ac_compile") 2>conftest.er1
6131 grep -v '^ *+' conftest.er1 >conftest.err
6133 cat conftest.err >&5
6134 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6135 (exit $ac_status); } && {
6136 test -z "$ac_c_werror_flag" ||
6137 test ! -s conftest.err
6138 } && test -s conftest.$ac_objext; then
6140 { $as_echo "$as_me:$LINENO: Compiling with gcc -fstack-protector-all et al." >&5
6141 $as_echo "$as_me: Compiling with gcc -fstack-protector-all et al." >&6;}
6142 CFLAGS="$save_CFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
6143 CXFXLAGS="$save_CXXFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
6145 $as_echo "$as_me: failed program was:" >&5
6146 sed 's/^/| /' conftest.$ac_ext >&5
6149 { $as_echo "$as_me:$LINENO: Compiler does not support -fstack-protector-all et al." >&5
6150 $as_echo "$as_me: Compiler does not support -fstack-protector-all et al." >&6;}
6151 CFLAGS="$save_CFLAGS"
6152 CXXFLAGS="$save_CXXFLAGS"
6155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6159 # Check whether --enable-pie was given.
6160 if test "${enable_pie+set}" = set; then
6161 enableval=$enable_pie;
6164 if test "x$enable_pie" != xno; then
6166 save_CFLAGS="$CFLAGS"
6167 save_CXXFLAGS="$CXXFLAGS"
6168 save_LDFLAGS="$LDFLAGS"
6169 CFLAGS="$CFLAGS -fPIE"
6170 CXXFLAGS="$CXXFLAGS -fPIE"
6171 LDFLAGS="$LDFLAGS -pie -Wl,-z,relro -Wl,-z,now"
6172 cat >conftest.$ac_ext <<_ACEOF
6175 rm -f conftest.$ac_objext conftest$ac_exeext
6176 if { (ac_try="$ac_link"
6178 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6179 *) ac_try_echo
=$ac_try;;
6181 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6182 $as_echo "$ac_try_echo") >&5
6183 (eval "$ac_link") 2>conftest.er1
6185 grep -v '^ *+' conftest.er1
>conftest.err
6187 cat conftest.err
>&5
6188 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189 (exit $ac_status); } && {
6190 test -z "$ac_c_werror_flag" ||
6191 test ! -s conftest.err
6192 } && test -s conftest
$ac_exeext && {
6193 test "$cross_compiling" = yes ||
6194 $as_test_x conftest
$ac_exeext
6197 { $as_echo "$as_me:$LINENO: Compiling with gcc pie et al." >&5
6198 $as_echo "$as_me: Compiling with gcc pie et al." >&6;}
6199 # LDFLAGS is special since it may be passed down to bundled-elfutils,
6200 # and interfere with the .so's built therein
6201 PIELDFLAGS
="$LDFLAGS"
6202 LDFLAGS
="$save_LDFLAGS"
6204 CFLAGS
="$save_CFLAGS"
6205 PIECXXFLAGS
="$CXXFLAGS"
6206 CXXFLAGS
="$save_CXXFLAGS"
6209 $as_echo "$as_me: failed program was:" >&5
6210 sed 's/^/| /' conftest.
$ac_ext >&5
6213 { $as_echo "$as_me:$LINENO: Compiler does not support -pie et al." >&5
6214 $as_echo "$as_me: Compiler does not support -pie et al." >&6;}
6216 CFLAGS
="$save_CFLAGS"
6218 CXXFLAGS
="$save_CXXFLAGS"
6220 LDFLAGS
="$save_LDFLAGS"
6223 rm -rf conftest.dSYM
6224 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6225 conftest
$ac_exeext conftest.
$ac_ext
6232 # Check whether --enable-sqlite was given.
6233 if test "${enable_sqlite+set}" = set; then
6234 enableval
=$enable_sqlite;
6239 if test "x$enable_sqlite" != xno
; then
6240 { $as_echo "$as_me:$LINENO: checking for sqlite3_open in -lsqlite3" >&5
6241 $as_echo_n "checking for sqlite3_open in -lsqlite3... " >&6; }
6242 if test "${ac_cv_lib_sqlite3_sqlite3_open+set}" = set; then
6243 $as_echo_n "(cached) " >&6
6245 ac_check_lib_save_LIBS
=$LIBS
6246 LIBS
="-lsqlite3 $LIBS"
6247 cat >conftest.
$ac_ext <<_ACEOF
6250 cat confdefs.h
>>conftest.
$ac_ext
6251 cat >>conftest.
$ac_ext <<_ACEOF
6252 /* end confdefs.h. */
6254 /* Override any GCC internal prototype to avoid an error.
6255 Use char because int might match the return type of a GCC
6256 builtin and then its argument prototype would still apply. */
6260 char sqlite3_open ();
6264 return sqlite3_open ();
6269 rm -f conftest.
$ac_objext conftest
$ac_exeext
6270 if { (ac_try
="$ac_link"
6272 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6273 *) ac_try_echo=$ac_try;;
6275 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6276 $as_echo "$ac_try_echo") >&5
6277 (eval "$ac_link") 2>conftest.er1
6279 grep -v '^ *+' conftest.er1 >conftest.err
6281 cat conftest.err >&5
6282 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6283 (exit $ac_status); } && {
6284 test -z "$ac_c_werror_flag" ||
6285 test ! -s conftest.err
6286 } && test -s conftest$ac_exeext && {
6287 test "$cross_compiling" = yes ||
6288 $as_test_x conftest$ac_exeext
6290 ac_cv_lib_sqlite3_sqlite3_open=yes
6292 $as_echo "$as_me: failed program was:" >&5
6293 sed 's/^/| /' conftest.$ac_ext >&5
6295 ac_cv_lib_sqlite3_sqlite3_open=no
6298 rm -rf conftest.dSYM
6299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6300 conftest$ac_exeext conftest.$ac_ext
6301 LIBS=$ac_check_lib_save_LIBS
6303 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sqlite3_sqlite3_open" >&5
6304 $as_echo "$ac_cv_lib_sqlite3_sqlite3_open" >&6; }
6305 if test "x$ac_cv_lib_sqlite3_sqlite3_open" = x""yes; then
6306 sqlite3_LIBS=-lsqlite3
6309 cat >>confdefs.h <<\_ACEOF
6310 #define HAVE_LIBSQLITE3 1
6314 if test "x$enable_sqlite" != xcheck; then
6315 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6316 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6317 { { $as_echo "$as_me:$LINENO: error
: --enable-sqlite was given
, but
test for sqlite failed
6318 See \
`config.log' for more details." >&5
6319 $as_echo "$as_me: error: --enable-sqlite was given, but test for sqlite failed
6320 See \`config.log
' for more details." >&2;}
6321 { (exit 1); exit 1; }; }; }
6328 # Check whether --enable-crash was given.
6329 if test "${enable_crash+set}" = set; then
6330 enableval=$enable_crash; if test "$enable_crash" != "no"; then
6331 save_CPPFLAGS="$CPPFLAGS"
6332 if test "$enable_crash" != "yes"; then
6333 staplog_CPPFLAGS=-I$enable_crash
6334 CPPFLAGS="${staplog_CPPFLAGS} $CPPFLAGS"
6338 for ac_header in crash/defs.h
6340 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6341 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6342 $as_echo_n "checking for $ac_header... " >&6; }
6343 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6344 $as_echo_n "(cached) " >&6
6346 cat >conftest.$ac_ext <<_ACEOF
6349 cat confdefs.h >>conftest.$ac_ext
6350 cat >>conftest.$ac_ext <<_ACEOF
6351 /* end confdefs.h. */
6356 #include <$ac_header>
6358 rm -f conftest.$ac_objext
6359 if { (ac_try="$ac_compile"
6361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6362 *) ac_try_echo=$ac_try;;
6364 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6365 $as_echo "$ac_try_echo") >&5
6366 (eval "$ac_compile") 2>conftest.er1
6368 grep -v '^
*+' conftest.er1 >conftest.err
6370 cat conftest.err >&5
6371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6372 (exit $ac_status); } && {
6373 test -z "$ac_c_werror_flag" ||
6374 test ! -s conftest.err
6375 } && test -s conftest.$ac_objext; then
6376 eval "$as_ac_Header=yes"
6378 $as_echo "$as_me: failed program was:" >&5
6379 sed 's
/^
/|
/' conftest.$ac_ext >&5
6381 eval "$as_ac_Header=no"
6384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6386 ac_res=`eval 'as_val
=${'$as_ac_Header'}
6387 $as_echo "$as_val"'`
6388 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6389 $as_echo "$ac_res" >&6; }
6390 as_val=`eval 'as_val
=${'$as_ac_Header'}
6391 $as_echo "$as_val"'`
6392 if test "x$as_val" = x""yes; then
6393 cat >>confdefs.h <<_ACEOF
6394 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6398 { { $as_echo "$as_me:$LINENO: error: cannot find required crash header (crash-devel may need to be installed)" >&5
6399 $as_echo "$as_me: error: cannot find required crash header (crash-devel may need to be installed)" >&2;}
6400 { (exit 1); exit 1; }; }
6405 CPPFLAGS="$save_CPPFLAGS"
6411 if test "$enable_crash" != "no"; then
6412 BUILD_CRASHMOD_TRUE=
6413 BUILD_CRASHMOD_FALSE='#'
6415 BUILD_CRASHMOD_TRUE
='#'
6416 BUILD_CRASHMOD_FALSE
=
6421 # Check whether --enable-docs was given.
6422 if test "${enable_docs+set}" = set; then
6423 enableval
=$enable_docs; enable_docs
=$enableval
6428 # Extract the first word of "latex", so it can be a program name with args.
6429 set dummy latex
; ac_word
=$2
6430 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6431 $as_echo_n "checking for $ac_word... " >&6; }
6432 if test "${ac_cv_prog_have_latex+set}" = set; then
6433 $as_echo_n "(cached) " >&6
6435 if test -n "$have_latex"; then
6436 ac_cv_prog_have_latex
="$have_latex" # Let the user override the test.
6438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6442 test -z "$as_dir" && as_dir
=.
6443 for ac_exec_ext
in '' $ac_executable_extensions; do
6444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6445 ac_cv_prog_have_latex
="yes"
6446 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6453 test -z "$ac_cv_prog_have_latex" && ac_cv_prog_have_latex
="no"
6456 have_latex
=$ac_cv_prog_have_latex
6457 if test -n "$have_latex"; then
6458 { $as_echo "$as_me:$LINENO: result: $have_latex" >&5
6459 $as_echo "$have_latex" >&6; }
6461 { $as_echo "$as_me:$LINENO: result: no" >&5
6462 $as_echo "no" >&6; }
6466 # Extract the first word of "dvips", so it can be a program name with args.
6467 set dummy dvips
; ac_word
=$2
6468 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6469 $as_echo_n "checking for $ac_word... " >&6; }
6470 if test "${ac_cv_prog_have_dvips+set}" = set; then
6471 $as_echo_n "(cached) " >&6
6473 if test -n "$have_dvips"; then
6474 ac_cv_prog_have_dvips
="$have_dvips" # Let the user override the test.
6476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6480 test -z "$as_dir" && as_dir
=.
6481 for ac_exec_ext
in '' $ac_executable_extensions; do
6482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6483 ac_cv_prog_have_dvips
="yes"
6484 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6491 test -z "$ac_cv_prog_have_dvips" && ac_cv_prog_have_dvips
="no"
6494 have_dvips
=$ac_cv_prog_have_dvips
6495 if test -n "$have_dvips"; then
6496 { $as_echo "$as_me:$LINENO: result: $have_dvips" >&5
6497 $as_echo "$have_dvips" >&6; }
6499 { $as_echo "$as_me:$LINENO: result: no" >&5
6500 $as_echo "no" >&6; }
6504 # Extract the first word of "ps2pdf", so it can be a program name with args.
6505 set dummy ps2pdf
; ac_word
=$2
6506 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6507 $as_echo_n "checking for $ac_word... " >&6; }
6508 if test "${ac_cv_prog_have_ps2pdf+set}" = set; then
6509 $as_echo_n "(cached) " >&6
6511 if test -n "$have_ps2pdf"; then
6512 ac_cv_prog_have_ps2pdf
="$have_ps2pdf" # Let the user override the test.
6514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6518 test -z "$as_dir" && as_dir
=.
6519 for ac_exec_ext
in '' $ac_executable_extensions; do
6520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6521 ac_cv_prog_have_ps2pdf
="yes"
6522 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6529 test -z "$ac_cv_prog_have_ps2pdf" && ac_cv_prog_have_ps2pdf
="no"
6532 have_ps2pdf
=$ac_cv_prog_have_ps2pdf
6533 if test -n "$have_ps2pdf"; then
6534 { $as_echo "$as_me:$LINENO: result: $have_ps2pdf" >&5
6535 $as_echo "$have_ps2pdf" >&6; }
6537 { $as_echo "$as_me:$LINENO: result: no" >&5
6538 $as_echo "no" >&6; }
6542 # Extract the first word of "latex2html", so it can be a program name with args.
6543 set dummy latex2html
; ac_word
=$2
6544 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6545 $as_echo_n "checking for $ac_word... " >&6; }
6546 if test "${ac_cv_prog_have_latex2html+set}" = set; then
6547 $as_echo_n "(cached) " >&6
6549 if test -n "$have_latex2html"; then
6550 ac_cv_prog_have_latex2html
="$have_latex2html" # Let the user override the test.
6552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6556 test -z "$as_dir" && as_dir
=.
6557 for ac_exec_ext
in '' $ac_executable_extensions; do
6558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6559 ac_cv_prog_have_latex2html
="yes"
6560 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6567 test -z "$ac_cv_prog_have_latex2html" && ac_cv_prog_have_latex2html
="no"
6570 have_latex2html
=$ac_cv_prog_have_latex2html
6571 if test -n "$have_latex2html"; then
6572 { $as_echo "$as_me:$LINENO: result: $have_latex2html" >&5
6573 $as_echo "$have_latex2html" >&6; }
6575 { $as_echo "$as_me:$LINENO: result: no" >&5
6576 $as_echo "no" >&6; }
6580 if test "x${have_latex}${have_dvips}${have_ps2pdf}${have_latex2html}" != "xyesyesyesyes"; then
6581 if test "$enable_docs" == "yes"; then
6582 { { $as_echo "$as_me:$LINENO: error: cannot find all tools for building documentation" >&5
6583 $as_echo "$as_me: error: cannot find all tools for building documentation" >&2;}
6584 { (exit 1); exit 1; }; }
6586 if test "$enable_docs" == "check"; then
6587 { $as_echo "$as_me:$LINENO: WARNING: will not build documentation, cannot find all tools" >&5
6588 $as_echo "$as_me: WARNING: will not build documentation, cannot find all tools" >&2;}
6591 if test "x${have_latex}${have_dvips}${have_ps2pdf}${have_latex2html}" == "xyesyesyesyes" -a "$enable_docs" != "no"; then
6594 if test "$building_docs" == "yes"; then
6596 BUILD_DOCS_FALSE
='#'
6603 building_refdocs
="no"
6604 # Check whether --enable-refdocs was given.
6605 if test "${enable_refdocs+set}" = set; then
6606 enableval
=$enable_refdocs; enable_refdocs
=$enableval
6608 enable_refdocs
="check"
6611 if test "$building_docs" == "no" -a "$enable_refdocs" == "yes" ; then
6612 { { $as_echo "$as_me:$LINENO: error: must use --enable-docs with --enable-refdocs" >&5
6613 $as_echo "$as_me: error: must use --enable-docs with --enable-refdocs" >&2;}
6614 { (exit 1); exit 1; }; }
6616 # Extract the first word of "xmlto", so it can be a program name with args.
6617 set dummy xmlto
; ac_word
=$2
6618 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6619 $as_echo_n "checking for $ac_word... " >&6; }
6620 if test "${ac_cv_prog_have_xmlto+set}" = set; then
6621 $as_echo_n "(cached) " >&6
6623 if test -n "$have_xmlto"; then
6624 ac_cv_prog_have_xmlto
="$have_xmlto" # Let the user override the test.
6626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6630 test -z "$as_dir" && as_dir
=.
6631 for ac_exec_ext
in '' $ac_executable_extensions; do
6632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6633 ac_cv_prog_have_xmlto
="yes"
6634 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6641 test -z "$ac_cv_prog_have_xmlto" && ac_cv_prog_have_xmlto
="no"
6644 have_xmlto
=$ac_cv_prog_have_xmlto
6645 if test -n "$have_xmlto"; then
6646 { $as_echo "$as_me:$LINENO: result: $have_xmlto" >&5
6647 $as_echo "$have_xmlto" >&6; }
6649 { $as_echo "$as_me:$LINENO: result: no" >&5
6650 $as_echo "no" >&6; }
6654 if test "x${have_xmlto}" == "xyes"; then
6655 { $as_echo "$as_me:$LINENO: checking for xmlto pdf support" >&5
6656 $as_echo_n "checking for xmlto pdf support... " >&6; }
6657 cat > conftest.
$ac_ext << EOF
6658 <?xml version="1.0" encoding="UTF-8"?>
6659 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
6660 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" >
6661 <book id="pdffromxml">
6664 xmlto pdf conftest.
$ac_ext >& /dev
/null
6665 if test $?
== 0; then
6666 have_xmlto_pdf
="yes"
6667 { $as_echo "$as_me:$LINENO: result: yes" >&5
6668 $as_echo "yes" >&6; }
6670 { $as_echo "$as_me:$LINENO: result: no" >&5
6671 $as_echo "no" >&6; }
6674 if test "$enable_refdocs" == "yes"; then
6675 if test "x${have_xmlto}${have_xmlto_pdf}" != "xyesyes"; then
6676 { { $as_echo "$as_me:$LINENO: error: cannot find proper yxmlto for building reference documentation" >&5
6677 $as_echo "$as_me: error: cannot find proper yxmlto for building reference documentation" >&2;}
6678 { (exit 1); exit 1; }; }
6681 if test "x${have_xmlto}${have_xmlto_pdf}" == "xyesyes" -a "$enable_refdocs" != "no" -a "${building_docs}" == "yes"; then
6682 building_refdocs
="yes"
6684 if test "$building_refdocs" == "yes"; then
6686 BUILD_REFDOCS_FALSE
='#'
6688 BUILD_REFDOCS_TRUE
='#'
6689 BUILD_REFDOCS_FALSE
=
6693 # Check whether --enable-server was given.
6694 if test "${enable_server+set}" = set; then
6695 enableval
=$enable_server; enable_server
=$enableval
6697 enable_server
="check"
6702 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6703 if test -n "$ac_tool_prefix"; then
6704 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6705 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
6706 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6707 $as_echo_n "checking for $ac_word... " >&6; }
6708 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6709 $as_echo_n "(cached) " >&6
6713 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
6716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6720 test -z "$as_dir" && as_dir
=.
6721 for ac_exec_ext
in '' $ac_executable_extensions; do
6722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6723 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
6724 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6734 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
6735 if test -n "$PKG_CONFIG"; then
6736 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6737 $as_echo "$PKG_CONFIG" >&6; }
6739 { $as_echo "$as_me:$LINENO: result: no" >&5
6740 $as_echo "no" >&6; }
6745 if test -z "$ac_cv_path_PKG_CONFIG"; then
6746 ac_pt_PKG_CONFIG
=$PKG_CONFIG
6747 # Extract the first word of "pkg-config", so it can be a program name with args.
6748 set dummy pkg-config
; ac_word
=$2
6749 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6750 $as_echo_n "checking for $ac_word... " >&6; }
6751 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
6752 $as_echo_n "(cached) " >&6
6754 case $ac_pt_PKG_CONFIG in
6756 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6763 test -z "$as_dir" && as_dir
=.
6764 for ac_exec_ext
in '' $ac_executable_extensions; do
6765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6766 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
6767 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6777 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
6778 if test -n "$ac_pt_PKG_CONFIG"; then
6779 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
6780 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
6782 { $as_echo "$as_me:$LINENO: result: no" >&5
6783 $as_echo "no" >&6; }
6786 if test "x$ac_pt_PKG_CONFIG" = x
; then
6789 case $cross_compiling:$ac_tool_warned in
6791 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6793 ac_tool_warned
=yes ;;
6795 PKG_CONFIG
=$ac_pt_PKG_CONFIG
6798 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
6802 if test -n "$PKG_CONFIG"; then
6803 _pkg_min_version
=0.9.0
6804 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
6805 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6806 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6807 { $as_echo "$as_me:$LINENO: result: yes" >&5
6808 $as_echo "yes" >&6; }
6810 { $as_echo "$as_me:$LINENO: result: no" >&5
6811 $as_echo "no" >&6; }
6818 { $as_echo "$as_me:$LINENO: checking for nss" >&5
6819 $as_echo_n "checking for nss... " >&6; }
6821 if test -n "$nss_CFLAGS"; then
6822 pkg_cv_nss_CFLAGS
="$nss_CFLAGS"
6823 elif test -n "$PKG_CONFIG"; then
6824 if test -n "$PKG_CONFIG" && \
6825 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nss >= 3\"") >&5
6826 ($PKG_CONFIG --exists --print-errors "nss >= 3") 2>&5
6828 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829 (exit $ac_status); }; then
6830 pkg_cv_nss_CFLAGS
=`$PKG_CONFIG --cflags "nss >= 3" 2>/dev/null`
6837 if test -n "$nss_LIBS"; then
6838 pkg_cv_nss_LIBS
="$nss_LIBS"
6839 elif test -n "$PKG_CONFIG"; then
6840 if test -n "$PKG_CONFIG" && \
6841 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nss >= 3\"") >&5
6842 ($PKG_CONFIG --exists --print-errors "nss >= 3") 2>&5
6844 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6845 (exit $ac_status); }; then
6846 pkg_cv_nss_LIBS
=`$PKG_CONFIG --libs "nss >= 3" 2>/dev/null`
6856 if test $pkg_failed = yes; then
6858 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6859 _pkg_short_errors_supported
=yes
6861 _pkg_short_errors_supported
=no
6863 if test $_pkg_short_errors_supported = yes; then
6864 nss_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "nss >= 3" 2>&1`
6866 nss_PKG_ERRORS
=`$PKG_CONFIG --print-errors "nss >= 3" 2>&1`
6868 # Put the nasty error message in config.log where it belongs
6869 echo "$nss_PKG_ERRORS" >&5
6871 { $as_echo "$as_me:$LINENO: result: no" >&5
6872 $as_echo "no" >&6; }
6874 elif test $pkg_failed = untried
; then
6877 nss_CFLAGS
=$pkg_cv_nss_CFLAGS
6878 nss_LIBS
=$pkg_cv_nss_LIBS
6879 { $as_echo "$as_me:$LINENO: result: yes" >&5
6880 $as_echo "yes" >&6; }
6885 { $as_echo "$as_me:$LINENO: checking for nspr" >&5
6886 $as_echo_n "checking for nspr... " >&6; }
6888 if test -n "$nspr_CFLAGS"; then
6889 pkg_cv_nspr_CFLAGS
="$nspr_CFLAGS"
6890 elif test -n "$PKG_CONFIG"; then
6891 if test -n "$PKG_CONFIG" && \
6892 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nspr >= 4\"") >&5
6893 ($PKG_CONFIG --exists --print-errors "nspr >= 4") 2>&5
6895 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); }; then
6897 pkg_cv_nspr_CFLAGS
=`$PKG_CONFIG --cflags "nspr >= 4" 2>/dev/null`
6904 if test -n "$nspr_LIBS"; then
6905 pkg_cv_nspr_LIBS
="$nspr_LIBS"
6906 elif test -n "$PKG_CONFIG"; then
6907 if test -n "$PKG_CONFIG" && \
6908 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nspr >= 4\"") >&5
6909 ($PKG_CONFIG --exists --print-errors "nspr >= 4") 2>&5
6911 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6912 (exit $ac_status); }; then
6913 pkg_cv_nspr_LIBS
=`$PKG_CONFIG --libs "nspr >= 4" 2>/dev/null`
6923 if test $pkg_failed = yes; then
6925 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6926 _pkg_short_errors_supported
=yes
6928 _pkg_short_errors_supported
=no
6930 if test $_pkg_short_errors_supported = yes; then
6931 nspr_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "nspr >= 4" 2>&1`
6933 nspr_PKG_ERRORS
=`$PKG_CONFIG --print-errors "nspr >= 4" 2>&1`
6935 # Put the nasty error message in config.log where it belongs
6936 echo "$nspr_PKG_ERRORS" >&5
6938 { $as_echo "$as_me:$LINENO: result: no" >&5
6939 $as_echo "no" >&6; }
6941 elif test $pkg_failed = untried
; then
6944 nspr_CFLAGS
=$pkg_cv_nspr_CFLAGS
6945 nspr_LIBS
=$pkg_cv_nspr_LIBS
6946 { $as_echo "$as_me:$LINENO: result: yes" >&5
6947 $as_echo "yes" >&6; }
6950 if test "x${have_nss}${have_nspr}" != "xyesyes"; then
6951 if test "$enable_server" == "yes"; then
6952 { { $as_echo "$as_me:$LINENO: error: cannot find all libraries for stap-server" >&5
6953 $as_echo "$as_me: error: cannot find all libraries for stap-server" >&2;}
6954 { (exit 1); exit 1; }; }
6956 if test "$enable_server" == "check"; then
6957 { $as_echo "$as_me:$LINENO: WARNING: will not build stap-server, cannot find all libraries" >&5
6958 $as_echo "$as_me: WARNING: will not build stap-server, cannot find all libraries" >&2;}
6961 if test "x${have_nss}${have_nspr}" == "xyesyes" -a "$enable_server" != "no"; then
6963 BUILD_SERVER_FALSE
='#'
6965 BUILD_SERVER_TRUE
='#'
6972 # Check whether --with-elfutils was given.
6973 if test "${with_elfutils+set}" = set; then
6974 withval
=$with_elfutils;
6975 case "$with_elfutils" in
6976 yes) { { $as_echo "$as_me:$LINENO: error: --with-elfutils requires an argument" >&5
6977 $as_echo "$as_me: error: --with-elfutils requires an argument" >&2;}
6978 { (exit 1); exit 1; }; } ;;
6980 *) build_elfutils
=yes ;;
6984 if test $build_elfutils = yes; then
6985 BUILD_ELFUTILS_TRUE
=
6986 BUILD_ELFUTILS_FALSE
='#'
6988 BUILD_ELFUTILS_TRUE
='#'
6989 BUILD_ELFUTILS_FALSE
=
6992 elfutils_abs_srcdir
=`if test $build_elfutils = yes; then
6993 cd $with_elfutils && pwd
6998 if test $build_elfutils = no
; then
6999 # Need libdwfl-capable recent elfutils http://elfutils.fedorahosted.org/
7002 { $as_echo "$as_me:$LINENO: checking for dwfl_module_getsym in -ldw" >&5
7003 $as_echo_n "checking for dwfl_module_getsym in -ldw... " >&6; }
7004 if test "${ac_cv_lib_dw_dwfl_module_getsym+set}" = set; then
7005 $as_echo_n "(cached) " >&6
7007 ac_check_lib_save_LIBS
=$LIBS
7008 LIBS
="-ldw -Wl,--start-group -ldw -lebl -Wl,--end-group -lelf $LIBS"
7009 cat >conftest.
$ac_ext <<_ACEOF
7012 cat confdefs.h
>>conftest.
$ac_ext
7013 cat >>conftest.
$ac_ext <<_ACEOF
7014 /* end confdefs.h. */
7016 /* Override any GCC internal prototype to avoid an error.
7017 Use char because int might match the return type of a GCC
7018 builtin and then its argument prototype would still apply. */
7022 char dwfl_module_getsym ();
7026 return dwfl_module_getsym ();
7031 rm -f conftest.
$ac_objext conftest
$ac_exeext
7032 if { (ac_try
="$ac_link"
7034 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7035 *) ac_try_echo=$ac_try;;
7037 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7038 $as_echo "$ac_try_echo") >&5
7039 (eval "$ac_link") 2>conftest.er1
7041 grep -v '^ *+' conftest.er1 >conftest.err
7043 cat conftest.err >&5
7044 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7045 (exit $ac_status); } && {
7046 test -z "$ac_c_werror_flag" ||
7047 test ! -s conftest.err
7048 } && test -s conftest$ac_exeext && {
7049 test "$cross_compiling" = yes ||
7050 $as_test_x conftest$ac_exeext
7052 ac_cv_lib_dw_dwfl_module_getsym=yes
7054 $as_echo "$as_me: failed program was:" >&5
7055 sed 's/^/| /' conftest.$ac_ext >&5
7057 ac_cv_lib_dw_dwfl_module_getsym=no
7060 rm -rf conftest.dSYM
7061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7062 conftest$ac_exeext conftest.$ac_ext
7063 LIBS=$ac_check_lib_save_LIBS
7065 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dw_dwfl_module_getsym" >&5
7066 $as_echo "$ac_cv_lib_dw_dwfl_module_getsym" >&6; }
7067 if test "x$ac_cv_lib_dw_dwfl_module_getsym" = x""yes; then
7068 cat >>confdefs.h <<_ACEOF
7069 #define HAVE_LIBDW 1
7076 { { $as_echo "$as_me:$LINENO: error: missing elfutils development headers/libraries (install elfutils-devel, libebl-dev, libdw-dev and/or libebl-devel)" >&5
7077 $as_echo "$as_me: error: missing elfutils development headers/libraries (install elfutils-devel, libebl-dev, libdw-dev and/or libebl-devel)" >&2;}
7078 { (exit 1); exit 1; }; }
7082 { $as_echo "$as_me:$LINENO: checking for dwarf_getelf in -ldw" >&5
7083 $as_echo_n "checking for dwarf_getelf in -ldw... " >&6; }
7084 if test "${ac_cv_lib_dw_dwarf_getelf+set}" = set; then
7085 $as_echo_n "(cached) " >&6
7087 ac_check_lib_save_LIBS=$LIBS
7088 LIBS="-ldw -Wl,--start-group -ldw -lebl -Wl,--end-group -lelf $LIBS"
7089 cat >conftest.$ac_ext <<_ACEOF
7092 cat confdefs.h >>conftest.$ac_ext
7093 cat >>conftest.$ac_ext <<_ACEOF
7094 /* end confdefs.h. */
7096 /* Override any GCC internal prototype to avoid an error.
7097 Use char because int might match the return type of a GCC
7098 builtin and then its argument prototype would still apply. */
7102 char dwarf_getelf ();
7106 return dwarf_getelf ();
7111 rm -f conftest.$ac_objext conftest$ac_exeext
7112 if { (ac_try="$ac_link"
7114 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7115 *) ac_try_echo
=$ac_try;;
7117 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7118 $as_echo "$ac_try_echo") >&5
7119 (eval "$ac_link") 2>conftest.er1
7121 grep -v '^ *+' conftest.er1
>conftest.err
7123 cat conftest.err
>&5
7124 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7125 (exit $ac_status); } && {
7126 test -z "$ac_c_werror_flag" ||
7127 test ! -s conftest.err
7128 } && test -s conftest
$ac_exeext && {
7129 test "$cross_compiling" = yes ||
7130 $as_test_x conftest
$ac_exeext
7132 ac_cv_lib_dw_dwarf_getelf
=yes
7134 $as_echo "$as_me: failed program was:" >&5
7135 sed 's/^/| /' conftest.
$ac_ext >&5
7137 ac_cv_lib_dw_dwarf_getelf
=no
7140 rm -rf conftest.dSYM
7141 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7142 conftest
$ac_exeext conftest.
$ac_ext
7143 LIBS
=$ac_check_lib_save_LIBS
7145 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dw_dwarf_getelf" >&5
7146 $as_echo "$ac_cv_lib_dw_dwarf_getelf" >&6; }
7147 if test "x$ac_cv_lib_dw_dwarf_getelf" = x
""yes; then
7148 cat >>confdefs.h
<<_ACEOF
7149 #define HAVE_LIBDW 1
7156 { { $as_echo "$as_me:$LINENO: error: elfutils, libdw too old, need 0.126+" >&5
7157 $as_echo "$as_me: error: elfutils, libdw too old, need 0.126+" >&2;}
7158 { (exit 1); exit 1; }; }
7161 stap_LIBS
="-Wl,--start-group -ldw -lebl -Wl,--end-group -lelf"
7164 # We built our own and stap_LDFLAGS points at the install.
7165 stap_LIBS
="-Wl,--start-group -ldw -lebl -Wl,--end-group -lelf"
7169 { $as_echo "$as_me:$LINENO: stap will link $stap_LIBS" >&5
7170 $as_echo "$as_me: stap will link $stap_LIBS" >&6;}
7172 date=`date +%Y-%m-%d`
7174 cat >>confdefs.h
<<_ACEOF
7175 #define DATE "$date"
7182 # This procflags business is for staprun/stapio, which need to
7183 # be compiled with the same bitness as the kernel. On e.g. PPC,
7184 # userspace might be 32-bit default, but staprun needs to be
7185 # 64-bit. See also bug #4037.
7187 processor
=`uname -p`
7188 case "$processor" in
7189 ppc64
) PROCFLAGS
=-m64 ;;
7190 x86_64
) PROCFLAGS
=-m64 ;;
7195 # Use tr1/unordered_map if available
7197 ac_cpp
='$CXXCPP $CPPFLAGS'
7198 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7199 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7200 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7204 ac_cpp
='$CXXCPP $CPPFLAGS'
7205 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7206 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7207 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7208 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7209 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
7210 if test -z "$CXXCPP"; then
7211 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7212 $as_echo_n "(cached) " >&6
7214 # Double quotes because CXXCPP needs to be expanded
7215 for CXXCPP
in "$CXX -E" "/lib/cpp"
7218 for ac_cxx_preproc_warn_flag
in '' yes
7220 # Use a header file that comes with gcc, so configuring glibc
7221 # with a fresh cross-compiler works.
7222 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7223 # <limits.h> exists even on freestanding compilers.
7224 # On the NeXT, cc -E runs the code through the compiler's parser,
7225 # not just through cpp. "Syntax error" is here to catch this case.
7226 cat >conftest.
$ac_ext <<_ACEOF
7229 cat confdefs.h
>>conftest.
$ac_ext
7230 cat >>conftest.
$ac_ext <<_ACEOF
7231 /* end confdefs.h. */
7233 # include <limits.h>
7235 # include <assert.h>
7239 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7241 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7242 *) ac_try_echo=$ac_try;;
7244 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7245 $as_echo "$ac_try_echo") >&5
7246 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7248 grep -v '^ *+' conftest.er1 >conftest.err
7250 cat conftest.err >&5
7251 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7252 (exit $ac_status); } >/dev/null && {
7253 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7254 test ! -s conftest.err
7258 $as_echo "$as_me: failed program was:" >&5
7259 sed 's/^/| /' conftest.$ac_ext >&5
7261 # Broken: fails on valid input.
7265 rm -f conftest.err conftest.$ac_ext
7267 # OK, works on sane cases. Now check whether nonexistent headers
7268 # can be detected and how.
7269 cat >conftest.$ac_ext <<_ACEOF
7272 cat confdefs.h >>conftest.$ac_ext
7273 cat >>conftest.$ac_ext <<_ACEOF
7274 /* end confdefs.h. */
7275 #include <ac_nonexistent.h>
7277 if { (ac_try="$ac_cpp conftest.$ac_ext"
7279 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7280 *) ac_try_echo
=$ac_try;;
7282 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7283 $as_echo "$ac_try_echo") >&5
7284 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7286 grep -v '^ *+' conftest.er1
>conftest.err
7288 cat conftest.err
>&5
7289 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7290 (exit $ac_status); } >/dev
/null
&& {
7291 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7292 test ! -s conftest.err
7294 # Broken: success on invalid input.
7297 $as_echo "$as_me: failed program was:" >&5
7298 sed 's/^/| /' conftest.
$ac_ext >&5
7300 # Passes both tests.
7305 rm -f conftest.err conftest.
$ac_ext
7308 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7309 rm -f conftest.err conftest.
$ac_ext
7310 if $ac_preproc_ok; then
7315 ac_cv_prog_CXXCPP
=$CXXCPP
7318 CXXCPP
=$ac_cv_prog_CXXCPP
7320 ac_cv_prog_CXXCPP
=$CXXCPP
7322 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
7323 $as_echo "$CXXCPP" >&6; }
7325 for ac_cxx_preproc_warn_flag
in '' yes
7327 # Use a header file that comes with gcc, so configuring glibc
7328 # with a fresh cross-compiler works.
7329 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7330 # <limits.h> exists even on freestanding compilers.
7331 # On the NeXT, cc -E runs the code through the compiler's parser,
7332 # not just through cpp. "Syntax error" is here to catch this case.
7333 cat >conftest.
$ac_ext <<_ACEOF
7336 cat confdefs.h
>>conftest.
$ac_ext
7337 cat >>conftest.
$ac_ext <<_ACEOF
7338 /* end confdefs.h. */
7340 # include <limits.h>
7342 # include <assert.h>
7346 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7348 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7349 *) ac_try_echo=$ac_try;;
7351 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7352 $as_echo "$ac_try_echo") >&5
7353 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7355 grep -v '^ *+' conftest.er1 >conftest.err
7357 cat conftest.err >&5
7358 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7359 (exit $ac_status); } >/dev/null && {
7360 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7361 test ! -s conftest.err
7365 $as_echo "$as_me: failed program was:" >&5
7366 sed 's/^/| /' conftest.$ac_ext >&5
7368 # Broken: fails on valid input.
7372 rm -f conftest.err conftest.$ac_ext
7374 # OK, works on sane cases. Now check whether nonexistent headers
7375 # can be detected and how.
7376 cat >conftest.$ac_ext <<_ACEOF
7379 cat confdefs.h >>conftest.$ac_ext
7380 cat >>conftest.$ac_ext <<_ACEOF
7381 /* end confdefs.h. */
7382 #include <ac_nonexistent.h>
7384 if { (ac_try="$ac_cpp conftest.$ac_ext"
7386 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7387 *) ac_try_echo
=$ac_try;;
7389 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7390 $as_echo "$ac_try_echo") >&5
7391 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7393 grep -v '^ *+' conftest.er1
>conftest.err
7395 cat conftest.err
>&5
7396 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7397 (exit $ac_status); } >/dev
/null
&& {
7398 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7399 test ! -s conftest.err
7401 # Broken: success on invalid input.
7404 $as_echo "$as_me: failed program was:" >&5
7405 sed 's/^/| /' conftest.
$ac_ext >&5
7407 # Passes both tests.
7412 rm -f conftest.err conftest.
$ac_ext
7415 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7416 rm -f conftest.err conftest.
$ac_ext
7417 if $ac_preproc_ok; then
7420 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7421 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7422 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7423 See \`config.log' for more details." >&5
7424 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7425 See \`config.log' for more details." >&2;}
7426 { (exit 1); exit 1; }; }; }
7430 ac_cpp
='$CXXCPP $CPPFLAGS'
7431 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7432 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7433 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7437 for ac_header
in tr1/unordered_map
7439 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7440 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7441 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7442 $as_echo_n "checking for $ac_header... " >&6; }
7443 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7444 $as_echo_n "(cached) " >&6
7446 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7447 $as_echo "$as_val"'`
7448 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7449 $as_echo "$ac_res" >&6; }
7451 # Is the header compilable?
7452 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7453 $as_echo_n "checking $ac_header usability... " >&6; }
7454 cat >conftest.
$ac_ext <<_ACEOF
7457 cat confdefs.h
>>conftest.
$ac_ext
7458 cat >>conftest.
$ac_ext <<_ACEOF
7459 /* end confdefs.h. */
7460 $ac_includes_default
7461 #include <$ac_header>
7463 rm -f conftest.
$ac_objext
7464 if { (ac_try
="$ac_compile"
7466 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7467 *) ac_try_echo=$ac_try;;
7469 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7470 $as_echo "$ac_try_echo") >&5
7471 (eval "$ac_compile") 2>conftest.er1
7473 grep -v '^ *+' conftest.er1 >conftest.err
7475 cat conftest.err >&5
7476 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7477 (exit $ac_status); } && {
7478 test -z "$ac_cxx_werror_flag" ||
7479 test ! -s conftest.err
7480 } && test -s conftest.$ac_objext; then
7481 ac_header_compiler=yes
7483 $as_echo "$as_me: failed program was:" >&5
7484 sed 's/^/| /' conftest.$ac_ext >&5
7486 ac_header_compiler=no
7489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7490 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7491 $as_echo "$ac_header_compiler" >&6; }
7493 # Is the header present?
7494 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7495 $as_echo_n "checking $ac_header presence... " >&6; }
7496 cat >conftest.$ac_ext <<_ACEOF
7499 cat confdefs.h >>conftest.$ac_ext
7500 cat >>conftest.$ac_ext <<_ACEOF
7501 /* end confdefs.h. */
7502 #include <$ac_header>
7504 if { (ac_try="$ac_cpp conftest.$ac_ext"
7506 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7507 *) ac_try_echo
=$ac_try;;
7509 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7510 $as_echo "$ac_try_echo") >&5
7511 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7513 grep -v '^ *+' conftest.er1
>conftest.err
7515 cat conftest.err
>&5
7516 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517 (exit $ac_status); } >/dev
/null
&& {
7518 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7519 test ! -s conftest.err
7521 ac_header_preproc
=yes
7523 $as_echo "$as_me: failed program was:" >&5
7524 sed 's/^/| /' conftest.
$ac_ext >&5
7526 ac_header_preproc
=no
7529 rm -f conftest.err conftest.
$ac_ext
7530 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7531 $as_echo "$ac_header_preproc" >&6; }
7533 # So? What about this header?
7534 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7536 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7537 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7538 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7539 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7540 ac_header_preproc
=yes
7543 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7544 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7545 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7546 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7547 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7548 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7549 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7550 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7551 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7552 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7553 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7554 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7556 ## ------------------------------------------- ##
7557 ## Report this to systemtap@sources.redhat.com ##
7558 ## ------------------------------------------- ##
7560 ) |
sed "s/^/$as_me: WARNING: /" >&2
7563 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7564 $as_echo_n "checking for $ac_header... " >&6; }
7565 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7566 $as_echo_n "(cached) " >&6
7568 eval "$as_ac_Header=\$ac_header_preproc"
7570 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7571 $as_echo "$as_val"'`
7572 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7573 $as_echo "$ac_res" >&6; }
7576 as_val
=`eval 'as_val=${'$as_ac_Header'}
7577 $as_echo "$as_val"'`
7578 if test "x$as_val" = x
""yes; then
7579 cat >>confdefs.h
<<_ACEOF
7580 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7588 ac_cpp
='$CPP $CPPFLAGS'
7589 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7590 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7591 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7595 if test $build_elfutils = yes; then
7596 case "$with_elfutils" in
7597 /*) elfutils_srcdir
="$with_elfutils" ;;
7598 *) elfutils_srcdir
="../$with_elfutils" ;;
7600 { $as_echo "$as_me:$LINENO: running ${elfutils_srcdir}/configure" >&5
7601 $as_echo "$as_me: running ${elfutils_srcdir}/configure" >&6;}
7602 # Our libdw.so's libebl will look in $ORIGIN/../lib/... but that
7603 # $ORIGIN is where libdw.so resides, which is not where there is a ../lib.
7604 # Note that $libdir might be using a quoted use of $exec_prefix or $prefix.
7605 # So we must make sure to pass those settings to elfutils configure.
7606 elfutils_rpath
="-Wl,--enable-new-dtags,-rpath,${libdir}/${PACKAGE_NAME}"
7608 (mkdir
-p build-elfutils
&& cd build-elfutils
&&
7609 ${elfutils_srcdir}/configure
--enable-libebl-subdir=${PACKAGE_NAME} \
7610 --includedir="${here}/include-elfutils" \
7611 --libdir="${here}/lib-elfutils" \
7612 --exec-prefix="$exec_prefix" \
7613 --prefix="$prefix" \
7614 CFLAGS
="${CFLAGS/-Wall/}" \
7615 LDFLAGS
="$LDFLAGS $elfutils_rpath" &&
7616 if test -f ${elfutils_srcdir}/config
/version.h.
in; then
7617 echo Trying to
install elfutils version header...
7618 make install-pkgincludeHEADERS
7620 # so that elfutils/version.h - available from 0.138 - may be found.
7621 # Don't use install-data because that will fail (installing in $prefix).
7623 if test $?
!= 0; then exit; fi
7624 save_CPPFLAGS
=${CPPFLAGS}
7625 CPPFLAGS
="${CPPFLAGS} -Iinclude-elfutils" # in case bundled elfutils
7627 for ac_header
in elfutils
/version.h
7629 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7630 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7631 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7632 $as_echo_n "checking for $ac_header... " >&6; }
7633 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7634 $as_echo_n "(cached) " >&6
7636 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7637 $as_echo "$as_val"'`
7638 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7639 $as_echo "$ac_res" >&6; }
7641 # Is the header compilable?
7642 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7643 $as_echo_n "checking $ac_header usability... " >&6; }
7644 cat >conftest.
$ac_ext <<_ACEOF
7647 cat confdefs.h
>>conftest.
$ac_ext
7648 cat >>conftest.
$ac_ext <<_ACEOF
7649 /* end confdefs.h. */
7650 $ac_includes_default
7651 #include <$ac_header>
7653 rm -f conftest.
$ac_objext
7654 if { (ac_try
="$ac_compile"
7656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7657 *) ac_try_echo=$ac_try;;
7659 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7660 $as_echo "$ac_try_echo") >&5
7661 (eval "$ac_compile") 2>conftest.er1
7663 grep -v '^ *+' conftest.er1 >conftest.err
7665 cat conftest.err >&5
7666 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7667 (exit $ac_status); } && {
7668 test -z "$ac_c_werror_flag" ||
7669 test ! -s conftest.err
7670 } && test -s conftest.$ac_objext; then
7671 ac_header_compiler=yes
7673 $as_echo "$as_me: failed program was:" >&5
7674 sed 's/^/| /' conftest.$ac_ext >&5
7676 ac_header_compiler=no
7679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7680 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7681 $as_echo "$ac_header_compiler" >&6; }
7683 # Is the header present?
7684 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7685 $as_echo_n "checking $ac_header presence... " >&6; }
7686 cat >conftest.$ac_ext <<_ACEOF
7689 cat confdefs.h >>conftest.$ac_ext
7690 cat >>conftest.$ac_ext <<_ACEOF
7691 /* end confdefs.h. */
7692 #include <$ac_header>
7694 if { (ac_try="$ac_cpp conftest.$ac_ext"
7696 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7697 *) ac_try_echo
=$ac_try;;
7699 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7700 $as_echo "$ac_try_echo") >&5
7701 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7703 grep -v '^ *+' conftest.er1
>conftest.err
7705 cat conftest.err
>&5
7706 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7707 (exit $ac_status); } >/dev
/null
&& {
7708 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7709 test ! -s conftest.err
7711 ac_header_preproc
=yes
7713 $as_echo "$as_me: failed program was:" >&5
7714 sed 's/^/| /' conftest.
$ac_ext >&5
7716 ac_header_preproc
=no
7719 rm -f conftest.err conftest.
$ac_ext
7720 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7721 $as_echo "$ac_header_preproc" >&6; }
7723 # So? What about this header?
7724 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7726 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7727 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7728 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7729 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7730 ac_header_preproc
=yes
7733 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7734 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7735 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7736 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7737 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7738 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7739 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7740 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7741 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7742 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7743 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7744 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7746 ## ------------------------------------------- ##
7747 ## Report this to systemtap@sources.redhat.com ##
7748 ## ------------------------------------------- ##
7750 ) |
sed "s/^/$as_me: WARNING: /" >&2
7753 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7754 $as_echo_n "checking for $ac_header... " >&6; }
7755 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7756 $as_echo_n "(cached) " >&6
7758 eval "$as_ac_Header=\$ac_header_preproc"
7760 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7761 $as_echo "$as_val"'`
7762 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7763 $as_echo "$ac_res" >&6; }
7766 as_val
=`eval 'as_val=${'$as_ac_Header'}
7767 $as_echo "$as_val"'`
7768 if test "x$as_val" = x
""yes; then
7769 cat >>confdefs.h
<<_ACEOF
7770 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7777 CPPFLAGS
="$save_CPPFLAGS"
7780 for ac_header
in elfutils
/version.h
7782 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7783 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7784 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7785 $as_echo_n "checking for $ac_header... " >&6; }
7786 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7787 $as_echo_n "(cached) " >&6
7789 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7790 $as_echo "$as_val"'`
7791 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7792 $as_echo "$ac_res" >&6; }
7794 # Is the header compilable?
7795 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7796 $as_echo_n "checking $ac_header usability... " >&6; }
7797 cat >conftest.
$ac_ext <<_ACEOF
7800 cat confdefs.h
>>conftest.
$ac_ext
7801 cat >>conftest.
$ac_ext <<_ACEOF
7802 /* end confdefs.h. */
7803 $ac_includes_default
7804 #include <$ac_header>
7806 rm -f conftest.
$ac_objext
7807 if { (ac_try
="$ac_compile"
7809 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7810 *) ac_try_echo=$ac_try;;
7812 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7813 $as_echo "$ac_try_echo") >&5
7814 (eval "$ac_compile") 2>conftest.er1
7816 grep -v '^ *+' conftest.er1 >conftest.err
7818 cat conftest.err >&5
7819 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7820 (exit $ac_status); } && {
7821 test -z "$ac_c_werror_flag" ||
7822 test ! -s conftest.err
7823 } && test -s conftest.$ac_objext; then
7824 ac_header_compiler=yes
7826 $as_echo "$as_me: failed program was:" >&5
7827 sed 's/^/| /' conftest.$ac_ext >&5
7829 ac_header_compiler=no
7832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7833 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7834 $as_echo "$ac_header_compiler" >&6; }
7836 # Is the header present?
7837 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7838 $as_echo_n "checking $ac_header presence... " >&6; }
7839 cat >conftest.$ac_ext <<_ACEOF
7842 cat confdefs.h >>conftest.$ac_ext
7843 cat >>conftest.$ac_ext <<_ACEOF
7844 /* end confdefs.h. */
7845 #include <$ac_header>
7847 if { (ac_try="$ac_cpp conftest.$ac_ext"
7849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7850 *) ac_try_echo
=$ac_try;;
7852 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7853 $as_echo "$ac_try_echo") >&5
7854 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7856 grep -v '^ *+' conftest.er1
>conftest.err
7858 cat conftest.err
>&5
7859 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7860 (exit $ac_status); } >/dev
/null
&& {
7861 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7862 test ! -s conftest.err
7864 ac_header_preproc
=yes
7866 $as_echo "$as_me: failed program was:" >&5
7867 sed 's/^/| /' conftest.
$ac_ext >&5
7869 ac_header_preproc
=no
7872 rm -f conftest.err conftest.
$ac_ext
7873 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7874 $as_echo "$ac_header_preproc" >&6; }
7876 # So? What about this header?
7877 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7879 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7880 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7881 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7882 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7883 ac_header_preproc
=yes
7886 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7887 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7888 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7889 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7890 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7891 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7892 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7893 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7894 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7895 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7896 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7897 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7899 ## ------------------------------------------- ##
7900 ## Report this to systemtap@sources.redhat.com ##
7901 ## ------------------------------------------- ##
7903 ) |
sed "s/^/$as_me: WARNING: /" >&2
7906 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7907 $as_echo_n "checking for $ac_header... " >&6; }
7908 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7909 $as_echo_n "(cached) " >&6
7911 eval "$as_ac_Header=\$ac_header_preproc"
7913 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7914 $as_echo "$as_val"'`
7915 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7916 $as_echo "$ac_res" >&6; }
7919 as_val
=`eval 'as_val=${'$as_ac_Header'}
7920 $as_echo "$as_val"'`
7921 if test "x$as_val" = x
""yes; then
7922 cat >>confdefs.h
<<_ACEOF
7923 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7933 cat >>confdefs.h
<<_ACEOF
7934 #define STAP_PREFIX "$prefix"
7938 ac_config_headers
="$ac_config_headers config.h:config.in"
7940 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"
7944 subdirs
="$subdirs testsuite"
7946 ac_config_files
="$ac_config_files run-stap"
7948 cat >confcache
<<\_ACEOF
7949 # This file is a shell script that caches the results of configure
7950 # tests run on this system so they can be shared between configure
7951 # scripts and configure runs, see configure's option --config-cache.
7952 # It is not useful on other systems. If it contains results you don't
7953 # want to keep, you may remove or edit it.
7955 # config.status only pays attention to the cache file if you give it
7956 # the --recheck option to rerun configure.
7958 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7959 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7964 # The following way of writing the cache mishandles newlines in values,
7965 # but we know of no workaround that is simple, portable, and efficient.
7966 # So, we kill variables containing newlines.
7967 # Ultrix sh set writes to stderr and can't be redirected directly,
7968 # and sets the high bit in the cache file unless we assign to the vars.
7970 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7971 eval ac_val
=\$
$ac_var
7975 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
7976 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7979 _ | IFS | as_nl
) ;; #(
7980 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7981 *) $as_unset $ac_var ;;
7987 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7988 *${as_nl}ac_space
=\
*)
7989 # `set' does not quote correctly, so add quotes (double-quote
7990 # substitution turns \\\\ into \\, and sed turns \\ into \).
7993 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7996 # `set' quotes correctly as required by POSIX, so do not add quotes.
7997 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8006 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8008 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8010 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8011 if test -w "$cache_file"; then
8012 test "x$cache_file" != "x/dev/null" &&
8013 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
8014 $as_echo "$as_me: updating cache $cache_file" >&6;}
8015 cat confcache
>$cache_file
8017 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8018 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8023 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8024 # Let make expand exec_prefix.
8025 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8027 DEFS
=-DHAVE_CONFIG_H
8031 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8032 # 1. Remove the extension, and $U if already installed.
8033 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8034 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
8035 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8036 # will be set to the directory where LIBOBJS objects are built.
8037 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8038 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
8042 LTLIBOBJS
=$ac_ltlibobjs
8045 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8046 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
8047 Usually this means the macro was only invoked conditionally." >&5
8048 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
8049 Usually this means the macro was only invoked conditionally." >&2;}
8050 { (exit 1); exit 1; }; }
8052 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8053 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8054 Usually this means the macro was only invoked conditionally." >&5
8055 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
8056 Usually this means the macro was only invoked conditionally." >&2;}
8057 { (exit 1); exit 1; }; }
8059 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8060 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8061 Usually this means the macro was only invoked conditionally." >&5
8062 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8063 Usually this means the macro was only invoked conditionally." >&2;}
8064 { (exit 1); exit 1; }; }
8066 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
8067 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
8068 Usually this means the macro was only invoked conditionally." >&5
8069 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
8070 Usually this means the macro was only invoked conditionally." >&2;}
8071 { (exit 1); exit 1; }; }
8073 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8074 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8075 Usually this means the macro was only invoked conditionally." >&5
8076 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8077 Usually this means the macro was only invoked conditionally." >&2;}
8078 { (exit 1); exit 1; }; }
8080 if test -z "${BUILD_CRASHMOD_TRUE}" && test -z "${BUILD_CRASHMOD_FALSE}"; then
8081 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_CRASHMOD\" was never defined.
8082 Usually this means the macro was only invoked conditionally." >&5
8083 $as_echo "$as_me: error: conditional \"BUILD_CRASHMOD\" was never defined.
8084 Usually this means the macro was only invoked conditionally." >&2;}
8085 { (exit 1); exit 1; }; }
8087 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
8088 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_DOCS\" was never defined.
8089 Usually this means the macro was only invoked conditionally." >&5
8090 $as_echo "$as_me: error: conditional \"BUILD_DOCS\" was never defined.
8091 Usually this means the macro was only invoked conditionally." >&2;}
8092 { (exit 1); exit 1; }; }
8094 if test -z "${BUILD_REFDOCS_TRUE}" && test -z "${BUILD_REFDOCS_FALSE}"; then
8095 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_REFDOCS\" was never defined.
8096 Usually this means the macro was only invoked conditionally." >&5
8097 $as_echo "$as_me: error: conditional \"BUILD_REFDOCS\" was never defined.
8098 Usually this means the macro was only invoked conditionally." >&2;}
8099 { (exit 1); exit 1; }; }
8101 if test -z "${BUILD_SERVER_TRUE}" && test -z "${BUILD_SERVER_FALSE}"; then
8102 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SERVER\" was never defined.
8103 Usually this means the macro was only invoked conditionally." >&5
8104 $as_echo "$as_me: error: conditional \"BUILD_SERVER\" was never defined.
8105 Usually this means the macro was only invoked conditionally." >&2;}
8106 { (exit 1); exit 1; }; }
8108 if test -z "${BUILD_ELFUTILS_TRUE}" && test -z "${BUILD_ELFUTILS_FALSE}"; then
8109 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_ELFUTILS\" was never defined.
8110 Usually this means the macro was only invoked conditionally." >&5
8111 $as_echo "$as_me: error: conditional \"BUILD_ELFUTILS\" was never defined.
8112 Usually this means the macro was only invoked conditionally." >&2;}
8113 { (exit 1); exit 1; }; }
8116 : ${CONFIG_STATUS=./config.status}
8118 ac_clean_files_save
=$ac_clean_files
8119 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8120 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8121 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8122 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8124 # Generated by $as_me.
8125 # Run this file to recreate the current configuration.
8126 # Compiler output produced by configure, useful for debugging
8127 # configure, is in config.log if it exists.
8132 SHELL=\${CONFIG_SHELL-$SHELL}
8135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8136 ## --------------------- ##
8137 ## M4sh Initialization. ##
8138 ## --------------------- ##
8140 # Be more Bourne compatible
8141 DUALCASE
=1; export DUALCASE
# for MKS sh
8142 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8145 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8146 # is contrary to our usage. Disable this feature.
8147 alias -g '${1+"$@"}'='"$@"'
8148 setopt NO_GLOB_SUBST
8150 case `(set -o) 2>/dev/null` in
8151 *posix
*) set -o posix
;;
8160 # Avoid depending upon Character Ranges.
8161 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8162 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8163 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8164 as_cr_digits
='0123456789'
8165 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8170 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8171 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8172 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8173 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8174 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8175 as_echo='printf %s
\n'
8176 as_echo_n='printf %s
'
8178 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8179 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
8180 as_echo_n='/usr
/ucb
/echo -n'
8182 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8183 as_echo_n_body='eval
8187 expr "X$arg" : "X\\(.*\\)$as_nl";
8188 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8190 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
8192 export as_echo_n_body
8193 as_echo_n='sh
-c $as_echo_n_body as_echo
'
8196 as_echo='sh
-c $as_echo_body as_echo
'
8199 # The user is always right.
8200 if test "${PATH_SEPARATOR+set}" != set; then
8202 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8203 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8208 # Support unset when possible.
8209 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8217 # We need space, tab and new line, in precisely that order. Quoting is
8218 # there to prevent editors from complaining about space-tab.
8219 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8220 # splitting by setting IFS to empty value.)
8223 # Find who we are. Look in the path if we contain no directory separator.
8225 *[\\/]* ) as_myself=$0 ;;
8226 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8230 test -z "$as_dir" && as_dir=.
8231 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8237 # We did not find ourselves, most probably we were run as `sh COMMAND'
8238 # in which case we are not to be found in the path.
8239 if test "x$as_myself" = x
; then
8242 if test ! -f "$as_myself"; then
8243 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8244 { (exit 1); exit 1; }
8247 # Work around bugs in pre-3.0 UWIN ksh.
8248 for as_var
in ENV MAIL MAILPATH
8249 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
8261 # Required to use basename.
8262 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8263 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8269 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8270 as_basename
=basename
8276 # Name of the executable.
8277 as_me
=`$as_basename -- "$0" ||
8278 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8279 X"$0" : 'X\(//\)$' \| \
8280 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8282 sed '/^.*\/\([^/][^/]*\)\/*$/{
8303 test "x$as_lineno_1" != "x$as_lineno_2" &&
8304 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
8306 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8307 # uniformly replaced by the line number. The first 'sed' inserts a
8308 # line-number line after each line using $LINENO; the second 'sed'
8309 # does the real work. The second script uses 'N' to pair each
8310 # line-number line with the line containing $LINENO, and appends
8311 # trailing '-' during substitution so that $LINENO is not a special
8313 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8314 # scripts with optimization help from Paolo Bonzini. Blame Lee
8315 # E. McMahon (1931-1989) for sed's syntax. :-)
8327 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8331 chmod +x
"$as_me.lineno" ||
8332 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8333 { (exit 1); exit 1; }; }
8335 # Don't try to exec as it changes $[0], causing all sort of problems
8336 # (the dirname of $[0] is not the place where we might find the
8337 # original and so on. Autoconf is especially sensitive to this).
8339 # Exit status is that of the last command.
8344 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8350 ECHO_C
= ECHO_N
= ECHO_T
=
8353 case `echo 'x\c'` in
8354 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8360 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8361 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8367 rm -f conf$$ conf$$.exe conf$$.
file
8368 if test -d conf$$.dir
; then
8369 rm -f conf$$.dir
/conf$$.
file
8372 mkdir conf$$.dir
2>/dev
/null
8374 if (echo >conf$$.
file) 2>/dev
/null
; then
8375 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8377 # ... but there are two gotchas:
8378 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8379 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8380 # In both cases, we have to default to `cp -p'.
8381 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8383 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8391 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8392 rmdir conf$$.dir
2>/dev
/null
8394 if mkdir
-p .
2>/dev
/null
; then
8397 test -d .
/-p && rmdir .
/-p
8401 if test -x / >/dev
/null
2>&1; then
8404 if ls -dL / >/dev
/null
2>&1; then
8411 if test -d "$1"; then
8417 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8418 ???[sx]*):;;*)false;;esac;fi
8422 as_executable_p
=$as_test_x
8424 # Sed expression to map a string onto a valid CPP name.
8425 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8427 # Sed expression to map a string onto a valid variable name.
8428 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8433 # Save the log message, to keep $[0] and so on meaningful, and to
8434 # report actual input values of CONFIG_FILES etc. instead of their
8435 # values after options handling.
8437 This file was extended by systemtap $as_me 0.8, which was
8438 generated by GNU Autoconf 2.63. Invocation command line was
8440 CONFIG_FILES = $CONFIG_FILES
8441 CONFIG_HEADERS = $CONFIG_HEADERS
8442 CONFIG_LINKS = $CONFIG_LINKS
8443 CONFIG_COMMANDS = $CONFIG_COMMANDS
8446 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8451 case $ac_config_files in *"
8452 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
8455 case $ac_config_headers in *"
8456 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
8460 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8461 # Files that config.status was made for.
8462 config_files="$ac_config_files"
8463 config_headers="$ac_config_headers"
8464 config_commands="$ac_config_commands"
8468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8470 \`$as_me' instantiates files from templates according to the
8471 current configuration.
8473 Usage: $0 [OPTION]... [FILE]...
8475 -h, --help print this help, then exit
8476 -V, --version print version number and configuration settings, then exit
8477 -q, --quiet, --silent
8478 do not print progress messages
8479 -d, --debug don't remove temporary files
8480 --recheck update $as_me by reconfiguring in the same conditions
8481 --file=FILE[:TEMPLATE]
8482 instantiate the configuration file FILE
8483 --header=FILE[:TEMPLATE]
8484 instantiate the configuration header FILE
8486 Configuration files:
8489 Configuration headers:
8492 Configuration commands:
8495 Report bugs to <bug-autoconf@gnu.org>."
8498 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8500 systemtap config.status 0.8
8501 configured by $0, generated by GNU Autoconf 2.63,
8502 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8504 Copyright (C) 2008 Free Software Foundation, Inc.
8505 This config.status script is free software; the Free Software Foundation
8506 gives unlimited permission to copy, distribute and modify it."
8513 test -n "\$AWK" || AWK=awk
8516 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8517 # The default lists apply if the user does not specify any file.
8523 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8524 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8535 # Handling of the options.
8536 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8538 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8539 $as_echo "$ac_cs_version"; exit ;;
8540 --debug |
--debu |
--deb |
--de |
--d |
-d )
8542 --file |
--fil |
--fi |
--f )
8545 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8547 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
8548 ac_need_defaults
=false
;;
8549 --header |
--heade |
--head |
--hea )
8552 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8554 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
8555 ac_need_defaults
=false
;;
8557 # Conflict between --help and --header
8558 { $as_echo "$as_me: error: ambiguous option: $1
8559 Try \`$0 --help' for more information." >&2
8560 { (exit 1); exit 1; }; };;
8561 --help |
--hel |
-h )
8562 $as_echo "$ac_cs_usage"; exit ;;
8563 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8564 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8568 -*) { $as_echo "$as_me: error: unrecognized option: $1
8569 Try \`$0 --help' for more information." >&2
8570 { (exit 1); exit 1; }; } ;;
8572 *) ac_config_targets
="$ac_config_targets $1"
8573 ac_need_defaults
=false
;;
8579 ac_configure_extra_args
=
8581 if $ac_cs_silent; then
8583 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8588 if \$ac_cs_recheck; then
8589 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8591 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8592 CONFIG_SHELL='$SHELL'
8598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8602 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8603 ## Running $as_me. ##
8609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8613 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8617 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8619 # Handling of arguments.
8620 for ac_config_target
in $ac_config_targets
8622 case $ac_config_target in
8623 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8624 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
8625 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8626 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
8627 "doc/SystemTap_Tapset_Reference/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/SystemTap_Tapset_Reference/Makefile" ;;
8628 "stap.1") CONFIG_FILES
="$CONFIG_FILES stap.1" ;;
8629 "stapprobes.5") CONFIG_FILES
="$CONFIG_FILES stapprobes.5" ;;
8630 "stapfuncs.5") CONFIG_FILES
="$CONFIG_FILES stapfuncs.5" ;;
8631 "stapvars.5") CONFIG_FILES
="$CONFIG_FILES stapvars.5" ;;
8632 "stapex.5") CONFIG_FILES
="$CONFIG_FILES stapex.5" ;;
8633 "staprun.8") CONFIG_FILES
="$CONFIG_FILES staprun.8" ;;
8634 "stap-server.8") CONFIG_FILES
="$CONFIG_FILES stap-server.8" ;;
8635 "man/stapprobes.iosched.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.iosched.5" ;;
8636 "man/stapprobes.netdev.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.netdev.5" ;;
8637 "man/stapprobes.nfs.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.nfs.5" ;;
8638 "man/stapprobes.nfsd.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.nfsd.5" ;;
8639 "man/stapprobes.pagefault.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.pagefault.5" ;;
8640 "man/stapprobes.process.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.process.5" ;;
8641 "man/stapprobes.rpc.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.rpc.5" ;;
8642 "man/stapprobes.scsi.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.scsi.5" ;;
8643 "man/stapprobes.signal.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.signal.5" ;;
8644 "man/stapprobes.socket.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.socket.5" ;;
8645 "man/stapprobes.tcp.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.tcp.5" ;;
8646 "man/stapprobes.udp.5") CONFIG_FILES
="$CONFIG_FILES man/stapprobes.udp.5" ;;
8647 "run-stap") CONFIG_FILES
="$CONFIG_FILES run-stap" ;;
8649 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8650 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8651 { (exit 1); exit 1; }; };;
8656 # If the user did not use the arguments to specify the items to instantiate,
8657 # then the envvar interface is used. Set only those that are not.
8658 # We use the long form for the default assignment because of an extremely
8659 # bizarre bug on SunOS 4.1.3.
8660 if $ac_need_defaults; then
8661 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8662 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8663 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8666 # Have a temporary directory for convenience. Make it in the build tree
8667 # simply because there is no reason against having it here, and in addition,
8668 # creating and moving files from /tmp can sometimes cause problems.
8669 # Hook for its removal unless debugging.
8670 # Note that there is a small window in which the directory will not be cleaned:
8671 # after its creation but before its name has been assigned to `$tmp'.
8675 trap 'exit_status=$?
8676 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8678 trap '{ (exit 1); exit 1; }' 1 2 13 15
8680 # Create a (secure) tmp directory for tmp files.
8683 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8684 test -n "$tmp" && test -d "$tmp"
8687 tmp
=.
/conf$$
-$RANDOM
8688 (umask 077 && mkdir
"$tmp")
8691 $as_echo "$as_me: cannot create a temporary directory in ." >&2
8692 { (exit 1); exit 1; }
8695 # Set up the scripts for CONFIG_FILES section.
8696 # No need to generate them if there are no CONFIG_FILES.
8697 # This happens for instance with `./config.status config.h'.
8698 if test -n "$CONFIG_FILES"; then
8702 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8703 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8709 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8714 echo "cat >conf$$subs.awk <<_ACEOF" &&
8715 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8718 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
8719 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
8720 { (exit 1); exit 1; }; }
8721 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8723 for ac_last_try in false false false false false :; do
8724 . ./conf$$subs.sh ||
8725 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
8726 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
8727 { (exit 1); exit 1; }; }
8729 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
8730 if test $ac_delim_n = $ac_delim_num; then
8732 elif $ac_last_try; then
8733 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
8734 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
8735 { (exit 1); exit 1; }; }
8737 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8743 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
8747 s/^/S["/; s
/!.
*/"]=/
8757 s/\(.\{148\}\).*/\1/
8759 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8764 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8771 s/\(.\{148\}\).*/\1/
8773 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8777 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8782 ' <conf$$subs.awk | sed '
8787 ' >>$CONFIG_STATUS || ac_write_fail=1
8788 rm -f conf$$subs.awk
8789 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8791 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
8792 for (key in S) S_is_set[key] = 1
8798 nfields = split(line, field, "@
")
8800 len = length(field[1])
8801 for (i = 2; i < nfields; i++) {
8803 keylen = length(key)
8804 if (S_is_set[key]) {
8806 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8807 len += length(value) + length(field[++i])
8818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8819 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8820 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8823 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
8824 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
8825 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
8826 { (exit 1); exit 1; }; }
8829 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8830 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
8831 # trailing colons and then remove the whole line if VPATH becomes empty
8832 # (actually we leave an empty line to preserve line numbers).
8833 if test "x
$srcdir" = x.; then
8834 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8838 s/^\([^=]*=[ ]*\):*/\1/
8844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8845 fi # test -n "$CONFIG_FILES"
8847 # Set up the scripts for CONFIG_HEADERS section.
8848 # No need to generate them if there are no CONFIG_HEADERS.
8849 # This happens for instance with `./config.status Makefile'.
8850 if test -n "$CONFIG_HEADERS"; then
8851 cat >"$tmp/defines.
awk" <<\_ACAWK ||
8855 # Transform confdefs.h into an awk script `defines.awk', embedded as
8856 # here-document in config.status, that substitutes the proper values into
8857 # config.h.in to produce config.h.
8859 # Create a delimiter string that does not exist in confdefs.h, to ease
8860 # handling of long lines.
8862 for ac_last_try in false false :; do
8863 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
8864 if test -z "$ac_t"; then
8866 elif $ac_last_try; then
8867 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
8868 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
8869 { (exit 1); exit 1; }; }
8871 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8875 # For the awk script, D is an array of macro values keyed by name,
8876 # likewise P contains macro parameters if any. Preserve backslash
8877 # newline sequences.
8879 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8881 s/.\{148\}/&'"$ac_delim"'/g
8884 s/^[ ]*#[ ]*define[ ][ ]*/ /
8891 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8893 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8897 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8898 D["\
1"]=" \
3\\\\\\n
"\\/p
8900 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8905 s/.\{148\}/&'"$ac_delim"'/g
8910 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8913 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8915 ' <confdefs.h | sed '
8916 s/'"$ac_delim"'/"\\\
8917 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8920 for (key in D) D_is_set[key] = 1
8923 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8925 split(line, arg, " ")
8926 if (arg[1] == "#") {
8930 defundef
= substr
(arg
[1], 2)
8933 split(mac1
, mac2
, "(") #)
8935 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8936 if (D_is_set
[macro
]) {
8937 # Preserve the white space surrounding the "#".
8938 print prefix
"define", macro P
[macro
] D
[macro
]
8941 # Replace #undef with comments. This is necessary, for example,
8942 # in the case of _POSIX_SOURCE, which is predefined and required
8943 # on some systems where configure will not decide to define it.
8944 if (defundef
== "undef") {
8945 print
"/*", prefix defundef
, macro
, "*/"
8953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8954 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
8955 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
8956 { (exit 1); exit 1; }; }
8957 fi # test -n "$CONFIG_HEADERS"
8960 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8965 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8967 case $ac_mode$ac_tag in
8969 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
8970 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
8971 { (exit 1); exit 1; }; };;
8972 :[FH
]-) ac_tag
=-:-;;
8973 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8990 -) ac_f
="$tmp/stdin";;
8991 *) # Look for the file first in the build tree, then in the source tree
8992 # (if the path is not absolute). The absolute path cannot be DOS-style,
8993 # because $ac_f cannot contain `:'.
8997 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8999 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9000 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9001 { (exit 1); exit 1; }; };;
9003 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9004 ac_file_inputs
="$ac_file_inputs '$ac_f'"
9007 # Let's still pretend it is `configure' which instantiates (i.e., don't
9008 # use $as_me), people would be surprised to read:
9009 # /* config.h. Generated by config.status. */
9010 configure_input
='Generated from '`
9011 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9013 if test x
"$ac_file" != x-
; then
9014 configure_input
="$ac_file. $configure_input"
9015 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
9016 $as_echo "$as_me: creating $ac_file" >&6;}
9018 # Neutralize special characters interpreted by sed in replacement strings.
9019 case $configure_input in #(
9020 *\
&* |
*\|
* |
*\\* )
9021 ac_sed_conf_input
=`$as_echo "$configure_input" |
9022 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9023 *) ac_sed_conf_input
=$configure_input;;
9027 *:-:* |
*:-) cat >"$tmp/stdin" \
9028 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9029 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9030 { (exit 1); exit 1; }; } ;;
9035 ac_dir
=`$as_dirname -- "$ac_file" ||
9036 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9037 X"$ac_file" : 'X\(//\)[^/]' \| \
9038 X"$ac_file" : 'X\(//\)$' \| \
9039 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9040 $as_echo X"$ac_file" |
9041 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9060 -*) as_dir
=.
/$as_dir;;
9062 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9066 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9067 *) as_qdir
=$as_dir;;
9069 as_dirs
="'$as_qdir' $as_dirs"
9070 as_dir
=`$as_dirname -- "$as_dir" ||
9071 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9072 X"$as_dir" : 'X\(//\)[^/]' \| \
9073 X"$as_dir" : 'X\(//\)$' \| \
9074 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9075 $as_echo X"$as_dir" |
9076 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9093 test -d "$as_dir" && break
9095 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9096 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9097 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9098 { (exit 1); exit 1; }; }; }
9102 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9104 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9105 # A ".." for each directory in $ac_dir_suffix.
9106 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9107 case $ac_top_builddir_sub in
9108 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9109 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9112 ac_abs_top_builddir
=$ac_pwd
9113 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9114 # for backward compatibility:
9115 ac_top_builddir
=$ac_top_build_prefix
9118 .
) # We are building in place.
9120 ac_top_srcdir
=$ac_top_builddir_sub
9121 ac_abs_top_srcdir
=$ac_pwd ;;
9122 [\\/]* | ?
:[\\/]* ) # Absolute name.
9123 ac_srcdir
=$srcdir$ac_dir_suffix;
9124 ac_top_srcdir
=$srcdir
9125 ac_abs_top_srcdir
=$srcdir ;;
9127 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9128 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9129 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9131 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9141 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9142 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9146 [\\/$
]* | ?
:[\\/]* ) ;;
9147 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
9151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9152 # If the template does not know about datarootdir, expand it.
9153 # FIXME: This hack should be removed a few years after 2.60.
9154 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9167 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9168 *datarootdir
*) ac_datarootdir_seen
=yes;;
9169 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9170 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9171 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9173 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9174 ac_datarootdir_hack='
9175 s&@datadir@&$datadir&g
9176 s&@docdir@&$docdir&g
9177 s&@infodir@&$infodir&g
9178 s&@localedir@&$localedir&g
9179 s&@mandir@&$mandir&g
9180 s&\\\${datarootdir}&$datarootdir&g' ;;
9184 # Neutralize VPATH when `$srcdir' = `.'.
9185 # Shell code in configure.ac might set extrasub.
9186 # FIXME: do we really want to maintain this feature?
9187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9188 ac_sed_extra="$ac_vpsub
9191 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9193 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9194 s|@configure_input@|
$ac_sed_conf_input|
;t t
9195 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9196 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
9197 s
&@srcdir@
&$ac_srcdir&;t t
9198 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9199 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9200 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9201 s
&@builddir@
&$ac_builddir&;t t
9202 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9203 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9204 s
&@INSTALL@
&$ac_INSTALL&;t t
9205 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
9206 $ac_datarootdir_hack
9208 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
9209 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
9210 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
9211 { (exit 1); exit 1; }; }
9213 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9214 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
9215 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
9216 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9217 which seems to be undefined. Please make sure it is defined." >&5
9218 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9219 which seems to be undefined. Please make sure it is defined." >&2;}
9223 -) cat "$tmp/out" && rm -f "$tmp/out";;
9224 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9226 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9227 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9228 { (exit 1); exit 1; }; }
9234 if test x"$ac_file" != x-; then
9236 $as_echo "/* $configure_input */" \
9237 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9238 } >"$tmp/config.h" \
9239 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9240 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9241 { (exit 1); exit 1; }; }
9242 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9243 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9244 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9247 mv "$tmp/config.h" "$ac_file" \
9248 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9249 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9250 { (exit 1); exit 1; }; }
9253 $as_echo "/* $configure_input */" \
9254 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9255 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
9256 $as_echo "$as_me: error: could not create -" >&2;}
9257 { (exit 1); exit 1; }; }
9259 # Compute "$ac_file"'s index
in $config_headers.
9262 for _am_header
in $config_headers :; do
9264 $_am_arg |
$_am_arg:* )
9267 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
9270 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9271 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9272 X"$_am_arg" : 'X\(//\)[^/]' \| \
9273 X"$_am_arg" : 'X\(//\)$' \| \
9274 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9275 $as_echo X"$_am_arg" |
9276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9292 s/.*/./; q'`/stamp-h
$_am_stamp_count
9295 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
9296 $as_echo "$as_me: executing $ac_file commands" >&6;}
9301 case $ac_file$ac_mode in
9302 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
9303 # Strip MF so we end up with the name of the file.
9304 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9305 # Check whether this is an Automake generated Makefile or not.
9306 # We used to match only the files named `Makefile.in', but
9307 # some people rename them; so instead we look at the file content.
9308 # Grep'ing the first line is not enough: some people post-process
9309 # each Makefile.in and add a new line on top of each file to say so.
9310 # Grep'ing the whole file is not good either: AIX grep has a line
9311 # limit of 2048, but all sed's we know have understand at least 4000.
9312 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
9313 dirpart
=`$as_dirname -- "$mf" ||
9314 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9315 X"$mf" : 'X\(//\)[^/]' \| \
9316 X"$mf" : 'X\(//\)$' \| \
9317 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9339 # Extract the definition of DEPDIR, am__include, and am__quote
9340 # from the Makefile without running `make'.
9341 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9342 test -z "$DEPDIR" && continue
9343 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
9344 test -z "am__include" && continue
9345 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
9346 # When using ansi2knr, U may be empty or an underscore; expand it
9347 U
=`sed -n 's/^U = //p' < "$mf"`
9348 # Find all dependency output files, they are included files with
9349 # $(DEPDIR) in their names. We invoke sed twice because it is the
9350 # simplest approach to changing $(DEPDIR) to its actual value in the
9352 for file in `sed -n "
9353 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9354 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9355 # Make sure the directory exists.
9356 test -f "$dirpart/$file" && continue
9357 fdir
=`$as_dirname -- "$file" ||
9358 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9359 X"$file" : 'X\(//\)[^/]' \| \
9360 X"$file" : 'X\(//\)$' \| \
9361 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9380 { as_dir
=$dirpart/$fdir
9382 -*) as_dir
=.
/$as_dir;;
9384 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9388 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9389 *) as_qdir
=$as_dir;;
9391 as_dirs
="'$as_qdir' $as_dirs"
9392 as_dir
=`$as_dirname -- "$as_dir" ||
9393 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9394 X"$as_dir" : 'X\(//\)[^/]' \| \
9395 X"$as_dir" : 'X\(//\)$' \| \
9396 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9397 $as_echo X"$as_dir" |
9398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9415 test -d "$as_dir" && break
9417 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9418 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9419 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9420 { (exit 1); exit 1; }; }; }
9421 # echo "creating $dirpart/$file"
9422 echo '# dummy' > "$dirpart/$file"
9426 "run-stap":F
) chmod +x run-stap
;;
9432 { (exit 0); exit 0; }
9434 chmod +x
$CONFIG_STATUS
9435 ac_clean_files
=$ac_clean_files_save
9437 test $ac_write_fail = 0 ||
9438 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
9439 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
9440 { (exit 1); exit 1; }; }
9443 # configure is writing to config.log, and then calls config.status.
9444 # config.status does its own redirection, appending to config.log.
9445 # Unfortunately, on DOS this fails, as config.log is still kept open
9446 # by configure, so config.status won't be able to write to it; its
9447 # output is simply discarded. So we exec the FD to /dev/null,
9448 # effectively closing config.log, so it can be properly (re)opened and
9449 # appended to by config.status. When coming back to configure, we
9450 # need to make the FD available again.
9451 if test "$no_create" != yes; then
9453 ac_config_status_args
=
9454 test "$silent" = yes &&
9455 ac_config_status_args
="$ac_config_status_args --quiet"
9457 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9459 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9460 # would make configure fail if this is the last instruction.
9461 $ac_cs_success ||
{ (exit 1); exit 1; }
9465 # CONFIG_SUBDIRS section.
9467 if test "$no_recursion" != yes; then
9469 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
9470 # so they do not pile up.
9471 ac_sub_configure_args
=
9473 eval "set x $ac_configure_args"
9477 if test -n "$ac_prev"; then
9482 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
9483 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
9484 ac_prev
=cache_file
;;
9485 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
9486 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
9489 --config-cache |
-C)
9491 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
9493 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
9495 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
9497 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
9499 --disable-option-checking)
9503 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9505 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
9509 # Always prepend --prefix to ensure using the same prefix
9510 # in subdir configurations.
9511 ac_arg
="--prefix=$prefix"
9513 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9515 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
9518 if test "$silent" = yes; then
9519 ac_sub_configure_args
="--silent $ac_sub_configure_args"
9522 # Always prepend --disable-option-checking to silence warnings, since
9523 # different subdirs can have different --enable and --with options.
9524 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
9527 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
9529 # Do not complain, so a configure script can configure whichever
9530 # parts of a large source tree are present.
9531 test -d "$srcdir/$ac_dir" ||
continue
9533 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
9534 $as_echo "$as_me:$LINENO: $ac_msg" >&5
9535 $as_echo "$ac_msg" >&6
9538 -*) as_dir
=.
/$as_dir;;
9540 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9544 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9545 *) as_qdir
=$as_dir;;
9547 as_dirs
="'$as_qdir' $as_dirs"
9548 as_dir
=`$as_dirname -- "$as_dir" ||
9549 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9550 X"$as_dir" : 'X\(//\)[^/]' \| \
9551 X"$as_dir" : 'X\(//\)$' \| \
9552 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9553 $as_echo X"$as_dir" |
9554 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9571 test -d "$as_dir" && break
9573 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9574 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9575 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9576 { (exit 1); exit 1; }; }; }
9580 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9582 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9583 # A ".." for each directory in $ac_dir_suffix.
9584 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9585 case $ac_top_builddir_sub in
9586 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9587 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9590 ac_abs_top_builddir
=$ac_pwd
9591 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9592 # for backward compatibility:
9593 ac_top_builddir
=$ac_top_build_prefix
9596 .
) # We are building in place.
9598 ac_top_srcdir
=$ac_top_builddir_sub
9599 ac_abs_top_srcdir
=$ac_pwd ;;
9600 [\\/]* | ?
:[\\/]* ) # Absolute name.
9601 ac_srcdir
=$srcdir$ac_dir_suffix;
9602 ac_top_srcdir
=$srcdir
9603 ac_abs_top_srcdir
=$srcdir ;;
9605 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9606 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9607 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9609 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9614 # Check for guested configure; otherwise get Cygnus style configure.
9615 if test -f "$ac_srcdir/configure.gnu"; then
9616 ac_sub_configure
=$ac_srcdir/configure.gnu
9617 elif test -f "$ac_srcdir/configure"; then
9618 ac_sub_configure
=$ac_srcdir/configure
9619 elif test -f "$ac_srcdir/configure.in"; then
9620 # This should be Cygnus configure.
9621 ac_sub_configure
=$ac_aux_dir/configure
9623 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
9624 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
9628 # The recursion is here.
9629 if test -n "$ac_sub_configure"; then
9630 # Make the cache file name correct relative to the subdirectory.
9632 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
9634 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
9637 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
9638 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
9639 # The eval makes quoting arguments work.
9640 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
9641 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
9642 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
9643 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
9644 { (exit 1); exit 1; }; }
9650 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
9651 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9652 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9656 if test "${prefix}" = "/usr/local"; then
9657 { $as_echo "$as_me:$LINENO: " >&5
9658 $as_echo "$as_me: " >&6;}
9659 { $as_echo "$as_me:$LINENO: For a private or temporary build of systemtap, we recommend" >&5
9660 $as_echo "$as_me: For a private or temporary build of systemtap, we recommend" >&6;}
9661 { $as_echo "$as_me:$LINENO: configuring with a prefix. For example, try" >&5
9662 $as_echo "$as_me: configuring with a prefix. For example, try" >&6;}
9663 { $as_echo "$as_me:$LINENO: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&5
9664 $as_echo "$as_me: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&6;}
9665 { $as_echo "$as_me:$LINENO: Running systemtap uninstalled, entirely out of the build tree," >&5
9666 $as_echo "$as_me: Running systemtap uninstalled, entirely out of the build tree," >&6;}
9667 { $as_echo "$as_me:$LINENO: is not supported." >&5
9668 $as_echo "$as_me: is not supported." >&6;}