]> sourceware.org Git - systemtap.git/blob - configure
Check xmlto available and allow user to control generation of reference docs.
[systemtap.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for systemtap 0.8.
4 #
5 # Report bugs to <systemtap@sources.redhat.com>.
6 #
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
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
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
28
29 fi
30
31
32
33
34 # PATH needs CR
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
41
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
51 fi
52 rm -f conf$$.sh
53 fi
54
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
60 fi
61
62
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
69 '
70 IFS=" "" $as_nl"
71
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
77 do
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
83
84 ;;
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
90 fi
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
94 fi
95
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
103
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
109 do
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114 fi
115 done
116
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
123 fi
124
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
129 fi
130
131
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
140 q
141 }
142 /^X\/\(\/\/\)$/{
143 s//\1/
144 q
145 }
146 /^X\/\(\/\).*/{
147 s//\1/
148 q
149 }
150 s/.*/./; q'`
151
152 # CDPATH.
153 $as_unset CDPATH
154
155
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
161 fi
162
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
166 }
167 as_func_success () {
168 as_func_return 0
169 }
170 as_func_failure () {
171 as_func_return 1
172 }
173 as_func_ret_success () {
174 return 0
175 }
176 as_func_ret_failure () {
177 return 1
178 }
179
180 exitcode=0
181 if as_func_success; then
182 :
183 else
184 exitcode=1
185 echo as_func_success failed.
186 fi
187
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
191 fi
192
193 if as_func_ret_success; then
194 :
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
198 fi
199
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
203 fi
204
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206 :
207 else
208 exitcode=1
209 echo positional parameters were not saved.
210 fi
211
212 test \$exitcode = 0) || { (exit 1); exit 1; }
213
214 (
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
220 :
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 do
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
229 /*)
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
236
237
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
253
254 fi
255
256
257 :
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
274
275 fi
276
277
278 :
279 (as_func_return () {
280 (exit $1)
281 }
282 as_func_success () {
283 as_func_return 0
284 }
285 as_func_failure () {
286 as_func_return 1
287 }
288 as_func_ret_success () {
289 return 0
290 }
291 as_func_ret_failure () {
292 return 1
293 }
294
295 exitcode=0
296 if as_func_success; then
297 :
298 else
299 exitcode=1
300 echo as_func_success failed.
301 fi
302
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
306 fi
307
308 if as_func_ret_success; then
309 :
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
313 fi
314
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
318 fi
319
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
321 :
322 else
323 exitcode=1
324 echo positional parameters were not saved.
325 fi
326
327 test $exitcode = 0) || { (exit 1); exit 1; }
328
329 (
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335 _ASEOF
336 }; then
337 break
338 fi
339
340 fi
341
342 done
343
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350 fi
351
352
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
359 fi
360
361
362 fi
363
364 fi
365
366
367
368 (eval "as_func_return () {
369 (exit \$1)
370 }
371 as_func_success () {
372 as_func_return 0
373 }
374 as_func_failure () {
375 as_func_return 1
376 }
377 as_func_ret_success () {
378 return 0
379 }
380 as_func_ret_failure () {
381 return 1
382 }
383
384 exitcode=0
385 if as_func_success; then
386 :
387 else
388 exitcode=1
389 echo as_func_success failed.
390 fi
391
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
395 fi
396
397 if as_func_ret_success; then
398 :
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
402 fi
403
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
407 fi
408
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410 :
411 else
412 exitcode=1
413 echo positional parameters were not saved.
414 fi
415
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
421 }
422
423
424
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
441 p
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
447 b
448 :lineno
449 N
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
458
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
465 }
466
467
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
472 fi
473
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
481 *)
482 ECHO_N='-n';;
483 esac
484
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
490 fi
491
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
498 fi
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
512 fi
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
515
516 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
521 fi
522
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
530 fi
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
542 '
543 fi
544 as_executable_p=$as_test_x
545
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
552
553
554 exec 7<&0 </dev/null 6>&1
555
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
561 #
562 # Initializations.
563 #
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
573
574 # Identity of this package.
575 PACKAGE_NAME='systemtap'
576 PACKAGE_TARNAME='systemtap'
577 PACKAGE_VERSION='0.8'
578 PACKAGE_STRING='systemtap 0.8'
579 PACKAGE_BUGREPORT='systemtap@sources.redhat.com'
580
581 # Factoring default headers for most tests.
582 ac_includes_default="\
583 #include <stdio.h>
584 #ifdef HAVE_SYS_TYPES_H
585 # include <sys/types.h>
586 #endif
587 #ifdef HAVE_SYS_STAT_H
588 # include <sys/stat.h>
589 #endif
590 #ifdef STDC_HEADERS
591 # include <stdlib.h>
592 # include <stddef.h>
593 #else
594 # ifdef HAVE_STDLIB_H
595 # include <stdlib.h>
596 # endif
597 #endif
598 #ifdef HAVE_STRING_H
599 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
600 # include <memory.h>
601 # endif
602 # include <string.h>
603 #endif
604 #ifdef HAVE_STRINGS_H
605 # include <strings.h>
606 #endif
607 #ifdef HAVE_INTTYPES_H
608 # include <inttypes.h>
609 #endif
610 #ifdef HAVE_STDINT_H
611 # include <stdint.h>
612 #endif
613 #ifdef HAVE_UNISTD_H
614 # include <unistd.h>
615 #endif"
616
617 ac_subst_vars='SHELL
618 PATH_SEPARATOR
619 PACKAGE_NAME
620 PACKAGE_TARNAME
621 PACKAGE_VERSION
622 PACKAGE_STRING
623 PACKAGE_BUGREPORT
624 exec_prefix
625 prefix
626 program_transform_name
627 bindir
628 sbindir
629 libexecdir
630 datarootdir
631 datadir
632 sysconfdir
633 sharedstatedir
634 localstatedir
635 includedir
636 oldincludedir
637 docdir
638 infodir
639 htmldir
640 dvidir
641 pdfdir
642 psdir
643 libdir
644 localedir
645 mandir
646 DEFS
647 ECHO_C
648 ECHO_N
649 ECHO_T
650 LIBS
651 build_alias
652 host_alias
653 target_alias
654 INSTALL_PROGRAM
655 INSTALL_SCRIPT
656 INSTALL_DATA
657 am__isrc
658 CYGPATH_W
659 PACKAGE
660 VERSION
661 ACLOCAL
662 AUTOCONF
663 AUTOMAKE
664 AUTOHEADER
665 MAKEINFO
666 install_sh
667 STRIP
668 INSTALL_STRIP_PROGRAM
669 mkdir_p
670 AWK
671 SET_MAKE
672 am__leading_dot
673 AMTAR
674 am__tar
675 am__untar
676 MAINTAINER_MODE_TRUE
677 MAINTAINER_MODE_FALSE
678 MAINT
679 LN_S
680 CC
681 CFLAGS
682 LDFLAGS
683 CPPFLAGS
684 ac_ct_CC
685 EXEEXT
686 OBJEXT
687 DEPDIR
688 am__include
689 am__quote
690 AMDEP_TRUE
691 AMDEP_FALSE
692 AMDEPBACKSLASH
693 CCDEPMODE
694 am__fastdepCC_TRUE
695 am__fastdepCC_FALSE
696 CXX
697 CXXFLAGS
698 ac_ct_CXX
699 CXXDEPMODE
700 am__fastdepCXX_TRUE
701 am__fastdepCXX_FALSE
702 CPP
703 GREP
704 EGREP
705 U
706 ANSI2KNR
707 RANLIB
708 PIELDFLAGS
709 sqlite3_LIBS
710 staplog_CPPFLAGS
711 BUILD_CRASHMOD_TRUE
712 BUILD_CRASHMOD_FALSE
713 have_latex
714 have_dvips
715 have_ps2pdf
716 have_latex2html
717 BUILD_DOCS_TRUE
718 BUILD_DOCS_FALSE
719 have_xmlto
720 BUILD_REFDOCS_TRUE
721 BUILD_REFDOCS_FALSE
722 PKG_CONFIG
723 nss_CFLAGS
724 nss_LIBS
725 nspr_CFLAGS
726 nspr_LIBS
727 BUILD_SERVER_TRUE
728 BUILD_SERVER_FALSE
729 BUILD_ELFUTILS_TRUE
730 BUILD_ELFUTILS_FALSE
731 elfutils_abs_srcdir
732 stap_LIBS
733 DATE
734 PROCFLAGS
735 CXXCPP
736 subdirs
737 LIBOBJS
738 LTLIBOBJS'
739 ac_subst_files=''
740 ac_precious_vars='build_alias
741 host_alias
742 target_alias
743 CC
744 CFLAGS
745 LDFLAGS
746 LIBS
747 CPPFLAGS
748 CXX
749 CXXFLAGS
750 CCC
751 CPP
752 PKG_CONFIG
753 nss_CFLAGS
754 nss_LIBS
755 nspr_CFLAGS
756 nspr_LIBS
757 CXXCPP'
758 ac_subdirs_all='testsuite'
759
760 # Initialize some variables set by options.
761 ac_init_help=
762 ac_init_version=false
763 # The variables have the same names as the options, with
764 # dashes changed to underlines.
765 cache_file=/dev/null
766 exec_prefix=NONE
767 no_create=
768 no_recursion=
769 prefix=NONE
770 program_prefix=NONE
771 program_suffix=NONE
772 program_transform_name=s,x,x,
773 silent=
774 site=
775 srcdir=
776 verbose=
777 x_includes=NONE
778 x_libraries=NONE
779
780 # Installation directory options.
781 # These are left unexpanded so users can "make install exec_prefix=/foo"
782 # and all the variables that are supposed to be based on exec_prefix
783 # by default will actually change.
784 # Use braces instead of parens because sh, perl, etc. also accept them.
785 # (The list follows the same order as the GNU Coding Standards.)
786 bindir='${exec_prefix}/bin'
787 sbindir='${exec_prefix}/sbin'
788 libexecdir='${exec_prefix}/libexec'
789 datarootdir='${prefix}/share'
790 datadir='${datarootdir}'
791 sysconfdir='${prefix}/etc'
792 sharedstatedir='${prefix}/com'
793 localstatedir='${prefix}/var'
794 includedir='${prefix}/include'
795 oldincludedir='/usr/include'
796 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
797 infodir='${datarootdir}/info'
798 htmldir='${docdir}'
799 dvidir='${docdir}'
800 pdfdir='${docdir}'
801 psdir='${docdir}'
802 libdir='${exec_prefix}/lib'
803 localedir='${datarootdir}/locale'
804 mandir='${datarootdir}/man'
805
806 ac_prev=
807 ac_dashdash=
808 for ac_option
809 do
810 # If the previous option needs an argument, assign it.
811 if test -n "$ac_prev"; then
812 eval $ac_prev=\$ac_option
813 ac_prev=
814 continue
815 fi
816
817 case $ac_option in
818 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
819 *) ac_optarg=yes ;;
820 esac
821
822 # Accept the important Cygnus configure options, so we can diagnose typos.
823
824 case $ac_dashdash$ac_option in
825 --)
826 ac_dashdash=yes ;;
827
828 -bindir | --bindir | --bindi | --bind | --bin | --bi)
829 ac_prev=bindir ;;
830 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
831 bindir=$ac_optarg ;;
832
833 -build | --build | --buil | --bui | --bu)
834 ac_prev=build_alias ;;
835 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
836 build_alias=$ac_optarg ;;
837
838 -cache-file | --cache-file | --cache-fil | --cache-fi \
839 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
840 ac_prev=cache_file ;;
841 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
842 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
843 cache_file=$ac_optarg ;;
844
845 --config-cache | -C)
846 cache_file=config.cache ;;
847
848 -datadir | --datadir | --datadi | --datad)
849 ac_prev=datadir ;;
850 -datadir=* | --datadir=* | --datadi=* | --datad=*)
851 datadir=$ac_optarg ;;
852
853 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
854 | --dataroo | --dataro | --datar)
855 ac_prev=datarootdir ;;
856 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
857 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
858 datarootdir=$ac_optarg ;;
859
860 -disable-* | --disable-*)
861 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
862 # Reject names that are not valid shell variable names.
863 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
864 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
865 { (exit 1); exit 1; }; }
866 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
867 eval enable_$ac_feature=no ;;
868
869 -docdir | --docdir | --docdi | --doc | --do)
870 ac_prev=docdir ;;
871 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
872 docdir=$ac_optarg ;;
873
874 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
875 ac_prev=dvidir ;;
876 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
877 dvidir=$ac_optarg ;;
878
879 -enable-* | --enable-*)
880 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
881 # Reject names that are not valid shell variable names.
882 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
883 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
884 { (exit 1); exit 1; }; }
885 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
886 eval enable_$ac_feature=\$ac_optarg ;;
887
888 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
889 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
890 | --exec | --exe | --ex)
891 ac_prev=exec_prefix ;;
892 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
893 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
894 | --exec=* | --exe=* | --ex=*)
895 exec_prefix=$ac_optarg ;;
896
897 -gas | --gas | --ga | --g)
898 # Obsolete; use --with-gas.
899 with_gas=yes ;;
900
901 -help | --help | --hel | --he | -h)
902 ac_init_help=long ;;
903 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
904 ac_init_help=recursive ;;
905 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
906 ac_init_help=short ;;
907
908 -host | --host | --hos | --ho)
909 ac_prev=host_alias ;;
910 -host=* | --host=* | --hos=* | --ho=*)
911 host_alias=$ac_optarg ;;
912
913 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
914 ac_prev=htmldir ;;
915 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
916 | --ht=*)
917 htmldir=$ac_optarg ;;
918
919 -includedir | --includedir | --includedi | --included | --include \
920 | --includ | --inclu | --incl | --inc)
921 ac_prev=includedir ;;
922 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
923 | --includ=* | --inclu=* | --incl=* | --inc=*)
924 includedir=$ac_optarg ;;
925
926 -infodir | --infodir | --infodi | --infod | --info | --inf)
927 ac_prev=infodir ;;
928 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
929 infodir=$ac_optarg ;;
930
931 -libdir | --libdir | --libdi | --libd)
932 ac_prev=libdir ;;
933 -libdir=* | --libdir=* | --libdi=* | --libd=*)
934 libdir=$ac_optarg ;;
935
936 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
937 | --libexe | --libex | --libe)
938 ac_prev=libexecdir ;;
939 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
940 | --libexe=* | --libex=* | --libe=*)
941 libexecdir=$ac_optarg ;;
942
943 -localedir | --localedir | --localedi | --localed | --locale)
944 ac_prev=localedir ;;
945 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
946 localedir=$ac_optarg ;;
947
948 -localstatedir | --localstatedir | --localstatedi | --localstated \
949 | --localstate | --localstat | --localsta | --localst | --locals)
950 ac_prev=localstatedir ;;
951 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
952 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
953 localstatedir=$ac_optarg ;;
954
955 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
956 ac_prev=mandir ;;
957 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
958 mandir=$ac_optarg ;;
959
960 -nfp | --nfp | --nf)
961 # Obsolete; use --without-fp.
962 with_fp=no ;;
963
964 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
965 | --no-cr | --no-c | -n)
966 no_create=yes ;;
967
968 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
969 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
970 no_recursion=yes ;;
971
972 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
973 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
974 | --oldin | --oldi | --old | --ol | --o)
975 ac_prev=oldincludedir ;;
976 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
977 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
978 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
979 oldincludedir=$ac_optarg ;;
980
981 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
982 ac_prev=prefix ;;
983 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
984 prefix=$ac_optarg ;;
985
986 -program-prefix | --program-prefix | --program-prefi | --program-pref \
987 | --program-pre | --program-pr | --program-p)
988 ac_prev=program_prefix ;;
989 -program-prefix=* | --program-prefix=* | --program-prefi=* \
990 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
991 program_prefix=$ac_optarg ;;
992
993 -program-suffix | --program-suffix | --program-suffi | --program-suff \
994 | --program-suf | --program-su | --program-s)
995 ac_prev=program_suffix ;;
996 -program-suffix=* | --program-suffix=* | --program-suffi=* \
997 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
998 program_suffix=$ac_optarg ;;
999
1000 -program-transform-name | --program-transform-name \
1001 | --program-transform-nam | --program-transform-na \
1002 | --program-transform-n | --program-transform- \
1003 | --program-transform | --program-transfor \
1004 | --program-transfo | --program-transf \
1005 | --program-trans | --program-tran \
1006 | --progr-tra | --program-tr | --program-t)
1007 ac_prev=program_transform_name ;;
1008 -program-transform-name=* | --program-transform-name=* \
1009 | --program-transform-nam=* | --program-transform-na=* \
1010 | --program-transform-n=* | --program-transform-=* \
1011 | --program-transform=* | --program-transfor=* \
1012 | --program-transfo=* | --program-transf=* \
1013 | --program-trans=* | --program-tran=* \
1014 | --progr-tra=* | --program-tr=* | --program-t=*)
1015 program_transform_name=$ac_optarg ;;
1016
1017 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1018 ac_prev=pdfdir ;;
1019 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1020 pdfdir=$ac_optarg ;;
1021
1022 -psdir | --psdir | --psdi | --psd | --ps)
1023 ac_prev=psdir ;;
1024 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1025 psdir=$ac_optarg ;;
1026
1027 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1028 | -silent | --silent | --silen | --sile | --sil)
1029 silent=yes ;;
1030
1031 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1032 ac_prev=sbindir ;;
1033 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1034 | --sbi=* | --sb=*)
1035 sbindir=$ac_optarg ;;
1036
1037 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1038 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1039 | --sharedst | --shareds | --shared | --share | --shar \
1040 | --sha | --sh)
1041 ac_prev=sharedstatedir ;;
1042 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1043 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1044 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1045 | --sha=* | --sh=*)
1046 sharedstatedir=$ac_optarg ;;
1047
1048 -site | --site | --sit)
1049 ac_prev=site ;;
1050 -site=* | --site=* | --sit=*)
1051 site=$ac_optarg ;;
1052
1053 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1054 ac_prev=srcdir ;;
1055 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1056 srcdir=$ac_optarg ;;
1057
1058 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1059 | --syscon | --sysco | --sysc | --sys | --sy)
1060 ac_prev=sysconfdir ;;
1061 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1062 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1063 sysconfdir=$ac_optarg ;;
1064
1065 -target | --target | --targe | --targ | --tar | --ta | --t)
1066 ac_prev=target_alias ;;
1067 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1068 target_alias=$ac_optarg ;;
1069
1070 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1071 verbose=yes ;;
1072
1073 -version | --version | --versio | --versi | --vers | -V)
1074 ac_init_version=: ;;
1075
1076 -with-* | --with-*)
1077 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1078 # Reject names that are not valid shell variable names.
1079 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1080 { echo "$as_me: error: invalid package name: $ac_package" >&2
1081 { (exit 1); exit 1; }; }
1082 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1083 eval with_$ac_package=\$ac_optarg ;;
1084
1085 -without-* | --without-*)
1086 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1087 # Reject names that are not valid shell variable names.
1088 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1089 { echo "$as_me: error: invalid package name: $ac_package" >&2
1090 { (exit 1); exit 1; }; }
1091 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1092 eval with_$ac_package=no ;;
1093
1094 --x)
1095 # Obsolete; use --with-x.
1096 with_x=yes ;;
1097
1098 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1099 | --x-incl | --x-inc | --x-in | --x-i)
1100 ac_prev=x_includes ;;
1101 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1102 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1103 x_includes=$ac_optarg ;;
1104
1105 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1106 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1107 ac_prev=x_libraries ;;
1108 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1109 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1110 x_libraries=$ac_optarg ;;
1111
1112 -*) { echo "$as_me: error: unrecognized option: $ac_option
1113 Try \`$0 --help' for more information." >&2
1114 { (exit 1); exit 1; }; }
1115 ;;
1116
1117 *=*)
1118 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1121 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1122 { (exit 1); exit 1; }; }
1123 eval $ac_envvar=\$ac_optarg
1124 export $ac_envvar ;;
1125
1126 *)
1127 # FIXME: should be removed in autoconf 3.0.
1128 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1129 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1130 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1131 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1132 ;;
1133
1134 esac
1135 done
1136
1137 if test -n "$ac_prev"; then
1138 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1139 { echo "$as_me: error: missing argument to $ac_option" >&2
1140 { (exit 1); exit 1; }; }
1141 fi
1142
1143 # Be sure to have absolute directory names.
1144 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1145 datadir sysconfdir sharedstatedir localstatedir includedir \
1146 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1147 libdir localedir mandir
1148 do
1149 eval ac_val=\$$ac_var
1150 case $ac_val in
1151 [\\/$]* | ?:[\\/]* ) continue;;
1152 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1153 esac
1154 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1155 { (exit 1); exit 1; }; }
1156 done
1157
1158 # There might be people who depend on the old broken behavior: `$host'
1159 # used to hold the argument of --host etc.
1160 # FIXME: To remove some day.
1161 build=$build_alias
1162 host=$host_alias
1163 target=$target_alias
1164
1165 # FIXME: To remove some day.
1166 if test "x$host_alias" != x; then
1167 if test "x$build_alias" = x; then
1168 cross_compiling=maybe
1169 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1170 If a cross compiler is detected then cross compile mode will be used." >&2
1171 elif test "x$build_alias" != "x$host_alias"; then
1172 cross_compiling=yes
1173 fi
1174 fi
1175
1176 ac_tool_prefix=
1177 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1178
1179 test "$silent" = yes && exec 6>/dev/null
1180
1181
1182 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1183 ac_ls_di=`ls -di .` &&
1184 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1185 { echo "$as_me: error: Working directory cannot be determined" >&2
1186 { (exit 1); exit 1; }; }
1187 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1188 { echo "$as_me: error: pwd does not report name of working directory" >&2
1189 { (exit 1); exit 1; }; }
1190
1191
1192 # Find the source files, if location was not specified.
1193 if test -z "$srcdir"; then
1194 ac_srcdir_defaulted=yes
1195 # Try the directory containing this script, then the parent directory.
1196 ac_confdir=`$as_dirname -- "$0" ||
1197 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1198 X"$0" : 'X\(//\)[^/]' \| \
1199 X"$0" : 'X\(//\)$' \| \
1200 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1201 echo X"$0" |
1202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1203 s//\1/
1204 q
1205 }
1206 /^X\(\/\/\)[^/].*/{
1207 s//\1/
1208 q
1209 }
1210 /^X\(\/\/\)$/{
1211 s//\1/
1212 q
1213 }
1214 /^X\(\/\).*/{
1215 s//\1/
1216 q
1217 }
1218 s/.*/./; q'`
1219 srcdir=$ac_confdir
1220 if test ! -r "$srcdir/$ac_unique_file"; then
1221 srcdir=..
1222 fi
1223 else
1224 ac_srcdir_defaulted=no
1225 fi
1226 if test ! -r "$srcdir/$ac_unique_file"; then
1227 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1228 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1229 { (exit 1); exit 1; }; }
1230 fi
1231 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1232 ac_abs_confdir=`(
1233 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1234 { (exit 1); exit 1; }; }
1235 pwd)`
1236 # When building in place, set srcdir=.
1237 if test "$ac_abs_confdir" = "$ac_pwd"; then
1238 srcdir=.
1239 fi
1240 # Remove unnecessary trailing slashes from srcdir.
1241 # Double slashes in file names in object file debugging info
1242 # mess up M-x gdb in Emacs.
1243 case $srcdir in
1244 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1245 esac
1246 for ac_var in $ac_precious_vars; do
1247 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1248 eval ac_env_${ac_var}_value=\$${ac_var}
1249 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1250 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1251 done
1252
1253 #
1254 # Report the --help message.
1255 #
1256 if test "$ac_init_help" = "long"; then
1257 # Omit some internal or obsolete options to make the list less imposing.
1258 # This message is too long to be a string in the A/UX 3.1 sh.
1259 cat <<_ACEOF
1260 \`configure' configures systemtap 0.8 to adapt to many kinds of systems.
1261
1262 Usage: $0 [OPTION]... [VAR=VALUE]...
1263
1264 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1265 VAR=VALUE. See below for descriptions of some of the useful variables.
1266
1267 Defaults for the options are specified in brackets.
1268
1269 Configuration:
1270 -h, --help display this help and exit
1271 --help=short display options specific to this package
1272 --help=recursive display the short help of all the included packages
1273 -V, --version display version information and exit
1274 -q, --quiet, --silent do not print \`checking...' messages
1275 --cache-file=FILE cache test results in FILE [disabled]
1276 -C, --config-cache alias for \`--cache-file=config.cache'
1277 -n, --no-create do not create output files
1278 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1279
1280 Installation directories:
1281 --prefix=PREFIX install architecture-independent files in PREFIX
1282 [$ac_default_prefix]
1283 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1284 [PREFIX]
1285
1286 By default, \`make install' will install all the files in
1287 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1288 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1289 for instance \`--prefix=\$HOME'.
1290
1291 For better control, use the options below.
1292
1293 Fine tuning of the installation directories:
1294 --bindir=DIR user executables [EPREFIX/bin]
1295 --sbindir=DIR system admin executables [EPREFIX/sbin]
1296 --libexecdir=DIR program executables [EPREFIX/libexec]
1297 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1298 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1299 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1300 --libdir=DIR object code libraries [EPREFIX/lib]
1301 --includedir=DIR C header files [PREFIX/include]
1302 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1303 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1304 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1305 --infodir=DIR info documentation [DATAROOTDIR/info]
1306 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1307 --mandir=DIR man documentation [DATAROOTDIR/man]
1308 --docdir=DIR documentation root [DATAROOTDIR/doc/systemtap]
1309 --htmldir=DIR html documentation [DOCDIR]
1310 --dvidir=DIR dvi documentation [DOCDIR]
1311 --pdfdir=DIR pdf documentation [DOCDIR]
1312 --psdir=DIR ps documentation [DOCDIR]
1313 _ACEOF
1314
1315 cat <<\_ACEOF
1316
1317 Program names:
1318 --program-prefix=PREFIX prepend PREFIX to installed program names
1319 --program-suffix=SUFFIX append SUFFIX to installed program names
1320 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1321 _ACEOF
1322 fi
1323
1324 if test -n "$ac_init_help"; then
1325 case $ac_init_help in
1326 short | recursive ) echo "Configuration of systemtap 0.8:";;
1327 esac
1328 cat <<\_ACEOF
1329
1330 Optional Features:
1331 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1332 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1333 --enable-maintainer-mode enable make rules and dependencies not useful
1334 (and sometimes confusing) to the casual installer
1335 --disable-dependency-tracking speeds up one-time build
1336 --enable-dependency-tracking do not reject slow dependency extractors
1337 --enable-perfmon[=DIRECTORY]
1338 enable perfmon support (default is disabled).
1339 Optional DIRECTORY is the path to the perfmon
1340 installation (needed if installed in a non-standard
1341 location).
1342 --enable-prologues make -P prologue-searching default
1343 --disable-ssp disable gcc stack-protector
1344 --disable-pie disable position-independent-executable
1345 --enable-sqlite build with sqlite support
1346 --enable-crash[=DIRECTORY]
1347 enable crash extension (default is disabled).
1348 Optional DIRECTORY is the path to the crash header
1349 file (needed if installed in a non-standard
1350 location).
1351 --enable-docs enable building documentation (default on if latex
1352 etc. found).
1353 --enable-refdocs enable building reference documentation (default on
1354 if xmlto etc. found and other documentation built).
1355 --enble-server enable building of stap-server/client (default on if
1356 nss etc. found).
1357
1358 Optional Packages:
1359 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1360 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1361 --with-elfutils=DIRECTORY
1362 find elfutils source code in DIRECTORY
1363
1364 Some influential environment variables:
1365 CC C compiler command
1366 CFLAGS C compiler flags
1367 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1368 nonstandard directory <lib dir>
1369 LIBS libraries to pass to the linker, e.g. -l<library>
1370 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1371 you have headers in a nonstandard directory <include dir>
1372 CXX C++ compiler command
1373 CXXFLAGS C++ compiler flags
1374 CPP C preprocessor
1375 PKG_CONFIG path to pkg-config utility
1376 nss_CFLAGS C compiler flags for nss, overriding pkg-config
1377 nss_LIBS linker flags for nss, overriding pkg-config
1378 nspr_CFLAGS C compiler flags for nspr, overriding pkg-config
1379 nspr_LIBS linker flags for nspr, overriding pkg-config
1380 CXXCPP C++ preprocessor
1381
1382 Use these variables to override the choices made by `configure' or to help
1383 it to find libraries and programs with nonstandard names/locations.
1384
1385 Report bugs to <systemtap@sources.redhat.com>.
1386 _ACEOF
1387 ac_status=$?
1388 fi
1389
1390 if test "$ac_init_help" = "recursive"; then
1391 # If there are subdirs, report their specific --help.
1392 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1393 test -d "$ac_dir" || continue
1394 ac_builddir=.
1395
1396 case "$ac_dir" in
1397 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1398 *)
1399 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1400 # A ".." for each directory in $ac_dir_suffix.
1401 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1402 case $ac_top_builddir_sub in
1403 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1404 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1405 esac ;;
1406 esac
1407 ac_abs_top_builddir=$ac_pwd
1408 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1409 # for backward compatibility:
1410 ac_top_builddir=$ac_top_build_prefix
1411
1412 case $srcdir in
1413 .) # We are building in place.
1414 ac_srcdir=.
1415 ac_top_srcdir=$ac_top_builddir_sub
1416 ac_abs_top_srcdir=$ac_pwd ;;
1417 [\\/]* | ?:[\\/]* ) # Absolute name.
1418 ac_srcdir=$srcdir$ac_dir_suffix;
1419 ac_top_srcdir=$srcdir
1420 ac_abs_top_srcdir=$srcdir ;;
1421 *) # Relative name.
1422 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1423 ac_top_srcdir=$ac_top_build_prefix$srcdir
1424 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1425 esac
1426 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1427
1428 cd "$ac_dir" || { ac_status=$?; continue; }
1429 # Check for guested configure.
1430 if test -f "$ac_srcdir/configure.gnu"; then
1431 echo &&
1432 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1433 elif test -f "$ac_srcdir/configure"; then
1434 echo &&
1435 $SHELL "$ac_srcdir/configure" --help=recursive
1436 else
1437 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1438 fi || ac_status=$?
1439 cd "$ac_pwd" || { ac_status=$?; break; }
1440 done
1441 fi
1442
1443 test -n "$ac_init_help" && exit $ac_status
1444 if $ac_init_version; then
1445 cat <<\_ACEOF
1446 systemtap configure 0.8
1447 generated by GNU Autoconf 2.61
1448
1449 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1450 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1451 This configure script is free software; the Free Software Foundation
1452 gives unlimited permission to copy, distribute and modify it.
1453 _ACEOF
1454 exit
1455 fi
1456 cat >config.log <<_ACEOF
1457 This file contains any messages produced by compilers while
1458 running configure, to aid debugging if configure makes a mistake.
1459
1460 It was created by systemtap $as_me 0.8, which was
1461 generated by GNU Autoconf 2.61. Invocation command line was
1462
1463 $ $0 $@
1464
1465 _ACEOF
1466 exec 5>>config.log
1467 {
1468 cat <<_ASUNAME
1469 ## --------- ##
1470 ## Platform. ##
1471 ## --------- ##
1472
1473 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1474 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1475 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1476 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1477 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1478
1479 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1480 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1481
1482 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1483 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1484 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1485 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1486 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1487 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1488 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1489
1490 _ASUNAME
1491
1492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1493 for as_dir in $PATH
1494 do
1495 IFS=$as_save_IFS
1496 test -z "$as_dir" && as_dir=.
1497 echo "PATH: $as_dir"
1498 done
1499 IFS=$as_save_IFS
1500
1501 } >&5
1502
1503 cat >&5 <<_ACEOF
1504
1505
1506 ## ----------- ##
1507 ## Core tests. ##
1508 ## ----------- ##
1509
1510 _ACEOF
1511
1512
1513 # Keep a trace of the command line.
1514 # Strip out --no-create and --no-recursion so they do not pile up.
1515 # Strip out --silent because we don't want to record it for future runs.
1516 # Also quote any args containing shell meta-characters.
1517 # Make two passes to allow for proper duplicate-argument suppression.
1518 ac_configure_args=
1519 ac_configure_args0=
1520 ac_configure_args1=
1521 ac_must_keep_next=false
1522 for ac_pass in 1 2
1523 do
1524 for ac_arg
1525 do
1526 case $ac_arg in
1527 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1528 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1529 | -silent | --silent | --silen | --sile | --sil)
1530 continue ;;
1531 *\'*)
1532 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1533 esac
1534 case $ac_pass in
1535 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1536 2)
1537 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1538 if test $ac_must_keep_next = true; then
1539 ac_must_keep_next=false # Got value, back to normal.
1540 else
1541 case $ac_arg in
1542 *=* | --config-cache | -C | -disable-* | --disable-* \
1543 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1544 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1545 | -with-* | --with-* | -without-* | --without-* | --x)
1546 case "$ac_configure_args0 " in
1547 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1548 esac
1549 ;;
1550 -* ) ac_must_keep_next=true ;;
1551 esac
1552 fi
1553 ac_configure_args="$ac_configure_args '$ac_arg'"
1554 ;;
1555 esac
1556 done
1557 done
1558 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1559 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1560
1561 # When interrupted or exit'd, cleanup temporary files, and complete
1562 # config.log. We remove comments because anyway the quotes in there
1563 # would cause problems or look ugly.
1564 # WARNING: Use '\'' to represent an apostrophe within the trap.
1565 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1566 trap 'exit_status=$?
1567 # Save into config.log some information that might help in debugging.
1568 {
1569 echo
1570
1571 cat <<\_ASBOX
1572 ## ---------------- ##
1573 ## Cache variables. ##
1574 ## ---------------- ##
1575 _ASBOX
1576 echo
1577 # The following way of writing the cache mishandles newlines in values,
1578 (
1579 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1580 eval ac_val=\$$ac_var
1581 case $ac_val in #(
1582 *${as_nl}*)
1583 case $ac_var in #(
1584 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1585 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1586 esac
1587 case $ac_var in #(
1588 _ | IFS | as_nl) ;; #(
1589 *) $as_unset $ac_var ;;
1590 esac ;;
1591 esac
1592 done
1593 (set) 2>&1 |
1594 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1595 *${as_nl}ac_space=\ *)
1596 sed -n \
1597 "s/'\''/'\''\\\\'\'''\''/g;
1598 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1599 ;; #(
1600 *)
1601 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1602 ;;
1603 esac |
1604 sort
1605 )
1606 echo
1607
1608 cat <<\_ASBOX
1609 ## ----------------- ##
1610 ## Output variables. ##
1611 ## ----------------- ##
1612 _ASBOX
1613 echo
1614 for ac_var in $ac_subst_vars
1615 do
1616 eval ac_val=\$$ac_var
1617 case $ac_val in
1618 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1619 esac
1620 echo "$ac_var='\''$ac_val'\''"
1621 done | sort
1622 echo
1623
1624 if test -n "$ac_subst_files"; then
1625 cat <<\_ASBOX
1626 ## ------------------- ##
1627 ## File substitutions. ##
1628 ## ------------------- ##
1629 _ASBOX
1630 echo
1631 for ac_var in $ac_subst_files
1632 do
1633 eval ac_val=\$$ac_var
1634 case $ac_val in
1635 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1636 esac
1637 echo "$ac_var='\''$ac_val'\''"
1638 done | sort
1639 echo
1640 fi
1641
1642 if test -s confdefs.h; then
1643 cat <<\_ASBOX
1644 ## ----------- ##
1645 ## confdefs.h. ##
1646 ## ----------- ##
1647 _ASBOX
1648 echo
1649 cat confdefs.h
1650 echo
1651 fi
1652 test "$ac_signal" != 0 &&
1653 echo "$as_me: caught signal $ac_signal"
1654 echo "$as_me: exit $exit_status"
1655 } >&5
1656 rm -f core *.core core.conftest.* &&
1657 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1658 exit $exit_status
1659 ' 0
1660 for ac_signal in 1 2 13 15; do
1661 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1662 done
1663 ac_signal=0
1664
1665 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1666 rm -f -r conftest* confdefs.h
1667
1668 # Predefined preprocessor variables.
1669
1670 cat >>confdefs.h <<_ACEOF
1671 #define PACKAGE_NAME "$PACKAGE_NAME"
1672 _ACEOF
1673
1674
1675 cat >>confdefs.h <<_ACEOF
1676 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1677 _ACEOF
1678
1679
1680 cat >>confdefs.h <<_ACEOF
1681 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1682 _ACEOF
1683
1684
1685 cat >>confdefs.h <<_ACEOF
1686 #define PACKAGE_STRING "$PACKAGE_STRING"
1687 _ACEOF
1688
1689
1690 cat >>confdefs.h <<_ACEOF
1691 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1692 _ACEOF
1693
1694
1695 # Let the site file select an alternate cache file if it wants to.
1696 # Prefer explicitly selected file to automatically selected ones.
1697 if test -n "$CONFIG_SITE"; then
1698 set x "$CONFIG_SITE"
1699 elif test "x$prefix" != xNONE; then
1700 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1701 else
1702 set x "$ac_default_prefix/share/config.site" \
1703 "$ac_default_prefix/etc/config.site"
1704 fi
1705 shift
1706 for ac_site_file
1707 do
1708 if test -r "$ac_site_file"; then
1709 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1710 echo "$as_me: loading site script $ac_site_file" >&6;}
1711 sed 's/^/| /' "$ac_site_file" >&5
1712 . "$ac_site_file"
1713 fi
1714 done
1715
1716 if test -r "$cache_file"; then
1717 # Some versions of bash will fail to source /dev/null (special
1718 # files actually), so we avoid doing that.
1719 if test -f "$cache_file"; then
1720 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1721 echo "$as_me: loading cache $cache_file" >&6;}
1722 case $cache_file in
1723 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1724 *) . "./$cache_file";;
1725 esac
1726 fi
1727 else
1728 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1729 echo "$as_me: creating cache $cache_file" >&6;}
1730 >$cache_file
1731 fi
1732
1733 # Check that the precious variables saved in the cache have kept the same
1734 # value.
1735 ac_cache_corrupted=false
1736 for ac_var in $ac_precious_vars; do
1737 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1738 eval ac_new_set=\$ac_env_${ac_var}_set
1739 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1740 eval ac_new_val=\$ac_env_${ac_var}_value
1741 case $ac_old_set,$ac_new_set in
1742 set,)
1743 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1744 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1745 ac_cache_corrupted=: ;;
1746 ,set)
1747 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1748 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1749 ac_cache_corrupted=: ;;
1750 ,);;
1751 *)
1752 if test "x$ac_old_val" != "x$ac_new_val"; then
1753 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1754 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1755 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1756 echo "$as_me: former value: $ac_old_val" >&2;}
1757 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1758 echo "$as_me: current value: $ac_new_val" >&2;}
1759 ac_cache_corrupted=:
1760 fi;;
1761 esac
1762 # Pass precious variables to config.status.
1763 if test "$ac_new_set" = set; then
1764 case $ac_new_val in
1765 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1766 *) ac_arg=$ac_var=$ac_new_val ;;
1767 esac
1768 case " $ac_configure_args " in
1769 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1770 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1771 esac
1772 fi
1773 done
1774 if $ac_cache_corrupted; then
1775 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1776 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1777 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1778 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1779 { (exit 1); exit 1; }; }
1780 fi
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806 ac_ext=c
1807 ac_cpp='$CPP $CPPFLAGS'
1808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1811
1812
1813
1814
1815 am__api_version='1.10'
1816
1817 ac_aux_dir=
1818 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1819 if test -f "$ac_dir/install-sh"; then
1820 ac_aux_dir=$ac_dir
1821 ac_install_sh="$ac_aux_dir/install-sh -c"
1822 break
1823 elif test -f "$ac_dir/install.sh"; then
1824 ac_aux_dir=$ac_dir
1825 ac_install_sh="$ac_aux_dir/install.sh -c"
1826 break
1827 elif test -f "$ac_dir/shtool"; then
1828 ac_aux_dir=$ac_dir
1829 ac_install_sh="$ac_aux_dir/shtool install -c"
1830 break
1831 fi
1832 done
1833 if test -z "$ac_aux_dir"; then
1834 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1835 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1836 { (exit 1); exit 1; }; }
1837 fi
1838
1839 # These three variables are undocumented and unsupported,
1840 # and are intended to be withdrawn in a future Autoconf release.
1841 # They can cause serious problems if a builder's source tree is in a directory
1842 # whose full name contains unusual characters.
1843 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1844 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1845 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1846
1847
1848 # Find a good install program. We prefer a C program (faster),
1849 # so one script is as good as another. But avoid the broken or
1850 # incompatible versions:
1851 # SysV /etc/install, /usr/sbin/install
1852 # SunOS /usr/etc/install
1853 # IRIX /sbin/install
1854 # AIX /bin/install
1855 # AmigaOS /C/install, which installs bootblocks on floppy discs
1856 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1857 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1858 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1859 # OS/2's system install, which has a completely different semantic
1860 # ./install, which can be erroneously created by make from ./install.sh.
1861 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1862 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1863 if test -z "$INSTALL"; then
1864 if test "${ac_cv_path_install+set}" = set; then
1865 echo $ECHO_N "(cached) $ECHO_C" >&6
1866 else
1867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1868 for as_dir in $PATH
1869 do
1870 IFS=$as_save_IFS
1871 test -z "$as_dir" && as_dir=.
1872 # Account for people who put trailing slashes in PATH elements.
1873 case $as_dir/ in
1874 ./ | .// | /cC/* | \
1875 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1876 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1877 /usr/ucb/* ) ;;
1878 *)
1879 # OSF1 and SCO ODT 3.0 have their own names for install.
1880 # Don't use installbsd from OSF since it installs stuff as root
1881 # by default.
1882 for ac_prog in ginstall scoinst install; do
1883 for ac_exec_ext in '' $ac_executable_extensions; do
1884 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1885 if test $ac_prog = install &&
1886 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1887 # AIX install. It has an incompatible calling convention.
1888 :
1889 elif test $ac_prog = install &&
1890 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1891 # program-specific install script used by HP pwplus--don't use.
1892 :
1893 else
1894 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1895 break 3
1896 fi
1897 fi
1898 done
1899 done
1900 ;;
1901 esac
1902 done
1903 IFS=$as_save_IFS
1904
1905
1906 fi
1907 if test "${ac_cv_path_install+set}" = set; then
1908 INSTALL=$ac_cv_path_install
1909 else
1910 # As a last resort, use the slow shell script. Don't cache a
1911 # value for INSTALL within a source directory, because that will
1912 # break other packages using the cache if that directory is
1913 # removed, or if the value is a relative name.
1914 INSTALL=$ac_install_sh
1915 fi
1916 fi
1917 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1918 echo "${ECHO_T}$INSTALL" >&6; }
1919
1920 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1921 # It thinks the first close brace ends the variable substitution.
1922 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1923
1924 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1925
1926 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1927
1928 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1929 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1930 # Just in case
1931 sleep 1
1932 echo timestamp > conftest.file
1933 # Do `set' in a subshell so we don't clobber the current shell's
1934 # arguments. Must try -L first in case configure is actually a
1935 # symlink; some systems play weird games with the mod time of symlinks
1936 # (eg FreeBSD returns the mod time of the symlink's containing
1937 # directory).
1938 if (
1939 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1940 if test "$*" = "X"; then
1941 # -L didn't work.
1942 set X `ls -t $srcdir/configure conftest.file`
1943 fi
1944 rm -f conftest.file
1945 if test "$*" != "X $srcdir/configure conftest.file" \
1946 && test "$*" != "X conftest.file $srcdir/configure"; then
1947
1948 # If neither matched, then we have a broken ls. This can happen
1949 # if, for instance, CONFIG_SHELL is bash and it inherits a
1950 # broken ls alias from the environment. This has actually
1951 # happened. Such a system could not be considered "sane".
1952 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1953 alias in your environment" >&5
1954 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1955 alias in your environment" >&2;}
1956 { (exit 1); exit 1; }; }
1957 fi
1958
1959 test "$2" = conftest.file
1960 )
1961 then
1962 # Ok.
1963 :
1964 else
1965 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1966 Check your system clock" >&5
1967 echo "$as_me: error: newly created file is older than distributed files!
1968 Check your system clock" >&2;}
1969 { (exit 1); exit 1; }; }
1970 fi
1971 { echo "$as_me:$LINENO: result: yes" >&5
1972 echo "${ECHO_T}yes" >&6; }
1973 test "$program_prefix" != NONE &&
1974 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1975 # Use a double $ so make ignores it.
1976 test "$program_suffix" != NONE &&
1977 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1978 # Double any \ or $. echo might interpret backslashes.
1979 # By default was `s,x,x', remove it if useless.
1980 cat <<\_ACEOF >conftest.sed
1981 s/[\\$]/&&/g;s/;s,x,x,$//
1982 _ACEOF
1983 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1984 rm -f conftest.sed
1985
1986 # expand $ac_aux_dir to an absolute path
1987 am_aux_dir=`cd $ac_aux_dir && pwd`
1988
1989 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1990 # Use eval to expand $SHELL
1991 if eval "$MISSING --run true"; then
1992 am_missing_run="$MISSING --run "
1993 else
1994 am_missing_run=
1995 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1996 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1997 fi
1998
1999 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2000 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2001 if test -z "$MKDIR_P"; then
2002 if test "${ac_cv_path_mkdir+set}" = set; then
2003 echo $ECHO_N "(cached) $ECHO_C" >&6
2004 else
2005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2006 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2007 do
2008 IFS=$as_save_IFS
2009 test -z "$as_dir" && as_dir=.
2010 for ac_prog in mkdir gmkdir; do
2011 for ac_exec_ext in '' $ac_executable_extensions; do
2012 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2013 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2014 'mkdir (GNU coreutils) '* | \
2015 'mkdir (coreutils) '* | \
2016 'mkdir (fileutils) '4.1*)
2017 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2018 break 3;;
2019 esac
2020 done
2021 done
2022 done
2023 IFS=$as_save_IFS
2024
2025 fi
2026
2027 if test "${ac_cv_path_mkdir+set}" = set; then
2028 MKDIR_P="$ac_cv_path_mkdir -p"
2029 else
2030 # As a last resort, use the slow shell script. Don't cache a
2031 # value for MKDIR_P within a source directory, because that will
2032 # break other packages using the cache if that directory is
2033 # removed, or if the value is a relative name.
2034 test -d ./--version && rmdir ./--version
2035 MKDIR_P="$ac_install_sh -d"
2036 fi
2037 fi
2038 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2039 echo "${ECHO_T}$MKDIR_P" >&6; }
2040
2041 mkdir_p="$MKDIR_P"
2042 case $mkdir_p in
2043 [\\/$]* | ?:[\\/]*) ;;
2044 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2045 esac
2046
2047 for ac_prog in gawk mawk nawk awk
2048 do
2049 # Extract the first word of "$ac_prog", so it can be a program name with args.
2050 set dummy $ac_prog; ac_word=$2
2051 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2053 if test "${ac_cv_prog_AWK+set}" = set; then
2054 echo $ECHO_N "(cached) $ECHO_C" >&6
2055 else
2056 if test -n "$AWK"; then
2057 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2058 else
2059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2060 for as_dir in $PATH
2061 do
2062 IFS=$as_save_IFS
2063 test -z "$as_dir" && as_dir=.
2064 for ac_exec_ext in '' $ac_executable_extensions; do
2065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2066 ac_cv_prog_AWK="$ac_prog"
2067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2068 break 2
2069 fi
2070 done
2071 done
2072 IFS=$as_save_IFS
2073
2074 fi
2075 fi
2076 AWK=$ac_cv_prog_AWK
2077 if test -n "$AWK"; then
2078 { echo "$as_me:$LINENO: result: $AWK" >&5
2079 echo "${ECHO_T}$AWK" >&6; }
2080 else
2081 { echo "$as_me:$LINENO: result: no" >&5
2082 echo "${ECHO_T}no" >&6; }
2083 fi
2084
2085
2086 test -n "$AWK" && break
2087 done
2088
2089 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2090 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2091 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2092 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2093 echo $ECHO_N "(cached) $ECHO_C" >&6
2094 else
2095 cat >conftest.make <<\_ACEOF
2096 SHELL = /bin/sh
2097 all:
2098 @echo '@@@%%%=$(MAKE)=@@@%%%'
2099 _ACEOF
2100 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2101 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2102 *@@@%%%=?*=@@@%%%*)
2103 eval ac_cv_prog_make_${ac_make}_set=yes;;
2104 *)
2105 eval ac_cv_prog_make_${ac_make}_set=no;;
2106 esac
2107 rm -f conftest.make
2108 fi
2109 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2110 { echo "$as_me:$LINENO: result: yes" >&5
2111 echo "${ECHO_T}yes" >&6; }
2112 SET_MAKE=
2113 else
2114 { echo "$as_me:$LINENO: result: no" >&5
2115 echo "${ECHO_T}no" >&6; }
2116 SET_MAKE="MAKE=${MAKE-make}"
2117 fi
2118
2119 rm -rf .tst 2>/dev/null
2120 mkdir .tst 2>/dev/null
2121 if test -d .tst; then
2122 am__leading_dot=.
2123 else
2124 am__leading_dot=_
2125 fi
2126 rmdir .tst 2>/dev/null
2127
2128 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2129 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2130 # is not polluted with repeated "-I."
2131 am__isrc=' -I$(srcdir)'
2132 # test to see if srcdir already configured
2133 if test -f $srcdir/config.status; then
2134 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2135 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2136 { (exit 1); exit 1; }; }
2137 fi
2138 fi
2139
2140 # test whether we have cygpath
2141 if test -z "$CYGPATH_W"; then
2142 if (cygpath --version) >/dev/null 2>/dev/null; then
2143 CYGPATH_W='cygpath -w'
2144 else
2145 CYGPATH_W=echo
2146 fi
2147 fi
2148
2149
2150 # Define the identity of the package.
2151 PACKAGE='systemtap'
2152 VERSION='0.8'
2153
2154
2155 cat >>confdefs.h <<_ACEOF
2156 #define PACKAGE "$PACKAGE"
2157 _ACEOF
2158
2159
2160 cat >>confdefs.h <<_ACEOF
2161 #define VERSION "$VERSION"
2162 _ACEOF
2163
2164 # Some tools Automake needs.
2165
2166 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2167
2168
2169 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2170
2171
2172 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2173
2174
2175 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2176
2177
2178 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2179
2180 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2181
2182 # Installed binaries are usually stripped using `strip' when the user
2183 # run `make install-strip'. However `strip' might not be the right
2184 # tool to use in cross-compilation environments, therefore Automake
2185 # will honor the `STRIP' environment variable to overrule this program.
2186 if test "$cross_compiling" != no; then
2187 if test -n "$ac_tool_prefix"; then
2188 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2189 set dummy ${ac_tool_prefix}strip; ac_word=$2
2190 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2192 if test "${ac_cv_prog_STRIP+set}" = set; then
2193 echo $ECHO_N "(cached) $ECHO_C" >&6
2194 else
2195 if test -n "$STRIP"; then
2196 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2197 else
2198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2199 for as_dir in $PATH
2200 do
2201 IFS=$as_save_IFS
2202 test -z "$as_dir" && as_dir=.
2203 for ac_exec_ext in '' $ac_executable_extensions; do
2204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2205 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2207 break 2
2208 fi
2209 done
2210 done
2211 IFS=$as_save_IFS
2212
2213 fi
2214 fi
2215 STRIP=$ac_cv_prog_STRIP
2216 if test -n "$STRIP"; then
2217 { echo "$as_me:$LINENO: result: $STRIP" >&5
2218 echo "${ECHO_T}$STRIP" >&6; }
2219 else
2220 { echo "$as_me:$LINENO: result: no" >&5
2221 echo "${ECHO_T}no" >&6; }
2222 fi
2223
2224
2225 fi
2226 if test -z "$ac_cv_prog_STRIP"; then
2227 ac_ct_STRIP=$STRIP
2228 # Extract the first word of "strip", so it can be a program name with args.
2229 set dummy strip; ac_word=$2
2230 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2232 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2233 echo $ECHO_N "(cached) $ECHO_C" >&6
2234 else
2235 if test -n "$ac_ct_STRIP"; then
2236 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2237 else
2238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2239 for as_dir in $PATH
2240 do
2241 IFS=$as_save_IFS
2242 test -z "$as_dir" && as_dir=.
2243 for ac_exec_ext in '' $ac_executable_extensions; do
2244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2245 ac_cv_prog_ac_ct_STRIP="strip"
2246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2247 break 2
2248 fi
2249 done
2250 done
2251 IFS=$as_save_IFS
2252
2253 fi
2254 fi
2255 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2256 if test -n "$ac_ct_STRIP"; then
2257 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2258 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2259 else
2260 { echo "$as_me:$LINENO: result: no" >&5
2261 echo "${ECHO_T}no" >&6; }
2262 fi
2263
2264 if test "x$ac_ct_STRIP" = x; then
2265 STRIP=":"
2266 else
2267 case $cross_compiling:$ac_tool_warned in
2268 yes:)
2269 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2270 whose name does not start with the host triplet. If you think this
2271 configuration is useful to you, please write to autoconf@gnu.org." >&5
2272 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2273 whose name does not start with the host triplet. If you think this
2274 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2275 ac_tool_warned=yes ;;
2276 esac
2277 STRIP=$ac_ct_STRIP
2278 fi
2279 else
2280 STRIP="$ac_cv_prog_STRIP"
2281 fi
2282
2283 fi
2284 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2285
2286 # We need awk for the "check" target. The system "awk" is bad on
2287 # some platforms.
2288 # Always define AMTAR for backward compatibility.
2289
2290 AMTAR=${AMTAR-"${am_missing_run}tar"}
2291
2292 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2293
2294
2295
2296
2297
2298 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2299 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2300 # Check whether --enable-maintainer-mode was given.
2301 if test "${enable_maintainer_mode+set}" = set; then
2302 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2303 else
2304 USE_MAINTAINER_MODE=no
2305 fi
2306
2307 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2308 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2309 if test $USE_MAINTAINER_MODE = yes; then
2310 MAINTAINER_MODE_TRUE=
2311 MAINTAINER_MODE_FALSE='#'
2312 else
2313 MAINTAINER_MODE_TRUE='#'
2314 MAINTAINER_MODE_FALSE=
2315 fi
2316
2317 MAINT=$MAINTAINER_MODE_TRUE
2318
2319
2320
2321 mkdir_p="$MKDIR_P"
2322 case $mkdir_p in
2323 [\\/$]* | ?:[\\/]*) ;;
2324 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2325 esac
2326
2327 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
2328 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2329 LN_S=$as_ln_s
2330 if test "$LN_S" = "ln -s"; then
2331 { echo "$as_me:$LINENO: result: yes" >&5
2332 echo "${ECHO_T}yes" >&6; }
2333 else
2334 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2335 echo "${ECHO_T}no, using $LN_S" >&6; }
2336 fi
2337
2338 ac_ext=c
2339 ac_cpp='$CPP $CPPFLAGS'
2340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2343 if test -n "$ac_tool_prefix"; then
2344 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2345 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2348 if test "${ac_cv_prog_CC+set}" = set; then
2349 echo $ECHO_N "(cached) $ECHO_C" >&6
2350 else
2351 if test -n "$CC"; then
2352 ac_cv_prog_CC="$CC" # Let the user override the test.
2353 else
2354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2355 for as_dir in $PATH
2356 do
2357 IFS=$as_save_IFS
2358 test -z "$as_dir" && as_dir=.
2359 for ac_exec_ext in '' $ac_executable_extensions; do
2360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2361 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2363 break 2
2364 fi
2365 done
2366 done
2367 IFS=$as_save_IFS
2368
2369 fi
2370 fi
2371 CC=$ac_cv_prog_CC
2372 if test -n "$CC"; then
2373 { echo "$as_me:$LINENO: result: $CC" >&5
2374 echo "${ECHO_T}$CC" >&6; }
2375 else
2376 { echo "$as_me:$LINENO: result: no" >&5
2377 echo "${ECHO_T}no" >&6; }
2378 fi
2379
2380
2381 fi
2382 if test -z "$ac_cv_prog_CC"; then
2383 ac_ct_CC=$CC
2384 # Extract the first word of "gcc", so it can be a program name with args.
2385 set dummy gcc; ac_word=$2
2386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2388 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2389 echo $ECHO_N "(cached) $ECHO_C" >&6
2390 else
2391 if test -n "$ac_ct_CC"; then
2392 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2393 else
2394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2395 for as_dir in $PATH
2396 do
2397 IFS=$as_save_IFS
2398 test -z "$as_dir" && as_dir=.
2399 for ac_exec_ext in '' $ac_executable_extensions; do
2400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2401 ac_cv_prog_ac_ct_CC="gcc"
2402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2403 break 2
2404 fi
2405 done
2406 done
2407 IFS=$as_save_IFS
2408
2409 fi
2410 fi
2411 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2412 if test -n "$ac_ct_CC"; then
2413 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2414 echo "${ECHO_T}$ac_ct_CC" >&6; }
2415 else
2416 { echo "$as_me:$LINENO: result: no" >&5
2417 echo "${ECHO_T}no" >&6; }
2418 fi
2419
2420 if test "x$ac_ct_CC" = x; then
2421 CC=""
2422 else
2423 case $cross_compiling:$ac_tool_warned in
2424 yes:)
2425 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2426 whose name does not start with the host triplet. If you think this
2427 configuration is useful to you, please write to autoconf@gnu.org." >&5
2428 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2429 whose name does not start with the host triplet. If you think this
2430 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2431 ac_tool_warned=yes ;;
2432 esac
2433 CC=$ac_ct_CC
2434 fi
2435 else
2436 CC="$ac_cv_prog_CC"
2437 fi
2438
2439 if test -z "$CC"; then
2440 if test -n "$ac_tool_prefix"; then
2441 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2442 set dummy ${ac_tool_prefix}cc; ac_word=$2
2443 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2445 if test "${ac_cv_prog_CC+set}" = set; then
2446 echo $ECHO_N "(cached) $ECHO_C" >&6
2447 else
2448 if test -n "$CC"; then
2449 ac_cv_prog_CC="$CC" # Let the user override the test.
2450 else
2451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2452 for as_dir in $PATH
2453 do
2454 IFS=$as_save_IFS
2455 test -z "$as_dir" && as_dir=.
2456 for ac_exec_ext in '' $ac_executable_extensions; do
2457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2458 ac_cv_prog_CC="${ac_tool_prefix}cc"
2459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2460 break 2
2461 fi
2462 done
2463 done
2464 IFS=$as_save_IFS
2465
2466 fi
2467 fi
2468 CC=$ac_cv_prog_CC
2469 if test -n "$CC"; then
2470 { echo "$as_me:$LINENO: result: $CC" >&5
2471 echo "${ECHO_T}$CC" >&6; }
2472 else
2473 { echo "$as_me:$LINENO: result: no" >&5
2474 echo "${ECHO_T}no" >&6; }
2475 fi
2476
2477
2478 fi
2479 fi
2480 if test -z "$CC"; then
2481 # Extract the first word of "cc", so it can be a program name with args.
2482 set dummy cc; ac_word=$2
2483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2485 if test "${ac_cv_prog_CC+set}" = set; then
2486 echo $ECHO_N "(cached) $ECHO_C" >&6
2487 else
2488 if test -n "$CC"; then
2489 ac_cv_prog_CC="$CC" # Let the user override the test.
2490 else
2491 ac_prog_rejected=no
2492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2493 for as_dir in $PATH
2494 do
2495 IFS=$as_save_IFS
2496 test -z "$as_dir" && as_dir=.
2497 for ac_exec_ext in '' $ac_executable_extensions; do
2498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2499 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2500 ac_prog_rejected=yes
2501 continue
2502 fi
2503 ac_cv_prog_CC="cc"
2504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2505 break 2
2506 fi
2507 done
2508 done
2509 IFS=$as_save_IFS
2510
2511 if test $ac_prog_rejected = yes; then
2512 # We found a bogon in the path, so make sure we never use it.
2513 set dummy $ac_cv_prog_CC
2514 shift
2515 if test $# != 0; then
2516 # We chose a different compiler from the bogus one.
2517 # However, it has the same basename, so the bogon will be chosen
2518 # first if we set CC to just the basename; use the full file name.
2519 shift
2520 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2521 fi
2522 fi
2523 fi
2524 fi
2525 CC=$ac_cv_prog_CC
2526 if test -n "$CC"; then
2527 { echo "$as_me:$LINENO: result: $CC" >&5
2528 echo "${ECHO_T}$CC" >&6; }
2529 else
2530 { echo "$as_me:$LINENO: result: no" >&5
2531 echo "${ECHO_T}no" >&6; }
2532 fi
2533
2534
2535 fi
2536 if test -z "$CC"; then
2537 if test -n "$ac_tool_prefix"; then
2538 for ac_prog in cl.exe
2539 do
2540 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2541 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2542 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2544 if test "${ac_cv_prog_CC+set}" = set; then
2545 echo $ECHO_N "(cached) $ECHO_C" >&6
2546 else
2547 if test -n "$CC"; then
2548 ac_cv_prog_CC="$CC" # Let the user override the test.
2549 else
2550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2551 for as_dir in $PATH
2552 do
2553 IFS=$as_save_IFS
2554 test -z "$as_dir" && as_dir=.
2555 for ac_exec_ext in '' $ac_executable_extensions; do
2556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2557 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2559 break 2
2560 fi
2561 done
2562 done
2563 IFS=$as_save_IFS
2564
2565 fi
2566 fi
2567 CC=$ac_cv_prog_CC
2568 if test -n "$CC"; then
2569 { echo "$as_me:$LINENO: result: $CC" >&5
2570 echo "${ECHO_T}$CC" >&6; }
2571 else
2572 { echo "$as_me:$LINENO: result: no" >&5
2573 echo "${ECHO_T}no" >&6; }
2574 fi
2575
2576
2577 test -n "$CC" && break
2578 done
2579 fi
2580 if test -z "$CC"; then
2581 ac_ct_CC=$CC
2582 for ac_prog in cl.exe
2583 do
2584 # Extract the first word of "$ac_prog", so it can be a program name with args.
2585 set dummy $ac_prog; ac_word=$2
2586 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2588 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2589 echo $ECHO_N "(cached) $ECHO_C" >&6
2590 else
2591 if test -n "$ac_ct_CC"; then
2592 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2593 else
2594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2595 for as_dir in $PATH
2596 do
2597 IFS=$as_save_IFS
2598 test -z "$as_dir" && as_dir=.
2599 for ac_exec_ext in '' $ac_executable_extensions; do
2600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2601 ac_cv_prog_ac_ct_CC="$ac_prog"
2602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2603 break 2
2604 fi
2605 done
2606 done
2607 IFS=$as_save_IFS
2608
2609 fi
2610 fi
2611 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2612 if test -n "$ac_ct_CC"; then
2613 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2614 echo "${ECHO_T}$ac_ct_CC" >&6; }
2615 else
2616 { echo "$as_me:$LINENO: result: no" >&5
2617 echo "${ECHO_T}no" >&6; }
2618 fi
2619
2620
2621 test -n "$ac_ct_CC" && break
2622 done
2623
2624 if test "x$ac_ct_CC" = x; then
2625 CC=""
2626 else
2627 case $cross_compiling:$ac_tool_warned in
2628 yes:)
2629 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2630 whose name does not start with the host triplet. If you think this
2631 configuration is useful to you, please write to autoconf@gnu.org." >&5
2632 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2633 whose name does not start with the host triplet. If you think this
2634 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2635 ac_tool_warned=yes ;;
2636 esac
2637 CC=$ac_ct_CC
2638 fi
2639 fi
2640
2641 fi
2642
2643
2644 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2645 See \`config.log' for more details." >&5
2646 echo "$as_me: error: no acceptable C compiler found in \$PATH
2647 See \`config.log' for more details." >&2;}
2648 { (exit 1); exit 1; }; }
2649
2650 # Provide some information about the compiler.
2651 echo "$as_me:$LINENO: checking for C compiler version" >&5
2652 ac_compiler=`set X $ac_compile; echo $2`
2653 { (ac_try="$ac_compiler --version >&5"
2654 case "(($ac_try" in
2655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2656 *) ac_try_echo=$ac_try;;
2657 esac
2658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2659 (eval "$ac_compiler --version >&5") 2>&5
2660 ac_status=$?
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); }
2663 { (ac_try="$ac_compiler -v >&5"
2664 case "(($ac_try" in
2665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2666 *) ac_try_echo=$ac_try;;
2667 esac
2668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2669 (eval "$ac_compiler -v >&5") 2>&5
2670 ac_status=$?
2671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2672 (exit $ac_status); }
2673 { (ac_try="$ac_compiler -V >&5"
2674 case "(($ac_try" in
2675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2676 *) ac_try_echo=$ac_try;;
2677 esac
2678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2679 (eval "$ac_compiler -V >&5") 2>&5
2680 ac_status=$?
2681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682 (exit $ac_status); }
2683
2684 cat >conftest.$ac_ext <<_ACEOF
2685 /* confdefs.h. */
2686 _ACEOF
2687 cat confdefs.h >>conftest.$ac_ext
2688 cat >>conftest.$ac_ext <<_ACEOF
2689 /* end confdefs.h. */
2690
2691 int
2692 main ()
2693 {
2694
2695 ;
2696 return 0;
2697 }
2698 _ACEOF
2699 ac_clean_files_save=$ac_clean_files
2700 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2701 # Try to create an executable without -o first, disregard a.out.
2702 # It will help us diagnose broken compilers, and finding out an intuition
2703 # of exeext.
2704 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2705 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2706 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2707 #
2708 # List of possible output files, starting from the most likely.
2709 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2710 # only as a last resort. b.out is created by i960 compilers.
2711 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2712 #
2713 # The IRIX 6 linker writes into existing files which may not be
2714 # executable, retaining their permissions. Remove them first so a
2715 # subsequent execution test works.
2716 ac_rmfiles=
2717 for ac_file in $ac_files
2718 do
2719 case $ac_file in
2720 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2721 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2722 esac
2723 done
2724 rm -f $ac_rmfiles
2725
2726 if { (ac_try="$ac_link_default"
2727 case "(($ac_try" in
2728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2729 *) ac_try_echo=$ac_try;;
2730 esac
2731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2732 (eval "$ac_link_default") 2>&5
2733 ac_status=$?
2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735 (exit $ac_status); }; then
2736 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2737 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2738 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2739 # so that the user can short-circuit this test for compilers unknown to
2740 # Autoconf.
2741 for ac_file in $ac_files ''
2742 do
2743 test -f "$ac_file" || continue
2744 case $ac_file in
2745 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2746 ;;
2747 [ab].out )
2748 # We found the default executable, but exeext='' is most
2749 # certainly right.
2750 break;;
2751 *.* )
2752 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2753 then :; else
2754 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2755 fi
2756 # We set ac_cv_exeext here because the later test for it is not
2757 # safe: cross compilers may not add the suffix if given an `-o'
2758 # argument, so we may need to know it at that point already.
2759 # Even if this section looks crufty: it has the advantage of
2760 # actually working.
2761 break;;
2762 * )
2763 break;;
2764 esac
2765 done
2766 test "$ac_cv_exeext" = no && ac_cv_exeext=
2767
2768 else
2769 ac_file=''
2770 fi
2771
2772 { echo "$as_me:$LINENO: result: $ac_file" >&5
2773 echo "${ECHO_T}$ac_file" >&6; }
2774 if test -z "$ac_file"; then
2775 echo "$as_me: failed program was:" >&5
2776 sed 's/^/| /' conftest.$ac_ext >&5
2777
2778 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2779 See \`config.log' for more details." >&5
2780 echo "$as_me: error: C compiler cannot create executables
2781 See \`config.log' for more details." >&2;}
2782 { (exit 77); exit 77; }; }
2783 fi
2784
2785 ac_exeext=$ac_cv_exeext
2786
2787 # Check that the compiler produces executables we can run. If not, either
2788 # the compiler is broken, or we cross compile.
2789 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2790 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2791 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2792 # If not cross compiling, check that we can run a simple program.
2793 if test "$cross_compiling" != yes; then
2794 if { ac_try='./$ac_file'
2795 { (case "(($ac_try" in
2796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2797 *) ac_try_echo=$ac_try;;
2798 esac
2799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2800 (eval "$ac_try") 2>&5
2801 ac_status=$?
2802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803 (exit $ac_status); }; }; then
2804 cross_compiling=no
2805 else
2806 if test "$cross_compiling" = maybe; then
2807 cross_compiling=yes
2808 else
2809 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2810 If you meant to cross compile, use \`--host'.
2811 See \`config.log' for more details." >&5
2812 echo "$as_me: error: cannot run C compiled programs.
2813 If you meant to cross compile, use \`--host'.
2814 See \`config.log' for more details." >&2;}
2815 { (exit 1); exit 1; }; }
2816 fi
2817 fi
2818 fi
2819 { echo "$as_me:$LINENO: result: yes" >&5
2820 echo "${ECHO_T}yes" >&6; }
2821
2822 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2823 ac_clean_files=$ac_clean_files_save
2824 # Check that the compiler produces executables we can run. If not, either
2825 # the compiler is broken, or we cross compile.
2826 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2827 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2828 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2829 echo "${ECHO_T}$cross_compiling" >&6; }
2830
2831 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2832 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2833 if { (ac_try="$ac_link"
2834 case "(($ac_try" in
2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836 *) ac_try_echo=$ac_try;;
2837 esac
2838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2839 (eval "$ac_link") 2>&5
2840 ac_status=$?
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); }; then
2843 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2844 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2845 # work properly (i.e., refer to `conftest.exe'), while it won't with
2846 # `rm'.
2847 for ac_file in conftest.exe conftest conftest.*; do
2848 test -f "$ac_file" || continue
2849 case $ac_file in
2850 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2851 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2852 break;;
2853 * ) break;;
2854 esac
2855 done
2856 else
2857 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2858 See \`config.log' for more details." >&5
2859 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2860 See \`config.log' for more details." >&2;}
2861 { (exit 1); exit 1; }; }
2862 fi
2863
2864 rm -f conftest$ac_cv_exeext
2865 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2866 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2867
2868 rm -f conftest.$ac_ext
2869 EXEEXT=$ac_cv_exeext
2870 ac_exeext=$EXEEXT
2871 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2872 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2873 if test "${ac_cv_objext+set}" = set; then
2874 echo $ECHO_N "(cached) $ECHO_C" >&6
2875 else
2876 cat >conftest.$ac_ext <<_ACEOF
2877 /* confdefs.h. */
2878 _ACEOF
2879 cat confdefs.h >>conftest.$ac_ext
2880 cat >>conftest.$ac_ext <<_ACEOF
2881 /* end confdefs.h. */
2882
2883 int
2884 main ()
2885 {
2886
2887 ;
2888 return 0;
2889 }
2890 _ACEOF
2891 rm -f conftest.o conftest.obj
2892 if { (ac_try="$ac_compile"
2893 case "(($ac_try" in
2894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2895 *) ac_try_echo=$ac_try;;
2896 esac
2897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2898 (eval "$ac_compile") 2>&5
2899 ac_status=$?
2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901 (exit $ac_status); }; then
2902 for ac_file in conftest.o conftest.obj conftest.*; do
2903 test -f "$ac_file" || continue;
2904 case $ac_file in
2905 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2906 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2907 break;;
2908 esac
2909 done
2910 else
2911 echo "$as_me: failed program was:" >&5
2912 sed 's/^/| /' conftest.$ac_ext >&5
2913
2914 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2915 See \`config.log' for more details." >&5
2916 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2917 See \`config.log' for more details." >&2;}
2918 { (exit 1); exit 1; }; }
2919 fi
2920
2921 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2922 fi
2923 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2924 echo "${ECHO_T}$ac_cv_objext" >&6; }
2925 OBJEXT=$ac_cv_objext
2926 ac_objext=$OBJEXT
2927 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2928 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2929 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2930 echo $ECHO_N "(cached) $ECHO_C" >&6
2931 else
2932 cat >conftest.$ac_ext <<_ACEOF
2933 /* confdefs.h. */
2934 _ACEOF
2935 cat confdefs.h >>conftest.$ac_ext
2936 cat >>conftest.$ac_ext <<_ACEOF
2937 /* end confdefs.h. */
2938
2939 int
2940 main ()
2941 {
2942 #ifndef __GNUC__
2943 choke me
2944 #endif
2945
2946 ;
2947 return 0;
2948 }
2949 _ACEOF
2950 rm -f conftest.$ac_objext
2951 if { (ac_try="$ac_compile"
2952 case "(($ac_try" in
2953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2954 *) ac_try_echo=$ac_try;;
2955 esac
2956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2957 (eval "$ac_compile") 2>conftest.er1
2958 ac_status=$?
2959 grep -v '^ *+' conftest.er1 >conftest.err
2960 rm -f conftest.er1
2961 cat conftest.err >&5
2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963 (exit $ac_status); } && {
2964 test -z "$ac_c_werror_flag" ||
2965 test ! -s conftest.err
2966 } && test -s conftest.$ac_objext; then
2967 ac_compiler_gnu=yes
2968 else
2969 echo "$as_me: failed program was:" >&5
2970 sed 's/^/| /' conftest.$ac_ext >&5
2971
2972 ac_compiler_gnu=no
2973 fi
2974
2975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2976 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2977
2978 fi
2979 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2980 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2981 GCC=`test $ac_compiler_gnu = yes && echo yes`
2982 ac_test_CFLAGS=${CFLAGS+set}
2983 ac_save_CFLAGS=$CFLAGS
2984 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2985 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2986 if test "${ac_cv_prog_cc_g+set}" = set; then
2987 echo $ECHO_N "(cached) $ECHO_C" >&6
2988 else
2989 ac_save_c_werror_flag=$ac_c_werror_flag
2990 ac_c_werror_flag=yes
2991 ac_cv_prog_cc_g=no
2992 CFLAGS="-g"
2993 cat >conftest.$ac_ext <<_ACEOF
2994 /* confdefs.h. */
2995 _ACEOF
2996 cat confdefs.h >>conftest.$ac_ext
2997 cat >>conftest.$ac_ext <<_ACEOF
2998 /* end confdefs.h. */
2999
3000 int
3001 main ()
3002 {
3003
3004 ;
3005 return 0;
3006 }
3007 _ACEOF
3008 rm -f conftest.$ac_objext
3009 if { (ac_try="$ac_compile"
3010 case "(($ac_try" in
3011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3012 *) ac_try_echo=$ac_try;;
3013 esac
3014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3015 (eval "$ac_compile") 2>conftest.er1
3016 ac_status=$?
3017 grep -v '^ *+' conftest.er1 >conftest.err
3018 rm -f conftest.er1
3019 cat conftest.err >&5
3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 (exit $ac_status); } && {
3022 test -z "$ac_c_werror_flag" ||
3023 test ! -s conftest.err
3024 } && test -s conftest.$ac_objext; then
3025 ac_cv_prog_cc_g=yes
3026 else
3027 echo "$as_me: failed program was:" >&5
3028 sed 's/^/| /' conftest.$ac_ext >&5
3029
3030 CFLAGS=""
3031 cat >conftest.$ac_ext <<_ACEOF
3032 /* confdefs.h. */
3033 _ACEOF
3034 cat confdefs.h >>conftest.$ac_ext
3035 cat >>conftest.$ac_ext <<_ACEOF
3036 /* end confdefs.h. */
3037
3038 int
3039 main ()
3040 {
3041
3042 ;
3043 return 0;
3044 }
3045 _ACEOF
3046 rm -f conftest.$ac_objext
3047 if { (ac_try="$ac_compile"
3048 case "(($ac_try" in
3049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3050 *) ac_try_echo=$ac_try;;
3051 esac
3052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3053 (eval "$ac_compile") 2>conftest.er1
3054 ac_status=$?
3055 grep -v '^ *+' conftest.er1 >conftest.err
3056 rm -f conftest.er1
3057 cat conftest.err >&5
3058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3059 (exit $ac_status); } && {
3060 test -z "$ac_c_werror_flag" ||
3061 test ! -s conftest.err
3062 } && test -s conftest.$ac_objext; then
3063 :
3064 else
3065 echo "$as_me: failed program was:" >&5
3066 sed 's/^/| /' conftest.$ac_ext >&5
3067
3068 ac_c_werror_flag=$ac_save_c_werror_flag
3069 CFLAGS="-g"
3070 cat >conftest.$ac_ext <<_ACEOF
3071 /* confdefs.h. */
3072 _ACEOF
3073 cat confdefs.h >>conftest.$ac_ext
3074 cat >>conftest.$ac_ext <<_ACEOF
3075 /* end confdefs.h. */
3076
3077 int
3078 main ()
3079 {
3080
3081 ;
3082 return 0;
3083 }
3084 _ACEOF
3085 rm -f conftest.$ac_objext
3086 if { (ac_try="$ac_compile"
3087 case "(($ac_try" in
3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089 *) ac_try_echo=$ac_try;;
3090 esac
3091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3092 (eval "$ac_compile") 2>conftest.er1
3093 ac_status=$?
3094 grep -v '^ *+' conftest.er1 >conftest.err
3095 rm -f conftest.er1
3096 cat conftest.err >&5
3097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098 (exit $ac_status); } && {
3099 test -z "$ac_c_werror_flag" ||
3100 test ! -s conftest.err
3101 } && test -s conftest.$ac_objext; then
3102 ac_cv_prog_cc_g=yes
3103 else
3104 echo "$as_me: failed program was:" >&5
3105 sed 's/^/| /' conftest.$ac_ext >&5
3106
3107
3108 fi
3109
3110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3111 fi
3112
3113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3114 fi
3115
3116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3117 ac_c_werror_flag=$ac_save_c_werror_flag
3118 fi
3119 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3120 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3121 if test "$ac_test_CFLAGS" = set; then
3122 CFLAGS=$ac_save_CFLAGS
3123 elif test $ac_cv_prog_cc_g = yes; then
3124 if test "$GCC" = yes; then
3125 CFLAGS="-g -O2"
3126 else
3127 CFLAGS="-g"
3128 fi
3129 else
3130 if test "$GCC" = yes; then
3131 CFLAGS="-O2"
3132 else
3133 CFLAGS=
3134 fi
3135 fi
3136 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3137 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3138 if test "${ac_cv_prog_cc_c89+set}" = set; then
3139 echo $ECHO_N "(cached) $ECHO_C" >&6
3140 else
3141 ac_cv_prog_cc_c89=no
3142 ac_save_CC=$CC
3143 cat >conftest.$ac_ext <<_ACEOF
3144 /* confdefs.h. */
3145 _ACEOF
3146 cat confdefs.h >>conftest.$ac_ext
3147 cat >>conftest.$ac_ext <<_ACEOF
3148 /* end confdefs.h. */
3149 #include <stdarg.h>
3150 #include <stdio.h>
3151 #include <sys/types.h>
3152 #include <sys/stat.h>
3153 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3154 struct buf { int x; };
3155 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3156 static char *e (p, i)
3157 char **p;
3158 int i;
3159 {
3160 return p[i];
3161 }
3162 static char *f (char * (*g) (char **, int), char **p, ...)
3163 {
3164 char *s;
3165 va_list v;
3166 va_start (v,p);
3167 s = g (p, va_arg (v,int));
3168 va_end (v);
3169 return s;
3170 }
3171
3172 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3173 function prototypes and stuff, but not '\xHH' hex character constants.
3174 These don't provoke an error unfortunately, instead are silently treated
3175 as 'x'. The following induces an error, until -std is added to get
3176 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3177 array size at least. It's necessary to write '\x00'==0 to get something
3178 that's true only with -std. */
3179 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3180
3181 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3182 inside strings and character constants. */
3183 #define FOO(x) 'x'
3184 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3185
3186 int test (int i, double x);
3187 struct s1 {int (*f) (int a);};
3188 struct s2 {int (*f) (double a);};
3189 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3190 int argc;
3191 char **argv;
3192 int
3193 main ()
3194 {
3195 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3196 ;
3197 return 0;
3198 }
3199 _ACEOF
3200 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3201 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3202 do
3203 CC="$ac_save_CC $ac_arg"
3204 rm -f conftest.$ac_objext
3205 if { (ac_try="$ac_compile"
3206 case "(($ac_try" in
3207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3208 *) ac_try_echo=$ac_try;;
3209 esac
3210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3211 (eval "$ac_compile") 2>conftest.er1
3212 ac_status=$?
3213 grep -v '^ *+' conftest.er1 >conftest.err
3214 rm -f conftest.er1
3215 cat conftest.err >&5
3216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217 (exit $ac_status); } && {
3218 test -z "$ac_c_werror_flag" ||
3219 test ! -s conftest.err
3220 } && test -s conftest.$ac_objext; then
3221 ac_cv_prog_cc_c89=$ac_arg
3222 else
3223 echo "$as_me: failed program was:" >&5
3224 sed 's/^/| /' conftest.$ac_ext >&5
3225
3226
3227 fi
3228
3229 rm -f core conftest.err conftest.$ac_objext
3230 test "x$ac_cv_prog_cc_c89" != "xno" && break
3231 done
3232 rm -f conftest.$ac_ext
3233 CC=$ac_save_CC
3234
3235 fi
3236 # AC_CACHE_VAL
3237 case "x$ac_cv_prog_cc_c89" in
3238 x)
3239 { echo "$as_me:$LINENO: result: none needed" >&5
3240 echo "${ECHO_T}none needed" >&6; } ;;
3241 xno)
3242 { echo "$as_me:$LINENO: result: unsupported" >&5
3243 echo "${ECHO_T}unsupported" >&6; } ;;
3244 *)
3245 CC="$CC $ac_cv_prog_cc_c89"
3246 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3247 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3248 esac
3249
3250
3251 ac_ext=c
3252 ac_cpp='$CPP $CPPFLAGS'
3253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3256 DEPDIR="${am__leading_dot}deps"
3257
3258 ac_config_commands="$ac_config_commands depfiles"
3259
3260
3261 am_make=${MAKE-make}
3262 cat > confinc << 'END'
3263 am__doit:
3264 @echo done
3265 .PHONY: am__doit
3266 END
3267 # If we don't find an include directive, just comment out the code.
3268 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3269 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3270 am__include="#"
3271 am__quote=
3272 _am_result=none
3273 # First try GNU make style include.
3274 echo "include confinc" > confmf
3275 # We grep out `Entering directory' and `Leaving directory'
3276 # messages which can occur if `w' ends up in MAKEFLAGS.
3277 # In particular we don't look at `^make:' because GNU make might
3278 # be invoked under some other name (usually "gmake"), in which
3279 # case it prints its new name instead of `make'.
3280 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3281 am__include=include
3282 am__quote=
3283 _am_result=GNU
3284 fi
3285 # Now try BSD make style include.
3286 if test "$am__include" = "#"; then
3287 echo '.include "confinc"' > confmf
3288 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3289 am__include=.include
3290 am__quote="\""
3291 _am_result=BSD
3292 fi
3293 fi
3294
3295
3296 { echo "$as_me:$LINENO: result: $_am_result" >&5
3297 echo "${ECHO_T}$_am_result" >&6; }
3298 rm -f confinc confmf
3299
3300 # Check whether --enable-dependency-tracking was given.
3301 if test "${enable_dependency_tracking+set}" = set; then
3302 enableval=$enable_dependency_tracking;
3303 fi
3304
3305 if test "x$enable_dependency_tracking" != xno; then
3306 am_depcomp="$ac_aux_dir/depcomp"
3307 AMDEPBACKSLASH='\'
3308 fi
3309 if test "x$enable_dependency_tracking" != xno; then
3310 AMDEP_TRUE=
3311 AMDEP_FALSE='#'
3312 else
3313 AMDEP_TRUE='#'
3314 AMDEP_FALSE=
3315 fi
3316
3317
3318
3319 depcc="$CC" am_compiler_list=
3320
3321 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3322 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3323 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3324 echo $ECHO_N "(cached) $ECHO_C" >&6
3325 else
3326 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3327 # We make a subdir and do the tests there. Otherwise we can end up
3328 # making bogus files that we don't know about and never remove. For
3329 # instance it was reported that on HP-UX the gcc test will end up
3330 # making a dummy file named `D' -- because `-MD' means `put the output
3331 # in D'.
3332 mkdir conftest.dir
3333 # Copy depcomp to subdir because otherwise we won't find it if we're
3334 # using a relative directory.
3335 cp "$am_depcomp" conftest.dir
3336 cd conftest.dir
3337 # We will build objects and dependencies in a subdirectory because
3338 # it helps to detect inapplicable dependency modes. For instance
3339 # both Tru64's cc and ICC support -MD to output dependencies as a
3340 # side effect of compilation, but ICC will put the dependencies in
3341 # the current directory while Tru64 will put them in the object
3342 # directory.
3343 mkdir sub
3344
3345 am_cv_CC_dependencies_compiler_type=none
3346 if test "$am_compiler_list" = ""; then
3347 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3348 fi
3349 for depmode in $am_compiler_list; do
3350 # Setup a source with many dependencies, because some compilers
3351 # like to wrap large dependency lists on column 80 (with \), and
3352 # we should not choose a depcomp mode which is confused by this.
3353 #
3354 # We need to recreate these files for each test, as the compiler may
3355 # overwrite some of them when testing with obscure command lines.
3356 # This happens at least with the AIX C compiler.
3357 : > sub/conftest.c
3358 for i in 1 2 3 4 5 6; do
3359 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3360 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3361 # Solaris 8's {/usr,}/bin/sh.
3362 touch sub/conftst$i.h
3363 done
3364 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3365
3366 case $depmode in
3367 nosideeffect)
3368 # after this tag, mechanisms are not by side-effect, so they'll
3369 # only be used when explicitly requested
3370 if test "x$enable_dependency_tracking" = xyes; then
3371 continue
3372 else
3373 break
3374 fi
3375 ;;
3376 none) break ;;
3377 esac
3378 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3379 # mode. It turns out that the SunPro C++ compiler does not properly
3380 # handle `-M -o', and we need to detect this.
3381 if depmode=$depmode \
3382 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3383 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3384 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3385 >/dev/null 2>conftest.err &&
3386 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3387 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3388 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3389 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3390 # icc doesn't choke on unknown options, it will just issue warnings
3391 # or remarks (even with -Werror). So we grep stderr for any message
3392 # that says an option was ignored or not supported.
3393 # When given -MP, icc 7.0 and 7.1 complain thusly:
3394 # icc: Command line warning: ignoring option '-M'; no argument required
3395 # The diagnosis changed in icc 8.0:
3396 # icc: Command line remark: option '-MP' not supported
3397 if (grep 'ignoring option' conftest.err ||
3398 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3399 am_cv_CC_dependencies_compiler_type=$depmode
3400 break
3401 fi
3402 fi
3403 done
3404
3405 cd ..
3406 rm -rf conftest.dir
3407 else
3408 am_cv_CC_dependencies_compiler_type=none
3409 fi
3410
3411 fi
3412 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3413 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3414 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3415
3416 if
3417 test "x$enable_dependency_tracking" != xno \
3418 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3419 am__fastdepCC_TRUE=
3420 am__fastdepCC_FALSE='#'
3421 else
3422 am__fastdepCC_TRUE='#'
3423 am__fastdepCC_FALSE=
3424 fi
3425
3426
3427 ac_ext=cpp
3428 ac_cpp='$CXXCPP $CPPFLAGS'
3429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3432 if test -z "$CXX"; then
3433 if test -n "$CCC"; then
3434 CXX=$CCC
3435 else
3436 if test -n "$ac_tool_prefix"; then
3437 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3438 do
3439 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3440 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3441 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3443 if test "${ac_cv_prog_CXX+set}" = set; then
3444 echo $ECHO_N "(cached) $ECHO_C" >&6
3445 else
3446 if test -n "$CXX"; then
3447 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3448 else
3449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3450 for as_dir in $PATH
3451 do
3452 IFS=$as_save_IFS
3453 test -z "$as_dir" && as_dir=.
3454 for ac_exec_ext in '' $ac_executable_extensions; do
3455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3456 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3458 break 2
3459 fi
3460 done
3461 done
3462 IFS=$as_save_IFS
3463
3464 fi
3465 fi
3466 CXX=$ac_cv_prog_CXX
3467 if test -n "$CXX"; then
3468 { echo "$as_me:$LINENO: result: $CXX" >&5
3469 echo "${ECHO_T}$CXX" >&6; }
3470 else
3471 { echo "$as_me:$LINENO: result: no" >&5
3472 echo "${ECHO_T}no" >&6; }
3473 fi
3474
3475
3476 test -n "$CXX" && break
3477 done
3478 fi
3479 if test -z "$CXX"; then
3480 ac_ct_CXX=$CXX
3481 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3482 do
3483 # Extract the first word of "$ac_prog", so it can be a program name with args.
3484 set dummy $ac_prog; ac_word=$2
3485 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3487 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3488 echo $ECHO_N "(cached) $ECHO_C" >&6
3489 else
3490 if test -n "$ac_ct_CXX"; then
3491 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3492 else
3493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3494 for as_dir in $PATH
3495 do
3496 IFS=$as_save_IFS
3497 test -z "$as_dir" && as_dir=.
3498 for ac_exec_ext in '' $ac_executable_extensions; do
3499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3500 ac_cv_prog_ac_ct_CXX="$ac_prog"
3501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3502 break 2
3503 fi
3504 done
3505 done
3506 IFS=$as_save_IFS
3507
3508 fi
3509 fi
3510 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3511 if test -n "$ac_ct_CXX"; then
3512 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3513 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3514 else
3515 { echo "$as_me:$LINENO: result: no" >&5
3516 echo "${ECHO_T}no" >&6; }
3517 fi
3518
3519
3520 test -n "$ac_ct_CXX" && break
3521 done
3522
3523 if test "x$ac_ct_CXX" = x; then
3524 CXX="g++"
3525 else
3526 case $cross_compiling:$ac_tool_warned in
3527 yes:)
3528 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3529 whose name does not start with the host triplet. If you think this
3530 configuration is useful to you, please write to autoconf@gnu.org." >&5
3531 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3532 whose name does not start with the host triplet. If you think this
3533 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3534 ac_tool_warned=yes ;;
3535 esac
3536 CXX=$ac_ct_CXX
3537 fi
3538 fi
3539
3540 fi
3541 fi
3542 # Provide some information about the compiler.
3543 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3544 ac_compiler=`set X $ac_compile; echo $2`
3545 { (ac_try="$ac_compiler --version >&5"
3546 case "(($ac_try" in
3547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3548 *) ac_try_echo=$ac_try;;
3549 esac
3550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3551 (eval "$ac_compiler --version >&5") 2>&5
3552 ac_status=$?
3553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3554 (exit $ac_status); }
3555 { (ac_try="$ac_compiler -v >&5"
3556 case "(($ac_try" in
3557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3558 *) ac_try_echo=$ac_try;;
3559 esac
3560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3561 (eval "$ac_compiler -v >&5") 2>&5
3562 ac_status=$?
3563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564 (exit $ac_status); }
3565 { (ac_try="$ac_compiler -V >&5"
3566 case "(($ac_try" in
3567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3568 *) ac_try_echo=$ac_try;;
3569 esac
3570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3571 (eval "$ac_compiler -V >&5") 2>&5
3572 ac_status=$?
3573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574 (exit $ac_status); }
3575
3576 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3577 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3578 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3579 echo $ECHO_N "(cached) $ECHO_C" >&6
3580 else
3581 cat >conftest.$ac_ext <<_ACEOF
3582 /* confdefs.h. */
3583 _ACEOF
3584 cat confdefs.h >>conftest.$ac_ext
3585 cat >>conftest.$ac_ext <<_ACEOF
3586 /* end confdefs.h. */
3587
3588 int
3589 main ()
3590 {
3591 #ifndef __GNUC__
3592 choke me
3593 #endif
3594
3595 ;
3596 return 0;
3597 }
3598 _ACEOF
3599 rm -f conftest.$ac_objext
3600 if { (ac_try="$ac_compile"
3601 case "(($ac_try" in
3602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3603 *) ac_try_echo=$ac_try;;
3604 esac
3605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3606 (eval "$ac_compile") 2>conftest.er1
3607 ac_status=$?
3608 grep -v '^ *+' conftest.er1 >conftest.err
3609 rm -f conftest.er1
3610 cat conftest.err >&5
3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); } && {
3613 test -z "$ac_cxx_werror_flag" ||
3614 test ! -s conftest.err
3615 } && test -s conftest.$ac_objext; then
3616 ac_compiler_gnu=yes
3617 else
3618 echo "$as_me: failed program was:" >&5
3619 sed 's/^/| /' conftest.$ac_ext >&5
3620
3621 ac_compiler_gnu=no
3622 fi
3623
3624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3625 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3626
3627 fi
3628 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3629 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3630 GXX=`test $ac_compiler_gnu = yes && echo yes`
3631 ac_test_CXXFLAGS=${CXXFLAGS+set}
3632 ac_save_CXXFLAGS=$CXXFLAGS
3633 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3634 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3635 if test "${ac_cv_prog_cxx_g+set}" = set; then
3636 echo $ECHO_N "(cached) $ECHO_C" >&6
3637 else
3638 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3639 ac_cxx_werror_flag=yes
3640 ac_cv_prog_cxx_g=no
3641 CXXFLAGS="-g"
3642 cat >conftest.$ac_ext <<_ACEOF
3643 /* confdefs.h. */
3644 _ACEOF
3645 cat confdefs.h >>conftest.$ac_ext
3646 cat >>conftest.$ac_ext <<_ACEOF
3647 /* end confdefs.h. */
3648
3649 int
3650 main ()
3651 {
3652
3653 ;
3654 return 0;
3655 }
3656 _ACEOF
3657 rm -f conftest.$ac_objext
3658 if { (ac_try="$ac_compile"
3659 case "(($ac_try" in
3660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3661 *) ac_try_echo=$ac_try;;
3662 esac
3663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3664 (eval "$ac_compile") 2>conftest.er1
3665 ac_status=$?
3666 grep -v '^ *+' conftest.er1 >conftest.err
3667 rm -f conftest.er1
3668 cat conftest.err >&5
3669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670 (exit $ac_status); } && {
3671 test -z "$ac_cxx_werror_flag" ||
3672 test ! -s conftest.err
3673 } && test -s conftest.$ac_objext; then
3674 ac_cv_prog_cxx_g=yes
3675 else
3676 echo "$as_me: failed program was:" >&5
3677 sed 's/^/| /' conftest.$ac_ext >&5
3678
3679 CXXFLAGS=""
3680 cat >conftest.$ac_ext <<_ACEOF
3681 /* confdefs.h. */
3682 _ACEOF
3683 cat confdefs.h >>conftest.$ac_ext
3684 cat >>conftest.$ac_ext <<_ACEOF
3685 /* end confdefs.h. */
3686
3687 int
3688 main ()
3689 {
3690
3691 ;
3692 return 0;
3693 }
3694 _ACEOF
3695 rm -f conftest.$ac_objext
3696 if { (ac_try="$ac_compile"
3697 case "(($ac_try" in
3698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3699 *) ac_try_echo=$ac_try;;
3700 esac
3701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3702 (eval "$ac_compile") 2>conftest.er1
3703 ac_status=$?
3704 grep -v '^ *+' conftest.er1 >conftest.err
3705 rm -f conftest.er1
3706 cat conftest.err >&5
3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708 (exit $ac_status); } && {
3709 test -z "$ac_cxx_werror_flag" ||
3710 test ! -s conftest.err
3711 } && test -s conftest.$ac_objext; then
3712 :
3713 else
3714 echo "$as_me: failed program was:" >&5
3715 sed 's/^/| /' conftest.$ac_ext >&5
3716
3717 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3718 CXXFLAGS="-g"
3719 cat >conftest.$ac_ext <<_ACEOF
3720 /* confdefs.h. */
3721 _ACEOF
3722 cat confdefs.h >>conftest.$ac_ext
3723 cat >>conftest.$ac_ext <<_ACEOF
3724 /* end confdefs.h. */
3725
3726 int
3727 main ()
3728 {
3729
3730 ;
3731 return 0;
3732 }
3733 _ACEOF
3734 rm -f conftest.$ac_objext
3735 if { (ac_try="$ac_compile"
3736 case "(($ac_try" in
3737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3738 *) ac_try_echo=$ac_try;;
3739 esac
3740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3741 (eval "$ac_compile") 2>conftest.er1
3742 ac_status=$?
3743 grep -v '^ *+' conftest.er1 >conftest.err
3744 rm -f conftest.er1
3745 cat conftest.err >&5
3746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3747 (exit $ac_status); } && {
3748 test -z "$ac_cxx_werror_flag" ||
3749 test ! -s conftest.err
3750 } && test -s conftest.$ac_objext; then
3751 ac_cv_prog_cxx_g=yes
3752 else
3753 echo "$as_me: failed program was:" >&5
3754 sed 's/^/| /' conftest.$ac_ext >&5
3755
3756
3757 fi
3758
3759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3760 fi
3761
3762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3763 fi
3764
3765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3766 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3767 fi
3768 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3769 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3770 if test "$ac_test_CXXFLAGS" = set; then
3771 CXXFLAGS=$ac_save_CXXFLAGS
3772 elif test $ac_cv_prog_cxx_g = yes; then
3773 if test "$GXX" = yes; then
3774 CXXFLAGS="-g -O2"
3775 else
3776 CXXFLAGS="-g"
3777 fi
3778 else
3779 if test "$GXX" = yes; then
3780 CXXFLAGS="-O2"
3781 else
3782 CXXFLAGS=
3783 fi
3784 fi
3785 ac_ext=c
3786 ac_cpp='$CPP $CPPFLAGS'
3787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3790
3791 depcc="$CXX" am_compiler_list=
3792
3793 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3794 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3795 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3796 echo $ECHO_N "(cached) $ECHO_C" >&6
3797 else
3798 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3799 # We make a subdir and do the tests there. Otherwise we can end up
3800 # making bogus files that we don't know about and never remove. For
3801 # instance it was reported that on HP-UX the gcc test will end up
3802 # making a dummy file named `D' -- because `-MD' means `put the output
3803 # in D'.
3804 mkdir conftest.dir
3805 # Copy depcomp to subdir because otherwise we won't find it if we're
3806 # using a relative directory.
3807 cp "$am_depcomp" conftest.dir
3808 cd conftest.dir
3809 # We will build objects and dependencies in a subdirectory because
3810 # it helps to detect inapplicable dependency modes. For instance
3811 # both Tru64's cc and ICC support -MD to output dependencies as a
3812 # side effect of compilation, but ICC will put the dependencies in
3813 # the current directory while Tru64 will put them in the object
3814 # directory.
3815 mkdir sub
3816
3817 am_cv_CXX_dependencies_compiler_type=none
3818 if test "$am_compiler_list" = ""; then
3819 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3820 fi
3821 for depmode in $am_compiler_list; do
3822 # Setup a source with many dependencies, because some compilers
3823 # like to wrap large dependency lists on column 80 (with \), and
3824 # we should not choose a depcomp mode which is confused by this.
3825 #
3826 # We need to recreate these files for each test, as the compiler may
3827 # overwrite some of them when testing with obscure command lines.
3828 # This happens at least with the AIX C compiler.
3829 : > sub/conftest.c
3830 for i in 1 2 3 4 5 6; do
3831 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3832 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3833 # Solaris 8's {/usr,}/bin/sh.
3834 touch sub/conftst$i.h
3835 done
3836 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3837
3838 case $depmode in
3839 nosideeffect)
3840 # after this tag, mechanisms are not by side-effect, so they'll
3841 # only be used when explicitly requested
3842 if test "x$enable_dependency_tracking" = xyes; then
3843 continue
3844 else
3845 break
3846 fi
3847 ;;
3848 none) break ;;
3849 esac
3850 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3851 # mode. It turns out that the SunPro C++ compiler does not properly
3852 # handle `-M -o', and we need to detect this.
3853 if depmode=$depmode \
3854 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3855 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3856 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3857 >/dev/null 2>conftest.err &&
3858 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3859 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3860 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3861 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3862 # icc doesn't choke on unknown options, it will just issue warnings
3863 # or remarks (even with -Werror). So we grep stderr for any message
3864 # that says an option was ignored or not supported.
3865 # When given -MP, icc 7.0 and 7.1 complain thusly:
3866 # icc: Command line warning: ignoring option '-M'; no argument required
3867 # The diagnosis changed in icc 8.0:
3868 # icc: Command line remark: option '-MP' not supported
3869 if (grep 'ignoring option' conftest.err ||
3870 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3871 am_cv_CXX_dependencies_compiler_type=$depmode
3872 break
3873 fi
3874 fi
3875 done
3876
3877 cd ..
3878 rm -rf conftest.dir
3879 else
3880 am_cv_CXX_dependencies_compiler_type=none
3881 fi
3882
3883 fi
3884 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3885 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3886 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3887
3888 if
3889 test "x$enable_dependency_tracking" != xno \
3890 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3891 am__fastdepCXX_TRUE=
3892 am__fastdepCXX_FALSE='#'
3893 else
3894 am__fastdepCXX_TRUE='#'
3895 am__fastdepCXX_FALSE=
3896 fi
3897
3898
3899 ac_ext=c
3900 ac_cpp='$CPP $CPPFLAGS'
3901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3904 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3905 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3906 # On Suns, sometimes $CPP names a directory.
3907 if test -n "$CPP" && test -d "$CPP"; then
3908 CPP=
3909 fi
3910 if test -z "$CPP"; then
3911 if test "${ac_cv_prog_CPP+set}" = set; then
3912 echo $ECHO_N "(cached) $ECHO_C" >&6
3913 else
3914 # Double quotes because CPP needs to be expanded
3915 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3916 do
3917 ac_preproc_ok=false
3918 for ac_c_preproc_warn_flag in '' yes
3919 do
3920 # Use a header file that comes with gcc, so configuring glibc
3921 # with a fresh cross-compiler works.
3922 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3923 # <limits.h> exists even on freestanding compilers.
3924 # On the NeXT, cc -E runs the code through the compiler's parser,
3925 # not just through cpp. "Syntax error" is here to catch this case.
3926 cat >conftest.$ac_ext <<_ACEOF
3927 /* confdefs.h. */
3928 _ACEOF
3929 cat confdefs.h >>conftest.$ac_ext
3930 cat >>conftest.$ac_ext <<_ACEOF
3931 /* end confdefs.h. */
3932 #ifdef __STDC__
3933 # include <limits.h>
3934 #else
3935 # include <assert.h>
3936 #endif
3937 Syntax error
3938 _ACEOF
3939 if { (ac_try="$ac_cpp conftest.$ac_ext"
3940 case "(($ac_try" in
3941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3942 *) ac_try_echo=$ac_try;;
3943 esac
3944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3945 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3946 ac_status=$?
3947 grep -v '^ *+' conftest.er1 >conftest.err
3948 rm -f conftest.er1
3949 cat conftest.err >&5
3950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3951 (exit $ac_status); } >/dev/null && {
3952 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3953 test ! -s conftest.err
3954 }; then
3955 :
3956 else
3957 echo "$as_me: failed program was:" >&5
3958 sed 's/^/| /' conftest.$ac_ext >&5
3959
3960 # Broken: fails on valid input.
3961 continue
3962 fi
3963
3964 rm -f conftest.err conftest.$ac_ext
3965
3966 # OK, works on sane cases. Now check whether nonexistent headers
3967 # can be detected and how.
3968 cat >conftest.$ac_ext <<_ACEOF
3969 /* confdefs.h. */
3970 _ACEOF
3971 cat confdefs.h >>conftest.$ac_ext
3972 cat >>conftest.$ac_ext <<_ACEOF
3973 /* end confdefs.h. */
3974 #include <ac_nonexistent.h>
3975 _ACEOF
3976 if { (ac_try="$ac_cpp conftest.$ac_ext"
3977 case "(($ac_try" in
3978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3979 *) ac_try_echo=$ac_try;;
3980 esac
3981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3982 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3983 ac_status=$?
3984 grep -v '^ *+' conftest.er1 >conftest.err
3985 rm -f conftest.er1
3986 cat conftest.err >&5
3987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3988 (exit $ac_status); } >/dev/null && {
3989 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3990 test ! -s conftest.err
3991 }; then
3992 # Broken: success on invalid input.
3993 continue
3994 else
3995 echo "$as_me: failed program was:" >&5
3996 sed 's/^/| /' conftest.$ac_ext >&5
3997
3998 # Passes both tests.
3999 ac_preproc_ok=:
4000 break
4001 fi
4002
4003 rm -f conftest.err conftest.$ac_ext
4004
4005 done
4006 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4007 rm -f conftest.err conftest.$ac_ext
4008 if $ac_preproc_ok; then
4009 break
4010 fi
4011
4012 done
4013 ac_cv_prog_CPP=$CPP
4014
4015 fi
4016 CPP=$ac_cv_prog_CPP
4017 else
4018 ac_cv_prog_CPP=$CPP
4019 fi
4020 { echo "$as_me:$LINENO: result: $CPP" >&5
4021 echo "${ECHO_T}$CPP" >&6; }
4022 ac_preproc_ok=false
4023 for ac_c_preproc_warn_flag in '' yes
4024 do
4025 # Use a header file that comes with gcc, so configuring glibc
4026 # with a fresh cross-compiler works.
4027 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4028 # <limits.h> exists even on freestanding compilers.
4029 # On the NeXT, cc -E runs the code through the compiler's parser,
4030 # not just through cpp. "Syntax error" is here to catch this case.
4031 cat >conftest.$ac_ext <<_ACEOF
4032 /* confdefs.h. */
4033 _ACEOF
4034 cat confdefs.h >>conftest.$ac_ext
4035 cat >>conftest.$ac_ext <<_ACEOF
4036 /* end confdefs.h. */
4037 #ifdef __STDC__
4038 # include <limits.h>
4039 #else
4040 # include <assert.h>
4041 #endif
4042 Syntax error
4043 _ACEOF
4044 if { (ac_try="$ac_cpp conftest.$ac_ext"
4045 case "(($ac_try" in
4046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4047 *) ac_try_echo=$ac_try;;
4048 esac
4049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4050 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4051 ac_status=$?
4052 grep -v '^ *+' conftest.er1 >conftest.err
4053 rm -f conftest.er1
4054 cat conftest.err >&5
4055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4056 (exit $ac_status); } >/dev/null && {
4057 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4058 test ! -s conftest.err
4059 }; then
4060 :
4061 else
4062 echo "$as_me: failed program was:" >&5
4063 sed 's/^/| /' conftest.$ac_ext >&5
4064
4065 # Broken: fails on valid input.
4066 continue
4067 fi
4068
4069 rm -f conftest.err conftest.$ac_ext
4070
4071 # OK, works on sane cases. Now check whether nonexistent headers
4072 # can be detected and how.
4073 cat >conftest.$ac_ext <<_ACEOF
4074 /* confdefs.h. */
4075 _ACEOF
4076 cat confdefs.h >>conftest.$ac_ext
4077 cat >>conftest.$ac_ext <<_ACEOF
4078 /* end confdefs.h. */
4079 #include <ac_nonexistent.h>
4080 _ACEOF
4081 if { (ac_try="$ac_cpp conftest.$ac_ext"
4082 case "(($ac_try" in
4083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4084 *) ac_try_echo=$ac_try;;
4085 esac
4086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4087 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4088 ac_status=$?
4089 grep -v '^ *+' conftest.er1 >conftest.err
4090 rm -f conftest.er1
4091 cat conftest.err >&5
4092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4093 (exit $ac_status); } >/dev/null && {
4094 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4095 test ! -s conftest.err
4096 }; then
4097 # Broken: success on invalid input.
4098 continue
4099 else
4100 echo "$as_me: failed program was:" >&5
4101 sed 's/^/| /' conftest.$ac_ext >&5
4102
4103 # Passes both tests.
4104 ac_preproc_ok=:
4105 break
4106 fi
4107
4108 rm -f conftest.err conftest.$ac_ext
4109
4110 done
4111 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4112 rm -f conftest.err conftest.$ac_ext
4113 if $ac_preproc_ok; then
4114 :
4115 else
4116 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4117 See \`config.log' for more details." >&5
4118 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4119 See \`config.log' for more details." >&2;}
4120 { (exit 1); exit 1; }; }
4121 fi
4122
4123 ac_ext=c
4124 ac_cpp='$CPP $CPPFLAGS'
4125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4128
4129 ac_ext=c
4130 ac_cpp='$CPP $CPPFLAGS'
4131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4134 if test -n "$ac_tool_prefix"; then
4135 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4136 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4137 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4139 if test "${ac_cv_prog_CC+set}" = set; then
4140 echo $ECHO_N "(cached) $ECHO_C" >&6
4141 else
4142 if test -n "$CC"; then
4143 ac_cv_prog_CC="$CC" # Let the user override the test.
4144 else
4145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4146 for as_dir in $PATH
4147 do
4148 IFS=$as_save_IFS
4149 test -z "$as_dir" && as_dir=.
4150 for ac_exec_ext in '' $ac_executable_extensions; do
4151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4152 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4154 break 2
4155 fi
4156 done
4157 done
4158 IFS=$as_save_IFS
4159
4160 fi
4161 fi
4162 CC=$ac_cv_prog_CC
4163 if test -n "$CC"; then
4164 { echo "$as_me:$LINENO: result: $CC" >&5
4165 echo "${ECHO_T}$CC" >&6; }
4166 else
4167 { echo "$as_me:$LINENO: result: no" >&5
4168 echo "${ECHO_T}no" >&6; }
4169 fi
4170
4171
4172 fi
4173 if test -z "$ac_cv_prog_CC"; then
4174 ac_ct_CC=$CC
4175 # Extract the first word of "gcc", so it can be a program name with args.
4176 set dummy gcc; ac_word=$2
4177 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4179 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4180 echo $ECHO_N "(cached) $ECHO_C" >&6
4181 else
4182 if test -n "$ac_ct_CC"; then
4183 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4184 else
4185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4186 for as_dir in $PATH
4187 do
4188 IFS=$as_save_IFS
4189 test -z "$as_dir" && as_dir=.
4190 for ac_exec_ext in '' $ac_executable_extensions; do
4191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4192 ac_cv_prog_ac_ct_CC="gcc"
4193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4194 break 2
4195 fi
4196 done
4197 done
4198 IFS=$as_save_IFS
4199
4200 fi
4201 fi
4202 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4203 if test -n "$ac_ct_CC"; then
4204 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4205 echo "${ECHO_T}$ac_ct_CC" >&6; }
4206 else
4207 { echo "$as_me:$LINENO: result: no" >&5
4208 echo "${ECHO_T}no" >&6; }
4209 fi
4210
4211 if test "x$ac_ct_CC" = x; then
4212 CC=""
4213 else
4214 case $cross_compiling:$ac_tool_warned in
4215 yes:)
4216 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4217 whose name does not start with the host triplet. If you think this
4218 configuration is useful to you, please write to autoconf@gnu.org." >&5
4219 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4220 whose name does not start with the host triplet. If you think this
4221 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4222 ac_tool_warned=yes ;;
4223 esac
4224 CC=$ac_ct_CC
4225 fi
4226 else
4227 CC="$ac_cv_prog_CC"
4228 fi
4229
4230 if test -z "$CC"; then
4231 if test -n "$ac_tool_prefix"; then
4232 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4233 set dummy ${ac_tool_prefix}cc; ac_word=$2
4234 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4236 if test "${ac_cv_prog_CC+set}" = set; then
4237 echo $ECHO_N "(cached) $ECHO_C" >&6
4238 else
4239 if test -n "$CC"; then
4240 ac_cv_prog_CC="$CC" # Let the user override the test.
4241 else
4242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4243 for as_dir in $PATH
4244 do
4245 IFS=$as_save_IFS
4246 test -z "$as_dir" && as_dir=.
4247 for ac_exec_ext in '' $ac_executable_extensions; do
4248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4249 ac_cv_prog_CC="${ac_tool_prefix}cc"
4250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4251 break 2
4252 fi
4253 done
4254 done
4255 IFS=$as_save_IFS
4256
4257 fi
4258 fi
4259 CC=$ac_cv_prog_CC
4260 if test -n "$CC"; then
4261 { echo "$as_me:$LINENO: result: $CC" >&5
4262 echo "${ECHO_T}$CC" >&6; }
4263 else
4264 { echo "$as_me:$LINENO: result: no" >&5
4265 echo "${ECHO_T}no" >&6; }
4266 fi
4267
4268
4269 fi
4270 fi
4271 if test -z "$CC"; then
4272 # Extract the first word of "cc", so it can be a program name with args.
4273 set dummy cc; ac_word=$2
4274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4276 if test "${ac_cv_prog_CC+set}" = set; then
4277 echo $ECHO_N "(cached) $ECHO_C" >&6
4278 else
4279 if test -n "$CC"; then
4280 ac_cv_prog_CC="$CC" # Let the user override the test.
4281 else
4282 ac_prog_rejected=no
4283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4284 for as_dir in $PATH
4285 do
4286 IFS=$as_save_IFS
4287 test -z "$as_dir" && as_dir=.
4288 for ac_exec_ext in '' $ac_executable_extensions; do
4289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4290 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4291 ac_prog_rejected=yes
4292 continue
4293 fi
4294 ac_cv_prog_CC="cc"
4295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4296 break 2
4297 fi
4298 done
4299 done
4300 IFS=$as_save_IFS
4301
4302 if test $ac_prog_rejected = yes; then
4303 # We found a bogon in the path, so make sure we never use it.
4304 set dummy $ac_cv_prog_CC
4305 shift
4306 if test $# != 0; then
4307 # We chose a different compiler from the bogus one.
4308 # However, it has the same basename, so the bogon will be chosen
4309 # first if we set CC to just the basename; use the full file name.
4310 shift
4311 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4312 fi
4313 fi
4314 fi
4315 fi
4316 CC=$ac_cv_prog_CC
4317 if test -n "$CC"; then
4318 { echo "$as_me:$LINENO: result: $CC" >&5
4319 echo "${ECHO_T}$CC" >&6; }
4320 else
4321 { echo "$as_me:$LINENO: result: no" >&5
4322 echo "${ECHO_T}no" >&6; }
4323 fi
4324
4325
4326 fi
4327 if test -z "$CC"; then
4328 if test -n "$ac_tool_prefix"; then
4329 for ac_prog in cl.exe
4330 do
4331 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4332 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4333 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4335 if test "${ac_cv_prog_CC+set}" = set; then
4336 echo $ECHO_N "(cached) $ECHO_C" >&6
4337 else
4338 if test -n "$CC"; then
4339 ac_cv_prog_CC="$CC" # Let the user override the test.
4340 else
4341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4342 for as_dir in $PATH
4343 do
4344 IFS=$as_save_IFS
4345 test -z "$as_dir" && as_dir=.
4346 for ac_exec_ext in '' $ac_executable_extensions; do
4347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4348 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4350 break 2
4351 fi
4352 done
4353 done
4354 IFS=$as_save_IFS
4355
4356 fi
4357 fi
4358 CC=$ac_cv_prog_CC
4359 if test -n "$CC"; then
4360 { echo "$as_me:$LINENO: result: $CC" >&5
4361 echo "${ECHO_T}$CC" >&6; }
4362 else
4363 { echo "$as_me:$LINENO: result: no" >&5
4364 echo "${ECHO_T}no" >&6; }
4365 fi
4366
4367
4368 test -n "$CC" && break
4369 done
4370 fi
4371 if test -z "$CC"; then
4372 ac_ct_CC=$CC
4373 for ac_prog in cl.exe
4374 do
4375 # Extract the first word of "$ac_prog", so it can be a program name with args.
4376 set dummy $ac_prog; ac_word=$2
4377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4379 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4380 echo $ECHO_N "(cached) $ECHO_C" >&6
4381 else
4382 if test -n "$ac_ct_CC"; then
4383 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4384 else
4385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4386 for as_dir in $PATH
4387 do
4388 IFS=$as_save_IFS
4389 test -z "$as_dir" && as_dir=.
4390 for ac_exec_ext in '' $ac_executable_extensions; do
4391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4392 ac_cv_prog_ac_ct_CC="$ac_prog"
4393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4394 break 2
4395 fi
4396 done
4397 done
4398 IFS=$as_save_IFS
4399
4400 fi
4401 fi
4402 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4403 if test -n "$ac_ct_CC"; then
4404 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4405 echo "${ECHO_T}$ac_ct_CC" >&6; }
4406 else
4407 { echo "$as_me:$LINENO: result: no" >&5
4408 echo "${ECHO_T}no" >&6; }
4409 fi
4410
4411
4412 test -n "$ac_ct_CC" && break
4413 done
4414
4415 if test "x$ac_ct_CC" = x; then
4416 CC=""
4417 else
4418 case $cross_compiling:$ac_tool_warned in
4419 yes:)
4420 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4421 whose name does not start with the host triplet. If you think this
4422 configuration is useful to you, please write to autoconf@gnu.org." >&5
4423 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4424 whose name does not start with the host triplet. If you think this
4425 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4426 ac_tool_warned=yes ;;
4427 esac
4428 CC=$ac_ct_CC
4429 fi
4430 fi
4431
4432 fi
4433
4434
4435 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4436 See \`config.log' for more details." >&5
4437 echo "$as_me: error: no acceptable C compiler found in \$PATH
4438 See \`config.log' for more details." >&2;}
4439 { (exit 1); exit 1; }; }
4440
4441 # Provide some information about the compiler.
4442 echo "$as_me:$LINENO: checking for C compiler version" >&5
4443 ac_compiler=`set X $ac_compile; echo $2`
4444 { (ac_try="$ac_compiler --version >&5"
4445 case "(($ac_try" in
4446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4447 *) ac_try_echo=$ac_try;;
4448 esac
4449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4450 (eval "$ac_compiler --version >&5") 2>&5
4451 ac_status=$?
4452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4453 (exit $ac_status); }
4454 { (ac_try="$ac_compiler -v >&5"
4455 case "(($ac_try" in
4456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4457 *) ac_try_echo=$ac_try;;
4458 esac
4459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4460 (eval "$ac_compiler -v >&5") 2>&5
4461 ac_status=$?
4462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463 (exit $ac_status); }
4464 { (ac_try="$ac_compiler -V >&5"
4465 case "(($ac_try" in
4466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4467 *) ac_try_echo=$ac_try;;
4468 esac
4469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4470 (eval "$ac_compiler -V >&5") 2>&5
4471 ac_status=$?
4472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473 (exit $ac_status); }
4474
4475 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4476 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4477 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4478 echo $ECHO_N "(cached) $ECHO_C" >&6
4479 else
4480 cat >conftest.$ac_ext <<_ACEOF
4481 /* confdefs.h. */
4482 _ACEOF
4483 cat confdefs.h >>conftest.$ac_ext
4484 cat >>conftest.$ac_ext <<_ACEOF
4485 /* end confdefs.h. */
4486
4487 int
4488 main ()
4489 {
4490 #ifndef __GNUC__
4491 choke me
4492 #endif
4493
4494 ;
4495 return 0;
4496 }
4497 _ACEOF
4498 rm -f conftest.$ac_objext
4499 if { (ac_try="$ac_compile"
4500 case "(($ac_try" in
4501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4502 *) ac_try_echo=$ac_try;;
4503 esac
4504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4505 (eval "$ac_compile") 2>conftest.er1
4506 ac_status=$?
4507 grep -v '^ *+' conftest.er1 >conftest.err
4508 rm -f conftest.er1
4509 cat conftest.err >&5
4510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511 (exit $ac_status); } && {
4512 test -z "$ac_c_werror_flag" ||
4513 test ! -s conftest.err
4514 } && test -s conftest.$ac_objext; then
4515 ac_compiler_gnu=yes
4516 else
4517 echo "$as_me: failed program was:" >&5
4518 sed 's/^/| /' conftest.$ac_ext >&5
4519
4520 ac_compiler_gnu=no
4521 fi
4522
4523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4524 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4525
4526 fi
4527 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4528 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4529 GCC=`test $ac_compiler_gnu = yes && echo yes`
4530 ac_test_CFLAGS=${CFLAGS+set}
4531 ac_save_CFLAGS=$CFLAGS
4532 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4533 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4534 if test "${ac_cv_prog_cc_g+set}" = set; then
4535 echo $ECHO_N "(cached) $ECHO_C" >&6
4536 else
4537 ac_save_c_werror_flag=$ac_c_werror_flag
4538 ac_c_werror_flag=yes
4539 ac_cv_prog_cc_g=no
4540 CFLAGS="-g"
4541 cat >conftest.$ac_ext <<_ACEOF
4542 /* confdefs.h. */
4543 _ACEOF
4544 cat confdefs.h >>conftest.$ac_ext
4545 cat >>conftest.$ac_ext <<_ACEOF
4546 /* end confdefs.h. */
4547
4548 int
4549 main ()
4550 {
4551
4552 ;
4553 return 0;
4554 }
4555 _ACEOF
4556 rm -f conftest.$ac_objext
4557 if { (ac_try="$ac_compile"
4558 case "(($ac_try" in
4559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4560 *) ac_try_echo=$ac_try;;
4561 esac
4562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4563 (eval "$ac_compile") 2>conftest.er1
4564 ac_status=$?
4565 grep -v '^ *+' conftest.er1 >conftest.err
4566 rm -f conftest.er1
4567 cat conftest.err >&5
4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); } && {
4570 test -z "$ac_c_werror_flag" ||
4571 test ! -s conftest.err
4572 } && test -s conftest.$ac_objext; then
4573 ac_cv_prog_cc_g=yes
4574 else
4575 echo "$as_me: failed program was:" >&5
4576 sed 's/^/| /' conftest.$ac_ext >&5
4577
4578 CFLAGS=""
4579 cat >conftest.$ac_ext <<_ACEOF
4580 /* confdefs.h. */
4581 _ACEOF
4582 cat confdefs.h >>conftest.$ac_ext
4583 cat >>conftest.$ac_ext <<_ACEOF
4584 /* end confdefs.h. */
4585
4586 int
4587 main ()
4588 {
4589
4590 ;
4591 return 0;
4592 }
4593 _ACEOF
4594 rm -f conftest.$ac_objext
4595 if { (ac_try="$ac_compile"
4596 case "(($ac_try" in
4597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4598 *) ac_try_echo=$ac_try;;
4599 esac
4600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4601 (eval "$ac_compile") 2>conftest.er1
4602 ac_status=$?
4603 grep -v '^ *+' conftest.er1 >conftest.err
4604 rm -f conftest.er1
4605 cat conftest.err >&5
4606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); } && {
4608 test -z "$ac_c_werror_flag" ||
4609 test ! -s conftest.err
4610 } && test -s conftest.$ac_objext; then
4611 :
4612 else
4613 echo "$as_me: failed program was:" >&5
4614 sed 's/^/| /' conftest.$ac_ext >&5
4615
4616 ac_c_werror_flag=$ac_save_c_werror_flag
4617 CFLAGS="-g"
4618 cat >conftest.$ac_ext <<_ACEOF
4619 /* confdefs.h. */
4620 _ACEOF
4621 cat confdefs.h >>conftest.$ac_ext
4622 cat >>conftest.$ac_ext <<_ACEOF
4623 /* end confdefs.h. */
4624
4625 int
4626 main ()
4627 {
4628
4629 ;
4630 return 0;
4631 }
4632 _ACEOF
4633 rm -f conftest.$ac_objext
4634 if { (ac_try="$ac_compile"
4635 case "(($ac_try" in
4636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4637 *) ac_try_echo=$ac_try;;
4638 esac
4639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4640 (eval "$ac_compile") 2>conftest.er1
4641 ac_status=$?
4642 grep -v '^ *+' conftest.er1 >conftest.err
4643 rm -f conftest.er1
4644 cat conftest.err >&5
4645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4646 (exit $ac_status); } && {
4647 test -z "$ac_c_werror_flag" ||
4648 test ! -s conftest.err
4649 } && test -s conftest.$ac_objext; then
4650 ac_cv_prog_cc_g=yes
4651 else
4652 echo "$as_me: failed program was:" >&5
4653 sed 's/^/| /' conftest.$ac_ext >&5
4654
4655
4656 fi
4657
4658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4659 fi
4660
4661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4662 fi
4663
4664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4665 ac_c_werror_flag=$ac_save_c_werror_flag
4666 fi
4667 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4668 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4669 if test "$ac_test_CFLAGS" = set; then
4670 CFLAGS=$ac_save_CFLAGS
4671 elif test $ac_cv_prog_cc_g = yes; then
4672 if test "$GCC" = yes; then
4673 CFLAGS="-g -O2"
4674 else
4675 CFLAGS="-g"
4676 fi
4677 else
4678 if test "$GCC" = yes; then
4679 CFLAGS="-O2"
4680 else
4681 CFLAGS=
4682 fi
4683 fi
4684 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4685 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4686 if test "${ac_cv_prog_cc_c89+set}" = set; then
4687 echo $ECHO_N "(cached) $ECHO_C" >&6
4688 else
4689 ac_cv_prog_cc_c89=no
4690 ac_save_CC=$CC
4691 cat >conftest.$ac_ext <<_ACEOF
4692 /* confdefs.h. */
4693 _ACEOF
4694 cat confdefs.h >>conftest.$ac_ext
4695 cat >>conftest.$ac_ext <<_ACEOF
4696 /* end confdefs.h. */
4697 #include <stdarg.h>
4698 #include <stdio.h>
4699 #include <sys/types.h>
4700 #include <sys/stat.h>
4701 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4702 struct buf { int x; };
4703 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4704 static char *e (p, i)
4705 char **p;
4706 int i;
4707 {
4708 return p[i];
4709 }
4710 static char *f (char * (*g) (char **, int), char **p, ...)
4711 {
4712 char *s;
4713 va_list v;
4714 va_start (v,p);
4715 s = g (p, va_arg (v,int));
4716 va_end (v);
4717 return s;
4718 }
4719
4720 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4721 function prototypes and stuff, but not '\xHH' hex character constants.
4722 These don't provoke an error unfortunately, instead are silently treated
4723 as 'x'. The following induces an error, until -std is added to get
4724 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4725 array size at least. It's necessary to write '\x00'==0 to get something
4726 that's true only with -std. */
4727 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4728
4729 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4730 inside strings and character constants. */
4731 #define FOO(x) 'x'
4732 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4733
4734 int test (int i, double x);
4735 struct s1 {int (*f) (int a);};
4736 struct s2 {int (*f) (double a);};
4737 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4738 int argc;
4739 char **argv;
4740 int
4741 main ()
4742 {
4743 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4744 ;
4745 return 0;
4746 }
4747 _ACEOF
4748 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4749 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4750 do
4751 CC="$ac_save_CC $ac_arg"
4752 rm -f conftest.$ac_objext
4753 if { (ac_try="$ac_compile"
4754 case "(($ac_try" in
4755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4756 *) ac_try_echo=$ac_try;;
4757 esac
4758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4759 (eval "$ac_compile") 2>conftest.er1
4760 ac_status=$?
4761 grep -v '^ *+' conftest.er1 >conftest.err
4762 rm -f conftest.er1
4763 cat conftest.err >&5
4764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765 (exit $ac_status); } && {
4766 test -z "$ac_c_werror_flag" ||
4767 test ! -s conftest.err
4768 } && test -s conftest.$ac_objext; then
4769 ac_cv_prog_cc_c89=$ac_arg
4770 else
4771 echo "$as_me: failed program was:" >&5
4772 sed 's/^/| /' conftest.$ac_ext >&5
4773
4774
4775 fi
4776
4777 rm -f core conftest.err conftest.$ac_objext
4778 test "x$ac_cv_prog_cc_c89" != "xno" && break
4779 done
4780 rm -f conftest.$ac_ext
4781 CC=$ac_save_CC
4782
4783 fi
4784 # AC_CACHE_VAL
4785 case "x$ac_cv_prog_cc_c89" in
4786 x)
4787 { echo "$as_me:$LINENO: result: none needed" >&5
4788 echo "${ECHO_T}none needed" >&6; } ;;
4789 xno)
4790 { echo "$as_me:$LINENO: result: unsupported" >&5
4791 echo "${ECHO_T}unsupported" >&6; } ;;
4792 *)
4793 CC="$CC $ac_cv_prog_cc_c89"
4794 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4795 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4796 esac
4797
4798
4799 ac_ext=c
4800 ac_cpp='$CPP $CPPFLAGS'
4801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4804
4805 depcc="$CC" am_compiler_list=
4806
4807 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4808 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4809 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4810 echo $ECHO_N "(cached) $ECHO_C" >&6
4811 else
4812 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4813 # We make a subdir and do the tests there. Otherwise we can end up
4814 # making bogus files that we don't know about and never remove. For
4815 # instance it was reported that on HP-UX the gcc test will end up
4816 # making a dummy file named `D' -- because `-MD' means `put the output
4817 # in D'.
4818 mkdir conftest.dir
4819 # Copy depcomp to subdir because otherwise we won't find it if we're
4820 # using a relative directory.
4821 cp "$am_depcomp" conftest.dir
4822 cd conftest.dir
4823 # We will build objects and dependencies in a subdirectory because
4824 # it helps to detect inapplicable dependency modes. For instance
4825 # both Tru64's cc and ICC support -MD to output dependencies as a
4826 # side effect of compilation, but ICC will put the dependencies in
4827 # the current directory while Tru64 will put them in the object
4828 # directory.
4829 mkdir sub
4830
4831 am_cv_CC_dependencies_compiler_type=none
4832 if test "$am_compiler_list" = ""; then
4833 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4834 fi
4835 for depmode in $am_compiler_list; do
4836 # Setup a source with many dependencies, because some compilers
4837 # like to wrap large dependency lists on column 80 (with \), and
4838 # we should not choose a depcomp mode which is confused by this.
4839 #
4840 # We need to recreate these files for each test, as the compiler may
4841 # overwrite some of them when testing with obscure command lines.
4842 # This happens at least with the AIX C compiler.
4843 : > sub/conftest.c
4844 for i in 1 2 3 4 5 6; do
4845 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4846 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4847 # Solaris 8's {/usr,}/bin/sh.
4848 touch sub/conftst$i.h
4849 done
4850 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4851
4852 case $depmode in
4853 nosideeffect)
4854 # after this tag, mechanisms are not by side-effect, so they'll
4855 # only be used when explicitly requested
4856 if test "x$enable_dependency_tracking" = xyes; then
4857 continue
4858 else
4859 break
4860 fi
4861 ;;
4862 none) break ;;
4863 esac
4864 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4865 # mode. It turns out that the SunPro C++ compiler does not properly
4866 # handle `-M -o', and we need to detect this.
4867 if depmode=$depmode \
4868 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4869 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4870 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4871 >/dev/null 2>conftest.err &&
4872 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4873 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4874 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4875 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4876 # icc doesn't choke on unknown options, it will just issue warnings
4877 # or remarks (even with -Werror). So we grep stderr for any message
4878 # that says an option was ignored or not supported.
4879 # When given -MP, icc 7.0 and 7.1 complain thusly:
4880 # icc: Command line warning: ignoring option '-M'; no argument required
4881 # The diagnosis changed in icc 8.0:
4882 # icc: Command line remark: option '-MP' not supported
4883 if (grep 'ignoring option' conftest.err ||
4884 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4885 am_cv_CC_dependencies_compiler_type=$depmode
4886 break
4887 fi
4888 fi
4889 done
4890
4891 cd ..
4892 rm -rf conftest.dir
4893 else
4894 am_cv_CC_dependencies_compiler_type=none
4895 fi
4896
4897 fi
4898 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4899 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4900 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4901
4902 if
4903 test "x$enable_dependency_tracking" != xno \
4904 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4905 am__fastdepCC_TRUE=
4906 am__fastdepCC_FALSE='#'
4907 else
4908 am__fastdepCC_TRUE='#'
4909 am__fastdepCC_FALSE=
4910 fi
4911
4912
4913
4914 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
4915
4916 if test "x$CC" != xcc; then
4917 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
4918 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
4919 else
4920 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
4921 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
4922 fi
4923 set dummy $CC; ac_cc=`echo $2 |
4924 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4925 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
4926 echo $ECHO_N "(cached) $ECHO_C" >&6
4927 else
4928 cat >conftest.$ac_ext <<_ACEOF
4929 /* confdefs.h. */
4930 _ACEOF
4931 cat confdefs.h >>conftest.$ac_ext
4932 cat >>conftest.$ac_ext <<_ACEOF
4933 /* end confdefs.h. */
4934
4935 int
4936 main ()
4937 {
4938
4939 ;
4940 return 0;
4941 }
4942 _ACEOF
4943 # Make sure it works both with $CC and with simple cc.
4944 # We do the test twice because some compilers refuse to overwrite an
4945 # existing .o file with -o, though they will create one.
4946 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4947 rm -f conftest2.*
4948 if { (case "(($ac_try" in
4949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4950 *) ac_try_echo=$ac_try;;
4951 esac
4952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4953 (eval "$ac_try") 2>&5
4954 ac_status=$?
4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956 (exit $ac_status); } &&
4957 test -f conftest2.$ac_objext && { (case "(($ac_try" in
4958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4959 *) ac_try_echo=$ac_try;;
4960 esac
4961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4962 (eval "$ac_try") 2>&5
4963 ac_status=$?
4964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4965 (exit $ac_status); };
4966 then
4967 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4968 if test "x$CC" != xcc; then
4969 # Test first that cc exists at all.
4970 if { ac_try='cc -c conftest.$ac_ext >&5'
4971 { (case "(($ac_try" in
4972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4973 *) ac_try_echo=$ac_try;;
4974 esac
4975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4976 (eval "$ac_try") 2>&5
4977 ac_status=$?
4978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979 (exit $ac_status); }; }; then
4980 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4981 rm -f conftest2.*
4982 if { (case "(($ac_try" in
4983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4984 *) ac_try_echo=$ac_try;;
4985 esac
4986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4987 (eval "$ac_try") 2>&5
4988 ac_status=$?
4989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990 (exit $ac_status); } &&
4991 test -f conftest2.$ac_objext && { (case "(($ac_try" in
4992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4993 *) ac_try_echo=$ac_try;;
4994 esac
4995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4996 (eval "$ac_try") 2>&5
4997 ac_status=$?
4998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999 (exit $ac_status); };
5000 then
5001 # cc works too.
5002 :
5003 else
5004 # cc exists but doesn't like -o.
5005 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5006 fi
5007 fi
5008 fi
5009 else
5010 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5011 fi
5012 rm -f core conftest*
5013
5014 fi
5015 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5016 { echo "$as_me:$LINENO: result: yes" >&5
5017 echo "${ECHO_T}yes" >&6; }
5018 else
5019 { echo "$as_me:$LINENO: result: no" >&5
5020 echo "${ECHO_T}no" >&6; }
5021
5022 cat >>confdefs.h <<\_ACEOF
5023 #define NO_MINUS_C_MINUS_O 1
5024 _ACEOF
5025
5026 fi
5027
5028 # FIXME: we rely on the cache variable name because
5029 # there is no other way.
5030 set dummy $CC
5031 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5032 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
5033 # Losing compiler, so override with the script.
5034 # FIXME: It is wrong to rewrite CC.
5035 # But if we don't then we get into trouble of one sort or another.
5036 # A longer-term fix would be to have automake use am__CC in this case,
5037 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5038 CC="$am_aux_dir/compile $CC"
5039 fi
5040
5041
5042 { echo "$as_me:$LINENO: checking for function prototypes" >&5
5043 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
5044 if test "$ac_cv_prog_cc_c89" != no; then
5045 { echo "$as_me:$LINENO: result: yes" >&5
5046 echo "${ECHO_T}yes" >&6; }
5047
5048 cat >>confdefs.h <<\_ACEOF
5049 #define PROTOTYPES 1
5050 _ACEOF
5051
5052
5053 cat >>confdefs.h <<\_ACEOF
5054 #define __PROTOTYPES 1
5055 _ACEOF
5056
5057 else
5058 { echo "$as_me:$LINENO: result: no" >&5
5059 echo "${ECHO_T}no" >&6; }
5060 fi
5061
5062
5063
5064 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5065 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5066 if test "${ac_cv_path_GREP+set}" = set; then
5067 echo $ECHO_N "(cached) $ECHO_C" >&6
5068 else
5069 # Extract the first word of "grep ggrep" to use in msg output
5070 if test -z "$GREP"; then
5071 set dummy grep ggrep; ac_prog_name=$2
5072 if test "${ac_cv_path_GREP+set}" = set; then
5073 echo $ECHO_N "(cached) $ECHO_C" >&6
5074 else
5075 ac_path_GREP_found=false
5076 # Loop through the user's path and test for each of PROGNAME-LIST
5077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5078 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5079 do
5080 IFS=$as_save_IFS
5081 test -z "$as_dir" && as_dir=.
5082 for ac_prog in grep ggrep; do
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5085 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5086 # Check for GNU ac_path_GREP and select it if it is found.
5087 # Check for GNU $ac_path_GREP
5088 case `"$ac_path_GREP" --version 2>&1` in
5089 *GNU*)
5090 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5091 *)
5092 ac_count=0
5093 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5094 while :
5095 do
5096 cat "conftest.in" "conftest.in" >"conftest.tmp"
5097 mv "conftest.tmp" "conftest.in"
5098 cp "conftest.in" "conftest.nl"
5099 echo 'GREP' >> "conftest.nl"
5100 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5101 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5102 ac_count=`expr $ac_count + 1`
5103 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5104 # Best one so far, save it but keep looking for a better one
5105 ac_cv_path_GREP="$ac_path_GREP"
5106 ac_path_GREP_max=$ac_count
5107 fi
5108 # 10*(2^10) chars as input seems more than enough
5109 test $ac_count -gt 10 && break
5110 done
5111 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5112 esac
5113
5114
5115 $ac_path_GREP_found && break 3
5116 done
5117 done
5118
5119 done
5120 IFS=$as_save_IFS
5121
5122
5123 fi
5124
5125 GREP="$ac_cv_path_GREP"
5126 if test -z "$GREP"; then
5127 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5128 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5129 { (exit 1); exit 1; }; }
5130 fi
5131
5132 else
5133 ac_cv_path_GREP=$GREP
5134 fi
5135
5136
5137 fi
5138 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5139 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5140 GREP="$ac_cv_path_GREP"
5141
5142
5143 { echo "$as_me:$LINENO: checking for egrep" >&5
5144 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5145 if test "${ac_cv_path_EGREP+set}" = set; then
5146 echo $ECHO_N "(cached) $ECHO_C" >&6
5147 else
5148 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5149 then ac_cv_path_EGREP="$GREP -E"
5150 else
5151 # Extract the first word of "egrep" to use in msg output
5152 if test -z "$EGREP"; then
5153 set dummy egrep; ac_prog_name=$2
5154 if test "${ac_cv_path_EGREP+set}" = set; then
5155 echo $ECHO_N "(cached) $ECHO_C" >&6
5156 else
5157 ac_path_EGREP_found=false
5158 # Loop through the user's path and test for each of PROGNAME-LIST
5159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5160 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5161 do
5162 IFS=$as_save_IFS
5163 test -z "$as_dir" && as_dir=.
5164 for ac_prog in egrep; do
5165 for ac_exec_ext in '' $ac_executable_extensions; do
5166 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5167 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5168 # Check for GNU ac_path_EGREP and select it if it is found.
5169 # Check for GNU $ac_path_EGREP
5170 case `"$ac_path_EGREP" --version 2>&1` in
5171 *GNU*)
5172 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5173 *)
5174 ac_count=0
5175 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5176 while :
5177 do
5178 cat "conftest.in" "conftest.in" >"conftest.tmp"
5179 mv "conftest.tmp" "conftest.in"
5180 cp "conftest.in" "conftest.nl"
5181 echo 'EGREP' >> "conftest.nl"
5182 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5183 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5184 ac_count=`expr $ac_count + 1`
5185 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5186 # Best one so far, save it but keep looking for a better one
5187 ac_cv_path_EGREP="$ac_path_EGREP"
5188 ac_path_EGREP_max=$ac_count
5189 fi
5190 # 10*(2^10) chars as input seems more than enough
5191 test $ac_count -gt 10 && break
5192 done
5193 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5194 esac
5195
5196
5197 $ac_path_EGREP_found && break 3
5198 done
5199 done
5200
5201 done
5202 IFS=$as_save_IFS
5203
5204
5205 fi
5206
5207 EGREP="$ac_cv_path_EGREP"
5208 if test -z "$EGREP"; then
5209 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5210 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5211 { (exit 1); exit 1; }; }
5212 fi
5213
5214 else
5215 ac_cv_path_EGREP=$EGREP
5216 fi
5217
5218
5219 fi
5220 fi
5221 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5222 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5223 EGREP="$ac_cv_path_EGREP"
5224
5225
5226 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5227 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5228 if test "${ac_cv_header_stdc+set}" = set; then
5229 echo $ECHO_N "(cached) $ECHO_C" >&6
5230 else
5231 cat >conftest.$ac_ext <<_ACEOF
5232 /* confdefs.h. */
5233 _ACEOF
5234 cat confdefs.h >>conftest.$ac_ext
5235 cat >>conftest.$ac_ext <<_ACEOF
5236 /* end confdefs.h. */
5237 #include <stdlib.h>
5238 #include <stdarg.h>
5239 #include <string.h>
5240 #include <float.h>
5241
5242 int
5243 main ()
5244 {
5245
5246 ;
5247 return 0;
5248 }
5249 _ACEOF
5250 rm -f conftest.$ac_objext
5251 if { (ac_try="$ac_compile"
5252 case "(($ac_try" in
5253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5254 *) ac_try_echo=$ac_try;;
5255 esac
5256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5257 (eval "$ac_compile") 2>conftest.er1
5258 ac_status=$?
5259 grep -v '^ *+' conftest.er1 >conftest.err
5260 rm -f conftest.er1
5261 cat conftest.err >&5
5262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5263 (exit $ac_status); } && {
5264 test -z "$ac_c_werror_flag" ||
5265 test ! -s conftest.err
5266 } && test -s conftest.$ac_objext; then
5267 ac_cv_header_stdc=yes
5268 else
5269 echo "$as_me: failed program was:" >&5
5270 sed 's/^/| /' conftest.$ac_ext >&5
5271
5272 ac_cv_header_stdc=no
5273 fi
5274
5275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5276
5277 if test $ac_cv_header_stdc = yes; then
5278 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5279 cat >conftest.$ac_ext <<_ACEOF
5280 /* confdefs.h. */
5281 _ACEOF
5282 cat confdefs.h >>conftest.$ac_ext
5283 cat >>conftest.$ac_ext <<_ACEOF
5284 /* end confdefs.h. */
5285 #include <string.h>
5286
5287 _ACEOF
5288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5289 $EGREP "memchr" >/dev/null 2>&1; then
5290 :
5291 else
5292 ac_cv_header_stdc=no
5293 fi
5294 rm -f conftest*
5295
5296 fi
5297
5298 if test $ac_cv_header_stdc = yes; then
5299 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5300 cat >conftest.$ac_ext <<_ACEOF
5301 /* confdefs.h. */
5302 _ACEOF
5303 cat confdefs.h >>conftest.$ac_ext
5304 cat >>conftest.$ac_ext <<_ACEOF
5305 /* end confdefs.h. */
5306 #include <stdlib.h>
5307
5308 _ACEOF
5309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5310 $EGREP "free" >/dev/null 2>&1; then
5311 :
5312 else
5313 ac_cv_header_stdc=no
5314 fi
5315 rm -f conftest*
5316
5317 fi
5318
5319 if test $ac_cv_header_stdc = yes; then
5320 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5321 if test "$cross_compiling" = yes; then
5322 :
5323 else
5324 cat >conftest.$ac_ext <<_ACEOF
5325 /* confdefs.h. */
5326 _ACEOF
5327 cat confdefs.h >>conftest.$ac_ext
5328 cat >>conftest.$ac_ext <<_ACEOF
5329 /* end confdefs.h. */
5330 #include <ctype.h>
5331 #include <stdlib.h>
5332 #if ((' ' & 0x0FF) == 0x020)
5333 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5334 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5335 #else
5336 # define ISLOWER(c) \
5337 (('a' <= (c) && (c) <= 'i') \
5338 || ('j' <= (c) && (c) <= 'r') \
5339 || ('s' <= (c) && (c) <= 'z'))
5340 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5341 #endif
5342
5343 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5344 int
5345 main ()
5346 {
5347 int i;
5348 for (i = 0; i < 256; i++)
5349 if (XOR (islower (i), ISLOWER (i))
5350 || toupper (i) != TOUPPER (i))
5351 return 2;
5352 return 0;
5353 }
5354 _ACEOF
5355 rm -f conftest$ac_exeext
5356 if { (ac_try="$ac_link"
5357 case "(($ac_try" in
5358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5359 *) ac_try_echo=$ac_try;;
5360 esac
5361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5362 (eval "$ac_link") 2>&5
5363 ac_status=$?
5364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5365 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5366 { (case "(($ac_try" in
5367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5368 *) ac_try_echo=$ac_try;;
5369 esac
5370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5371 (eval "$ac_try") 2>&5
5372 ac_status=$?
5373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5374 (exit $ac_status); }; }; then
5375 :
5376 else
5377 echo "$as_me: program exited with status $ac_status" >&5
5378 echo "$as_me: failed program was:" >&5
5379 sed 's/^/| /' conftest.$ac_ext >&5
5380
5381 ( exit $ac_status )
5382 ac_cv_header_stdc=no
5383 fi
5384 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5385 fi
5386
5387
5388 fi
5389 fi
5390 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5391 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5392 if test $ac_cv_header_stdc = yes; then
5393
5394 cat >>confdefs.h <<\_ACEOF
5395 #define STDC_HEADERS 1
5396 _ACEOF
5397
5398 fi
5399
5400 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5411 inttypes.h stdint.h unistd.h
5412 do
5413 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5414 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5416 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5417 echo $ECHO_N "(cached) $ECHO_C" >&6
5418 else
5419 cat >conftest.$ac_ext <<_ACEOF
5420 /* confdefs.h. */
5421 _ACEOF
5422 cat confdefs.h >>conftest.$ac_ext
5423 cat >>conftest.$ac_ext <<_ACEOF
5424 /* end confdefs.h. */
5425 $ac_includes_default
5426
5427 #include <$ac_header>
5428 _ACEOF
5429 rm -f conftest.$ac_objext
5430 if { (ac_try="$ac_compile"
5431 case "(($ac_try" in
5432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5433 *) ac_try_echo=$ac_try;;
5434 esac
5435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5436 (eval "$ac_compile") 2>conftest.er1
5437 ac_status=$?
5438 grep -v '^ *+' conftest.er1 >conftest.err
5439 rm -f conftest.er1
5440 cat conftest.err >&5
5441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5442 (exit $ac_status); } && {
5443 test -z "$ac_c_werror_flag" ||
5444 test ! -s conftest.err
5445 } && test -s conftest.$ac_objext; then
5446 eval "$as_ac_Header=yes"
5447 else
5448 echo "$as_me: failed program was:" >&5
5449 sed 's/^/| /' conftest.$ac_ext >&5
5450
5451 eval "$as_ac_Header=no"
5452 fi
5453
5454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5455 fi
5456 ac_res=`eval echo '${'$as_ac_Header'}'`
5457 { echo "$as_me:$LINENO: result: $ac_res" >&5
5458 echo "${ECHO_T}$ac_res" >&6; }
5459 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5460 cat >>confdefs.h <<_ACEOF
5461 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5462 _ACEOF
5463
5464 fi
5465
5466 done
5467
5468
5469
5470 if test "$ac_cv_prog_cc_stdc" != no; then
5471 U= ANSI2KNR=
5472 else
5473 U=_ ANSI2KNR=./ansi2knr
5474 fi
5475 # Ensure some checks needed by ansi2knr itself.
5476
5477
5478 for ac_header in string.h
5479 do
5480 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5481 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5482 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5484 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5485 echo $ECHO_N "(cached) $ECHO_C" >&6
5486 fi
5487 ac_res=`eval echo '${'$as_ac_Header'}'`
5488 { echo "$as_me:$LINENO: result: $ac_res" >&5
5489 echo "${ECHO_T}$ac_res" >&6; }
5490 else
5491 # Is the header compilable?
5492 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5493 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5494 cat >conftest.$ac_ext <<_ACEOF
5495 /* confdefs.h. */
5496 _ACEOF
5497 cat confdefs.h >>conftest.$ac_ext
5498 cat >>conftest.$ac_ext <<_ACEOF
5499 /* end confdefs.h. */
5500 $ac_includes_default
5501 #include <$ac_header>
5502 _ACEOF
5503 rm -f conftest.$ac_objext
5504 if { (ac_try="$ac_compile"
5505 case "(($ac_try" in
5506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5507 *) ac_try_echo=$ac_try;;
5508 esac
5509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5510 (eval "$ac_compile") 2>conftest.er1
5511 ac_status=$?
5512 grep -v '^ *+' conftest.er1 >conftest.err
5513 rm -f conftest.er1
5514 cat conftest.err >&5
5515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516 (exit $ac_status); } && {
5517 test -z "$ac_c_werror_flag" ||
5518 test ! -s conftest.err
5519 } && test -s conftest.$ac_objext; then
5520 ac_header_compiler=yes
5521 else
5522 echo "$as_me: failed program was:" >&5
5523 sed 's/^/| /' conftest.$ac_ext >&5
5524
5525 ac_header_compiler=no
5526 fi
5527
5528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5529 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5530 echo "${ECHO_T}$ac_header_compiler" >&6; }
5531
5532 # Is the header present?
5533 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5534 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5535 cat >conftest.$ac_ext <<_ACEOF
5536 /* confdefs.h. */
5537 _ACEOF
5538 cat confdefs.h >>conftest.$ac_ext
5539 cat >>conftest.$ac_ext <<_ACEOF
5540 /* end confdefs.h. */
5541 #include <$ac_header>
5542 _ACEOF
5543 if { (ac_try="$ac_cpp conftest.$ac_ext"
5544 case "(($ac_try" in
5545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5546 *) ac_try_echo=$ac_try;;
5547 esac
5548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5549 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5550 ac_status=$?
5551 grep -v '^ *+' conftest.er1 >conftest.err
5552 rm -f conftest.er1
5553 cat conftest.err >&5
5554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 (exit $ac_status); } >/dev/null && {
5556 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5557 test ! -s conftest.err
5558 }; then
5559 ac_header_preproc=yes
5560 else
5561 echo "$as_me: failed program was:" >&5
5562 sed 's/^/| /' conftest.$ac_ext >&5
5563
5564 ac_header_preproc=no
5565 fi
5566
5567 rm -f conftest.err conftest.$ac_ext
5568 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5569 echo "${ECHO_T}$ac_header_preproc" >&6; }
5570
5571 # So? What about this header?
5572 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5573 yes:no: )
5574 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5575 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5577 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5578 ac_header_preproc=yes
5579 ;;
5580 no:yes:* )
5581 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5582 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5583 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5584 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5585 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5586 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5587 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5588 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5590 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5591 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5592 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5593 ( cat <<\_ASBOX
5594 ## ------------------------------------------- ##
5595 ## Report this to systemtap@sources.redhat.com ##
5596 ## ------------------------------------------- ##
5597 _ASBOX
5598 ) | sed "s/^/$as_me: WARNING: /" >&2
5599 ;;
5600 esac
5601 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5603 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5604 echo $ECHO_N "(cached) $ECHO_C" >&6
5605 else
5606 eval "$as_ac_Header=\$ac_header_preproc"
5607 fi
5608 ac_res=`eval echo '${'$as_ac_Header'}'`
5609 { echo "$as_me:$LINENO: result: $ac_res" >&5
5610 echo "${ECHO_T}$ac_res" >&6; }
5611
5612 fi
5613 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5614 cat >>confdefs.h <<_ACEOF
5615 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5616 _ACEOF
5617
5618 fi
5619
5620 done
5621
5622
5623 if test -n "$ac_tool_prefix"; then
5624 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5625 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5628 if test "${ac_cv_prog_RANLIB+set}" = set; then
5629 echo $ECHO_N "(cached) $ECHO_C" >&6
5630 else
5631 if test -n "$RANLIB"; then
5632 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5633 else
5634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5635 for as_dir in $PATH
5636 do
5637 IFS=$as_save_IFS
5638 test -z "$as_dir" && as_dir=.
5639 for ac_exec_ext in '' $ac_executable_extensions; do
5640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5641 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5643 break 2
5644 fi
5645 done
5646 done
5647 IFS=$as_save_IFS
5648
5649 fi
5650 fi
5651 RANLIB=$ac_cv_prog_RANLIB
5652 if test -n "$RANLIB"; then
5653 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5654 echo "${ECHO_T}$RANLIB" >&6; }
5655 else
5656 { echo "$as_me:$LINENO: result: no" >&5
5657 echo "${ECHO_T}no" >&6; }
5658 fi
5659
5660
5661 fi
5662 if test -z "$ac_cv_prog_RANLIB"; then
5663 ac_ct_RANLIB=$RANLIB
5664 # Extract the first word of "ranlib", so it can be a program name with args.
5665 set dummy ranlib; ac_word=$2
5666 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5668 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5669 echo $ECHO_N "(cached) $ECHO_C" >&6
5670 else
5671 if test -n "$ac_ct_RANLIB"; then
5672 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5673 else
5674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5675 for as_dir in $PATH
5676 do
5677 IFS=$as_save_IFS
5678 test -z "$as_dir" && as_dir=.
5679 for ac_exec_ext in '' $ac_executable_extensions; do
5680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5681 ac_cv_prog_ac_ct_RANLIB="ranlib"
5682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5683 break 2
5684 fi
5685 done
5686 done
5687 IFS=$as_save_IFS
5688
5689 fi
5690 fi
5691 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5692 if test -n "$ac_ct_RANLIB"; then
5693 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5694 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5695 else
5696 { echo "$as_me:$LINENO: result: no" >&5
5697 echo "${ECHO_T}no" >&6; }
5698 fi
5699
5700 if test "x$ac_ct_RANLIB" = x; then
5701 RANLIB=":"
5702 else
5703 case $cross_compiling:$ac_tool_warned in
5704 yes:)
5705 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5706 whose name does not start with the host triplet. If you think this
5707 configuration is useful to you, please write to autoconf@gnu.org." >&5
5708 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5709 whose name does not start with the host triplet. If you think this
5710 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5711 ac_tool_warned=yes ;;
5712 esac
5713 RANLIB=$ac_ct_RANLIB
5714 fi
5715 else
5716 RANLIB="$ac_cv_prog_RANLIB"
5717 fi
5718
5719
5720
5721 # Find a good install program. We prefer a C program (faster),
5722 # so one script is as good as another. But avoid the broken or
5723 # incompatible versions:
5724 # SysV /etc/install, /usr/sbin/install
5725 # SunOS /usr/etc/install
5726 # IRIX /sbin/install
5727 # AIX /bin/install
5728 # AmigaOS /C/install, which installs bootblocks on floppy discs
5729 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5730 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5731 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5732 # OS/2's system install, which has a completely different semantic
5733 # ./install, which can be erroneously created by make from ./install.sh.
5734 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5735 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5736 if test -z "$INSTALL"; then
5737 if test "${ac_cv_path_install+set}" = set; then
5738 echo $ECHO_N "(cached) $ECHO_C" >&6
5739 else
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741 for as_dir in $PATH
5742 do
5743 IFS=$as_save_IFS
5744 test -z "$as_dir" && as_dir=.
5745 # Account for people who put trailing slashes in PATH elements.
5746 case $as_dir/ in
5747 ./ | .// | /cC/* | \
5748 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5749 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5750 /usr/ucb/* ) ;;
5751 *)
5752 # OSF1 and SCO ODT 3.0 have their own names for install.
5753 # Don't use installbsd from OSF since it installs stuff as root
5754 # by default.
5755 for ac_prog in ginstall scoinst install; do
5756 for ac_exec_ext in '' $ac_executable_extensions; do
5757 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5758 if test $ac_prog = install &&
5759 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5760 # AIX install. It has an incompatible calling convention.
5761 :
5762 elif test $ac_prog = install &&
5763 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5764 # program-specific install script used by HP pwplus--don't use.
5765 :
5766 else
5767 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5768 break 3
5769 fi
5770 fi
5771 done
5772 done
5773 ;;
5774 esac
5775 done
5776 IFS=$as_save_IFS
5777
5778
5779 fi
5780 if test "${ac_cv_path_install+set}" = set; then
5781 INSTALL=$ac_cv_path_install
5782 else
5783 # As a last resort, use the slow shell script. Don't cache a
5784 # value for INSTALL within a source directory, because that will
5785 # break other packages using the cache if that directory is
5786 # removed, or if the value is a relative name.
5787 INSTALL=$ac_install_sh
5788 fi
5789 fi
5790 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5791 echo "${ECHO_T}$INSTALL" >&6; }
5792
5793 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5794 # It thinks the first close brace ends the variable substitution.
5795 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5796
5797 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5798
5799 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5800
5801 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5802 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
5803 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5804 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
5805 echo $ECHO_N "(cached) $ECHO_C" >&6
5806 else
5807 cat >conftest.make <<\_ACEOF
5808 SHELL = /bin/sh
5809 all:
5810 @echo '@@@%%%=$(MAKE)=@@@%%%'
5811 _ACEOF
5812 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5813 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5814 *@@@%%%=?*=@@@%%%*)
5815 eval ac_cv_prog_make_${ac_make}_set=yes;;
5816 *)
5817 eval ac_cv_prog_make_${ac_make}_set=no;;
5818 esac
5819 rm -f conftest.make
5820 fi
5821 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5822 { echo "$as_me:$LINENO: result: yes" >&5
5823 echo "${ECHO_T}yes" >&6; }
5824 SET_MAKE=
5825 else
5826 { echo "$as_me:$LINENO: result: no" >&5
5827 echo "${ECHO_T}no" >&6; }
5828 SET_MAKE="MAKE=${MAKE-make}"
5829 fi
5830
5831
5832
5833
5834 # Check whether --enable-perfmon was given.
5835 if test "${enable_perfmon+set}" = set; then
5836 enableval=$enable_perfmon;
5837 if test "$enable_perfmon" != "no"; then
5838 CPPFLAGS="$CPPFLAGS -DPERFMON"
5839 LIBS="$LIBS -lpfm"
5840 if test "$enable_perfmon" != "yes"; then
5841 CPPFLAGS="$CPPFLAGS -I$enable_perfmon/include"
5842 LDFLAGS="$LDFLAGS -L$enable_perfmon/lib"
5843 fi
5844
5845 { echo "$as_me:$LINENO: checking for pfm_start in -lpfm" >&5
5846 echo $ECHO_N "checking for pfm_start in -lpfm... $ECHO_C" >&6; }
5847 if test "${ac_cv_lib_pfm_pfm_start+set}" = set; then
5848 echo $ECHO_N "(cached) $ECHO_C" >&6
5849 else
5850 ac_check_lib_save_LIBS=$LIBS
5851 LIBS="-lpfm $LIBS"
5852 cat >conftest.$ac_ext <<_ACEOF
5853 /* confdefs.h. */
5854 _ACEOF
5855 cat confdefs.h >>conftest.$ac_ext
5856 cat >>conftest.$ac_ext <<_ACEOF
5857 /* end confdefs.h. */
5858
5859 /* Override any GCC internal prototype to avoid an error.
5860 Use char because int might match the return type of a GCC
5861 builtin and then its argument prototype would still apply. */
5862 #ifdef __cplusplus
5863 extern "C"
5864 #endif
5865 char pfm_start ();
5866 int
5867 main ()
5868 {
5869 return pfm_start ();
5870 ;
5871 return 0;
5872 }
5873 _ACEOF
5874 rm -f conftest.$ac_objext conftest$ac_exeext
5875 if { (ac_try="$ac_link"
5876 case "(($ac_try" in
5877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5878 *) ac_try_echo=$ac_try;;
5879 esac
5880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5881 (eval "$ac_link") 2>conftest.er1
5882 ac_status=$?
5883 grep -v '^ *+' conftest.er1 >conftest.err
5884 rm -f conftest.er1
5885 cat conftest.err >&5
5886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5887 (exit $ac_status); } && {
5888 test -z "$ac_c_werror_flag" ||
5889 test ! -s conftest.err
5890 } && test -s conftest$ac_exeext &&
5891 $as_test_x conftest$ac_exeext; then
5892 ac_cv_lib_pfm_pfm_start=yes
5893 else
5894 echo "$as_me: failed program was:" >&5
5895 sed 's/^/| /' conftest.$ac_ext >&5
5896
5897 ac_cv_lib_pfm_pfm_start=no
5898 fi
5899
5900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5901 conftest$ac_exeext conftest.$ac_ext
5902 LIBS=$ac_check_lib_save_LIBS
5903 fi
5904 { echo "$as_me:$LINENO: result: $ac_cv_lib_pfm_pfm_start" >&5
5905 echo "${ECHO_T}$ac_cv_lib_pfm_pfm_start" >&6; }
5906 if test $ac_cv_lib_pfm_pfm_start = yes; then
5907 cat >>confdefs.h <<_ACEOF
5908 #define HAVE_LIBPFM 1
5909 _ACEOF
5910
5911 LIBS="-lpfm $LIBS"
5912
5913 else
5914
5915 { { echo "$as_me:$LINENO: error: systemtap cannot find required perfmon libs (libpfm-devel may need to be installed" >&5
5916 echo "$as_me: error: systemtap cannot find required perfmon libs (libpfm-devel may need to be installed" >&2;}
5917 { (exit 1); exit 1; }; }
5918 fi
5919
5920 fi
5921 fi
5922
5923
5924 if test "${enable_prologues+set}" != set; then
5925 { echo "$as_me:$LINENO: checking to see if prologue searching should be the default" >&5
5926 echo $ECHO_N "checking to see if prologue searching should be the default... $ECHO_C" >&6; }
5927 if { echo '#if __i386__ == 1 && __GNUC__ < 4'
5928 echo ' yes '
5929 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
5930 enable_prologues=yes
5931 { echo "$as_me:$LINENO: result: yes" >&5
5932 echo "${ECHO_T}yes" >&6; }
5933 else
5934 { echo "$as_me:$LINENO: result: no" >&5
5935 echo "${ECHO_T}no" >&6; }
5936 fi
5937 fi
5938 # Check whether --enable-prologues was given.
5939 if test "${enable_prologues+set}" = set; then
5940 enableval=$enable_prologues;
5941 if test "$enable_prologues" = yes; then
5942
5943 cat >>confdefs.h <<\_ACEOF
5944 #define ENABLE_PROLOGUES
5945 _ACEOF
5946
5947 fi
5948 fi
5949
5950
5951 # Check whether --enable-ssp was given.
5952 if test "${enable_ssp+set}" = set; then
5953 enableval=$enable_ssp;
5954 fi
5955
5956 if test "x$enable_ssp" != xno; then
5957
5958 save_CFLAGS="$CFLAGS"
5959 save_CXXFLAGS="$CXXFLAGS"
5960 CXXFLAGS="$CXXFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
5961 CFLAGS="$CFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
5962 cat >conftest.$ac_ext <<_ACEOF
5963 int something ();
5964 _ACEOF
5965 rm -f conftest.$ac_objext
5966 if { (ac_try="$ac_compile"
5967 case "(($ac_try" in
5968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5969 *) ac_try_echo=$ac_try;;
5970 esac
5971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5972 (eval "$ac_compile") 2>conftest.er1
5973 ac_status=$?
5974 grep -v '^ *+' conftest.er1 >conftest.err
5975 rm -f conftest.er1
5976 cat conftest.err >&5
5977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5978 (exit $ac_status); } && {
5979 test -z "$ac_c_werror_flag" ||
5980 test ! -s conftest.err
5981 } && test -s conftest.$ac_objext; then
5982
5983 { echo "$as_me:$LINENO: Compiling with gcc -fstack-protector-all et al." >&5
5984 echo "$as_me: Compiling with gcc -fstack-protector-all et al." >&6;}
5985 CFLAGS="$save_CFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
5986 CXFXLAGS="$save_CXXFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
5987 else
5988 echo "$as_me: failed program was:" >&5
5989 sed 's/^/| /' conftest.$ac_ext >&5
5990
5991
5992 { echo "$as_me:$LINENO: Compiler does not support -fstack-protector-all et al." >&5
5993 echo "$as_me: Compiler does not support -fstack-protector-all et al." >&6;}
5994 CFLAGS="$save_CFLAGS"
5995 CXXFLAGS="$save_CXXFLAGS"
5996 fi
5997
5998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5999 fi
6000
6001
6002 # Check whether --enable-pie was given.
6003 if test "${enable_pie+set}" = set; then
6004 enableval=$enable_pie;
6005 fi
6006
6007 if test "x$enable_pie" != xno; then
6008
6009 save_CFLAGS="$CFLAGS"
6010 save_CXXFLAGS="$CXXFLAGS"
6011 save_LDFLAGS="$LDFLAGS"
6012 CFLAGS="$CFLAGS -fPIE"
6013 CXXFLAGS="$CXXFLAGS -fPIE"
6014 LDFLAGS="$LDFLAGS -pie -Wl,-z,relro -Wl,-z,now"
6015 cat >conftest.$ac_ext <<_ACEOF
6016 void main () {}
6017 _ACEOF
6018 rm -f conftest.$ac_objext conftest$ac_exeext
6019 if { (ac_try="$ac_link"
6020 case "(($ac_try" in
6021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6022 *) ac_try_echo=$ac_try;;
6023 esac
6024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6025 (eval "$ac_link") 2>conftest.er1
6026 ac_status=$?
6027 grep -v '^ *+' conftest.er1 >conftest.err
6028 rm -f conftest.er1
6029 cat conftest.err >&5
6030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031 (exit $ac_status); } && {
6032 test -z "$ac_c_werror_flag" ||
6033 test ! -s conftest.err
6034 } && test -s conftest$ac_exeext &&
6035 $as_test_x conftest$ac_exeext; then
6036
6037 { echo "$as_me:$LINENO: Compiling with gcc pie et al." >&5
6038 echo "$as_me: Compiling with gcc pie et al." >&6;}
6039 # LDFLAGS is special since it may be passed down to bundled-elfutils,
6040 # and interfere with the .so's built therein
6041 PIELDFLAGS="$LDFLAGS -pie -Wl,-z,relro -Wl,-z,now"
6042 LDFLAGS="$save_LDFLAGS"
6043
6044 else
6045 echo "$as_me: failed program was:" >&5
6046 sed 's/^/| /' conftest.$ac_ext >&5
6047
6048
6049 { echo "$as_me:$LINENO: Compiler does not support -pie et al." >&5
6050 echo "$as_me: Compiler does not support -pie et al." >&6;}
6051 CFLAGS="$save_CFLAGS"
6052 CXXFLAGS="$save_CXXFLAGS"
6053 PIELDFLAGS=""
6054 LDFLAGS="$save_LDFLAGS"
6055 fi
6056
6057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6058 conftest$ac_exeext conftest.$ac_ext
6059 fi
6060
6061
6062
6063 # Check whether --enable-sqlite was given.
6064 if test "${enable_sqlite+set}" = set; then
6065 enableval=$enable_sqlite;
6066 else
6067 enable_sqlite=check
6068 fi
6069 sqlite3_LIBS=
6070 if test "x$enable_sqlite" != xno; then
6071 { echo "$as_me:$LINENO: checking for sqlite3_open in -lsqlite3" >&5
6072 echo $ECHO_N "checking for sqlite3_open in -lsqlite3... $ECHO_C" >&6; }
6073 if test "${ac_cv_lib_sqlite3_sqlite3_open+set}" = set; then
6074 echo $ECHO_N "(cached) $ECHO_C" >&6
6075 else
6076 ac_check_lib_save_LIBS=$LIBS
6077 LIBS="-lsqlite3 $LIBS"
6078 cat >conftest.$ac_ext <<_ACEOF
6079 /* confdefs.h. */
6080 _ACEOF
6081 cat confdefs.h >>conftest.$ac_ext
6082 cat >>conftest.$ac_ext <<_ACEOF
6083 /* end confdefs.h. */
6084
6085 /* Override any GCC internal prototype to avoid an error.
6086 Use char because int might match the return type of a GCC
6087 builtin and then its argument prototype would still apply. */
6088 #ifdef __cplusplus
6089 extern "C"
6090 #endif
6091 char sqlite3_open ();
6092 int
6093 main ()
6094 {
6095 return sqlite3_open ();
6096 ;
6097 return 0;
6098 }
6099 _ACEOF
6100 rm -f conftest.$ac_objext conftest$ac_exeext
6101 if { (ac_try="$ac_link"
6102 case "(($ac_try" in
6103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6104 *) ac_try_echo=$ac_try;;
6105 esac
6106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6107 (eval "$ac_link") 2>conftest.er1
6108 ac_status=$?
6109 grep -v '^ *+' conftest.er1 >conftest.err
6110 rm -f conftest.er1
6111 cat conftest.err >&5
6112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6113 (exit $ac_status); } && {
6114 test -z "$ac_c_werror_flag" ||
6115 test ! -s conftest.err
6116 } && test -s conftest$ac_exeext &&
6117 $as_test_x conftest$ac_exeext; then
6118 ac_cv_lib_sqlite3_sqlite3_open=yes
6119 else
6120 echo "$as_me: failed program was:" >&5
6121 sed 's/^/| /' conftest.$ac_ext >&5
6122
6123 ac_cv_lib_sqlite3_sqlite3_open=no
6124 fi
6125
6126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6127 conftest$ac_exeext conftest.$ac_ext
6128 LIBS=$ac_check_lib_save_LIBS
6129 fi
6130 { echo "$as_me:$LINENO: result: $ac_cv_lib_sqlite3_sqlite3_open" >&5
6131 echo "${ECHO_T}$ac_cv_lib_sqlite3_sqlite3_open" >&6; }
6132 if test $ac_cv_lib_sqlite3_sqlite3_open = yes; then
6133 sqlite3_LIBS=-lsqlite3
6134
6135
6136 cat >>confdefs.h <<\_ACEOF
6137 #define HAVE_LIBSQLITE3 1
6138 _ACEOF
6139
6140 else
6141 if test "x$enable_sqlite" != xcheck; then
6142 { { echo "$as_me:$LINENO: error: --enable-sqlite was given, but test for sqlite failed
6143 See \`config.log' for more details." >&5
6144 echo "$as_me: error: --enable-sqlite was given, but test for sqlite failed
6145 See \`config.log' for more details." >&2;}
6146 { (exit 1); exit 1; }; }
6147 fi
6148 fi
6149
6150 fi
6151
6152
6153 # Check whether --enable-crash was given.
6154 if test "${enable_crash+set}" = set; then
6155 enableval=$enable_crash; if test "$enable_crash" != "no"; then
6156 save_CPPFLAGS="$CPPFLAGS"
6157 if test "$enable_crash" != "yes"; then
6158 staplog_CPPFLAGS=-I$enable_crash
6159 CPPFLAGS="${staplog_CPPFLAGS} $CPPFLAGS"
6160
6161 fi
6162
6163 for ac_header in crash/defs.h
6164 do
6165 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6166 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6168 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6169 echo $ECHO_N "(cached) $ECHO_C" >&6
6170 else
6171 cat >conftest.$ac_ext <<_ACEOF
6172 /* confdefs.h. */
6173 _ACEOF
6174 cat confdefs.h >>conftest.$ac_ext
6175 cat >>conftest.$ac_ext <<_ACEOF
6176 /* end confdefs.h. */
6177
6178 #define NR_CPUS 256
6179
6180
6181 #include <$ac_header>
6182 _ACEOF
6183 rm -f conftest.$ac_objext
6184 if { (ac_try="$ac_compile"
6185 case "(($ac_try" in
6186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6187 *) ac_try_echo=$ac_try;;
6188 esac
6189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6190 (eval "$ac_compile") 2>conftest.er1
6191 ac_status=$?
6192 grep -v '^ *+' conftest.er1 >conftest.err
6193 rm -f conftest.er1
6194 cat conftest.err >&5
6195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6196 (exit $ac_status); } && {
6197 test -z "$ac_c_werror_flag" ||
6198 test ! -s conftest.err
6199 } && test -s conftest.$ac_objext; then
6200 eval "$as_ac_Header=yes"
6201 else
6202 echo "$as_me: failed program was:" >&5
6203 sed 's/^/| /' conftest.$ac_ext >&5
6204
6205 eval "$as_ac_Header=no"
6206 fi
6207
6208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6209 fi
6210 ac_res=`eval echo '${'$as_ac_Header'}'`
6211 { echo "$as_me:$LINENO: result: $ac_res" >&5
6212 echo "${ECHO_T}$ac_res" >&6; }
6213 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6214 cat >>confdefs.h <<_ACEOF
6215 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6216 _ACEOF
6217
6218 else
6219 { { echo "$as_me:$LINENO: error: cannot find required crash header (crash-devel may need to be installed)" >&5
6220 echo "$as_me: error: cannot find required crash header (crash-devel may need to be installed)" >&2;}
6221 { (exit 1); exit 1; }; }
6222 fi
6223
6224 done
6225
6226 CPPFLAGS="$save_CPPFLAGS"
6227 fi
6228 else
6229 enable_crash="no"
6230 fi
6231
6232 if test "$enable_crash" != "no"; then
6233 BUILD_CRASHMOD_TRUE=
6234 BUILD_CRASHMOD_FALSE='#'
6235 else
6236 BUILD_CRASHMOD_TRUE='#'
6237 BUILD_CRASHMOD_FALSE=
6238 fi
6239
6240
6241 building_docs="no"
6242 # Check whether --enable-docs was given.
6243 if test "${enable_docs+set}" = set; then
6244 enableval=$enable_docs; enable_docs=$enableval
6245 else
6246 enable_docs="check"
6247 fi
6248
6249 # Extract the first word of "latex", so it can be a program name with args.
6250 set dummy latex; ac_word=$2
6251 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6253 if test "${ac_cv_prog_have_latex+set}" = set; then
6254 echo $ECHO_N "(cached) $ECHO_C" >&6
6255 else
6256 if test -n "$have_latex"; then
6257 ac_cv_prog_have_latex="$have_latex" # Let the user override the test.
6258 else
6259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6260 for as_dir in $PATH
6261 do
6262 IFS=$as_save_IFS
6263 test -z "$as_dir" && as_dir=.
6264 for ac_exec_ext in '' $ac_executable_extensions; do
6265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6266 ac_cv_prog_have_latex="yes"
6267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6268 break 2
6269 fi
6270 done
6271 done
6272 IFS=$as_save_IFS
6273
6274 test -z "$ac_cv_prog_have_latex" && ac_cv_prog_have_latex="no"
6275 fi
6276 fi
6277 have_latex=$ac_cv_prog_have_latex
6278 if test -n "$have_latex"; then
6279 { echo "$as_me:$LINENO: result: $have_latex" >&5
6280 echo "${ECHO_T}$have_latex" >&6; }
6281 else
6282 { echo "$as_me:$LINENO: result: no" >&5
6283 echo "${ECHO_T}no" >&6; }
6284 fi
6285
6286
6287 # Extract the first word of "dvips", so it can be a program name with args.
6288 set dummy dvips; ac_word=$2
6289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6291 if test "${ac_cv_prog_have_dvips+set}" = set; then
6292 echo $ECHO_N "(cached) $ECHO_C" >&6
6293 else
6294 if test -n "$have_dvips"; then
6295 ac_cv_prog_have_dvips="$have_dvips" # Let the user override the test.
6296 else
6297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6298 for as_dir in $PATH
6299 do
6300 IFS=$as_save_IFS
6301 test -z "$as_dir" && as_dir=.
6302 for ac_exec_ext in '' $ac_executable_extensions; do
6303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6304 ac_cv_prog_have_dvips="yes"
6305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6306 break 2
6307 fi
6308 done
6309 done
6310 IFS=$as_save_IFS
6311
6312 test -z "$ac_cv_prog_have_dvips" && ac_cv_prog_have_dvips="no"
6313 fi
6314 fi
6315 have_dvips=$ac_cv_prog_have_dvips
6316 if test -n "$have_dvips"; then
6317 { echo "$as_me:$LINENO: result: $have_dvips" >&5
6318 echo "${ECHO_T}$have_dvips" >&6; }
6319 else
6320 { echo "$as_me:$LINENO: result: no" >&5
6321 echo "${ECHO_T}no" >&6; }
6322 fi
6323
6324
6325 # Extract the first word of "ps2pdf", so it can be a program name with args.
6326 set dummy ps2pdf; ac_word=$2
6327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6329 if test "${ac_cv_prog_have_ps2pdf+set}" = set; then
6330 echo $ECHO_N "(cached) $ECHO_C" >&6
6331 else
6332 if test -n "$have_ps2pdf"; then
6333 ac_cv_prog_have_ps2pdf="$have_ps2pdf" # Let the user override the test.
6334 else
6335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6336 for as_dir in $PATH
6337 do
6338 IFS=$as_save_IFS
6339 test -z "$as_dir" && as_dir=.
6340 for ac_exec_ext in '' $ac_executable_extensions; do
6341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6342 ac_cv_prog_have_ps2pdf="yes"
6343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6344 break 2
6345 fi
6346 done
6347 done
6348 IFS=$as_save_IFS
6349
6350 test -z "$ac_cv_prog_have_ps2pdf" && ac_cv_prog_have_ps2pdf="no"
6351 fi
6352 fi
6353 have_ps2pdf=$ac_cv_prog_have_ps2pdf
6354 if test -n "$have_ps2pdf"; then
6355 { echo "$as_me:$LINENO: result: $have_ps2pdf" >&5
6356 echo "${ECHO_T}$have_ps2pdf" >&6; }
6357 else
6358 { echo "$as_me:$LINENO: result: no" >&5
6359 echo "${ECHO_T}no" >&6; }
6360 fi
6361
6362
6363 # Extract the first word of "latex2html", so it can be a program name with args.
6364 set dummy latex2html; ac_word=$2
6365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6367 if test "${ac_cv_prog_have_latex2html+set}" = set; then
6368 echo $ECHO_N "(cached) $ECHO_C" >&6
6369 else
6370 if test -n "$have_latex2html"; then
6371 ac_cv_prog_have_latex2html="$have_latex2html" # Let the user override the test.
6372 else
6373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6374 for as_dir in $PATH
6375 do
6376 IFS=$as_save_IFS
6377 test -z "$as_dir" && as_dir=.
6378 for ac_exec_ext in '' $ac_executable_extensions; do
6379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6380 ac_cv_prog_have_latex2html="yes"
6381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6382 break 2
6383 fi
6384 done
6385 done
6386 IFS=$as_save_IFS
6387
6388 test -z "$ac_cv_prog_have_latex2html" && ac_cv_prog_have_latex2html="no"
6389 fi
6390 fi
6391 have_latex2html=$ac_cv_prog_have_latex2html
6392 if test -n "$have_latex2html"; then
6393 { echo "$as_me:$LINENO: result: $have_latex2html" >&5
6394 echo "${ECHO_T}$have_latex2html" >&6; }
6395 else
6396 { echo "$as_me:$LINENO: result: no" >&5
6397 echo "${ECHO_T}no" >&6; }
6398 fi
6399
6400
6401 if test "x${have_latex}${have_dvips}${have_ps2pdf}${have_latex2html}" != "xyesyesyesyes"; then
6402 if test "$enable_docs" == "yes"; then
6403 { { echo "$as_me:$LINENO: error: cannot find all tools for building documentation" >&5
6404 echo "$as_me: error: cannot find all tools for building documentation" >&2;}
6405 { (exit 1); exit 1; }; }
6406 fi
6407 if test "$enable_docs" == "check"; then
6408 { echo "$as_me:$LINENO: WARNING: will not build documentation, cannot find all tools" >&5
6409 echo "$as_me: WARNING: will not build documentation, cannot find all tools" >&2;}
6410 fi
6411 fi
6412 if test "x${have_latex}${have_dvips}${have_ps2pdf}${have_latex2html}" == "xyesyesyesyes" -a "$enable_docs" != "no"; then
6413 building_docs="yes"
6414 fi
6415 if test "$building_docs" == "yes"; then
6416 BUILD_DOCS_TRUE=
6417 BUILD_DOCS_FALSE='#'
6418 else
6419 BUILD_DOCS_TRUE='#'
6420 BUILD_DOCS_FALSE=
6421 fi
6422
6423
6424 building_refdocs="no"
6425 # Check whether --enable-refdocs was given.
6426 if test "${enable_refdocs+set}" = set; then
6427 enableval=$enable_refdocs; enable_refdocs=$enableval
6428 else
6429 enable_refdocs="check"
6430 fi
6431
6432 if test "$building_docs" == "no" -a "$enable_refdocs" == "yes" ; then
6433 { { echo "$as_me:$LINENO: error: must use --enable-docs with --enable-refdocs" >&5
6434 echo "$as_me: error: must use --enable-docs with --enable-refdocs" >&2;}
6435 { (exit 1); exit 1; }; }
6436 fi
6437 # Extract the first word of "xmlto", so it can be a program name with args.
6438 set dummy xmlto; ac_word=$2
6439 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6441 if test "${ac_cv_prog_have_xmlto+set}" = set; then
6442 echo $ECHO_N "(cached) $ECHO_C" >&6
6443 else
6444 if test -n "$have_xmlto"; then
6445 ac_cv_prog_have_xmlto="$have_xmlto" # Let the user override the test.
6446 else
6447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6448 for as_dir in $PATH
6449 do
6450 IFS=$as_save_IFS
6451 test -z "$as_dir" && as_dir=.
6452 for ac_exec_ext in '' $ac_executable_extensions; do
6453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6454 ac_cv_prog_have_xmlto="yes"
6455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6456 break 2
6457 fi
6458 done
6459 done
6460 IFS=$as_save_IFS
6461
6462 test -z "$ac_cv_prog_have_xmlto" && ac_cv_prog_have_xmlto="no"
6463 fi
6464 fi
6465 have_xmlto=$ac_cv_prog_have_xmlto
6466 if test -n "$have_xmlto"; then
6467 { echo "$as_me:$LINENO: result: $have_xmlto" >&5
6468 echo "${ECHO_T}$have_xmlto" >&6; }
6469 else
6470 { echo "$as_me:$LINENO: result: no" >&5
6471 echo "${ECHO_T}no" >&6; }
6472 fi
6473
6474
6475 if test "$enable_refdocs" == "yes"; then
6476 if test "x${have_xmlto}" != "xyes"; then
6477 { { echo "$as_me:$LINENO: error: cannot find xmlto for building reference documentation" >&5
6478 echo "$as_me: error: cannot find xmlto for building reference documentation" >&2;}
6479 { (exit 1); exit 1; }; }
6480 fi
6481 fi
6482 if test "x${have_xmlto}" == "xyes" -a "$enable_refdocs" != "no" -a "${building_docs}" == "yes"; then
6483 building_refdocs="yes"
6484 fi
6485 if test "$building_refdocs" == "yes"; then
6486 BUILD_REFDOCS_TRUE=
6487 BUILD_REFDOCS_FALSE='#'
6488 else
6489 BUILD_REFDOCS_TRUE='#'
6490 BUILD_REFDOCS_FALSE=
6491 fi
6492
6493
6494 # Check whether --enable-server was given.
6495 if test "${enable_server+set}" = set; then
6496 enableval=$enable_server; enable_server=$enableval
6497 else
6498 enable_server="check"
6499 fi
6500
6501
6502
6503 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6504 if test -n "$ac_tool_prefix"; then
6505 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6506 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6507 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6509 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6510 echo $ECHO_N "(cached) $ECHO_C" >&6
6511 else
6512 case $PKG_CONFIG in
6513 [\\/]* | ?:[\\/]*)
6514 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6515 ;;
6516 *)
6517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6518 for as_dir in $PATH
6519 do
6520 IFS=$as_save_IFS
6521 test -z "$as_dir" && as_dir=.
6522 for ac_exec_ext in '' $ac_executable_extensions; do
6523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6524 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6526 break 2
6527 fi
6528 done
6529 done
6530 IFS=$as_save_IFS
6531
6532 ;;
6533 esac
6534 fi
6535 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6536 if test -n "$PKG_CONFIG"; then
6537 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6538 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6539 else
6540 { echo "$as_me:$LINENO: result: no" >&5
6541 echo "${ECHO_T}no" >&6; }
6542 fi
6543
6544
6545 fi
6546 if test -z "$ac_cv_path_PKG_CONFIG"; then
6547 ac_pt_PKG_CONFIG=$PKG_CONFIG
6548 # Extract the first word of "pkg-config", so it can be a program name with args.
6549 set dummy pkg-config; ac_word=$2
6550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6552 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
6553 echo $ECHO_N "(cached) $ECHO_C" >&6
6554 else
6555 case $ac_pt_PKG_CONFIG in
6556 [\\/]* | ?:[\\/]*)
6557 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6558 ;;
6559 *)
6560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6561 for as_dir in $PATH
6562 do
6563 IFS=$as_save_IFS
6564 test -z "$as_dir" && as_dir=.
6565 for ac_exec_ext in '' $ac_executable_extensions; do
6566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6567 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6569 break 2
6570 fi
6571 done
6572 done
6573 IFS=$as_save_IFS
6574
6575 ;;
6576 esac
6577 fi
6578 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6579 if test -n "$ac_pt_PKG_CONFIG"; then
6580 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
6581 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
6582 else
6583 { echo "$as_me:$LINENO: result: no" >&5
6584 echo "${ECHO_T}no" >&6; }
6585 fi
6586
6587 if test "x$ac_pt_PKG_CONFIG" = x; then
6588 PKG_CONFIG=""
6589 else
6590 case $cross_compiling:$ac_tool_warned in
6591 yes:)
6592 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6593 whose name does not start with the host triplet. If you think this
6594 configuration is useful to you, please write to autoconf@gnu.org." >&5
6595 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6596 whose name does not start with the host triplet. If you think this
6597 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6598 ac_tool_warned=yes ;;
6599 esac
6600 PKG_CONFIG=$ac_pt_PKG_CONFIG
6601 fi
6602 else
6603 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6604 fi
6605
6606 fi
6607 if test -n "$PKG_CONFIG"; then
6608 _pkg_min_version=0.9.0
6609 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
6610 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
6611 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6612 { echo "$as_me:$LINENO: result: yes" >&5
6613 echo "${ECHO_T}yes" >&6; }
6614 else
6615 { echo "$as_me:$LINENO: result: no" >&5
6616 echo "${ECHO_T}no" >&6; }
6617 PKG_CONFIG=""
6618 fi
6619
6620 fi
6621
6622 pkg_failed=no
6623 { echo "$as_me:$LINENO: checking for nss" >&5
6624 echo $ECHO_N "checking for nss... $ECHO_C" >&6; }
6625
6626 if test -n "$nss_CFLAGS"; then
6627 pkg_cv_nss_CFLAGS="$nss_CFLAGS"
6628 elif test -n "$PKG_CONFIG"; then
6629 if test -n "$PKG_CONFIG" && \
6630 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nss >= 3\"") >&5
6631 ($PKG_CONFIG --exists --print-errors "nss >= 3") 2>&5
6632 ac_status=$?
6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634 (exit $ac_status); }; then
6635 pkg_cv_nss_CFLAGS=`$PKG_CONFIG --cflags "nss >= 3" 2>/dev/null`
6636 else
6637 pkg_failed=yes
6638 fi
6639 else
6640 pkg_failed=untried
6641 fi
6642 if test -n "$nss_LIBS"; then
6643 pkg_cv_nss_LIBS="$nss_LIBS"
6644 elif test -n "$PKG_CONFIG"; then
6645 if test -n "$PKG_CONFIG" && \
6646 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nss >= 3\"") >&5
6647 ($PKG_CONFIG --exists --print-errors "nss >= 3") 2>&5
6648 ac_status=$?
6649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6650 (exit $ac_status); }; then
6651 pkg_cv_nss_LIBS=`$PKG_CONFIG --libs "nss >= 3" 2>/dev/null`
6652 else
6653 pkg_failed=yes
6654 fi
6655 else
6656 pkg_failed=untried
6657 fi
6658
6659
6660
6661 if test $pkg_failed = yes; then
6662
6663 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6664 _pkg_short_errors_supported=yes
6665 else
6666 _pkg_short_errors_supported=no
6667 fi
6668 if test $_pkg_short_errors_supported = yes; then
6669 nss_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "nss >= 3" 2>&1`
6670 else
6671 nss_PKG_ERRORS=`$PKG_CONFIG --print-errors "nss >= 3" 2>&1`
6672 fi
6673 # Put the nasty error message in config.log where it belongs
6674 echo "$nss_PKG_ERRORS" >&5
6675
6676 { echo "$as_me:$LINENO: result: no" >&5
6677 echo "${ECHO_T}no" >&6; }
6678 have_nss=no
6679 elif test $pkg_failed = untried; then
6680 have_nss=no
6681 else
6682 nss_CFLAGS=$pkg_cv_nss_CFLAGS
6683 nss_LIBS=$pkg_cv_nss_LIBS
6684 { echo "$as_me:$LINENO: result: yes" >&5
6685 echo "${ECHO_T}yes" >&6; }
6686 have_nss=yes
6687 fi
6688
6689 pkg_failed=no
6690 { echo "$as_me:$LINENO: checking for nspr" >&5
6691 echo $ECHO_N "checking for nspr... $ECHO_C" >&6; }
6692
6693 if test -n "$nspr_CFLAGS"; then
6694 pkg_cv_nspr_CFLAGS="$nspr_CFLAGS"
6695 elif test -n "$PKG_CONFIG"; then
6696 if test -n "$PKG_CONFIG" && \
6697 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nspr >= 4\"") >&5
6698 ($PKG_CONFIG --exists --print-errors "nspr >= 4") 2>&5
6699 ac_status=$?
6700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6701 (exit $ac_status); }; then
6702 pkg_cv_nspr_CFLAGS=`$PKG_CONFIG --cflags "nspr >= 4" 2>/dev/null`
6703 else
6704 pkg_failed=yes
6705 fi
6706 else
6707 pkg_failed=untried
6708 fi
6709 if test -n "$nspr_LIBS"; then
6710 pkg_cv_nspr_LIBS="$nspr_LIBS"
6711 elif test -n "$PKG_CONFIG"; then
6712 if test -n "$PKG_CONFIG" && \
6713 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nspr >= 4\"") >&5
6714 ($PKG_CONFIG --exists --print-errors "nspr >= 4") 2>&5
6715 ac_status=$?
6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); }; then
6718 pkg_cv_nspr_LIBS=`$PKG_CONFIG --libs "nspr >= 4" 2>/dev/null`
6719 else
6720 pkg_failed=yes
6721 fi
6722 else
6723 pkg_failed=untried
6724 fi
6725
6726
6727
6728 if test $pkg_failed = yes; then
6729
6730 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6731 _pkg_short_errors_supported=yes
6732 else
6733 _pkg_short_errors_supported=no
6734 fi
6735 if test $_pkg_short_errors_supported = yes; then
6736 nspr_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "nspr >= 4" 2>&1`
6737 else
6738 nspr_PKG_ERRORS=`$PKG_CONFIG --print-errors "nspr >= 4" 2>&1`
6739 fi
6740 # Put the nasty error message in config.log where it belongs
6741 echo "$nspr_PKG_ERRORS" >&5
6742
6743 { echo "$as_me:$LINENO: result: no" >&5
6744 echo "${ECHO_T}no" >&6; }
6745 have_nspr=no
6746 elif test $pkg_failed = untried; then
6747 have_nspr=no
6748 else
6749 nspr_CFLAGS=$pkg_cv_nspr_CFLAGS
6750 nspr_LIBS=$pkg_cv_nspr_LIBS
6751 { echo "$as_me:$LINENO: result: yes" >&5
6752 echo "${ECHO_T}yes" >&6; }
6753 have_nspr=yes
6754 fi
6755 if test "x${have_nss}${have_nspr}" != "xyesyes"; then
6756 if test "$enable_server" == "yes"; then
6757 { { echo "$as_me:$LINENO: error: cannot find all libraries for stap-server" >&5
6758 echo "$as_me: error: cannot find all libraries for stap-server" >&2;}
6759 { (exit 1); exit 1; }; }
6760 fi
6761 if test "$enable_server" == "check"; then
6762 { echo "$as_me:$LINENO: WARNING: will not build stap-server, cannot find all libraries" >&5
6763 echo "$as_me: WARNING: will not build stap-server, cannot find all libraries" >&2;}
6764 fi
6765 fi
6766 if test "x${have_nss}${have_nspr}" == "xyesyes" -a "$enable_server" != "no"; then
6767 BUILD_SERVER_TRUE=
6768 BUILD_SERVER_FALSE='#'
6769 else
6770 BUILD_SERVER_TRUE='#'
6771 BUILD_SERVER_FALSE=
6772 fi
6773
6774
6775 build_elfutils=no
6776
6777 # Check whether --with-elfutils was given.
6778 if test "${with_elfutils+set}" = set; then
6779 withval=$with_elfutils;
6780 case "$with_elfutils" in
6781 yes) { { echo "$as_me:$LINENO: error: --with-elfutils requires an argument" >&5
6782 echo "$as_me: error: --with-elfutils requires an argument" >&2;}
6783 { (exit 1); exit 1; }; } ;;
6784 ''|no) ;;
6785 *) build_elfutils=yes ;;
6786 esac
6787 fi
6788
6789 if test $build_elfutils = yes; then
6790 BUILD_ELFUTILS_TRUE=
6791 BUILD_ELFUTILS_FALSE='#'
6792 else
6793 BUILD_ELFUTILS_TRUE='#'
6794 BUILD_ELFUTILS_FALSE=
6795 fi
6796
6797 elfutils_abs_srcdir=`if test $build_elfutils = yes; then
6798 cd $with_elfutils && pwd
6799 fi
6800 `
6801
6802
6803 if test $build_elfutils = no; then
6804 # Need libdwfl-capable recent elfutils http://elfutils.fedorahosted.org/
6805 save_LIBS="$LIBS"
6806
6807 { echo "$as_me:$LINENO: checking for dwfl_module_getsym in -ldw" >&5
6808 echo $ECHO_N "checking for dwfl_module_getsym in -ldw... $ECHO_C" >&6; }
6809 if test "${ac_cv_lib_dw_dwfl_module_getsym+set}" = set; then
6810 echo $ECHO_N "(cached) $ECHO_C" >&6
6811 else
6812 ac_check_lib_save_LIBS=$LIBS
6813 LIBS="-ldw -Wl,--start-group -ldw -lebl -Wl,--end-group -lelf $LIBS"
6814 cat >conftest.$ac_ext <<_ACEOF
6815 /* confdefs.h. */
6816 _ACEOF
6817 cat confdefs.h >>conftest.$ac_ext
6818 cat >>conftest.$ac_ext <<_ACEOF
6819 /* end confdefs.h. */
6820
6821 /* Override any GCC internal prototype to avoid an error.
6822 Use char because int might match the return type of a GCC
6823 builtin and then its argument prototype would still apply. */
6824 #ifdef __cplusplus
6825 extern "C"
6826 #endif
6827 char dwfl_module_getsym ();
6828 int
6829 main ()
6830 {
6831 return dwfl_module_getsym ();
6832 ;
6833 return 0;
6834 }
6835 _ACEOF
6836 rm -f conftest.$ac_objext conftest$ac_exeext
6837 if { (ac_try="$ac_link"
6838 case "(($ac_try" in
6839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6840 *) ac_try_echo=$ac_try;;
6841 esac
6842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6843 (eval "$ac_link") 2>conftest.er1
6844 ac_status=$?
6845 grep -v '^ *+' conftest.er1 >conftest.err
6846 rm -f conftest.er1
6847 cat conftest.err >&5
6848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6849 (exit $ac_status); } && {
6850 test -z "$ac_c_werror_flag" ||
6851 test ! -s conftest.err
6852 } && test -s conftest$ac_exeext &&
6853 $as_test_x conftest$ac_exeext; then
6854 ac_cv_lib_dw_dwfl_module_getsym=yes
6855 else
6856 echo "$as_me: failed program was:" >&5
6857 sed 's/^/| /' conftest.$ac_ext >&5
6858
6859 ac_cv_lib_dw_dwfl_module_getsym=no
6860 fi
6861
6862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6863 conftest$ac_exeext conftest.$ac_ext
6864 LIBS=$ac_check_lib_save_LIBS
6865 fi
6866 { echo "$as_me:$LINENO: result: $ac_cv_lib_dw_dwfl_module_getsym" >&5
6867 echo "${ECHO_T}$ac_cv_lib_dw_dwfl_module_getsym" >&6; }
6868 if test $ac_cv_lib_dw_dwfl_module_getsym = yes; then
6869 cat >>confdefs.h <<_ACEOF
6870 #define HAVE_LIBDW 1
6871 _ACEOF
6872
6873 LIBS="-ldw $LIBS"
6874
6875 else
6876
6877 { { echo "$as_me:$LINENO: error: missing elfutils development headers/libraries (install elfutils-devel, libebl-dev, libdw-dev and/or libebl-devel)" >&5
6878 echo "$as_me: error: missing elfutils development headers/libraries (install elfutils-devel, libebl-dev, libdw-dev and/or libebl-devel)" >&2;}
6879 { (exit 1); exit 1; }; }
6880 fi
6881
6882
6883 { echo "$as_me:$LINENO: checking for dwarf_getelf in -ldw" >&5
6884 echo $ECHO_N "checking for dwarf_getelf in -ldw... $ECHO_C" >&6; }
6885 if test "${ac_cv_lib_dw_dwarf_getelf+set}" = set; then
6886 echo $ECHO_N "(cached) $ECHO_C" >&6
6887 else
6888 ac_check_lib_save_LIBS=$LIBS
6889 LIBS="-ldw -Wl,--start-group -ldw -lebl -Wl,--end-group -lelf $LIBS"
6890 cat >conftest.$ac_ext <<_ACEOF
6891 /* confdefs.h. */
6892 _ACEOF
6893 cat confdefs.h >>conftest.$ac_ext
6894 cat >>conftest.$ac_ext <<_ACEOF
6895 /* end confdefs.h. */
6896
6897 /* Override any GCC internal prototype to avoid an error.
6898 Use char because int might match the return type of a GCC
6899 builtin and then its argument prototype would still apply. */
6900 #ifdef __cplusplus
6901 extern "C"
6902 #endif
6903 char dwarf_getelf ();
6904 int
6905 main ()
6906 {
6907 return dwarf_getelf ();
6908 ;
6909 return 0;
6910 }
6911 _ACEOF
6912 rm -f conftest.$ac_objext conftest$ac_exeext
6913 if { (ac_try="$ac_link"
6914 case "(($ac_try" in
6915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6916 *) ac_try_echo=$ac_try;;
6917 esac
6918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6919 (eval "$ac_link") 2>conftest.er1
6920 ac_status=$?
6921 grep -v '^ *+' conftest.er1 >conftest.err
6922 rm -f conftest.er1
6923 cat conftest.err >&5
6924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6925 (exit $ac_status); } && {
6926 test -z "$ac_c_werror_flag" ||
6927 test ! -s conftest.err
6928 } && test -s conftest$ac_exeext &&
6929 $as_test_x conftest$ac_exeext; then
6930 ac_cv_lib_dw_dwarf_getelf=yes
6931 else
6932 echo "$as_me: failed program was:" >&5
6933 sed 's/^/| /' conftest.$ac_ext >&5
6934
6935 ac_cv_lib_dw_dwarf_getelf=no
6936 fi
6937
6938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6939 conftest$ac_exeext conftest.$ac_ext
6940 LIBS=$ac_check_lib_save_LIBS
6941 fi
6942 { echo "$as_me:$LINENO: result: $ac_cv_lib_dw_dwarf_getelf" >&5
6943 echo "${ECHO_T}$ac_cv_lib_dw_dwarf_getelf" >&6; }
6944 if test $ac_cv_lib_dw_dwarf_getelf = yes; then
6945 cat >>confdefs.h <<_ACEOF
6946 #define HAVE_LIBDW 1
6947 _ACEOF
6948
6949 LIBS="-ldw $LIBS"
6950
6951 else
6952
6953 { { echo "$as_me:$LINENO: error: elfutils, libdw too old, need 0.126+" >&5
6954 echo "$as_me: error: elfutils, libdw too old, need 0.126+" >&2;}
6955 { (exit 1); exit 1; }; }
6956 fi
6957
6958 stap_LIBS="-Wl,--start-group -ldw -lebl -Wl,--end-group -lelf"
6959 LIBS="$save_LIBS"
6960 else
6961 # We built our own and stap_LDFLAGS points at the install.
6962 stap_LIBS="-Wl,--start-group -ldw -lebl -Wl,--end-group -lelf"
6963 fi
6964
6965
6966 { echo "$as_me:$LINENO: stap will link $stap_LIBS" >&5
6967 echo "$as_me: stap will link $stap_LIBS" >&6;}
6968
6969 date=`date +%Y-%m-%d`
6970
6971 cat >>confdefs.h <<_ACEOF
6972 #define DATE "$date"
6973 _ACEOF
6974
6975 DATE="$date"
6976
6977
6978
6979 # This procflags business is for staprun/stapio, which need to
6980 # be compiled with the same bitness as the kernel. On e.g. PPC,
6981 # userspace might be 32-bit default, but staprun needs to be
6982 # 64-bit. See also bug #4037.
6983
6984 processor=`uname -p`
6985 case "$processor" in
6986 ppc64) PROCFLAGS=-m64 ;;
6987 x86_64) PROCFLAGS=-m64 ;;
6988 *) PROCFLAGS=""
6989 esac
6990
6991
6992 # Use tr1/unordered_map if available
6993 ac_ext=cpp
6994 ac_cpp='$CXXCPP $CPPFLAGS'
6995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6998
6999
7000 ac_ext=cpp
7001 ac_cpp='$CXXCPP $CPPFLAGS'
7002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7005 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7006 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
7007 if test -z "$CXXCPP"; then
7008 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7009 echo $ECHO_N "(cached) $ECHO_C" >&6
7010 else
7011 # Double quotes because CXXCPP needs to be expanded
7012 for CXXCPP in "$CXX -E" "/lib/cpp"
7013 do
7014 ac_preproc_ok=false
7015 for ac_cxx_preproc_warn_flag in '' yes
7016 do
7017 # Use a header file that comes with gcc, so configuring glibc
7018 # with a fresh cross-compiler works.
7019 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7020 # <limits.h> exists even on freestanding compilers.
7021 # On the NeXT, cc -E runs the code through the compiler's parser,
7022 # not just through cpp. "Syntax error" is here to catch this case.
7023 cat >conftest.$ac_ext <<_ACEOF
7024 /* confdefs.h. */
7025 _ACEOF
7026 cat confdefs.h >>conftest.$ac_ext
7027 cat >>conftest.$ac_ext <<_ACEOF
7028 /* end confdefs.h. */
7029 #ifdef __STDC__
7030 # include <limits.h>
7031 #else
7032 # include <assert.h>
7033 #endif
7034 Syntax error
7035 _ACEOF
7036 if { (ac_try="$ac_cpp conftest.$ac_ext"
7037 case "(($ac_try" in
7038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7039 *) ac_try_echo=$ac_try;;
7040 esac
7041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7042 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7043 ac_status=$?
7044 grep -v '^ *+' conftest.er1 >conftest.err
7045 rm -f conftest.er1
7046 cat conftest.err >&5
7047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7048 (exit $ac_status); } >/dev/null && {
7049 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7050 test ! -s conftest.err
7051 }; then
7052 :
7053 else
7054 echo "$as_me: failed program was:" >&5
7055 sed 's/^/| /' conftest.$ac_ext >&5
7056
7057 # Broken: fails on valid input.
7058 continue
7059 fi
7060
7061 rm -f conftest.err conftest.$ac_ext
7062
7063 # OK, works on sane cases. Now check whether nonexistent headers
7064 # can be detected and how.
7065 cat >conftest.$ac_ext <<_ACEOF
7066 /* confdefs.h. */
7067 _ACEOF
7068 cat confdefs.h >>conftest.$ac_ext
7069 cat >>conftest.$ac_ext <<_ACEOF
7070 /* end confdefs.h. */
7071 #include <ac_nonexistent.h>
7072 _ACEOF
7073 if { (ac_try="$ac_cpp conftest.$ac_ext"
7074 case "(($ac_try" in
7075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7076 *) ac_try_echo=$ac_try;;
7077 esac
7078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7079 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7080 ac_status=$?
7081 grep -v '^ *+' conftest.er1 >conftest.err
7082 rm -f conftest.er1
7083 cat conftest.err >&5
7084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7085 (exit $ac_status); } >/dev/null && {
7086 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7087 test ! -s conftest.err
7088 }; then
7089 # Broken: success on invalid input.
7090 continue
7091 else
7092 echo "$as_me: failed program was:" >&5
7093 sed 's/^/| /' conftest.$ac_ext >&5
7094
7095 # Passes both tests.
7096 ac_preproc_ok=:
7097 break
7098 fi
7099
7100 rm -f conftest.err conftest.$ac_ext
7101
7102 done
7103 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7104 rm -f conftest.err conftest.$ac_ext
7105 if $ac_preproc_ok; then
7106 break
7107 fi
7108
7109 done
7110 ac_cv_prog_CXXCPP=$CXXCPP
7111
7112 fi
7113 CXXCPP=$ac_cv_prog_CXXCPP
7114 else
7115 ac_cv_prog_CXXCPP=$CXXCPP
7116 fi
7117 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
7118 echo "${ECHO_T}$CXXCPP" >&6; }
7119 ac_preproc_ok=false
7120 for ac_cxx_preproc_warn_flag in '' yes
7121 do
7122 # Use a header file that comes with gcc, so configuring glibc
7123 # with a fresh cross-compiler works.
7124 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7125 # <limits.h> exists even on freestanding compilers.
7126 # On the NeXT, cc -E runs the code through the compiler's parser,
7127 # not just through cpp. "Syntax error" is here to catch this case.
7128 cat >conftest.$ac_ext <<_ACEOF
7129 /* confdefs.h. */
7130 _ACEOF
7131 cat confdefs.h >>conftest.$ac_ext
7132 cat >>conftest.$ac_ext <<_ACEOF
7133 /* end confdefs.h. */
7134 #ifdef __STDC__
7135 # include <limits.h>
7136 #else
7137 # include <assert.h>
7138 #endif
7139 Syntax error
7140 _ACEOF
7141 if { (ac_try="$ac_cpp conftest.$ac_ext"
7142 case "(($ac_try" in
7143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7144 *) ac_try_echo=$ac_try;;
7145 esac
7146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7147 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7148 ac_status=$?
7149 grep -v '^ *+' conftest.er1 >conftest.err
7150 rm -f conftest.er1
7151 cat conftest.err >&5
7152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7153 (exit $ac_status); } >/dev/null && {
7154 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7155 test ! -s conftest.err
7156 }; then
7157 :
7158 else
7159 echo "$as_me: failed program was:" >&5
7160 sed 's/^/| /' conftest.$ac_ext >&5
7161
7162 # Broken: fails on valid input.
7163 continue
7164 fi
7165
7166 rm -f conftest.err conftest.$ac_ext
7167
7168 # OK, works on sane cases. Now check whether nonexistent headers
7169 # can be detected and how.
7170 cat >conftest.$ac_ext <<_ACEOF
7171 /* confdefs.h. */
7172 _ACEOF
7173 cat confdefs.h >>conftest.$ac_ext
7174 cat >>conftest.$ac_ext <<_ACEOF
7175 /* end confdefs.h. */
7176 #include <ac_nonexistent.h>
7177 _ACEOF
7178 if { (ac_try="$ac_cpp conftest.$ac_ext"
7179 case "(($ac_try" in
7180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7181 *) ac_try_echo=$ac_try;;
7182 esac
7183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7184 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7185 ac_status=$?
7186 grep -v '^ *+' conftest.er1 >conftest.err
7187 rm -f conftest.er1
7188 cat conftest.err >&5
7189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7190 (exit $ac_status); } >/dev/null && {
7191 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7192 test ! -s conftest.err
7193 }; then
7194 # Broken: success on invalid input.
7195 continue
7196 else
7197 echo "$as_me: failed program was:" >&5
7198 sed 's/^/| /' conftest.$ac_ext >&5
7199
7200 # Passes both tests.
7201 ac_preproc_ok=:
7202 break
7203 fi
7204
7205 rm -f conftest.err conftest.$ac_ext
7206
7207 done
7208 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7209 rm -f conftest.err conftest.$ac_ext
7210 if $ac_preproc_ok; then
7211 :
7212 else
7213 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7214 See \`config.log' for more details." >&5
7215 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7216 See \`config.log' for more details." >&2;}
7217 { (exit 1); exit 1; }; }
7218 fi
7219
7220 ac_ext=cpp
7221 ac_cpp='$CXXCPP $CPPFLAGS'
7222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7225
7226
7227
7228 for ac_header in tr1/unordered_map
7229 do
7230 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7231 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7232 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7234 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7235 echo $ECHO_N "(cached) $ECHO_C" >&6
7236 fi
7237 ac_res=`eval echo '${'$as_ac_Header'}'`
7238 { echo "$as_me:$LINENO: result: $ac_res" >&5
7239 echo "${ECHO_T}$ac_res" >&6; }
7240 else
7241 # Is the header compilable?
7242 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7243 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7244 cat >conftest.$ac_ext <<_ACEOF
7245 /* confdefs.h. */
7246 _ACEOF
7247 cat confdefs.h >>conftest.$ac_ext
7248 cat >>conftest.$ac_ext <<_ACEOF
7249 /* end confdefs.h. */
7250 $ac_includes_default
7251 #include <$ac_header>
7252 _ACEOF
7253 rm -f conftest.$ac_objext
7254 if { (ac_try="$ac_compile"
7255 case "(($ac_try" in
7256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7257 *) ac_try_echo=$ac_try;;
7258 esac
7259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7260 (eval "$ac_compile") 2>conftest.er1
7261 ac_status=$?
7262 grep -v '^ *+' conftest.er1 >conftest.err
7263 rm -f conftest.er1
7264 cat conftest.err >&5
7265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7266 (exit $ac_status); } && {
7267 test -z "$ac_cxx_werror_flag" ||
7268 test ! -s conftest.err
7269 } && test -s conftest.$ac_objext; then
7270 ac_header_compiler=yes
7271 else
7272 echo "$as_me: failed program was:" >&5
7273 sed 's/^/| /' conftest.$ac_ext >&5
7274
7275 ac_header_compiler=no
7276 fi
7277
7278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7279 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7280 echo "${ECHO_T}$ac_header_compiler" >&6; }
7281
7282 # Is the header present?
7283 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7284 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7285 cat >conftest.$ac_ext <<_ACEOF
7286 /* confdefs.h. */
7287 _ACEOF
7288 cat confdefs.h >>conftest.$ac_ext
7289 cat >>conftest.$ac_ext <<_ACEOF
7290 /* end confdefs.h. */
7291 #include <$ac_header>
7292 _ACEOF
7293 if { (ac_try="$ac_cpp conftest.$ac_ext"
7294 case "(($ac_try" in
7295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7296 *) ac_try_echo=$ac_try;;
7297 esac
7298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7299 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7300 ac_status=$?
7301 grep -v '^ *+' conftest.er1 >conftest.err
7302 rm -f conftest.er1
7303 cat conftest.err >&5
7304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7305 (exit $ac_status); } >/dev/null && {
7306 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7307 test ! -s conftest.err
7308 }; then
7309 ac_header_preproc=yes
7310 else
7311 echo "$as_me: failed program was:" >&5
7312 sed 's/^/| /' conftest.$ac_ext >&5
7313
7314 ac_header_preproc=no
7315 fi
7316
7317 rm -f conftest.err conftest.$ac_ext
7318 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7319 echo "${ECHO_T}$ac_header_preproc" >&6; }
7320
7321 # So? What about this header?
7322 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7323 yes:no: )
7324 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7325 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7326 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7327 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7328 ac_header_preproc=yes
7329 ;;
7330 no:yes:* )
7331 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7332 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7333 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7334 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7335 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7336 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7337 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7338 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7339 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7340 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7341 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7342 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7343 ( cat <<\_ASBOX
7344 ## ------------------------------------------- ##
7345 ## Report this to systemtap@sources.redhat.com ##
7346 ## ------------------------------------------- ##
7347 _ASBOX
7348 ) | sed "s/^/$as_me: WARNING: /" >&2
7349 ;;
7350 esac
7351 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7353 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7354 echo $ECHO_N "(cached) $ECHO_C" >&6
7355 else
7356 eval "$as_ac_Header=\$ac_header_preproc"
7357 fi
7358 ac_res=`eval echo '${'$as_ac_Header'}'`
7359 { echo "$as_me:$LINENO: result: $ac_res" >&5
7360 echo "${ECHO_T}$ac_res" >&6; }
7361
7362 fi
7363 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7364 cat >>confdefs.h <<_ACEOF
7365 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7366 _ACEOF
7367
7368 fi
7369
7370 done
7371
7372 ac_ext=c
7373 ac_cpp='$CPP $CPPFLAGS'
7374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7377
7378
7379
7380 if test $build_elfutils = yes; then
7381 case "$with_elfutils" in
7382 /*) elfutils_srcdir="$with_elfutils" ;;
7383 *) elfutils_srcdir="../$with_elfutils" ;;
7384 esac
7385 { echo "$as_me:$LINENO: running ${elfutils_srcdir}/configure" >&5
7386 echo "$as_me: running ${elfutils_srcdir}/configure" >&6;}
7387 # Our libdw.so's libebl will look in $ORIGIN/../lib/... but that
7388 # $ORIGIN is where libdw.so resides, which is not where there is a ../lib.
7389 # Note that $libdir might be using a quoted use of $exec_prefix or $prefix.
7390 # So we must make sure to pass those settings to elfutils configure.
7391 elfutils_rpath="-Wl,--enable-new-dtags,-rpath,${libdir}/${PACKAGE_NAME}"
7392 here=`pwd`
7393 (mkdir -p build-elfutils && cd build-elfutils &&
7394 ${elfutils_srcdir}/configure --enable-libebl-subdir=${PACKAGE_NAME} \
7395 --includedir="${here}/include-elfutils" \
7396 --libdir="${here}/lib-elfutils" \
7397 --exec-prefix="$exec_prefix" \
7398 --prefix="$prefix" \
7399 CFLAGS="${CFLAGS/-Wall/}" \
7400 LDFLAGS="$LDFLAGS $elfutils_rpath" &&
7401 make install-data # so that elfutils/version.h - if any - may be found.
7402 )
7403 fi
7404
7405 save_CPPFLAGS=${CPPFLAGS}
7406 CPPFLAGS="${CPPFLAGS} -Iinclude-elfutils" # in case bundled elfutils
7407
7408 for ac_header in elfutils/version.h
7409 do
7410 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7411 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7412 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7414 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7415 echo $ECHO_N "(cached) $ECHO_C" >&6
7416 fi
7417 ac_res=`eval echo '${'$as_ac_Header'}'`
7418 { echo "$as_me:$LINENO: result: $ac_res" >&5
7419 echo "${ECHO_T}$ac_res" >&6; }
7420 else
7421 # Is the header compilable?
7422 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7423 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7424 cat >conftest.$ac_ext <<_ACEOF
7425 /* confdefs.h. */
7426 _ACEOF
7427 cat confdefs.h >>conftest.$ac_ext
7428 cat >>conftest.$ac_ext <<_ACEOF
7429 /* end confdefs.h. */
7430 $ac_includes_default
7431 #include <$ac_header>
7432 _ACEOF
7433 rm -f conftest.$ac_objext
7434 if { (ac_try="$ac_compile"
7435 case "(($ac_try" in
7436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7437 *) ac_try_echo=$ac_try;;
7438 esac
7439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7440 (eval "$ac_compile") 2>conftest.er1
7441 ac_status=$?
7442 grep -v '^ *+' conftest.er1 >conftest.err
7443 rm -f conftest.er1
7444 cat conftest.err >&5
7445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 (exit $ac_status); } && {
7447 test -z "$ac_c_werror_flag" ||
7448 test ! -s conftest.err
7449 } && test -s conftest.$ac_objext; then
7450 ac_header_compiler=yes
7451 else
7452 echo "$as_me: failed program was:" >&5
7453 sed 's/^/| /' conftest.$ac_ext >&5
7454
7455 ac_header_compiler=no
7456 fi
7457
7458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7459 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7460 echo "${ECHO_T}$ac_header_compiler" >&6; }
7461
7462 # Is the header present?
7463 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7464 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7465 cat >conftest.$ac_ext <<_ACEOF
7466 /* confdefs.h. */
7467 _ACEOF
7468 cat confdefs.h >>conftest.$ac_ext
7469 cat >>conftest.$ac_ext <<_ACEOF
7470 /* end confdefs.h. */
7471 #include <$ac_header>
7472 _ACEOF
7473 if { (ac_try="$ac_cpp conftest.$ac_ext"
7474 case "(($ac_try" in
7475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7476 *) ac_try_echo=$ac_try;;
7477 esac
7478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7479 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7480 ac_status=$?
7481 grep -v '^ *+' conftest.er1 >conftest.err
7482 rm -f conftest.er1
7483 cat conftest.err >&5
7484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7485 (exit $ac_status); } >/dev/null && {
7486 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7487 test ! -s conftest.err
7488 }; then
7489 ac_header_preproc=yes
7490 else
7491 echo "$as_me: failed program was:" >&5
7492 sed 's/^/| /' conftest.$ac_ext >&5
7493
7494 ac_header_preproc=no
7495 fi
7496
7497 rm -f conftest.err conftest.$ac_ext
7498 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7499 echo "${ECHO_T}$ac_header_preproc" >&6; }
7500
7501 # So? What about this header?
7502 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7503 yes:no: )
7504 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7505 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7507 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7508 ac_header_preproc=yes
7509 ;;
7510 no:yes:* )
7511 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7512 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7513 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7514 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7515 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7516 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7517 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7518 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7519 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7520 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7521 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7522 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7523 ( cat <<\_ASBOX
7524 ## ------------------------------------------- ##
7525 ## Report this to systemtap@sources.redhat.com ##
7526 ## ------------------------------------------- ##
7527 _ASBOX
7528 ) | sed "s/^/$as_me: WARNING: /" >&2
7529 ;;
7530 esac
7531 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7532 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7533 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7534 echo $ECHO_N "(cached) $ECHO_C" >&6
7535 else
7536 eval "$as_ac_Header=\$ac_header_preproc"
7537 fi
7538 ac_res=`eval echo '${'$as_ac_Header'}'`
7539 { echo "$as_me:$LINENO: result: $ac_res" >&5
7540 echo "${ECHO_T}$ac_res" >&6; }
7541
7542 fi
7543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7544 cat >>confdefs.h <<_ACEOF
7545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7546 _ACEOF
7547
7548 fi
7549
7550 done
7551
7552 CPPFLAGS="$save_CPPFLAGS"
7553
7554 ac_config_headers="$ac_config_headers config.h:config.in"
7555
7556 ac_config_files="$ac_config_files Makefile doc/Makefile doc/SystemTap_Tapset_Reference/Makefile stap.1 stapprobes.5 stapfuncs.5 stapvars.5 stapex.5 staprun.8 stap-server.8 man/stapprobes.iosched.5 man/stapprobes.netdev.5 man/stapprobes.nfs.5 man/stapprobes.nfsd.5 man/stapprobes.pagefault.5 man/stapprobes.process.5 man/stapprobes.rpc.5 man/stapprobes.scsi.5 man/stapprobes.signal.5 man/stapprobes.socket.5 man/stapprobes.tcp.5 man/stapprobes.udp.5"
7557
7558 subdirs="$subdirs testsuite"
7559
7560 ac_config_files="$ac_config_files run-stap"
7561
7562 cat >confcache <<\_ACEOF
7563 # This file is a shell script that caches the results of configure
7564 # tests run on this system so they can be shared between configure
7565 # scripts and configure runs, see configure's option --config-cache.
7566 # It is not useful on other systems. If it contains results you don't
7567 # want to keep, you may remove or edit it.
7568 #
7569 # config.status only pays attention to the cache file if you give it
7570 # the --recheck option to rerun configure.
7571 #
7572 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7573 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7574 # following values.
7575
7576 _ACEOF
7577
7578 # The following way of writing the cache mishandles newlines in values,
7579 # but we know of no workaround that is simple, portable, and efficient.
7580 # So, we kill variables containing newlines.
7581 # Ultrix sh set writes to stderr and can't be redirected directly,
7582 # and sets the high bit in the cache file unless we assign to the vars.
7583 (
7584 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7585 eval ac_val=\$$ac_var
7586 case $ac_val in #(
7587 *${as_nl}*)
7588 case $ac_var in #(
7589 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
7590 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
7591 esac
7592 case $ac_var in #(
7593 _ | IFS | as_nl) ;; #(
7594 *) $as_unset $ac_var ;;
7595 esac ;;
7596 esac
7597 done
7598
7599 (set) 2>&1 |
7600 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7601 *${as_nl}ac_space=\ *)
7602 # `set' does not quote correctly, so add quotes (double-quote
7603 # substitution turns \\\\ into \\, and sed turns \\ into \).
7604 sed -n \
7605 "s/'/'\\\\''/g;
7606 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7607 ;; #(
7608 *)
7609 # `set' quotes correctly as required by POSIX, so do not add quotes.
7610 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7611 ;;
7612 esac |
7613 sort
7614 ) |
7615 sed '
7616 /^ac_cv_env_/b end
7617 t clear
7618 :clear
7619 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7620 t end
7621 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7622 :end' >>confcache
7623 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7624 if test -w "$cache_file"; then
7625 test "x$cache_file" != "x/dev/null" &&
7626 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
7627 echo "$as_me: updating cache $cache_file" >&6;}
7628 cat confcache >$cache_file
7629 else
7630 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
7631 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7632 fi
7633 fi
7634 rm -f confcache
7635
7636 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7637 # Let make expand exec_prefix.
7638 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7639
7640 DEFS=-DHAVE_CONFIG_H
7641
7642 ac_libobjs=
7643 ac_ltlibobjs=
7644 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7645 # 1. Remove the extension, and $U if already installed.
7646 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7647 ac_i=`echo "$ac_i" | sed "$ac_script"`
7648 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7649 # will be set to the directory where LIBOBJS objects are built.
7650 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7651 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
7652 done
7653 LIBOBJS=$ac_libobjs
7654
7655 LTLIBOBJS=$ac_ltlibobjs
7656
7657
7658 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7659 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
7660 Usually this means the macro was only invoked conditionally." >&5
7661 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
7662 Usually this means the macro was only invoked conditionally." >&2;}
7663 { (exit 1); exit 1; }; }
7664 fi
7665 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7666 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7667 Usually this means the macro was only invoked conditionally." >&5
7668 echo "$as_me: error: conditional \"AMDEP\" was never defined.
7669 Usually this means the macro was only invoked conditionally." >&2;}
7670 { (exit 1); exit 1; }; }
7671 fi
7672 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7673 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7674 Usually this means the macro was only invoked conditionally." >&5
7675 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7676 Usually this means the macro was only invoked conditionally." >&2;}
7677 { (exit 1); exit 1; }; }
7678 fi
7679 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7680 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
7681 Usually this means the macro was only invoked conditionally." >&5
7682 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
7683 Usually this means the macro was only invoked conditionally." >&2;}
7684 { (exit 1); exit 1; }; }
7685 fi
7686 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7687 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7688 Usually this means the macro was only invoked conditionally." >&5
7689 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7690 Usually this means the macro was only invoked conditionally." >&2;}
7691 { (exit 1); exit 1; }; }
7692 fi
7693 if test -z "${BUILD_CRASHMOD_TRUE}" && test -z "${BUILD_CRASHMOD_FALSE}"; then
7694 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CRASHMOD\" was never defined.
7695 Usually this means the macro was only invoked conditionally." >&5
7696 echo "$as_me: error: conditional \"BUILD_CRASHMOD\" was never defined.
7697 Usually this means the macro was only invoked conditionally." >&2;}
7698 { (exit 1); exit 1; }; }
7699 fi
7700 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
7701 { { echo "$as_me:$LINENO: error: conditional \"BUILD_DOCS\" was never defined.
7702 Usually this means the macro was only invoked conditionally." >&5
7703 echo "$as_me: error: conditional \"BUILD_DOCS\" was never defined.
7704 Usually this means the macro was only invoked conditionally." >&2;}
7705 { (exit 1); exit 1; }; }
7706 fi
7707 if test -z "${BUILD_REFDOCS_TRUE}" && test -z "${BUILD_REFDOCS_FALSE}"; then
7708 { { echo "$as_me:$LINENO: error: conditional \"BUILD_REFDOCS\" was never defined.
7709 Usually this means the macro was only invoked conditionally." >&5
7710 echo "$as_me: error: conditional \"BUILD_REFDOCS\" was never defined.
7711 Usually this means the macro was only invoked conditionally." >&2;}
7712 { (exit 1); exit 1; }; }
7713 fi
7714 if test -z "${BUILD_SERVER_TRUE}" && test -z "${BUILD_SERVER_FALSE}"; then
7715 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SERVER\" was never defined.
7716 Usually this means the macro was only invoked conditionally." >&5
7717 echo "$as_me: error: conditional \"BUILD_SERVER\" was never defined.
7718 Usually this means the macro was only invoked conditionally." >&2;}
7719 { (exit 1); exit 1; }; }
7720 fi
7721 if test -z "${BUILD_ELFUTILS_TRUE}" && test -z "${BUILD_ELFUTILS_FALSE}"; then
7722 { { echo "$as_me:$LINENO: error: conditional \"BUILD_ELFUTILS\" was never defined.
7723 Usually this means the macro was only invoked conditionally." >&5
7724 echo "$as_me: error: conditional \"BUILD_ELFUTILS\" was never defined.
7725 Usually this means the macro was only invoked conditionally." >&2;}
7726 { (exit 1); exit 1; }; }
7727 fi
7728
7729 : ${CONFIG_STATUS=./config.status}
7730 ac_clean_files_save=$ac_clean_files
7731 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7732 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7733 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7734 cat >$CONFIG_STATUS <<_ACEOF
7735 #! $SHELL
7736 # Generated by $as_me.
7737 # Run this file to recreate the current configuration.
7738 # Compiler output produced by configure, useful for debugging
7739 # configure, is in config.log if it exists.
7740
7741 debug=false
7742 ac_cs_recheck=false
7743 ac_cs_silent=false
7744 SHELL=\${CONFIG_SHELL-$SHELL}
7745 _ACEOF
7746
7747 cat >>$CONFIG_STATUS <<\_ACEOF
7748 ## --------------------- ##
7749 ## M4sh Initialization. ##
7750 ## --------------------- ##
7751
7752 # Be more Bourne compatible
7753 DUALCASE=1; export DUALCASE # for MKS sh
7754 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7755 emulate sh
7756 NULLCMD=:
7757 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7758 # is contrary to our usage. Disable this feature.
7759 alias -g '${1+"$@"}'='"$@"'
7760 setopt NO_GLOB_SUBST
7761 else
7762 case `(set -o) 2>/dev/null` in
7763 *posix*) set -o posix ;;
7764 esac
7765
7766 fi
7767
7768
7769
7770
7771 # PATH needs CR
7772 # Avoid depending upon Character Ranges.
7773 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7774 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7775 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7776 as_cr_digits='0123456789'
7777 as_cr_alnum=$as_cr_Letters$as_cr_digits
7778
7779 # The user is always right.
7780 if test "${PATH_SEPARATOR+set}" != set; then
7781 echo "#! /bin/sh" >conf$$.sh
7782 echo "exit 0" >>conf$$.sh
7783 chmod +x conf$$.sh
7784 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7785 PATH_SEPARATOR=';'
7786 else
7787 PATH_SEPARATOR=:
7788 fi
7789 rm -f conf$$.sh
7790 fi
7791
7792 # Support unset when possible.
7793 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7794 as_unset=unset
7795 else
7796 as_unset=false
7797 fi
7798
7799
7800 # IFS
7801 # We need space, tab and new line, in precisely that order. Quoting is
7802 # there to prevent editors from complaining about space-tab.
7803 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7804 # splitting by setting IFS to empty value.)
7805 as_nl='
7806 '
7807 IFS=" "" $as_nl"
7808
7809 # Find who we are. Look in the path if we contain no directory separator.
7810 case $0 in
7811 *[\\/]* ) as_myself=$0 ;;
7812 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7813 for as_dir in $PATH
7814 do
7815 IFS=$as_save_IFS
7816 test -z "$as_dir" && as_dir=.
7817 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7818 done
7819 IFS=$as_save_IFS
7820
7821 ;;
7822 esac
7823 # We did not find ourselves, most probably we were run as `sh COMMAND'
7824 # in which case we are not to be found in the path.
7825 if test "x$as_myself" = x; then
7826 as_myself=$0
7827 fi
7828 if test ! -f "$as_myself"; then
7829 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7830 { (exit 1); exit 1; }
7831 fi
7832
7833 # Work around bugs in pre-3.0 UWIN ksh.
7834 for as_var in ENV MAIL MAILPATH
7835 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7836 done
7837 PS1='$ '
7838 PS2='> '
7839 PS4='+ '
7840
7841 # NLS nuisances.
7842 for as_var in \
7843 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7844 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7845 LC_TELEPHONE LC_TIME
7846 do
7847 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7848 eval $as_var=C; export $as_var
7849 else
7850 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7851 fi
7852 done
7853
7854 # Required to use basename.
7855 if expr a : '\(a\)' >/dev/null 2>&1 &&
7856 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7857 as_expr=expr
7858 else
7859 as_expr=false
7860 fi
7861
7862 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7863 as_basename=basename
7864 else
7865 as_basename=false
7866 fi
7867
7868
7869 # Name of the executable.
7870 as_me=`$as_basename -- "$0" ||
7871 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7872 X"$0" : 'X\(//\)$' \| \
7873 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7874 echo X/"$0" |
7875 sed '/^.*\/\([^/][^/]*\)\/*$/{
7876 s//\1/
7877 q
7878 }
7879 /^X\/\(\/\/\)$/{
7880 s//\1/
7881 q
7882 }
7883 /^X\/\(\/\).*/{
7884 s//\1/
7885 q
7886 }
7887 s/.*/./; q'`
7888
7889 # CDPATH.
7890 $as_unset CDPATH
7891
7892
7893
7894 as_lineno_1=$LINENO
7895 as_lineno_2=$LINENO
7896 test "x$as_lineno_1" != "x$as_lineno_2" &&
7897 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
7898
7899 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7900 # uniformly replaced by the line number. The first 'sed' inserts a
7901 # line-number line after each line using $LINENO; the second 'sed'
7902 # does the real work. The second script uses 'N' to pair each
7903 # line-number line with the line containing $LINENO, and appends
7904 # trailing '-' during substitution so that $LINENO is not a special
7905 # case at line end.
7906 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7907 # scripts with optimization help from Paolo Bonzini. Blame Lee
7908 # E. McMahon (1931-1989) for sed's syntax. :-)
7909 sed -n '
7910 p
7911 /[$]LINENO/=
7912 ' <$as_myself |
7913 sed '
7914 s/[$]LINENO.*/&-/
7915 t lineno
7916 b
7917 :lineno
7918 N
7919 :loop
7920 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7921 t loop
7922 s/-\n.*//
7923 ' >$as_me.lineno &&
7924 chmod +x "$as_me.lineno" ||
7925 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7926 { (exit 1); exit 1; }; }
7927
7928 # Don't try to exec as it changes $[0], causing all sort of problems
7929 # (the dirname of $[0] is not the place where we might find the
7930 # original and so on. Autoconf is especially sensitive to this).
7931 . "./$as_me.lineno"
7932 # Exit status is that of the last command.
7933 exit
7934 }
7935
7936
7937 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7938 as_dirname=dirname
7939 else
7940 as_dirname=false
7941 fi
7942
7943 ECHO_C= ECHO_N= ECHO_T=
7944 case `echo -n x` in
7945 -n*)
7946 case `echo 'x\c'` in
7947 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7948 *) ECHO_C='\c';;
7949 esac;;
7950 *)
7951 ECHO_N='-n';;
7952 esac
7953
7954 if expr a : '\(a\)' >/dev/null 2>&1 &&
7955 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7956 as_expr=expr
7957 else
7958 as_expr=false
7959 fi
7960
7961 rm -f conf$$ conf$$.exe conf$$.file
7962 if test -d conf$$.dir; then
7963 rm -f conf$$.dir/conf$$.file
7964 else
7965 rm -f conf$$.dir
7966 mkdir conf$$.dir
7967 fi
7968 echo >conf$$.file
7969 if ln -s conf$$.file conf$$ 2>/dev/null; then
7970 as_ln_s='ln -s'
7971 # ... but there are two gotchas:
7972 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7973 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7974 # In both cases, we have to default to `cp -p'.
7975 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7976 as_ln_s='cp -p'
7977 elif ln conf$$.file conf$$ 2>/dev/null; then
7978 as_ln_s=ln
7979 else
7980 as_ln_s='cp -p'
7981 fi
7982 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7983 rmdir conf$$.dir 2>/dev/null
7984
7985 if mkdir -p . 2>/dev/null; then
7986 as_mkdir_p=:
7987 else
7988 test -d ./-p && rmdir ./-p
7989 as_mkdir_p=false
7990 fi
7991
7992 if test -x / >/dev/null 2>&1; then
7993 as_test_x='test -x'
7994 else
7995 if ls -dL / >/dev/null 2>&1; then
7996 as_ls_L_option=L
7997 else
7998 as_ls_L_option=
7999 fi
8000 as_test_x='
8001 eval sh -c '\''
8002 if test -d "$1"; then
8003 test -d "$1/.";
8004 else
8005 case $1 in
8006 -*)set "./$1";;
8007 esac;
8008 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8009 ???[sx]*):;;*)false;;esac;fi
8010 '\'' sh
8011 '
8012 fi
8013 as_executable_p=$as_test_x
8014
8015 # Sed expression to map a string onto a valid CPP name.
8016 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8017
8018 # Sed expression to map a string onto a valid variable name.
8019 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8020
8021
8022 exec 6>&1
8023
8024 # Save the log message, to keep $[0] and so on meaningful, and to
8025 # report actual input values of CONFIG_FILES etc. instead of their
8026 # values after options handling.
8027 ac_log="
8028 This file was extended by systemtap $as_me 0.8, which was
8029 generated by GNU Autoconf 2.61. Invocation command line was
8030
8031 CONFIG_FILES = $CONFIG_FILES
8032 CONFIG_HEADERS = $CONFIG_HEADERS
8033 CONFIG_LINKS = $CONFIG_LINKS
8034 CONFIG_COMMANDS = $CONFIG_COMMANDS
8035 $ $0 $@
8036
8037 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8038 "
8039
8040 _ACEOF
8041
8042 cat >>$CONFIG_STATUS <<_ACEOF
8043 # Files that config.status was made for.
8044 config_files="$ac_config_files"
8045 config_headers="$ac_config_headers"
8046 config_commands="$ac_config_commands"
8047
8048 _ACEOF
8049
8050 cat >>$CONFIG_STATUS <<\_ACEOF
8051 ac_cs_usage="\
8052 \`$as_me' instantiates files from templates according to the
8053 current configuration.
8054
8055 Usage: $0 [OPTIONS] [FILE]...
8056
8057 -h, --help print this help, then exit
8058 -V, --version print version number and configuration settings, then exit
8059 -q, --quiet do not print progress messages
8060 -d, --debug don't remove temporary files
8061 --recheck update $as_me by reconfiguring in the same conditions
8062 --file=FILE[:TEMPLATE]
8063 instantiate the configuration file FILE
8064 --header=FILE[:TEMPLATE]
8065 instantiate the configuration header FILE
8066
8067 Configuration files:
8068 $config_files
8069
8070 Configuration headers:
8071 $config_headers
8072
8073 Configuration commands:
8074 $config_commands
8075
8076 Report bugs to <bug-autoconf@gnu.org>."
8077
8078 _ACEOF
8079 cat >>$CONFIG_STATUS <<_ACEOF
8080 ac_cs_version="\\
8081 systemtap config.status 0.8
8082 configured by $0, generated by GNU Autoconf 2.61,
8083 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8084
8085 Copyright (C) 2006 Free Software Foundation, Inc.
8086 This config.status script is free software; the Free Software Foundation
8087 gives unlimited permission to copy, distribute and modify it."
8088
8089 ac_pwd='$ac_pwd'
8090 srcdir='$srcdir'
8091 INSTALL='$INSTALL'
8092 MKDIR_P='$MKDIR_P'
8093 _ACEOF
8094
8095 cat >>$CONFIG_STATUS <<\_ACEOF
8096 # If no file are specified by the user, then we need to provide default
8097 # value. By we need to know if files were specified by the user.
8098 ac_need_defaults=:
8099 while test $# != 0
8100 do
8101 case $1 in
8102 --*=*)
8103 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8104 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8105 ac_shift=:
8106 ;;
8107 *)
8108 ac_option=$1
8109 ac_optarg=$2
8110 ac_shift=shift
8111 ;;
8112 esac
8113
8114 case $ac_option in
8115 # Handling of the options.
8116 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8117 ac_cs_recheck=: ;;
8118 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8119 echo "$ac_cs_version"; exit ;;
8120 --debug | --debu | --deb | --de | --d | -d )
8121 debug=: ;;
8122 --file | --fil | --fi | --f )
8123 $ac_shift
8124 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8125 ac_need_defaults=false;;
8126 --header | --heade | --head | --hea )
8127 $ac_shift
8128 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8129 ac_need_defaults=false;;
8130 --he | --h)
8131 # Conflict between --help and --header
8132 { echo "$as_me: error: ambiguous option: $1
8133 Try \`$0 --help' for more information." >&2
8134 { (exit 1); exit 1; }; };;
8135 --help | --hel | -h )
8136 echo "$ac_cs_usage"; exit ;;
8137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8138 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8139 ac_cs_silent=: ;;
8140
8141 # This is an error.
8142 -*) { echo "$as_me: error: unrecognized option: $1
8143 Try \`$0 --help' for more information." >&2
8144 { (exit 1); exit 1; }; } ;;
8145
8146 *) ac_config_targets="$ac_config_targets $1"
8147 ac_need_defaults=false ;;
8148
8149 esac
8150 shift
8151 done
8152
8153 ac_configure_extra_args=
8154
8155 if $ac_cs_silent; then
8156 exec 6>/dev/null
8157 ac_configure_extra_args="$ac_configure_extra_args --silent"
8158 fi
8159
8160 _ACEOF
8161 cat >>$CONFIG_STATUS <<_ACEOF
8162 if \$ac_cs_recheck; then
8163 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8164 CONFIG_SHELL=$SHELL
8165 export CONFIG_SHELL
8166 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8167 fi
8168
8169 _ACEOF
8170 cat >>$CONFIG_STATUS <<\_ACEOF
8171 exec 5>>config.log
8172 {
8173 echo
8174 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8175 ## Running $as_me. ##
8176 _ASBOX
8177 echo "$ac_log"
8178 } >&5
8179
8180 _ACEOF
8181 cat >>$CONFIG_STATUS <<_ACEOF
8182 #
8183 # INIT-COMMANDS
8184 #
8185 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8186
8187 _ACEOF
8188
8189 cat >>$CONFIG_STATUS <<\_ACEOF
8190
8191 # Handling of arguments.
8192 for ac_config_target in $ac_config_targets
8193 do
8194 case $ac_config_target in
8195 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8196 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
8197 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8198 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
8199 "doc/SystemTap_Tapset_Reference/Makefile") CONFIG_FILES="$CONFIG_FILES doc/SystemTap_Tapset_Reference/Makefile" ;;
8200 "stap.1") CONFIG_FILES="$CONFIG_FILES stap.1" ;;
8201 "stapprobes.5") CONFIG_FILES="$CONFIG_FILES stapprobes.5" ;;
8202 "stapfuncs.5") CONFIG_FILES="$CONFIG_FILES stapfuncs.5" ;;
8203 "stapvars.5") CONFIG_FILES="$CONFIG_FILES stapvars.5" ;;
8204 "stapex.5") CONFIG_FILES="$CONFIG_FILES stapex.5" ;;
8205 "staprun.8") CONFIG_FILES="$CONFIG_FILES staprun.8" ;;
8206 "stap-server.8") CONFIG_FILES="$CONFIG_FILES stap-server.8" ;;
8207 "man/stapprobes.iosched.5") CONFIG_FILES="$CONFIG_FILES man/stapprobes.iosched.5" ;;
8208 "man/stapprobes.netdev.5") CONFIG_FILES="$CONFIG_FILES man/stapprobes.netdev.5" ;;
8209 "man/stapprobes.nfs.5") CONFIG_FILES="$CONFIG_FILES man/stapprobes.nfs.5" ;;
8210 "man/stapprobes.nfsd.5") CONFIG_FILES="$CONFIG_FILES man/stapprobes.nfsd.5" ;;
8211 "man/stapprobes.pagefault.5") CONFIG_FILES="$CONFIG_FILES man/stapprobes.pagefault.5" ;;
8212 "man/stapprobes.process.5") CONFIG_FILES="$CONFIG_FILES man/stapprobes.process.5" ;;
8213 "man/stapprobes.rpc.5") CONFIG_FILES="$CONFIG_FILES man/stapprobes.rpc.5" ;;
8214 "man/stapprobes.scsi.5") CONFIG_FILES="$CONFIG_FILES man/stapprobes.scsi.5" ;;
8215 "man/stapprobes.signal.5") CONFIG_FILES="$CONFIG_FILES man/stapprobes.signal.5" ;;
8216 "man/stapprobes.socket.5") CONFIG_FILES="$CONFIG_FILES man/stapprobes.socket.5" ;;
8217 "man/stapprobes.tcp.5") CONFIG_FILES="$CONFIG_FILES man/stapprobes.tcp.5" ;;
8218 "man/stapprobes.udp.5") CONFIG_FILES="$CONFIG_FILES man/stapprobes.udp.5" ;;
8219 "run-stap") CONFIG_FILES="$CONFIG_FILES run-stap" ;;
8220
8221 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8222 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8223 { (exit 1); exit 1; }; };;
8224 esac
8225 done
8226
8227
8228 # If the user did not use the arguments to specify the items to instantiate,
8229 # then the envvar interface is used. Set only those that are not.
8230 # We use the long form for the default assignment because of an extremely
8231 # bizarre bug on SunOS 4.1.3.
8232 if $ac_need_defaults; then
8233 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8234 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8235 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8236 fi
8237
8238 # Have a temporary directory for convenience. Make it in the build tree
8239 # simply because there is no reason against having it here, and in addition,
8240 # creating and moving files from /tmp can sometimes cause problems.
8241 # Hook for its removal unless debugging.
8242 # Note that there is a small window in which the directory will not be cleaned:
8243 # after its creation but before its name has been assigned to `$tmp'.
8244 $debug ||
8245 {
8246 tmp=
8247 trap 'exit_status=$?
8248 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8249 ' 0
8250 trap '{ (exit 1); exit 1; }' 1 2 13 15
8251 }
8252 # Create a (secure) tmp directory for tmp files.
8253
8254 {
8255 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8256 test -n "$tmp" && test -d "$tmp"
8257 } ||
8258 {
8259 tmp=./conf$$-$RANDOM
8260 (umask 077 && mkdir "$tmp")
8261 } ||
8262 {
8263 echo "$me: cannot create a temporary directory in ." >&2
8264 { (exit 1); exit 1; }
8265 }
8266
8267 #
8268 # Set up the sed scripts for CONFIG_FILES section.
8269 #
8270
8271 # No need to generate the scripts if there are no CONFIG_FILES.
8272 # This happens for instance when ./config.status config.h
8273 if test -n "$CONFIG_FILES"; then
8274
8275 _ACEOF
8276
8277
8278
8279 ac_delim='%!_!# '
8280 for ac_last_try in false false false false false :; do
8281 cat >conf$$subs.sed <<_ACEOF
8282 SHELL!$SHELL$ac_delim
8283 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
8284 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
8285 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
8286 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
8287 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
8288 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
8289 exec_prefix!$exec_prefix$ac_delim
8290 prefix!$prefix$ac_delim
8291 program_transform_name!$program_transform_name$ac_delim
8292 bindir!$bindir$ac_delim
8293 sbindir!$sbindir$ac_delim
8294 libexecdir!$libexecdir$ac_delim
8295 datarootdir!$datarootdir$ac_delim
8296 datadir!$datadir$ac_delim
8297 sysconfdir!$sysconfdir$ac_delim
8298 sharedstatedir!$sharedstatedir$ac_delim
8299 localstatedir!$localstatedir$ac_delim
8300 includedir!$includedir$ac_delim
8301 oldincludedir!$oldincludedir$ac_delim
8302 docdir!$docdir$ac_delim
8303 infodir!$infodir$ac_delim
8304 htmldir!$htmldir$ac_delim
8305 dvidir!$dvidir$ac_delim
8306 pdfdir!$pdfdir$ac_delim
8307 psdir!$psdir$ac_delim
8308 libdir!$libdir$ac_delim
8309 localedir!$localedir$ac_delim
8310 mandir!$mandir$ac_delim
8311 DEFS!$DEFS$ac_delim
8312 ECHO_C!$ECHO_C$ac_delim
8313 ECHO_N!$ECHO_N$ac_delim
8314 ECHO_T!$ECHO_T$ac_delim
8315 LIBS!$LIBS$ac_delim
8316 build_alias!$build_alias$ac_delim
8317 host_alias!$host_alias$ac_delim
8318 target_alias!$target_alias$ac_delim
8319 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
8320 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
8321 INSTALL_DATA!$INSTALL_DATA$ac_delim
8322 am__isrc!$am__isrc$ac_delim
8323 CYGPATH_W!$CYGPATH_W$ac_delim
8324 PACKAGE!$PACKAGE$ac_delim
8325 VERSION!$VERSION$ac_delim
8326 ACLOCAL!$ACLOCAL$ac_delim
8327 AUTOCONF!$AUTOCONF$ac_delim
8328 AUTOMAKE!$AUTOMAKE$ac_delim
8329 AUTOHEADER!$AUTOHEADER$ac_delim
8330 MAKEINFO!$MAKEINFO$ac_delim
8331 install_sh!$install_sh$ac_delim
8332 STRIP!$STRIP$ac_delim
8333 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
8334 mkdir_p!$mkdir_p$ac_delim
8335 AWK!$AWK$ac_delim
8336 SET_MAKE!$SET_MAKE$ac_delim
8337 am__leading_dot!$am__leading_dot$ac_delim
8338 AMTAR!$AMTAR$ac_delim
8339 am__tar!$am__tar$ac_delim
8340 am__untar!$am__untar$ac_delim
8341 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
8342 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
8343 MAINT!$MAINT$ac_delim
8344 LN_S!$LN_S$ac_delim
8345 CC!$CC$ac_delim
8346 CFLAGS!$CFLAGS$ac_delim
8347 LDFLAGS!$LDFLAGS$ac_delim
8348 CPPFLAGS!$CPPFLAGS$ac_delim
8349 ac_ct_CC!$ac_ct_CC$ac_delim
8350 EXEEXT!$EXEEXT$ac_delim
8351 OBJEXT!$OBJEXT$ac_delim
8352 DEPDIR!$DEPDIR$ac_delim
8353 am__include!$am__include$ac_delim
8354 am__quote!$am__quote$ac_delim
8355 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
8356 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
8357 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
8358 CCDEPMODE!$CCDEPMODE$ac_delim
8359 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
8360 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
8361 CXX!$CXX$ac_delim
8362 CXXFLAGS!$CXXFLAGS$ac_delim
8363 ac_ct_CXX!$ac_ct_CXX$ac_delim
8364 CXXDEPMODE!$CXXDEPMODE$ac_delim
8365 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
8366 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
8367 CPP!$CPP$ac_delim
8368 GREP!$GREP$ac_delim
8369 EGREP!$EGREP$ac_delim
8370 U!$U$ac_delim
8371 ANSI2KNR!$ANSI2KNR$ac_delim
8372 RANLIB!$RANLIB$ac_delim
8373 PIELDFLAGS!$PIELDFLAGS$ac_delim
8374 sqlite3_LIBS!$sqlite3_LIBS$ac_delim
8375 staplog_CPPFLAGS!$staplog_CPPFLAGS$ac_delim
8376 BUILD_CRASHMOD_TRUE!$BUILD_CRASHMOD_TRUE$ac_delim
8377 BUILD_CRASHMOD_FALSE!$BUILD_CRASHMOD_FALSE$ac_delim
8378 have_latex!$have_latex$ac_delim
8379 _ACEOF
8380
8381 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
8382 break
8383 elif $ac_last_try; then
8384 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8385 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8386 { (exit 1); exit 1; }; }
8387 else
8388 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8389 fi
8390 done
8391
8392 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8393 if test -n "$ac_eof"; then
8394 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
8395 ac_eof=`expr $ac_eof + 1`
8396 fi
8397
8398 cat >>$CONFIG_STATUS <<_ACEOF
8399 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
8400 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8401 _ACEOF
8402 sed '
8403 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
8404 s/^/s,@/; s/!/@,|#_!!_#|/
8405 :n
8406 t n
8407 s/'"$ac_delim"'$/,g/; t
8408 s/$/\\/; p
8409 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8410 ' >>$CONFIG_STATUS <conf$$subs.sed
8411 rm -f conf$$subs.sed
8412 cat >>$CONFIG_STATUS <<_ACEOF
8413 CEOF$ac_eof
8414 _ACEOF
8415
8416
8417 ac_delim='%!_!# '
8418 for ac_last_try in false false false false false :; do
8419 cat >conf$$subs.sed <<_ACEOF
8420 have_dvips!$have_dvips$ac_delim
8421 have_ps2pdf!$have_ps2pdf$ac_delim
8422 have_latex2html!$have_latex2html$ac_delim
8423 BUILD_DOCS_TRUE!$BUILD_DOCS_TRUE$ac_delim
8424 BUILD_DOCS_FALSE!$BUILD_DOCS_FALSE$ac_delim
8425 have_xmlto!$have_xmlto$ac_delim
8426 BUILD_REFDOCS_TRUE!$BUILD_REFDOCS_TRUE$ac_delim
8427 BUILD_REFDOCS_FALSE!$BUILD_REFDOCS_FALSE$ac_delim
8428 PKG_CONFIG!$PKG_CONFIG$ac_delim
8429 nss_CFLAGS!$nss_CFLAGS$ac_delim
8430 nss_LIBS!$nss_LIBS$ac_delim
8431 nspr_CFLAGS!$nspr_CFLAGS$ac_delim
8432 nspr_LIBS!$nspr_LIBS$ac_delim
8433 BUILD_SERVER_TRUE!$BUILD_SERVER_TRUE$ac_delim
8434 BUILD_SERVER_FALSE!$BUILD_SERVER_FALSE$ac_delim
8435 BUILD_ELFUTILS_TRUE!$BUILD_ELFUTILS_TRUE$ac_delim
8436 BUILD_ELFUTILS_FALSE!$BUILD_ELFUTILS_FALSE$ac_delim
8437 elfutils_abs_srcdir!$elfutils_abs_srcdir$ac_delim
8438 stap_LIBS!$stap_LIBS$ac_delim
8439 DATE!$DATE$ac_delim
8440 PROCFLAGS!$PROCFLAGS$ac_delim
8441 CXXCPP!$CXXCPP$ac_delim
8442 subdirs!$subdirs$ac_delim
8443 LIBOBJS!$LIBOBJS$ac_delim
8444 LTLIBOBJS!$LTLIBOBJS$ac_delim
8445 _ACEOF
8446
8447 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 25; then
8448 break
8449 elif $ac_last_try; then
8450 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8451 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8452 { (exit 1); exit 1; }; }
8453 else
8454 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8455 fi
8456 done
8457
8458 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8459 if test -n "$ac_eof"; then
8460 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
8461 ac_eof=`expr $ac_eof + 1`
8462 fi
8463
8464 cat >>$CONFIG_STATUS <<_ACEOF
8465 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
8466 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
8467 _ACEOF
8468 sed '
8469 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
8470 s/^/s,@/; s/!/@,|#_!!_#|/
8471 :n
8472 t n
8473 s/'"$ac_delim"'$/,g/; t
8474 s/$/\\/; p
8475 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8476 ' >>$CONFIG_STATUS <conf$$subs.sed
8477 rm -f conf$$subs.sed
8478 cat >>$CONFIG_STATUS <<_ACEOF
8479 :end
8480 s/|#_!!_#|//g
8481 CEOF$ac_eof
8482 _ACEOF
8483
8484
8485 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8486 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8487 # trailing colons and then remove the whole line if VPATH becomes empty
8488 # (actually we leave an empty line to preserve line numbers).
8489 if test "x$srcdir" = x.; then
8490 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8491 s/:*\$(srcdir):*/:/
8492 s/:*\${srcdir}:*/:/
8493 s/:*@srcdir@:*/:/
8494 s/^\([^=]*=[ ]*\):*/\1/
8495 s/:*$//
8496 s/^[^=]*=[ ]*$//
8497 }'
8498 fi
8499
8500 cat >>$CONFIG_STATUS <<\_ACEOF
8501 fi # test -n "$CONFIG_FILES"
8502
8503
8504 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
8505 do
8506 case $ac_tag in
8507 :[FHLC]) ac_mode=$ac_tag; continue;;
8508 esac
8509 case $ac_mode$ac_tag in
8510 :[FHL]*:*);;
8511 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
8512 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
8513 { (exit 1); exit 1; }; };;
8514 :[FH]-) ac_tag=-:-;;
8515 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8516 esac
8517 ac_save_IFS=$IFS
8518 IFS=:
8519 set x $ac_tag
8520 IFS=$ac_save_IFS
8521 shift
8522 ac_file=$1
8523 shift
8524
8525 case $ac_mode in
8526 :L) ac_source=$1;;
8527 :[FH])
8528 ac_file_inputs=
8529 for ac_f
8530 do
8531 case $ac_f in
8532 -) ac_f="$tmp/stdin";;
8533 *) # Look for the file first in the build tree, then in the source tree
8534 # (if the path is not absolute). The absolute path cannot be DOS-style,
8535 # because $ac_f cannot contain `:'.
8536 test -f "$ac_f" ||
8537 case $ac_f in
8538 [\\/$]*) false;;
8539 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8540 esac ||
8541 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8542 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8543 { (exit 1); exit 1; }; };;
8544 esac
8545 ac_file_inputs="$ac_file_inputs $ac_f"
8546 done
8547
8548 # Let's still pretend it is `configure' which instantiates (i.e., don't
8549 # use $as_me), people would be surprised to read:
8550 # /* config.h. Generated by config.status. */
8551 configure_input="Generated from "`IFS=:
8552 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
8553 if test x"$ac_file" != x-; then
8554 configure_input="$ac_file. $configure_input"
8555 { echo "$as_me:$LINENO: creating $ac_file" >&5
8556 echo "$as_me: creating $ac_file" >&6;}
8557 fi
8558
8559 case $ac_tag in
8560 *:-:* | *:-) cat >"$tmp/stdin";;
8561 esac
8562 ;;
8563 esac
8564
8565 ac_dir=`$as_dirname -- "$ac_file" ||
8566 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8567 X"$ac_file" : 'X\(//\)[^/]' \| \
8568 X"$ac_file" : 'X\(//\)$' \| \
8569 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8570 echo X"$ac_file" |
8571 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8572 s//\1/
8573 q
8574 }
8575 /^X\(\/\/\)[^/].*/{
8576 s//\1/
8577 q
8578 }
8579 /^X\(\/\/\)$/{
8580 s//\1/
8581 q
8582 }
8583 /^X\(\/\).*/{
8584 s//\1/
8585 q
8586 }
8587 s/.*/./; q'`
8588 { as_dir="$ac_dir"
8589 case $as_dir in #(
8590 -*) as_dir=./$as_dir;;
8591 esac
8592 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8593 as_dirs=
8594 while :; do
8595 case $as_dir in #(
8596 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8597 *) as_qdir=$as_dir;;
8598 esac
8599 as_dirs="'$as_qdir' $as_dirs"
8600 as_dir=`$as_dirname -- "$as_dir" ||
8601 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8602 X"$as_dir" : 'X\(//\)[^/]' \| \
8603 X"$as_dir" : 'X\(//\)$' \| \
8604 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8605 echo X"$as_dir" |
8606 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8607 s//\1/
8608 q
8609 }
8610 /^X\(\/\/\)[^/].*/{
8611 s//\1/
8612 q
8613 }
8614 /^X\(\/\/\)$/{
8615 s//\1/
8616 q
8617 }
8618 /^X\(\/\).*/{
8619 s//\1/
8620 q
8621 }
8622 s/.*/./; q'`
8623 test -d "$as_dir" && break
8624 done
8625 test -z "$as_dirs" || eval "mkdir $as_dirs"
8626 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8627 echo "$as_me: error: cannot create directory $as_dir" >&2;}
8628 { (exit 1); exit 1; }; }; }
8629 ac_builddir=.
8630
8631 case "$ac_dir" in
8632 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8633 *)
8634 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8635 # A ".." for each directory in $ac_dir_suffix.
8636 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
8637 case $ac_top_builddir_sub in
8638 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8639 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8640 esac ;;
8641 esac
8642 ac_abs_top_builddir=$ac_pwd
8643 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8644 # for backward compatibility:
8645 ac_top_builddir=$ac_top_build_prefix
8646
8647 case $srcdir in
8648 .) # We are building in place.
8649 ac_srcdir=.
8650 ac_top_srcdir=$ac_top_builddir_sub
8651 ac_abs_top_srcdir=$ac_pwd ;;
8652 [\\/]* | ?:[\\/]* ) # Absolute name.
8653 ac_srcdir=$srcdir$ac_dir_suffix;
8654 ac_top_srcdir=$srcdir
8655 ac_abs_top_srcdir=$srcdir ;;
8656 *) # Relative name.
8657 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8658 ac_top_srcdir=$ac_top_build_prefix$srcdir
8659 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8660 esac
8661 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8662
8663
8664 case $ac_mode in
8665 :F)
8666 #
8667 # CONFIG_FILE
8668 #
8669
8670 case $INSTALL in
8671 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8672 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8673 esac
8674 ac_MKDIR_P=$MKDIR_P
8675 case $MKDIR_P in
8676 [\\/$]* | ?:[\\/]* ) ;;
8677 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8678 esac
8679 _ACEOF
8680
8681 cat >>$CONFIG_STATUS <<\_ACEOF
8682 # If the template does not know about datarootdir, expand it.
8683 # FIXME: This hack should be removed a few years after 2.60.
8684 ac_datarootdir_hack=; ac_datarootdir_seen=
8685
8686 case `sed -n '/datarootdir/ {
8687 p
8688 q
8689 }
8690 /@datadir@/p
8691 /@docdir@/p
8692 /@infodir@/p
8693 /@localedir@/p
8694 /@mandir@/p
8695 ' $ac_file_inputs` in
8696 *datarootdir*) ac_datarootdir_seen=yes;;
8697 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8698 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8699 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8700 _ACEOF
8701 cat >>$CONFIG_STATUS <<_ACEOF
8702 ac_datarootdir_hack='
8703 s&@datadir@&$datadir&g
8704 s&@docdir@&$docdir&g
8705 s&@infodir@&$infodir&g
8706 s&@localedir@&$localedir&g
8707 s&@mandir@&$mandir&g
8708 s&\\\${datarootdir}&$datarootdir&g' ;;
8709 esac
8710 _ACEOF
8711
8712 # Neutralize VPATH when `$srcdir' = `.'.
8713 # Shell code in configure.ac might set extrasub.
8714 # FIXME: do we really want to maintain this feature?
8715 cat >>$CONFIG_STATUS <<_ACEOF
8716 sed "$ac_vpsub
8717 $extrasub
8718 _ACEOF
8719 cat >>$CONFIG_STATUS <<\_ACEOF
8720 :t
8721 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8722 s&@configure_input@&$configure_input&;t t
8723 s&@top_builddir@&$ac_top_builddir_sub&;t t
8724 s&@srcdir@&$ac_srcdir&;t t
8725 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8726 s&@top_srcdir@&$ac_top_srcdir&;t t
8727 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8728 s&@builddir@&$ac_builddir&;t t
8729 s&@abs_builddir@&$ac_abs_builddir&;t t
8730 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8731 s&@INSTALL@&$ac_INSTALL&;t t
8732 s&@MKDIR_P@&$ac_MKDIR_P&;t t
8733 $ac_datarootdir_hack
8734 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
8735
8736 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8737 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8738 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8739 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8740 which seems to be undefined. Please make sure it is defined." >&5
8741 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8742 which seems to be undefined. Please make sure it is defined." >&2;}
8743
8744 rm -f "$tmp/stdin"
8745 case $ac_file in
8746 -) cat "$tmp/out"; rm -f "$tmp/out";;
8747 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
8748 esac
8749 ;;
8750 :H)
8751 #
8752 # CONFIG_HEADER
8753 #
8754 _ACEOF
8755
8756 # Transform confdefs.h into a sed script `conftest.defines', that
8757 # substitutes the proper values into config.h.in to produce config.h.
8758 rm -f conftest.defines conftest.tail
8759 # First, append a space to every undef/define line, to ease matching.
8760 echo 's/$/ /' >conftest.defines
8761 # Then, protect against being on the right side of a sed subst, or in
8762 # an unquoted here document, in config.status. If some macros were
8763 # called several times there might be several #defines for the same
8764 # symbol, which is useless. But do not sort them, since the last
8765 # AC_DEFINE must be honored.
8766 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8767 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
8768 # NAME is the cpp macro being defined, VALUE is the value it is being given.
8769 # PARAMS is the parameter list in the macro definition--in most cases, it's
8770 # just an empty string.
8771 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
8772 ac_dB='\\)[ (].*,\\1define\\2'
8773 ac_dC=' '
8774 ac_dD=' ,'
8775
8776 uniq confdefs.h |
8777 sed -n '
8778 t rset
8779 :rset
8780 s/^[ ]*#[ ]*define[ ][ ]*//
8781 t ok
8782 d
8783 :ok
8784 s/[\\&,]/\\&/g
8785 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
8786 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
8787 ' >>conftest.defines
8788
8789 # Remove the space that was appended to ease matching.
8790 # Then replace #undef with comments. This is necessary, for
8791 # example, in the case of _POSIX_SOURCE, which is predefined and required
8792 # on some systems where configure will not decide to define it.
8793 # (The regexp can be short, since the line contains either #define or #undef.)
8794 echo 's/ $//
8795 s,^[ #]*u.*,/* & */,' >>conftest.defines
8796
8797 # Break up conftest.defines:
8798 ac_max_sed_lines=50
8799
8800 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
8801 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
8802 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
8803 # et cetera.
8804 ac_in='$ac_file_inputs'
8805 ac_out='"$tmp/out1"'
8806 ac_nxt='"$tmp/out2"'
8807
8808 while :
8809 do
8810 # Write a here document:
8811 cat >>$CONFIG_STATUS <<_ACEOF
8812 # First, check the format of the line:
8813 cat >"\$tmp/defines.sed" <<\\CEOF
8814 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
8815 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
8816 b
8817 :def
8818 _ACEOF
8819 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
8820 echo 'CEOF
8821 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
8822 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
8823 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
8824 grep . conftest.tail >/dev/null || break
8825 rm -f conftest.defines
8826 mv conftest.tail conftest.defines
8827 done
8828 rm -f conftest.defines conftest.tail
8829
8830 echo "ac_result=$ac_in" >>$CONFIG_STATUS
8831 cat >>$CONFIG_STATUS <<\_ACEOF
8832 if test x"$ac_file" != x-; then
8833 echo "/* $configure_input */" >"$tmp/config.h"
8834 cat "$ac_result" >>"$tmp/config.h"
8835 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
8836 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8837 echo "$as_me: $ac_file is unchanged" >&6;}
8838 else
8839 rm -f $ac_file
8840 mv "$tmp/config.h" $ac_file
8841 fi
8842 else
8843 echo "/* $configure_input */"
8844 cat "$ac_result"
8845 fi
8846 rm -f "$tmp/out12"
8847 # Compute $ac_file's index in $config_headers.
8848 _am_arg=$ac_file
8849 _am_stamp_count=1
8850 for _am_header in $config_headers :; do
8851 case $_am_header in
8852 $_am_arg | $_am_arg:* )
8853 break ;;
8854 * )
8855 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8856 esac
8857 done
8858 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8859 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8860 X"$_am_arg" : 'X\(//\)[^/]' \| \
8861 X"$_am_arg" : 'X\(//\)$' \| \
8862 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8863 echo X"$_am_arg" |
8864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8865 s//\1/
8866 q
8867 }
8868 /^X\(\/\/\)[^/].*/{
8869 s//\1/
8870 q
8871 }
8872 /^X\(\/\/\)$/{
8873 s//\1/
8874 q
8875 }
8876 /^X\(\/\).*/{
8877 s//\1/
8878 q
8879 }
8880 s/.*/./; q'`/stamp-h$_am_stamp_count
8881 ;;
8882
8883 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
8884 echo "$as_me: executing $ac_file commands" >&6;}
8885 ;;
8886 esac
8887
8888
8889 case $ac_file$ac_mode in
8890 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
8891 # Strip MF so we end up with the name of the file.
8892 mf=`echo "$mf" | sed -e 's/:.*$//'`
8893 # Check whether this is an Automake generated Makefile or not.
8894 # We used to match only the files named `Makefile.in', but
8895 # some people rename them; so instead we look at the file content.
8896 # Grep'ing the first line is not enough: some people post-process
8897 # each Makefile.in and add a new line on top of each file to say so.
8898 # Grep'ing the whole file is not good either: AIX grep has a line
8899 # limit of 2048, but all sed's we know have understand at least 4000.
8900 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8901 dirpart=`$as_dirname -- "$mf" ||
8902 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8903 X"$mf" : 'X\(//\)[^/]' \| \
8904 X"$mf" : 'X\(//\)$' \| \
8905 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8906 echo X"$mf" |
8907 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8908 s//\1/
8909 q
8910 }
8911 /^X\(\/\/\)[^/].*/{
8912 s//\1/
8913 q
8914 }
8915 /^X\(\/\/\)$/{
8916 s//\1/
8917 q
8918 }
8919 /^X\(\/\).*/{
8920 s//\1/
8921 q
8922 }
8923 s/.*/./; q'`
8924 else
8925 continue
8926 fi
8927 # Extract the definition of DEPDIR, am__include, and am__quote
8928 # from the Makefile without running `make'.
8929 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8930 test -z "$DEPDIR" && continue
8931 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8932 test -z "am__include" && continue
8933 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8934 # When using ansi2knr, U may be empty or an underscore; expand it
8935 U=`sed -n 's/^U = //p' < "$mf"`
8936 # Find all dependency output files, they are included files with
8937 # $(DEPDIR) in their names. We invoke sed twice because it is the
8938 # simplest approach to changing $(DEPDIR) to its actual value in the
8939 # expansion.
8940 for file in `sed -n "
8941 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8942 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8943 # Make sure the directory exists.
8944 test -f "$dirpart/$file" && continue
8945 fdir=`$as_dirname -- "$file" ||
8946 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8947 X"$file" : 'X\(//\)[^/]' \| \
8948 X"$file" : 'X\(//\)$' \| \
8949 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8950 echo X"$file" |
8951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8952 s//\1/
8953 q
8954 }
8955 /^X\(\/\/\)[^/].*/{
8956 s//\1/
8957 q
8958 }
8959 /^X\(\/\/\)$/{
8960 s//\1/
8961 q
8962 }
8963 /^X\(\/\).*/{
8964 s//\1/
8965 q
8966 }
8967 s/.*/./; q'`
8968 { as_dir=$dirpart/$fdir
8969 case $as_dir in #(
8970 -*) as_dir=./$as_dir;;
8971 esac
8972 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8973 as_dirs=
8974 while :; do
8975 case $as_dir in #(
8976 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8977 *) as_qdir=$as_dir;;
8978 esac
8979 as_dirs="'$as_qdir' $as_dirs"
8980 as_dir=`$as_dirname -- "$as_dir" ||
8981 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8982 X"$as_dir" : 'X\(//\)[^/]' \| \
8983 X"$as_dir" : 'X\(//\)$' \| \
8984 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8985 echo X"$as_dir" |
8986 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8987 s//\1/
8988 q
8989 }
8990 /^X\(\/\/\)[^/].*/{
8991 s//\1/
8992 q
8993 }
8994 /^X\(\/\/\)$/{
8995 s//\1/
8996 q
8997 }
8998 /^X\(\/\).*/{
8999 s//\1/
9000 q
9001 }
9002 s/.*/./; q'`
9003 test -d "$as_dir" && break
9004 done
9005 test -z "$as_dirs" || eval "mkdir $as_dirs"
9006 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9007 echo "$as_me: error: cannot create directory $as_dir" >&2;}
9008 { (exit 1); exit 1; }; }; }
9009 # echo "creating $dirpart/$file"
9010 echo '# dummy' > "$dirpart/$file"
9011 done
9012 done
9013 ;;
9014 "run-stap":F) chmod +x run-stap ;;
9015
9016 esac
9017 done # for ac_tag
9018
9019
9020 { (exit 0); exit 0; }
9021 _ACEOF
9022 chmod +x $CONFIG_STATUS
9023 ac_clean_files=$ac_clean_files_save
9024
9025
9026 # configure is writing to config.log, and then calls config.status.
9027 # config.status does its own redirection, appending to config.log.
9028 # Unfortunately, on DOS this fails, as config.log is still kept open
9029 # by configure, so config.status won't be able to write to it; its
9030 # output is simply discarded. So we exec the FD to /dev/null,
9031 # effectively closing config.log, so it can be properly (re)opened and
9032 # appended to by config.status. When coming back to configure, we
9033 # need to make the FD available again.
9034 if test "$no_create" != yes; then
9035 ac_cs_success=:
9036 ac_config_status_args=
9037 test "$silent" = yes &&
9038 ac_config_status_args="$ac_config_status_args --quiet"
9039 exec 5>/dev/null
9040 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9041 exec 5>>config.log
9042 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9043 # would make configure fail if this is the last instruction.
9044 $ac_cs_success || { (exit 1); exit 1; }
9045 fi
9046
9047 #
9048 # CONFIG_SUBDIRS section.
9049 #
9050 if test "$no_recursion" != yes; then
9051
9052 # Remove --cache-file and --srcdir arguments so they do not pile up.
9053 ac_sub_configure_args=
9054 ac_prev=
9055 eval "set x $ac_configure_args"
9056 shift
9057 for ac_arg
9058 do
9059 if test -n "$ac_prev"; then
9060 ac_prev=
9061 continue
9062 fi
9063 case $ac_arg in
9064 -cache-file | --cache-file | --cache-fil | --cache-fi \
9065 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
9066 ac_prev=cache_file ;;
9067 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
9068 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
9069 | --c=*)
9070 ;;
9071 --config-cache | -C)
9072 ;;
9073 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
9074 ac_prev=srcdir ;;
9075 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
9076 ;;
9077 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
9078 ac_prev=prefix ;;
9079 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
9080 ;;
9081 *)
9082 case $ac_arg in
9083 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9084 esac
9085 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
9086 esac
9087 done
9088
9089 # Always prepend --prefix to ensure using the same prefix
9090 # in subdir configurations.
9091 ac_arg="--prefix=$prefix"
9092 case $ac_arg in
9093 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9094 esac
9095 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
9096
9097 # Pass --silent
9098 if test "$silent" = yes; then
9099 ac_sub_configure_args="--silent $ac_sub_configure_args"
9100 fi
9101
9102 ac_popdir=`pwd`
9103 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
9104
9105 # Do not complain, so a configure script can configure whichever
9106 # parts of a large source tree are present.
9107 test -d "$srcdir/$ac_dir" || continue
9108
9109 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
9110 echo "$as_me:$LINENO: $ac_msg" >&5
9111 echo "$ac_msg" >&6
9112 { as_dir="$ac_dir"
9113 case $as_dir in #(
9114 -*) as_dir=./$as_dir;;
9115 esac
9116 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
9117 as_dirs=
9118 while :; do
9119 case $as_dir in #(
9120 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9121 *) as_qdir=$as_dir;;
9122 esac
9123 as_dirs="'$as_qdir' $as_dirs"
9124 as_dir=`$as_dirname -- "$as_dir" ||
9125 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9126 X"$as_dir" : 'X\(//\)[^/]' \| \
9127 X"$as_dir" : 'X\(//\)$' \| \
9128 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9129 echo X"$as_dir" |
9130 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9131 s//\1/
9132 q
9133 }
9134 /^X\(\/\/\)[^/].*/{
9135 s//\1/
9136 q
9137 }
9138 /^X\(\/\/\)$/{
9139 s//\1/
9140 q
9141 }
9142 /^X\(\/\).*/{
9143 s//\1/
9144 q
9145 }
9146 s/.*/./; q'`
9147 test -d "$as_dir" && break
9148 done
9149 test -z "$as_dirs" || eval "mkdir $as_dirs"
9150 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9151 echo "$as_me: error: cannot create directory $as_dir" >&2;}
9152 { (exit 1); exit 1; }; }; }
9153 ac_builddir=.
9154
9155 case "$ac_dir" in
9156 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9157 *)
9158 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9159 # A ".." for each directory in $ac_dir_suffix.
9160 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
9161 case $ac_top_builddir_sub in
9162 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9163 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9164 esac ;;
9165 esac
9166 ac_abs_top_builddir=$ac_pwd
9167 ac_abs_builddir=$ac_pwd$ac_dir_suffix
9168 # for backward compatibility:
9169 ac_top_builddir=$ac_top_build_prefix
9170
9171 case $srcdir in
9172 .) # We are building in place.
9173 ac_srcdir=.
9174 ac_top_srcdir=$ac_top_builddir_sub
9175 ac_abs_top_srcdir=$ac_pwd ;;
9176 [\\/]* | ?:[\\/]* ) # Absolute name.
9177 ac_srcdir=$srcdir$ac_dir_suffix;
9178 ac_top_srcdir=$srcdir
9179 ac_abs_top_srcdir=$srcdir ;;
9180 *) # Relative name.
9181 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9182 ac_top_srcdir=$ac_top_build_prefix$srcdir
9183 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9184 esac
9185 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9186
9187
9188 cd "$ac_dir"
9189
9190 # Check for guested configure; otherwise get Cygnus style configure.
9191 if test -f "$ac_srcdir/configure.gnu"; then
9192 ac_sub_configure=$ac_srcdir/configure.gnu
9193 elif test -f "$ac_srcdir/configure"; then
9194 ac_sub_configure=$ac_srcdir/configure
9195 elif test -f "$ac_srcdir/configure.in"; then
9196 # This should be Cygnus configure.
9197 ac_sub_configure=$ac_aux_dir/configure
9198 else
9199 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
9200 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
9201 ac_sub_configure=
9202 fi
9203
9204 # The recursion is here.
9205 if test -n "$ac_sub_configure"; then
9206 # Make the cache file name correct relative to the subdirectory.
9207 case $cache_file in
9208 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
9209 *) # Relative name.
9210 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
9211 esac
9212
9213 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
9214 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
9215 # The eval makes quoting arguments work.
9216 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
9217 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
9218 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
9219 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
9220 { (exit 1); exit 1; }; }
9221 fi
9222
9223 cd "$ac_popdir"
9224 done
9225 fi
9226
9227
9228 if test "${prefix}" = "/usr/local"; then
9229 { echo "$as_me:$LINENO: " >&5
9230 echo "$as_me: " >&6;}
9231 { echo "$as_me:$LINENO: For a private or temporary build of systemtap, we recommend" >&5
9232 echo "$as_me: For a private or temporary build of systemtap, we recommend" >&6;}
9233 { echo "$as_me:$LINENO: configuring with a prefix. For example, try" >&5
9234 echo "$as_me: configuring with a prefix. For example, try" >&6;}
9235 { echo "$as_me:$LINENO: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&5
9236 echo "$as_me: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&6;}
9237 { echo "$as_me:$LINENO: Running systemtap uninstalled, entirely out of the build tree," >&5
9238 echo "$as_me: Running systemtap uninstalled, entirely out of the build tree," >&6;}
9239 { echo "$as_me:$LINENO: is not supported." >&5
9240 echo "$as_me: is not supported." >&6;}
9241 fi
This page took 0.494845 seconds and 6 git commands to generate.