2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for systemtap 1.6.
5 # Report bugs to <systemtap@sourceware.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x
; then
139 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required
="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev
/null
; then :
182 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
187 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir
=.
194 for as_base
in sh bash ksh sh5
; do
195 # Try only shells that exist, to save several forks.
196 as_shell
=$as_dir/$as_base
197 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
199 CONFIG_SHELL
=$as_shell as_have_required
=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
210 CONFIG_SHELL
=$SHELL as_have_required
=yes
215 if test "x$CONFIG_SHELL" != x
; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x
$as_have_required = xno
; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x
${ZSH_VERSION+set} = xset
; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: systemtap@sourceware.org about your system, including
235 $0: any error possibly output before this message. Then
236 $0: install a modern shell, or manually run the script
237 $0: under such a shell if you do have one."
243 SHELL
=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE
= GREP_OPTIONS
=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir
=.
/$as_dir;;
288 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
292 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs
="'$as_qdir' $as_dirs"
296 as_dir
=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
322 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
357 as_val
=`expr "$@" || test $? -eq 1`
362 # as_fn_error ERROR [LINENO LOG_FD]
363 # ---------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with status $?, using 1 if that was 0.
369 as_status
=$?
; test $as_status -eq 0 && as_status
=1
371 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374 $as_echo "$as_me: error: $1" >&2
375 as_fn_exit
$as_status
378 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
385 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
397 as_me
=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits
='0123456789'
421 as_cr_alnum
=$as_cr_Letters$as_cr_digits
424 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
425 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x
"$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C
= ECHO_N
= ECHO_T
=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
468 rm -f conf$$ conf$$.exe conf$$.
file
469 if test -d conf$$.dir
; then
470 rm -f conf$$.dir
/conf$$.
file
473 mkdir conf$$.dir
2>/dev
/null
475 if (echo >conf$$.
file) 2>/dev
/null
; then
476 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
484 elif ln conf$$.
file conf$$
2>/dev
/null
; then
492 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
493 rmdir conf$$.dir
2>/dev
/null
495 if mkdir
-p .
2>/dev
/null
; then
496 as_mkdir_p
='mkdir -p "$as_dir"'
498 test -d .
/-p && rmdir .
/-p
502 if test -x / >/dev
/null
2>&1; then
505 if ls -dL / >/dev
/null
2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p
=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
536 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
537 # so uname gets run too.
538 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
543 ac_default_prefix
=/usr
/local
545 ac_config_libobj_dir
=.
552 # Identity of this package.
553 PACKAGE_NAME
='systemtap'
554 PACKAGE_TARNAME
='systemtap'
555 PACKAGE_VERSION
='1.6'
556 PACKAGE_STRING
='systemtap 1.6'
557 PACKAGE_BUGREPORT
='systemtap@sourceware.org'
560 # Factoring default headers for most tests.
561 ac_includes_default
="\
563 #ifdef HAVE_SYS_TYPES_H
564 # include <sys/types.h>
566 #ifdef HAVE_SYS_STAT_H
567 # include <sys/stat.h>
573 # ifdef HAVE_STDLIB_H
578 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
583 #ifdef HAVE_STRINGS_H
584 # include <strings.h>
586 #ifdef HAVE_INTTYPES_H
587 # include <inttypes.h>
597 enable_option_checking
=no
598 ac_subst_vars
='am__EXEEXT_FALSE
606 support_section_question
628 BUILD_PDFREFDOCS_FALSE
629 BUILD_PDFREFDOCS_TRUE
630 XMLTO_STRINGPARAM_FALSE
631 XMLTO_STRINGPARAM_TRUE
648 BUILD_TRANSLATOR_FALSE
649 BUILD_TRANSLATOR_TRUE
668 XGETTEXT_EXTRA_OPTIONS
676 GETTEXT_MACRO_VERSION
710 MAINTAINER_MODE_FALSE
720 INSTALL_STRIP_PROGRAM
762 program_transform_name
775 enable_option_checking
776 enable_maintainer_mode
778 enable_dependency_tracking
800 ac_precious_vars
='build_alias
818 ac_subdirs_all
='testsuite runtime/staprun'
820 # Initialize some variables set by options.
822 ac_init_version
=false
823 ac_unrecognized_opts
=
825 # The variables have the same names as the options, with
826 # dashes changed to underlines.
834 program_transform_name
=s
,x
,x
,
842 # Installation directory options.
843 # These are left unexpanded so users can "make install exec_prefix=/foo"
844 # and all the variables that are supposed to be based on exec_prefix
845 # by default will actually change.
846 # Use braces instead of parens because sh, perl, etc. also accept them.
847 # (The list follows the same order as the GNU Coding Standards.)
848 bindir
='${exec_prefix}/bin'
849 sbindir
='${exec_prefix}/sbin'
850 libexecdir
='${exec_prefix}/libexec'
851 datarootdir
='${prefix}/share'
852 datadir
='${datarootdir}'
853 sysconfdir
='${prefix}/etc'
854 sharedstatedir
='${prefix}/com'
855 localstatedir
='${prefix}/var'
856 includedir
='${prefix}/include'
857 oldincludedir
='/usr/include'
858 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
859 infodir
='${datarootdir}/info'
864 libdir
='${exec_prefix}/lib'
865 localedir
='${datarootdir}/locale'
866 mandir
='${datarootdir}/man'
872 # If the previous option needs an argument, assign it.
873 if test -n "$ac_prev"; then
874 eval $ac_prev=\
$ac_option
880 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
884 # Accept the important Cygnus configure options, so we can diagnose typos.
886 case $ac_dashdash$ac_option in
890 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
892 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
895 -build |
--build |
--buil |
--bui |
--bu)
896 ac_prev
=build_alias
;;
897 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
898 build_alias
=$ac_optarg ;;
900 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
901 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
902 ac_prev
=cache_file
;;
903 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
904 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
905 cache_file
=$ac_optarg ;;
908 cache_file
=config.cache
;;
910 -datadir |
--datadir |
--datadi |
--datad)
912 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
913 datadir
=$ac_optarg ;;
915 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
916 |
--dataroo |
--dataro |
--datar)
917 ac_prev
=datarootdir
;;
918 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
919 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
920 datarootdir
=$ac_optarg ;;
922 -disable-* |
--disable-*)
923 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
924 # Reject names that are not valid shell variable names.
925 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
926 as_fn_error
"invalid feature name: $ac_useropt"
927 ac_useropt_orig
=$ac_useropt
928 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
929 case $ac_user_opts in
933 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
934 ac_unrecognized_sep
=', ';;
936 eval enable_
$ac_useropt=no
;;
938 -docdir |
--docdir |
--docdi |
--doc |
--do)
940 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
943 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
945 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
948 -enable-* |
--enable-*)
949 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
950 # Reject names that are not valid shell variable names.
951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
952 as_fn_error
"invalid feature name: $ac_useropt"
953 ac_useropt_orig
=$ac_useropt
954 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
955 case $ac_user_opts in
959 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
960 ac_unrecognized_sep
=', ';;
962 eval enable_
$ac_useropt=\
$ac_optarg ;;
964 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
965 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
966 |
--exec |
--exe |
--ex)
967 ac_prev
=exec_prefix
;;
968 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
969 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
970 |
--exec=* |
--exe=* |
--ex=*)
971 exec_prefix
=$ac_optarg ;;
973 -gas |
--gas |
--ga |
--g)
974 # Obsolete; use --with-gas.
977 -help |
--help |
--hel |
--he |
-h)
979 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
980 ac_init_help
=recursive
;;
981 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
982 ac_init_help
=short
;;
984 -host |
--host |
--hos |
--ho)
985 ac_prev
=host_alias
;;
986 -host=* |
--host=* |
--hos=* |
--ho=*)
987 host_alias
=$ac_optarg ;;
989 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
991 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
993 htmldir
=$ac_optarg ;;
995 -includedir |
--includedir |
--includedi |
--included |
--include \
996 |
--includ |
--inclu |
--incl |
--inc)
997 ac_prev
=includedir
;;
998 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
999 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1000 includedir
=$ac_optarg ;;
1002 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1004 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1005 infodir
=$ac_optarg ;;
1007 -libdir |
--libdir |
--libdi |
--libd)
1009 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1010 libdir
=$ac_optarg ;;
1012 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1013 |
--libexe |
--libex |
--libe)
1014 ac_prev
=libexecdir
;;
1015 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1016 |
--libexe=* |
--libex=* |
--libe=*)
1017 libexecdir
=$ac_optarg ;;
1019 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1020 ac_prev
=localedir
;;
1021 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1022 localedir
=$ac_optarg ;;
1024 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1025 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1026 ac_prev
=localstatedir
;;
1027 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1028 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1029 localstatedir
=$ac_optarg ;;
1031 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1033 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1034 mandir
=$ac_optarg ;;
1036 -nfp |
--nfp |
--nf)
1037 # Obsolete; use --without-fp.
1040 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1041 |
--no-cr |
--no-c |
-n)
1044 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1045 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1048 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1049 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1050 |
--oldin |
--oldi |
--old |
--ol |
--o)
1051 ac_prev
=oldincludedir
;;
1052 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1053 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1054 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1055 oldincludedir
=$ac_optarg ;;
1057 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1059 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1060 prefix
=$ac_optarg ;;
1062 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1063 |
--program-pre |
--program-pr |
--program-p)
1064 ac_prev
=program_prefix
;;
1065 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1066 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1067 program_prefix
=$ac_optarg ;;
1069 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1070 |
--program-suf |
--program-su |
--program-s)
1071 ac_prev
=program_suffix
;;
1072 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1073 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1074 program_suffix
=$ac_optarg ;;
1076 -program-transform-name |
--program-transform-name \
1077 |
--program-transform-nam |
--program-transform-na \
1078 |
--program-transform-n |
--program-transform- \
1079 |
--program-transform |
--program-transfor \
1080 |
--program-transfo |
--program-transf \
1081 |
--program-trans |
--program-tran \
1082 |
--progr-tra |
--program-tr |
--program-t)
1083 ac_prev
=program_transform_name
;;
1084 -program-transform-name=* |
--program-transform-name=* \
1085 |
--program-transform-nam=* |
--program-transform-na=* \
1086 |
--program-transform-n=* |
--program-transform-=* \
1087 |
--program-transform=* |
--program-transfor=* \
1088 |
--program-transfo=* |
--program-transf=* \
1089 |
--program-trans=* |
--program-tran=* \
1090 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1091 program_transform_name
=$ac_optarg ;;
1093 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1095 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1096 pdfdir
=$ac_optarg ;;
1098 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1100 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1103 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1104 |
-silent |
--silent |
--silen |
--sile |
--sil)
1107 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1109 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1111 sbindir
=$ac_optarg ;;
1113 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1114 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1115 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1117 ac_prev
=sharedstatedir
;;
1118 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1119 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1120 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1122 sharedstatedir
=$ac_optarg ;;
1124 -site |
--site |
--sit)
1126 -site=* |
--site=* |
--sit=*)
1129 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1131 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1132 srcdir
=$ac_optarg ;;
1134 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1135 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1136 ac_prev
=sysconfdir
;;
1137 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1138 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1139 sysconfdir
=$ac_optarg ;;
1141 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1142 ac_prev
=target_alias
;;
1143 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1144 target_alias
=$ac_optarg ;;
1146 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1149 -version |
--version |
--versio |
--versi |
--vers |
-V)
1150 ac_init_version
=: ;;
1153 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1154 # Reject names that are not valid shell variable names.
1155 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1156 as_fn_error
"invalid package name: $ac_useropt"
1157 ac_useropt_orig
=$ac_useropt
1158 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1159 case $ac_user_opts in
1163 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1164 ac_unrecognized_sep
=', ';;
1166 eval with_
$ac_useropt=\
$ac_optarg ;;
1168 -without-* |
--without-*)
1169 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1170 # Reject names that are not valid shell variable names.
1171 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1172 as_fn_error
"invalid package name: $ac_useropt"
1173 ac_useropt_orig
=$ac_useropt
1174 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1175 case $ac_user_opts in
1179 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1180 ac_unrecognized_sep
=', ';;
1182 eval with_
$ac_useropt=no
;;
1185 # Obsolete; use --with-x.
1188 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1189 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1190 ac_prev
=x_includes
;;
1191 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1192 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1193 x_includes
=$ac_optarg ;;
1195 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1196 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1197 ac_prev
=x_libraries
;;
1198 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1199 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1200 x_libraries
=$ac_optarg ;;
1202 -*) as_fn_error
"unrecognized option: \`$ac_option'
1203 Try \`$0 --help' for more information."
1207 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1208 # Reject names that are not valid shell variable names.
1209 case $ac_envvar in #(
1210 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1211 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1213 eval $ac_envvar=\
$ac_optarg
1214 export $ac_envvar ;;
1217 # FIXME: should be removed in autoconf 3.0.
1218 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1219 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1220 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1221 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1227 if test -n "$ac_prev"; then
1228 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1229 as_fn_error
"missing argument to $ac_option"
1232 if test -n "$ac_unrecognized_opts"; then
1233 case $enable_option_checking in
1235 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1236 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1240 # Check all directory arguments for consistency.
1241 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1242 datadir sysconfdir sharedstatedir localstatedir includedir \
1243 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1244 libdir localedir mandir
1246 eval ac_val
=\$
$ac_var
1247 # Remove trailing slashes.
1250 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1251 eval $ac_var=\
$ac_val;;
1253 # Be sure to have absolute directory names.
1255 [\\/$
]* | ?
:[\\/]* ) continue;;
1256 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1258 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1261 # There might be people who depend on the old broken behavior: `$host'
1262 # used to hold the argument of --host etc.
1263 # FIXME: To remove some day.
1266 target
=$target_alias
1268 # FIXME: To remove some day.
1269 if test "x$host_alias" != x
; then
1270 if test "x$build_alias" = x
; then
1271 cross_compiling
=maybe
1272 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1273 If a cross compiler is detected then cross compile mode will be used." >&2
1274 elif test "x$build_alias" != "x$host_alias"; then
1280 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1282 test "$silent" = yes && exec 6>/dev
/null
1285 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1286 ac_ls_di
=`ls -di .` &&
1287 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1288 as_fn_error
"working directory cannot be determined"
1289 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1290 as_fn_error
"pwd does not report name of working directory"
1293 # Find the source files, if location was not specified.
1294 if test -z "$srcdir"; then
1295 ac_srcdir_defaulted
=yes
1296 # Try the directory containing this script, then the parent directory.
1297 ac_confdir
=`$as_dirname -- "$as_myself" ||
1298 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1299 X"$as_myself" : 'X\(//\)[^/]' \| \
1300 X"$as_myself" : 'X\(//\)$' \| \
1301 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1302 $as_echo X"$as_myself" |
1303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1321 if test ! -r "$srcdir/$ac_unique_file"; then
1325 ac_srcdir_defaulted
=no
1327 if test ! -r "$srcdir/$ac_unique_file"; then
1328 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1329 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1331 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1333 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1335 # When building in place, set srcdir=.
1336 if test "$ac_abs_confdir" = "$ac_pwd"; then
1339 # Remove unnecessary trailing slashes from srcdir.
1340 # Double slashes in file names in object file debugging info
1341 # mess up M-x gdb in Emacs.
1343 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1345 for ac_var
in $ac_precious_vars; do
1346 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1347 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1348 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1349 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1353 # Report the --help message.
1355 if test "$ac_init_help" = "long"; then
1356 # Omit some internal or obsolete options to make the list less imposing.
1357 # This message is too long to be a string in the A/UX 3.1 sh.
1359 \`configure' configures systemtap 1.6 to adapt to many kinds of systems.
1361 Usage: $0 [OPTION]... [VAR=VALUE]...
1363 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1364 VAR=VALUE. See below for descriptions of some of the useful variables.
1366 Defaults for the options are specified in brackets.
1369 -h, --help display this help and exit
1370 --help=short display options specific to this package
1371 --help=recursive display the short help of all the included packages
1372 -V, --version display version information and exit
1373 -q, --quiet, --silent do not print \`checking...' messages
1374 --cache-file=FILE cache test results in FILE [disabled]
1375 -C, --config-cache alias for \`--cache-file=config.cache'
1376 -n, --no-create do not create output files
1377 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1379 Installation directories:
1380 --prefix=PREFIX install architecture-independent files in PREFIX
1381 [$ac_default_prefix]
1382 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1385 By default, \`make install' will install all the files in
1386 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1387 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1388 for instance \`--prefix=\$HOME'.
1390 For better control, use the options below.
1392 Fine tuning of the installation directories:
1393 --bindir=DIR user executables [EPREFIX/bin]
1394 --sbindir=DIR system admin executables [EPREFIX/sbin]
1395 --libexecdir=DIR program executables [EPREFIX/libexec]
1396 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1397 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1398 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1399 --libdir=DIR object code libraries [EPREFIX/lib]
1400 --includedir=DIR C header files [PREFIX/include]
1401 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1402 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1403 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1404 --infodir=DIR info documentation [DATAROOTDIR/info]
1405 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1406 --mandir=DIR man documentation [DATAROOTDIR/man]
1407 --docdir=DIR documentation root [DATAROOTDIR/doc/systemtap]
1408 --htmldir=DIR html documentation [DOCDIR]
1409 --dvidir=DIR dvi documentation [DOCDIR]
1410 --pdfdir=DIR pdf documentation [DOCDIR]
1411 --psdir=DIR ps documentation [DOCDIR]
1417 --program-prefix=PREFIX prepend PREFIX to installed program names
1418 --program-suffix=SUFFIX append SUFFIX to installed program names
1419 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1422 --build=BUILD configure
for building on BUILD
[guessed
]
1423 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1427 if test -n "$ac_init_help"; then
1428 case $ac_init_help in
1429 short | recursive
) echo "Configuration of systemtap 1.6:";;
1434 --disable-option-checking ignore unrecognized
--enable/--with options
1435 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1436 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1437 --enable-maintainer-mode enable make rules and dependencies not useful
1438 (and sometimes confusing
) to the casual installer
1439 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1440 --disable-silent-rules verbose build output (undo: `make V
=0')
1441 --disable-dependency-tracking speeds up one-time build
1442 --enable-dependency-tracking do not reject slow dependency extractors
1443 --disable-nls do not use Native Language Support
1444 --disable-rpath do not hardcode runtime library paths
1445 --enable-prologues make -P prologue-searching default
1446 --disable-sdt-probes disable process.mark probes in stap, staprun, stapio
1447 --disable-ssp disable gcc stack-protector
1448 --enable-pie enable position-independent-executable
1449 --enable-sqlite build with sqlite support
1450 --disable-translator build only runtime utilities
1451 --enable-crash[=DIRECTORY]
1452 enable crash extension (default is disabled).
1453 Optional DIRECTORY is the path to the crash header
1454 file (needed if installed in a non-standard
1456 --enable-docs enable building documentation (default on if latex
1458 --enable-publican enable building publican documentation guides
1459 (default on if publican found and other
1460 documentation built).
1461 --enable-refdocs enable building reference documentation (default on
1462 if xmlto etc. found and other documentation built).
1463 --enable-server enable building of stap-server (default on if nss
1465 --enable-grapher enable building of grapher (default on if needed
1466 requirements are found).
1469 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1470 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1471 --with-gnu-ld assume the C compiler uses GNU ld default=no
1472 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1473 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1474 --with-libintl-prefix[=DIR
] search
for libintl
in DIR
/include and DIR
/lib
1475 --without-libintl-prefix don
't search for libintl in includedir and libdir
1476 --with-publican-brand=BRAND
1477 building publican documentation guides using given
1478 brand (defaults to "common").
1479 --with-rpm query rpm database for missing debuginfos
1480 --with-elfutils=DIRECTORY
1481 find elfutils source code in DIRECTORY
1483 Some influential environment variables:
1484 CC C compiler command
1485 CFLAGS C compiler flags
1486 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1487 nonstandard directory <lib dir>
1488 LIBS libraries to pass to the linker, e.g. -l<library>
1489 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1490 you have headers in a nonstandard directory <include dir>
1492 CXX C++ compiler command
1493 CXXFLAGS C++ compiler flags
1494 PKG_CONFIG path to pkg-config utility
1496 C compiler flags for gtkmm, overriding pkg-config
1497 gtkmm_LIBS linker flags for gtkmm, overriding pkg-config
1499 C compiler flags for libglade, overriding pkg-config
1501 linker flags for libglade, overriding pkg-config
1502 CXXCPP C++ preprocessor
1504 Use these variables to override the choices made by `configure' or to
help
1505 it to
find libraries and programs with nonstandard names
/locations.
1507 Report bugs to
<systemtap@sourceware.org
>.
1512 if test "$ac_init_help" = "recursive"; then
1513 # If there are subdirs, report their specific --help.
1514 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1515 test -d "$ac_dir" ||
1516 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1521 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1523 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1524 # A ".." for each directory in $ac_dir_suffix.
1525 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1526 case $ac_top_builddir_sub in
1527 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1528 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1531 ac_abs_top_builddir
=$ac_pwd
1532 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1533 # for backward compatibility:
1534 ac_top_builddir
=$ac_top_build_prefix
1537 .
) # We are building in place.
1539 ac_top_srcdir
=$ac_top_builddir_sub
1540 ac_abs_top_srcdir
=$ac_pwd ;;
1541 [\\/]* | ?
:[\\/]* ) # Absolute name.
1542 ac_srcdir
=$srcdir$ac_dir_suffix;
1543 ac_top_srcdir
=$srcdir
1544 ac_abs_top_srcdir
=$srcdir ;;
1546 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1547 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1548 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1550 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1552 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1553 # Check for guested configure.
1554 if test -f "$ac_srcdir/configure.gnu"; then
1556 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1557 elif test -f "$ac_srcdir/configure"; then
1559 $SHELL "$ac_srcdir/configure" --help=recursive
1561 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1563 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1567 test -n "$ac_init_help" && exit $ac_status
1568 if $ac_init_version; then
1570 systemtap configure
1.6
1571 generated by GNU Autoconf
2.65
1573 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1574 This configure
script is free software
; the Free Software Foundation
1575 gives unlimited permission to copy
, distribute and modify it.
1580 ## ------------------------ ##
1581 ## Autoconf initialization. ##
1582 ## ------------------------ ##
1584 # ac_fn_c_try_compile LINENO
1585 # --------------------------
1586 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1587 ac_fn_c_try_compile
()
1589 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1590 rm -f conftest.
$ac_objext
1591 if { { ac_try
="$ac_compile"
1593 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1594 *) ac_try_echo=$ac_try;;
1596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1597 $as_echo "$ac_try_echo"; } >&5
1598 (eval "$ac_compile") 2>conftest.err
1600 if test -s conftest.err; then
1601 grep -v '^ *+' conftest.err >conftest.er1
1602 cat conftest.er1 >&5
1603 mv -f conftest.er1 conftest.err
1605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1606 test $ac_status = 0; } && {
1607 test -z "$ac_c_werror_flag" ||
1608 test ! -s conftest.err
1609 } && test -s conftest.$ac_objext; then :
1612 $as_echo "$as_me: failed program was:" >&5
1613 sed 's/^/| /' conftest.$ac_ext >&5
1617 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1618 as_fn_set_status $ac_retval
1620 } # ac_fn_c_try_compile
1622 # ac_fn_c_try_cpp LINENO
1623 # ----------------------
1624 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1627 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1628 if { { ac_try="$ac_cpp conftest.$ac_ext"
1630 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1631 *) ac_try_echo
=$ac_try;;
1633 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1634 $as_echo "$ac_try_echo"; } >&5
1635 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1637 if test -s conftest.err
; then
1638 grep -v '^ *+' conftest.err
>conftest.er1
1639 cat conftest.er1
>&5
1640 mv -f conftest.er1 conftest.err
1642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1643 test $ac_status = 0; } >/dev
/null
&& {
1644 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1645 test ! -s conftest.err
1649 $as_echo "$as_me: failed program was:" >&5
1650 sed 's/^/| /' conftest.
$ac_ext >&5
1654 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1655 as_fn_set_status
$ac_retval
1659 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1660 # -------------------------------------------------------
1661 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1662 # the include files in INCLUDES and setting the cache variable VAR
1664 ac_fn_c_check_header_mongrel
()
1666 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1667 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1669 $as_echo_n "checking for $2... " >&6; }
1670 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1671 $as_echo_n "(cached) " >&6
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1675 $as_echo "$ac_res" >&6; }
1677 # Is the header compilable?
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1679 $as_echo_n "checking $2 usability... " >&6; }
1680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1681 /* end confdefs.h. */
1685 if ac_fn_c_try_compile
"$LINENO"; then :
1686 ac_header_compiler
=yes
1688 ac_header_compiler
=no
1690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1692 $as_echo "$ac_header_compiler" >&6; }
1694 # Is the header present?
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1696 $as_echo_n "checking $2 presence... " >&6; }
1697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1698 /* end confdefs.h. */
1701 if ac_fn_c_try_cpp
"$LINENO"; then :
1702 ac_header_preproc
=yes
1704 ac_header_preproc
=no
1706 rm -f conftest.err conftest.
$ac_ext
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1708 $as_echo "$ac_header_preproc" >&6; }
1710 # So? What about this header?
1711 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1714 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1716 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1720 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1722 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1724 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1726 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1728 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1730 ## --------------------------------------- ##
1731 ## Report this to systemtap@sourceware.org ##
1732 ## --------------------------------------- ##
1734 ) |
sed "s/^/$as_me: WARNING: /" >&2
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1738 $as_echo_n "checking for $2... " >&6; }
1739 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1740 $as_echo_n "(cached) " >&6
1742 eval "$3=\$ac_header_compiler"
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1746 $as_echo "$ac_res" >&6; }
1748 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1750 } # ac_fn_c_check_header_mongrel
1752 # ac_fn_c_try_run LINENO
1753 # ----------------------
1754 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1755 # that executables *can* be run.
1758 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1759 if { { ac_try
="$ac_link"
1761 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1762 *) ac_try_echo=$ac_try;;
1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766 (eval "$ac_link") 2>&5
1768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1770 { { case "(($ac_try" in
1771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1772 *) ac_try_echo
=$ac_try;;
1774 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_try") 2>&5
1778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779 test $ac_status = 0; }; }; then :
1782 $as_echo "$as_me: program exited with status $ac_status" >&5
1783 $as_echo "$as_me: failed program was:" >&5
1784 sed 's/^/| /' conftest.
$ac_ext >&5
1786 ac_retval
=$ac_status
1788 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1789 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1790 as_fn_set_status
$ac_retval
1794 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1795 # -------------------------------------------------------
1796 # Tests whether HEADER exists and can be compiled using the include files in
1797 # INCLUDES, setting the cache variable VAR accordingly.
1798 ac_fn_c_check_header_compile
()
1800 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1802 $as_echo_n "checking for $2... " >&6; }
1803 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1804 $as_echo_n "(cached) " >&6
1806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1807 /* end confdefs.h. */
1811 if ac_fn_c_try_compile
"$LINENO"; then :
1816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1820 $as_echo "$ac_res" >&6; }
1821 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1823 } # ac_fn_c_check_header_compile
1825 # ac_fn_cxx_try_compile LINENO
1826 # ----------------------------
1827 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1828 ac_fn_cxx_try_compile
()
1830 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1831 rm -f conftest.
$ac_objext
1832 if { { ac_try
="$ac_compile"
1834 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1835 *) ac_try_echo=$ac_try;;
1837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1838 $as_echo "$ac_try_echo"; } >&5
1839 (eval "$ac_compile") 2>conftest.err
1841 if test -s conftest.err; then
1842 grep -v '^ *+' conftest.err >conftest.er1
1843 cat conftest.er1 >&5
1844 mv -f conftest.er1 conftest.err
1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847 test $ac_status = 0; } && {
1848 test -z "$ac_cxx_werror_flag" ||
1849 test ! -s conftest.err
1850 } && test -s conftest.$ac_objext; then :
1853 $as_echo "$as_me: failed program was:" >&5
1854 sed 's/^/| /' conftest.$ac_ext >&5
1858 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1859 as_fn_set_status $ac_retval
1861 } # ac_fn_cxx_try_compile
1863 # ac_fn_c_try_link LINENO
1864 # -----------------------
1865 # Try to link conftest.$ac_ext, and return whether this succeeded.
1868 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1869 rm -f conftest.$ac_objext conftest$ac_exeext
1870 if { { ac_try="$ac_link"
1872 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1873 *) ac_try_echo
=$ac_try;;
1875 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1876 $as_echo "$ac_try_echo"; } >&5
1877 (eval "$ac_link") 2>conftest.err
1879 if test -s conftest.err
; then
1880 grep -v '^ *+' conftest.err
>conftest.er1
1881 cat conftest.er1
>&5
1882 mv -f conftest.er1 conftest.err
1884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1885 test $ac_status = 0; } && {
1886 test -z "$ac_c_werror_flag" ||
1887 test ! -s conftest.err
1888 } && test -s conftest
$ac_exeext && {
1889 test "$cross_compiling" = yes ||
1890 $as_test_x conftest
$ac_exeext
1894 $as_echo "$as_me: failed program was:" >&5
1895 sed 's/^/| /' conftest.
$ac_ext >&5
1899 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1900 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1901 # interfere with the next link command; also delete a directory that is
1902 # left behind by Apple's compiler. We do this before executing the actions.
1903 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1904 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1905 as_fn_set_status
$ac_retval
1907 } # ac_fn_c_try_link
1909 # ac_fn_c_check_func LINENO FUNC VAR
1910 # ----------------------------------
1911 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1912 ac_fn_c_check_func
()
1914 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1916 $as_echo_n "checking for $2... " >&6; }
1917 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1918 $as_echo_n "(cached) " >&6
1920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1921 /* end confdefs.h. */
1922 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1924 #define $2 innocuous_$2
1926 /* System header to define __stub macros and hopefully few prototypes,
1927 which can conflict with char $2 (); below.
1928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1929 <limits.h> exists even on freestanding compilers. */
1932 # include <limits.h>
1934 # include <assert.h>
1939 /* Override any GCC internal prototype to avoid an error.
1940 Use char because int might match the return type of a GCC
1941 builtin and then its argument prototype would still apply. */
1946 /* The GNU C library defines this for functions which it implements
1947 to always fail with ENOSYS. Some functions are actually named
1948 something starting with __ and the normal name is an alias. */
1949 #if defined __stub_$2 || defined __stub___$2
1961 if ac_fn_c_try_link
"$LINENO"; then :
1966 rm -f core conftest.err conftest.
$ac_objext \
1967 conftest
$ac_exeext conftest.
$ac_ext
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1971 $as_echo "$ac_res" >&6; }
1972 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1974 } # ac_fn_c_check_func
1976 # ac_fn_cxx_try_cpp LINENO
1977 # ------------------------
1978 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1979 ac_fn_cxx_try_cpp
()
1981 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1982 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1984 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1985 *) ac_try_echo=$ac_try;;
1987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1988 $as_echo "$ac_try_echo"; } >&5
1989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1991 if test -s conftest.err; then
1992 grep -v '^ *+' conftest.err >conftest.er1
1993 cat conftest.er1 >&5
1994 mv -f conftest.er1 conftest.err
1996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1997 test $ac_status = 0; } >/dev/null && {
1998 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1999 test ! -s conftest.err
2003 $as_echo "$as_me: failed program was:" >&5
2004 sed 's/^/| /' conftest.$ac_ext >&5
2008 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2009 as_fn_set_status $ac_retval
2011 } # ac_fn_cxx_try_cpp
2013 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2014 # ---------------------------------------------------------
2015 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2016 # the include files in INCLUDES and setting the cache variable VAR
2018 ac_fn_cxx_check_header_mongrel ()
2020 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2021 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2023 $as_echo_n "checking for $2... " >&6; }
2024 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2025 $as_echo_n "(cached) " >&6
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2029 $as_echo "$ac_res" >&6; }
2031 # Is the header compilable?
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2033 $as_echo_n "checking $2 usability... " >&6; }
2034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2035 /* end confdefs.h. */
2039 if ac_fn_cxx_try_compile "$LINENO"; then :
2040 ac_header_compiler=yes
2042 ac_header_compiler=no
2044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2046 $as_echo "$ac_header_compiler" >&6; }
2048 # Is the header present?
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2050 $as_echo_n "checking $2 presence... " >&6; }
2051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2052 /* end confdefs.h. */
2055 if ac_fn_cxx_try_cpp "$LINENO"; then :
2056 ac_header_preproc=yes
2058 ac_header_preproc=no
2060 rm -f conftest.err conftest.$ac_ext
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2062 $as_echo "$ac_header_preproc" >&6; }
2064 # So? What about this header?
2065 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2068 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2070 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2074 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2076 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2078 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2080 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2082 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2084 ## --------------------------------------- ##
2085 ## Report this to systemtap@sourceware.org ##
2086 ## --------------------------------------- ##
2088 ) | sed "s/^/$as_me: WARNING: /" >&2
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2092 $as_echo_n "checking for $2... " >&6; }
2093 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2094 $as_echo_n "(cached) " >&6
2096 eval "$3=\$ac_header_compiler"
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2100 $as_echo "$ac_res" >&6; }
2102 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2104 } # ac_fn_cxx_check_header_mongrel
2105 cat >config.log <<_ACEOF
2106 This file contains any messages produced by compilers while
2107 running configure, to aid debugging if configure makes a mistake.
2109 It was created by systemtap $as_me 1.6, which was
2110 generated by GNU Autoconf 2.65. Invocation command line was
2122 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2123 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2124 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2125 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2126 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2128 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2129 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2131 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2132 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2133 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2134 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2135 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2136 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2137 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2145 test -z "$as_dir" && as_dir=.
2146 $as_echo "PATH: $as_dir"
2162 # Keep a trace of the command line.
2163 # Strip out --no-create and --no-recursion so they do not pile up.
2164 # Strip out --silent because we don't want to record it for future runs.
2165 # Also quote any args containing shell meta-characters.
2166 # Make two passes to allow for proper duplicate-argument suppression.
2170 ac_must_keep_next=false
2176 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2177 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2178 | -silent | --silent | --silen | --sile | --sil)
2181 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2184 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2186 as_fn_append ac_configure_args1 " '$ac_arg'"
2187 if test $ac_must_keep_next = true; then
2188 ac_must_keep_next=false # Got value, back to normal.
2191 *=* | --config-cache | -C | -disable-* | --disable-* \
2192 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2193 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2194 | -with-* | --with-* | -without-* | --without-* | --x)
2195 case "$ac_configure_args0 " in
2196 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2199 -* ) ac_must_keep_next=true ;;
2202 as_fn_append ac_configure_args " '$ac_arg'"
2207 { ac_configure_args0=; unset ac_configure_args0;}
2208 { ac_configure_args1=; unset ac_configure_args1;}
2210 # When interrupted or exit'd, cleanup temporary files, and complete
2211 # config.log. We remove comments because anyway the quotes in there
2212 # would cause problems or look ugly.
2213 # WARNING: Use '\'' to represent an apostrophe within the trap.
2214 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2215 trap 'exit_status=$?
2216 # Save into config.log some information that might help in debugging.
2221 ## ---------------- ##
2222 ## Cache variables. ##
2223 ## ---------------- ##
2226 # The following way of writing the cache mishandles newlines in values,
2228 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2229 eval ac_val=\$$ac_var
2233 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2234 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2237 _ | IFS | as_nl) ;; #(
2238 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2239 *) { eval $ac_var=; unset $ac_var;} ;;
2244 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2245 *${as_nl}ac_space=\ *)
2247 "s/'\''/'\''\\\\'\'''\''/g;
2248 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2251 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2259 ## ----------------- ##
2260 ## Output variables. ##
2261 ## ----------------- ##
2264 for ac_var in $ac_subst_vars
2266 eval ac_val=\$$ac_var
2268 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2270 $as_echo "$ac_var='\''$ac_val'\''"
2274 if test -n "$ac_subst_files"; then
2276 ## ------------------- ##
2277 ## File substitutions. ##
2278 ## ------------------- ##
2281 for ac_var in $ac_subst_files
2283 eval ac_val=\$$ac_var
2285 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2287 $as_echo "$ac_var='\''$ac_val'\''"
2292 if test -s confdefs.h; then
2302 test "$ac_signal" != 0 &&
2303 $as_echo "$as_me: caught signal $ac_signal"
2304 $as_echo "$as_me: exit $exit_status"
2306 rm -f core *.core core.conftest.* &&
2307 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2310 for ac_signal in 1 2 13 15; do
2311 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2315 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2316 rm -f -r conftest* confdefs.h
2318 $as_echo "/* confdefs.h */" > confdefs.h
2320 # Predefined preprocessor variables.
2322 cat >>confdefs.h <<_ACEOF
2323 #define PACKAGE_NAME "$PACKAGE_NAME"
2326 cat >>confdefs.h <<_ACEOF
2327 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2330 cat >>confdefs.h <<_ACEOF
2331 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2334 cat >>confdefs.h <<_ACEOF
2335 #define PACKAGE_STRING "$PACKAGE_STRING"
2338 cat >>confdefs.h <<_ACEOF
2339 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2342 cat >>confdefs.h <<_ACEOF
2343 #define PACKAGE_URL "$PACKAGE_URL"
2347 # Let the site file select an alternate cache file if it wants to.
2348 # Prefer an explicitly selected file to automatically selected ones.
2351 if test -n "$CONFIG_SITE"; then
2352 ac_site_file1=$CONFIG_SITE
2353 elif test "x$prefix" != xNONE; then
2354 ac_site_file1=$prefix/share/config.site
2355 ac_site_file2=$prefix/etc/config.site
2357 ac_site_file1=$ac_default_prefix/share/config.site
2358 ac_site_file2=$ac_default_prefix/etc/config.site
2360 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2362 test "x$ac_site_file" = xNONE && continue
2363 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2365 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2366 sed 's/^/| /' "$ac_site_file" >&5
2371 if test -r "$cache_file"; then
2372 # Some versions of bash will fail to source /dev/null (special files
2373 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2374 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2376 $as_echo "$as_me: loading cache $cache_file" >&6;}
2378 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2379 *) . "./$cache_file";;
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2384 $as_echo "$as_me: creating cache $cache_file" >&6;}
2388 gt_needs="$gt_needs "
2389 # Check that the precious variables saved in the cache have kept the same
2391 ac_cache_corrupted=false
2392 for ac_var in $ac_precious_vars; do
2393 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2394 eval ac_new_set=\$ac_env_${ac_var}_set
2395 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2396 eval ac_new_val=\$ac_env_${ac_var}_value
2397 case $ac_old_set,$ac_new_set in
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2400 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2401 ac_cache_corrupted=: ;;
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2404 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2405 ac_cache_corrupted=: ;;
2408 if test "x$ac_old_val" != "x$ac_new_val"; then
2409 # differences in whitespace do not lead to failure.
2410 ac_old_val_w=`echo x
$ac_old_val`
2411 ac_new_val_w=`echo x
$ac_new_val`
2412 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2414 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2415 ac_cache_corrupted=:
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2418 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2419 eval $ac_var=\$ac_old_val
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2422 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2424 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2427 # Pass precious variables to config.status.
2428 if test "$ac_new_set" = set; then
2430 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2431 *) ac_arg=$ac_var=$ac_new_val ;;
2433 case " $ac_configure_args " in
2434 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2435 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2439 if $ac_cache_corrupted; then
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2443 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2444 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2446 ## -------------------- ##
2447 ## Main body of script. ##
2448 ## -------------------- ##
2451 ac_cpp='$CPP $CPPFLAGS'
2452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2459 am__api_version='1.11'
2462 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2463 for ac_t in install-sh install.sh shtool; do
2464 if test -f "$ac_dir/$ac_t"; then
2466 ac_install_sh="$ac_aux_dir/$ac_t -c"
2471 if test -z "$ac_aux_dir"; then
2472 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2475 # These three variables are undocumented and unsupported,
2476 # and are intended to be withdrawn in a future Autoconf release.
2477 # They can cause serious problems if a builder's source tree is in a directory
2478 # whose full name contains unusual characters.
2479 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2480 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2481 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2484 # Find a good install program. We prefer a C program (faster),
2485 # so one script is as good as another. But avoid the broken or
2486 # incompatible versions:
2487 # SysV /etc/install, /usr/sbin/install
2488 # SunOS /usr/etc/install
2489 # IRIX /sbin/install
2491 # AmigaOS /C/install, which installs bootblocks on floppy discs
2492 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2493 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2494 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2495 # OS/2's system install, which has a completely different semantic
2496 # ./install, which can be erroneously created by make from ./install.sh.
2497 # Reject install programs that cannot install multiple files.
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2499 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2500 if test -z "$INSTALL"; then
2501 if test "${ac_cv_path_install+set}" = set; then :
2502 $as_echo_n "(cached) " >&6
2504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2508 test -z "$as_dir" && as_dir=.
2509 # Account for people who put trailing slashes in PATH elements.
2510 case $as_dir/ in #((
2511 ./ | .// | /[cC]/* | \
2512 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2513 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2516 # OSF1 and SCO ODT 3.0 have their own names for install.
2517 # Don't use installbsd from OSF since it installs stuff as root
2519 for ac_prog in ginstall scoinst install; do
2520 for ac_exec_ext in '' $ac_executable_extensions; do
2521 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2522 if test $ac_prog = install &&
2523 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2524 # AIX install. It has an incompatible calling convention.
2526 elif test $ac_prog = install &&
2527 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2528 # program-specific install script used by HP pwplus--don't use.
2531 rm -rf conftest.one conftest.two conftest.dir
2532 echo one > conftest.one
2533 echo two > conftest.two
2535 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2536 test -s conftest.one && test -s conftest.two &&
2537 test -s conftest.dir/conftest.one &&
2538 test -s conftest.dir/conftest.two
2540 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2553 rm -rf conftest.one conftest.two conftest.dir
2556 if test "${ac_cv_path_install+set}" = set; then
2557 INSTALL=$ac_cv_path_install
2559 # As a last resort, use the slow shell script. Don't cache a
2560 # value for INSTALL within a source directory, because that will
2561 # break other packages using the cache if that directory is
2562 # removed, or if the value is a relative name.
2563 INSTALL=$ac_install_sh
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2567 $as_echo "$INSTALL" >&6; }
2569 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2570 # It thinks the first close brace ends the variable substitution.
2571 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2573 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2575 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2578 $as_echo_n "checking whether build environment is sane... " >&6; }
2581 echo timestamp > conftest.file
2582 # Reject unsafe characters in $srcdir or the absolute working directory
2583 # name. Accept space and tab only in the latter.
2587 *[\\\"\#\$\&\'\`$am_lf]*)
2588 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2591 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2592 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2595 # Do `set' in a subshell so we don't clobber the current shell's
2596 # arguments. Must try -L first in case configure is actually a
2597 # symlink; some systems play weird games with the mod time of symlinks
2598 # (eg FreeBSD returns the mod time of the symlink's containing
2601 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2602 if test "$*" = "X"; then
2604 set X
`ls -t "$srcdir/configure" conftest.file`
2607 if test "$*" != "X $srcdir/configure conftest.file" \
2608 && test "$*" != "X conftest.file $srcdir/configure"; then
2610 # If neither matched, then we have a broken ls. This can happen
2611 # if, for instance, CONFIG_SHELL is bash and it inherits a
2612 # broken ls alias from the environment. This has actually
2613 # happened. Such a system could not be considered "sane".
2614 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2615 alias in your environment" "$LINENO" 5
2618 test "$2" = conftest.
file
2624 as_fn_error
"newly created file is older than distributed files!
2625 Check your system clock" "$LINENO" 5
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2628 $as_echo "yes" >&6; }
2629 test "$program_prefix" != NONE
&&
2630 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2631 # Use a double $ so make ignores it.
2632 test "$program_suffix" != NONE
&&
2633 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2634 # Double any \ or $.
2635 # By default was `s,x,x', remove it if useless.
2636 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2637 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2639 # expand $ac_aux_dir to an absolute path
2640 am_aux_dir
=`cd $ac_aux_dir && pwd`
2642 if test x
"${MISSING+set}" != xset
; then
2645 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2647 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2650 # Use eval to expand $SHELL
2651 if eval "$MISSING --run true"; then
2652 am_missing_run
="$MISSING --run "
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2656 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2659 if test x
"${install_sh}" != xset
; then
2662 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2664 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2668 # Installed binaries are usually stripped using `strip' when the user
2669 # run `make install-strip'. However `strip' might not be the right
2670 # tool to use in cross-compilation environments, therefore Automake
2671 # will honor the `STRIP' environment variable to overrule this program.
2672 if test "$cross_compiling" != no
; then
2673 if test -n "$ac_tool_prefix"; then
2674 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2675 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2677 $as_echo_n "checking for $ac_word... " >&6; }
2678 if test "${ac_cv_prog_STRIP+set}" = set; then :
2679 $as_echo_n "(cached) " >&6
2681 if test -n "$STRIP"; then
2682 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2688 test -z "$as_dir" && as_dir
=.
2689 for ac_exec_ext
in '' $ac_executable_extensions; do
2690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2691 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2701 STRIP
=$ac_cv_prog_STRIP
2702 if test -n "$STRIP"; then
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2704 $as_echo "$STRIP" >&6; }
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2707 $as_echo "no" >&6; }
2712 if test -z "$ac_cv_prog_STRIP"; then
2714 # Extract the first word of "strip", so it can be a program name with args.
2715 set dummy strip
; ac_word
=$2
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2717 $as_echo_n "checking for $ac_word... " >&6; }
2718 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2719 $as_echo_n "(cached) " >&6
2721 if test -n "$ac_ct_STRIP"; then
2722 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2728 test -z "$as_dir" && as_dir
=.
2729 for ac_exec_ext
in '' $ac_executable_extensions; do
2730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2731 ac_cv_prog_ac_ct_STRIP
="strip"
2732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2741 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2742 if test -n "$ac_ct_STRIP"; then
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2744 $as_echo "$ac_ct_STRIP" >&6; }
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2747 $as_echo "no" >&6; }
2750 if test "x$ac_ct_STRIP" = x
; then
2753 case $cross_compiling:$ac_tool_warned in
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2757 ac_tool_warned
=yes ;;
2762 STRIP
="$ac_cv_prog_STRIP"
2766 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2769 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2770 if test -z "$MKDIR_P"; then
2771 if test "${ac_cv_path_mkdir+set}" = set; then :
2772 $as_echo_n "(cached) " >&6
2774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2775 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2778 test -z "$as_dir" && as_dir
=.
2779 for ac_prog
in mkdir gmkdir
; do
2780 for ac_exec_ext
in '' $ac_executable_extensions; do
2781 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2782 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2783 'mkdir (GNU coreutils) '* | \
2784 'mkdir (coreutils) '* | \
2785 'mkdir (fileutils) '4.1*)
2786 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2796 test -d .
/--version && rmdir .
/--version
2797 if test "${ac_cv_path_mkdir+set}" = set; then
2798 MKDIR_P
="$ac_cv_path_mkdir -p"
2800 # As a last resort, use the slow shell script. Don't cache a
2801 # value for MKDIR_P within a source directory, because that will
2802 # break other packages using the cache if that directory is
2803 # removed, or if the value is a relative name.
2804 MKDIR_P
="$ac_install_sh -d"
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2808 $as_echo "$MKDIR_P" >&6; }
2812 [\\/$
]* | ?
:[\\/]*) ;;
2813 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2816 for ac_prog
in gawk mawk nawk
awk
2818 # Extract the first word of "$ac_prog", so it can be a program name with args.
2819 set dummy
$ac_prog; ac_word
=$2
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2821 $as_echo_n "checking for $ac_word... " >&6; }
2822 if test "${ac_cv_prog_AWK+set}" = set; then :
2823 $as_echo_n "(cached) " >&6
2825 if test -n "$AWK"; then
2826 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2832 test -z "$as_dir" && as_dir
=.
2833 for ac_exec_ext
in '' $ac_executable_extensions; do
2834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2835 ac_cv_prog_AWK
="$ac_prog"
2836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2846 if test -n "$AWK"; then
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2848 $as_echo "$AWK" >&6; }
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2851 $as_echo "no" >&6; }
2855 test -n "$AWK" && break
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2859 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2861 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2862 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2863 $as_echo_n "(cached) " >&6
2865 cat >conftest.
make <<\_ACEOF
2868 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2870 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2871 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2873 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2875 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2879 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2881 $as_echo "yes" >&6; }
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2885 $as_echo "no" >&6; }
2886 SET_MAKE
="MAKE=${MAKE-make}"
2889 rm -rf .tst
2>/dev
/null
2890 mkdir .tst
2>/dev
/null
2891 if test -d .tst
; then
2896 rmdir .tst
2>/dev
/null
2898 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2899 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2900 # is not polluted with repeated "-I."
2901 am__isrc
=' -I$(srcdir)'
2902 # test to see if srcdir already configured
2903 if test -f $srcdir/config.status
; then
2904 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2908 # test whether we have cygpath
2909 if test -z "$CYGPATH_W"; then
2910 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2911 CYGPATH_W
='cygpath -w'
2918 # Define the identity of the package.
2923 cat >>confdefs.h
<<_ACEOF
2924 #define PACKAGE "$PACKAGE"
2928 cat >>confdefs.h
<<_ACEOF
2929 #define VERSION "$VERSION"
2932 # Some tools Automake needs.
2934 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2937 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2940 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2943 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2946 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2948 # We need awk for the "check" target. The system "awk" is bad on
2950 # Always define AMTAR for backward compatibility.
2952 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2954 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2962 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2963 # Check whether --enable-maintainer-mode was given.
2964 if test "${enable_maintainer_mode+set}" = set; then :
2965 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2967 USE_MAINTAINER_MODE
=no
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2971 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2972 if test $USE_MAINTAINER_MODE = yes; then
2973 MAINTAINER_MODE_TRUE
=
2974 MAINTAINER_MODE_FALSE
='#'
2976 MAINTAINER_MODE_TRUE
='#'
2977 MAINTAINER_MODE_FALSE
=
2980 MAINT
=$MAINTAINER_MODE_TRUE
2984 # Check whether --enable-silent-rules was given.
2985 if test "${enable_silent_rules+set}" = set; then :
2986 enableval
=$enable_silent_rules;
2989 case $enable_silent_rules in
2990 yes) AM_DEFAULT_VERBOSITY
=0;;
2991 no
) AM_DEFAULT_VERBOSITY
=1;;
2992 *) AM_DEFAULT_VERBOSITY
=0;;
2997 DEPDIR="${am__leading_dot}deps"
2999 ac_config_commands="$ac_config_commands depfiles"
3002 am_make=${MAKE-make}
3003 cat > confinc << 'END
'
3005 @echo this is the am__doit target
3008 # If we don't
find an include directive
, just comment out the code.
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3010 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3014 # First try GNU make style include.
3015 echo "include confinc" > confmf
3016 # Ignore all kinds of additional output from `make'.
3017 case `$am_make -s -f confmf 2> /dev/null` in #(
3018 *the\ am__doit\ target
*)
3024 # Now try BSD make style include.
3025 if test "$am__include" = "#"; then
3026 echo '.include "confinc"' > confmf
3027 case `$am_make -s -f confmf 2> /dev/null` in #(
3028 *the\ am__doit\ target
*)
3029 am__include
=.include
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3038 $as_echo "$_am_result" >&6; }
3039 rm -f confinc confmf
3041 # Check whether --enable-dependency-tracking was given.
3042 if test "${enable_dependency_tracking+set}" = set; then :
3043 enableval
=$enable_dependency_tracking;
3046 if test "x$enable_dependency_tracking" != xno
; then
3047 am_depcomp
="$ac_aux_dir/depcomp"
3050 if test "x$enable_dependency_tracking" != xno; then
3060 ac_cpp
='$CPP $CPPFLAGS'
3061 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3062 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3063 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3064 if test -n "$ac_tool_prefix"; then
3065 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3066 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3068 $as_echo_n "checking for $ac_word... " >&6; }
3069 if test "${ac_cv_prog_CC+set}" = set; then :
3070 $as_echo_n "(cached) " >&6
3072 if test -n "$CC"; then
3073 ac_cv_prog_CC
="$CC" # Let the user override the test.
3075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3079 test -z "$as_dir" && as_dir
=.
3080 for ac_exec_ext
in '' $ac_executable_extensions; do
3081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3082 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3093 if test -n "$CC"; then
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3095 $as_echo "$CC" >&6; }
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3098 $as_echo "no" >&6; }
3103 if test -z "$ac_cv_prog_CC"; then
3105 # Extract the first word of "gcc", so it can be a program name with args.
3106 set dummy gcc
; ac_word
=$2
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3108 $as_echo_n "checking for $ac_word... " >&6; }
3109 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3110 $as_echo_n "(cached) " >&6
3112 if test -n "$ac_ct_CC"; then
3113 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3119 test -z "$as_dir" && as_dir
=.
3120 for ac_exec_ext
in '' $ac_executable_extensions; do
3121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3122 ac_cv_prog_ac_ct_CC
="gcc"
3123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3132 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3133 if test -n "$ac_ct_CC"; then
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3135 $as_echo "$ac_ct_CC" >&6; }
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3138 $as_echo "no" >&6; }
3141 if test "x$ac_ct_CC" = x
; then
3144 case $cross_compiling:$ac_tool_warned in
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3147 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3148 ac_tool_warned
=yes ;;
3156 if test -z "$CC"; then
3157 if test -n "$ac_tool_prefix"; then
3158 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3159 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3161 $as_echo_n "checking for $ac_word... " >&6; }
3162 if test "${ac_cv_prog_CC+set}" = set; then :
3163 $as_echo_n "(cached) " >&6
3165 if test -n "$CC"; then
3166 ac_cv_prog_CC
="$CC" # Let the user override the test.
3168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3172 test -z "$as_dir" && as_dir
=.
3173 for ac_exec_ext
in '' $ac_executable_extensions; do
3174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3175 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3186 if test -n "$CC"; then
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3188 $as_echo "$CC" >&6; }
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3191 $as_echo "no" >&6; }
3197 if test -z "$CC"; then
3198 # Extract the first word of "cc", so it can be a program name with args.
3199 set dummy cc
; ac_word
=$2
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3201 $as_echo_n "checking for $ac_word... " >&6; }
3202 if test "${ac_cv_prog_CC+set}" = set; then :
3203 $as_echo_n "(cached) " >&6
3205 if test -n "$CC"; then
3206 ac_cv_prog_CC
="$CC" # Let the user override the test.
3209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3213 test -z "$as_dir" && as_dir
=.
3214 for ac_exec_ext
in '' $ac_executable_extensions; do
3215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3216 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3217 ac_prog_rejected
=yes
3221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3228 if test $ac_prog_rejected = yes; then
3229 # We found a bogon in the path, so make sure we never use it.
3230 set dummy
$ac_cv_prog_CC
3232 if test $# != 0; then
3233 # We chose a different compiler from the bogus one.
3234 # However, it has the same basename, so the bogon will be chosen
3235 # first if we set CC to just the basename; use the full file name.
3237 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3243 if test -n "$CC"; then
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3245 $as_echo "$CC" >&6; }
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3248 $as_echo "no" >&6; }
3253 if test -z "$CC"; then
3254 if test -n "$ac_tool_prefix"; then
3255 for ac_prog
in cl.exe
3257 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3258 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3260 $as_echo_n "checking for $ac_word... " >&6; }
3261 if test "${ac_cv_prog_CC+set}" = set; then :
3262 $as_echo_n "(cached) " >&6
3264 if test -n "$CC"; then
3265 ac_cv_prog_CC
="$CC" # Let the user override the test.
3267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3271 test -z "$as_dir" && as_dir
=.
3272 for ac_exec_ext
in '' $ac_executable_extensions; do
3273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3274 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285 if test -n "$CC"; then
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3287 $as_echo "$CC" >&6; }
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3290 $as_echo "no" >&6; }
3294 test -n "$CC" && break
3297 if test -z "$CC"; then
3299 for ac_prog
in cl.exe
3301 # Extract the first word of "$ac_prog", so it can be a program name with args.
3302 set dummy
$ac_prog; ac_word
=$2
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3304 $as_echo_n "checking for $ac_word... " >&6; }
3305 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3306 $as_echo_n "(cached) " >&6
3308 if test -n "$ac_ct_CC"; then
3309 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3315 test -z "$as_dir" && as_dir
=.
3316 for ac_exec_ext
in '' $ac_executable_extensions; do
3317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3318 ac_cv_prog_ac_ct_CC
="$ac_prog"
3319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3328 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3329 if test -n "$ac_ct_CC"; then
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3331 $as_echo "$ac_ct_CC" >&6; }
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3334 $as_echo "no" >&6; }
3338 test -n "$ac_ct_CC" && break
3341 if test "x$ac_ct_CC" = x
; then
3344 case $cross_compiling:$ac_tool_warned in
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3347 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3348 ac_tool_warned
=yes ;;
3357 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3359 as_fn_error
"no acceptable C compiler found in \$PATH
3360 See \`config.log' for more details." "$LINENO" 5; }
3362 # Provide some information about the compiler.
3363 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3366 for ac_option
in --version -v -V -qversion; do
3367 { { ac_try
="$ac_compiler $ac_option >&5"
3369 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3370 *) ac_try_echo=$ac_try;;
3372 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3373 $as_echo "$ac_try_echo"; } >&5
3374 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3376 if test -s conftest.err; then
3378 ... rest of stderr output deleted ...
3379 10q' conftest.err >conftest.er1
3380 cat conftest.er1 >&5
3382 rm -f conftest.er1 conftest.err
3383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3384 test $ac_status = 0; }
3387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3388 /* end confdefs.h. */
3398 ac_clean_files_save=$ac_clean_files
3399 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3400 # Try to create an executable without -o first, disregard a.out.
3401 # It will help us diagnose broken compilers, and finding out an intuition
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3404 $as_echo_n "checking whether the C compiler works... " >&6; }
3405 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3407 # The possible output files:
3408 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3411 for ac_file in $ac_files
3414 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3415 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3420 if { { ac_try="$ac_link_default"
3422 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3423 *) ac_try_echo
=$ac_try;;
3425 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3426 $as_echo "$ac_try_echo"; } >&5
3427 (eval "$ac_link_default") 2>&5
3429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3430 test $ac_status = 0; }; then :
3431 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3432 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3433 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3434 # so that the user can short-circuit this test for compilers unknown to
3436 for ac_file
in $ac_files ''
3438 test -f "$ac_file" ||
continue
3440 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3443 # We found the default executable, but exeext='' is most
3447 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3449 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3451 # We set ac_cv_exeext here because the later test for it is not
3452 # safe: cross compilers may not add the suffix if given an `-o'
3453 # argument, so we may need to know it at that point already.
3454 # Even if this section looks crufty: it has the advantage of
3461 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3466 if test -z "$ac_file"; then :
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3468 $as_echo "no" >&6; }
3469 $as_echo "$as_me: failed program was:" >&5
3470 sed 's/^/| /' conftest.
$ac_ext >&5
3472 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3473 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3474 { as_fn_set_status
77
3475 as_fn_error
"C compiler cannot create executables
3476 See \`config.log' for more details." "$LINENO" 5; }; }
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3479 $as_echo "yes" >&6; }
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3482 $as_echo_n "checking for C compiler default output file name... " >&6; }
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3484 $as_echo "$ac_file" >&6; }
3485 ac_exeext
=$ac_cv_exeext
3487 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3488 ac_clean_files
=$ac_clean_files_save
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3490 $as_echo_n "checking for suffix of executables... " >&6; }
3491 if { { ac_try
="$ac_link"
3493 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3494 *) ac_try_echo=$ac_try;;
3496 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3497 $as_echo "$ac_try_echo"; } >&5
3498 (eval "$ac_link") 2>&5
3500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3501 test $ac_status = 0; }; then :
3502 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3503 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3504 # work properly (i.e., refer to `conftest.exe'), while it won't with
3506 for ac_file
in conftest.exe conftest conftest.
*; do
3507 test -f "$ac_file" ||
continue
3509 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3510 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3516 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3518 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3519 See \`config.log' for more details." "$LINENO" 5; }
3521 rm -f conftest conftest
$ac_cv_exeext
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3523 $as_echo "$ac_cv_exeext" >&6; }
3525 rm -f conftest.
$ac_ext
3526 EXEEXT
=$ac_cv_exeext
3528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3529 /* end confdefs.h. */
3534 FILE *f = fopen ("conftest.out", "w");
3535 return ferror (f) || fclose (f) != 0;
3541 ac_clean_files
="$ac_clean_files conftest.out"
3542 # Check that the compiler produces executables we can run. If not, either
3543 # the compiler is broken, or we cross compile.
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3545 $as_echo_n "checking whether we are cross compiling... " >&6; }
3546 if test "$cross_compiling" != yes; then
3547 { { ac_try
="$ac_link"
3549 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3550 *) ac_try_echo=$ac_try;;
3552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3553 $as_echo "$ac_try_echo"; } >&5
3554 (eval "$ac_link") 2>&5
3556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3557 test $ac_status = 0; }
3558 if { ac_try='./conftest$ac_cv_exeext'
3559 { { case "(($ac_try" in
3560 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3561 *) ac_try_echo
=$ac_try;;
3563 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3564 $as_echo "$ac_try_echo"; } >&5
3565 (eval "$ac_try") 2>&5
3567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3568 test $ac_status = 0; }; }; then
3571 if test "$cross_compiling" = maybe
; then
3574 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3575 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3576 as_fn_error
"cannot run C compiled programs.
3577 If you meant to cross compile, use \`--host'.
3578 See \`config.log' for more details." "$LINENO" 5; }
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3583 $as_echo "$cross_compiling" >&6; }
3585 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3586 ac_clean_files
=$ac_clean_files_save
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3588 $as_echo_n "checking for suffix of object files... " >&6; }
3589 if test "${ac_cv_objext+set}" = set; then :
3590 $as_echo_n "(cached) " >&6
3592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3593 /* end confdefs.h. */
3603 rm -f conftest.o conftest.obj
3604 if { { ac_try
="$ac_compile"
3606 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3607 *) ac_try_echo=$ac_try;;
3609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3610 $as_echo "$ac_try_echo"; } >&5
3611 (eval "$ac_compile") 2>&5
3613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3614 test $ac_status = 0; }; then :
3615 for ac_file in conftest.o conftest.obj conftest.*; do
3616 test -f "$ac_file" || continue;
3618 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3619 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3624 $as_echo "$as_me: failed program was:" >&5
3625 sed 's/^/| /' conftest.$ac_ext >&5
3627 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3629 as_fn_error "cannot compute suffix of object files
: cannot compile
3630 See \
`config.log' for more details." "$LINENO" 5; }
3632 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3635 $as_echo "$ac_cv_objext" >&6; }
3636 OBJEXT=$ac_cv_objext
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3639 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3640 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3641 $as_echo_n "(cached) " >&6
3643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3644 /* end confdefs.h. */
3657 if ac_fn_c_try_compile "$LINENO"; then :
3662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3663 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3667 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3668 if test $ac_compiler_gnu = yes; then
3673 ac_test_CFLAGS=${CFLAGS+set}
3674 ac_save_CFLAGS=$CFLAGS
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3676 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3677 if test "${ac_cv_prog_cc_g+set}" = set; then :
3678 $as_echo_n "(cached) " >&6
3680 ac_save_c_werror_flag=$ac_c_werror_flag
3681 ac_c_werror_flag=yes
3684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3685 /* end confdefs.h. */
3695 if ac_fn_c_try_compile "$LINENO"; then :
3699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3700 /* end confdefs.h. */
3710 if ac_fn_c_try_compile "$LINENO"; then :
3713 ac_c_werror_flag=$ac_save_c_werror_flag
3715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3716 /* end confdefs.h. */
3726 if ac_fn_c_try_compile "$LINENO"; then :
3729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3734 ac_c_werror_flag=$ac_save_c_werror_flag
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3737 $as_echo "$ac_cv_prog_cc_g" >&6; }
3738 if test "$ac_test_CFLAGS" = set; then
3739 CFLAGS=$ac_save_CFLAGS
3740 elif test $ac_cv_prog_cc_g = yes; then
3741 if test "$GCC" = yes; then
3747 if test "$GCC" = yes; then
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3754 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3755 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3756 $as_echo_n "(cached) " >&6
3758 ac_cv_prog_cc_c89=no
3760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3761 /* end confdefs.h. */
3764 #include <sys/types.h>
3765 #include <sys/stat.h>
3766 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3767 struct buf { int x; };
3768 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3769 static char *e (p, i)
3775 static char *f (char * (*g) (char **, int), char **p, ...)
3780 s = g (p, va_arg (v,int));
3785 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3786 function prototypes and stuff, but not '\xHH' hex character constants.
3787 These don't provoke an error unfortunately, instead are silently treated
3788 as 'x'. The following induces an error, until -std is added to get
3789 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3790 array size at least. It's necessary to write '\x00'==0 to get something
3791 that's true only with -std. */
3792 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3794 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3795 inside strings and character constants. */
3797 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3799 int test (int i, double x);
3800 struct s1 {int (*f) (int a);};
3801 struct s2 {int (*f) (double a);};
3802 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3808 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3813 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3814 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3816 CC="$ac_save_CC $ac_arg"
3817 if ac_fn_c_try_compile "$LINENO"; then :
3818 ac_cv_prog_cc_c89=$ac_arg
3820 rm -f core conftest.err conftest.$ac_objext
3821 test "x$ac_cv_prog_cc_c89" != "xno" && break
3823 rm -f conftest.$ac_ext
3828 case "x$ac_cv_prog_cc_c89" in
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3831 $as_echo "none needed" >&6; } ;;
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3834 $as_echo "unsupported" >&6; } ;;
3836 CC="$CC $ac_cv_prog_cc_c89"
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3838 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3840 if test "x$ac_cv_prog_cc_c89" != xno; then :
3845 ac_cpp='$CPP $CPPFLAGS'
3846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3850 depcc="$CC" am_compiler_list=
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3853 $as_echo_n "checking dependency style of $depcc... " >&6; }
3854 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3855 $as_echo_n "(cached) " >&6
3857 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3858 # We make a subdir and do the tests there. Otherwise we can end up
3859 # making bogus files that we don't know about and never remove. For
3860 # instance it was reported that on HP-UX the gcc test will end up
3861 # making a dummy file named `D
' -- because `-MD' means
`put the output
3864 # Copy depcomp to subdir because otherwise we won't find it if we're
3865 # using a relative directory.
3866 cp "$am_depcomp" conftest.dir
3868 # We will build objects and dependencies in a subdirectory because
3869 # it helps to detect inapplicable dependency modes. For instance
3870 # both Tru64's cc and ICC support -MD to output dependencies as a
3871 # side effect of compilation, but ICC will put the dependencies in
3872 # the current directory while Tru64 will put them in the object
3876 am_cv_CC_dependencies_compiler_type=none
3877 if test "$am_compiler_list" = ""; then
3878 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3881 case " $depcc " in #(
3882 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3885 for depmode in $am_compiler_list; do
3886 # Setup a source with many dependencies, because some compilers
3887 # like to wrap large dependency lists on column 80 (with \), and
3888 # we should not choose a depcomp mode which is confused by this.
3890 # We need to recreate these files for each test, as the compiler may
3891 # overwrite some of them when testing with obscure command lines.
3892 # This happens at least with the AIX C compiler.
3894 for i in 1 2 3 4 5 6; do
3895 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3896 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3897 # Solaris 8's
{/usr
,}/bin
/sh.
3898 touch sub
/conftst
$i.h
3900 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3902 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3903 # mode. It turns out that the SunPro C++ compiler does not properly
3904 # handle `-M -o', and we need to detect this. Also, some Intel
3905 # versions had trouble with output in subdirs
3906 am__obj
=sub
/conftest.
${OBJEXT-o}
3907 am__minus_obj
="-o $am__obj"
3910 # This depmode causes a compiler race in universal mode.
3911 test "$am__universal" = false ||
continue
3914 # after this tag, mechanisms are not by side-effect, so they'll
3915 # only be used when explicitly requested
3916 if test "x$enable_dependency_tracking" = xyes
; then
3922 msvisualcpp | msvcmsys
)
3923 # This compiler won't grok `-c -o', but also, the minuso test has
3924 # not run yet. These depmodes are late enough in the game, and
3925 # so weak that their functioning should not be impacted.
3926 am__obj
=conftest.
${OBJEXT-o}
3931 if depmode
=$depmode \
3932 source=sub
/conftest.c object
=$am__obj \
3933 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3934 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3935 >/dev
/null
2>conftest.err
&&
3936 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3937 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3938 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3939 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3940 # icc doesn't choke on unknown options, it will just issue warnings
3941 # or remarks (even with -Werror). So we grep stderr for any message
3942 # that says an option was ignored or not supported.
3943 # When given -MP, icc 7.0 and 7.1 complain thusly:
3944 # icc: Command line warning: ignoring option '-M'; no argument required
3945 # The diagnosis changed in icc 8.0:
3946 # icc: Command line remark: option '-MP' not supported
3947 if (grep 'ignoring option' conftest.err ||
3948 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3949 am_cv_CC_dependencies_compiler_type
=$depmode
3958 am_cv_CC_dependencies_compiler_type
=none
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3963 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3964 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3967 test "x$enable_dependency_tracking" != xno \
3968 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3970 am__fastdepCC_FALSE
='#'
3972 am__fastdepCC_TRUE
='#'
3973 am__fastdepCC_FALSE
=
3979 ac_cpp
='$CPP $CPPFLAGS'
3980 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3981 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3982 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3984 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3985 # On Suns, sometimes $CPP names a directory.
3986 if test -n "$CPP" && test -d "$CPP"; then
3989 if test -z "$CPP"; then
3990 if test "${ac_cv_prog_CPP+set}" = set; then :
3991 $as_echo_n "(cached) " >&6
3993 # Double quotes because CPP needs to be expanded
3994 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3997 for ac_c_preproc_warn_flag
in '' yes
3999 # Use a header file that comes with gcc, so configuring glibc
4000 # with a fresh cross-compiler works.
4001 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4002 # <limits.h> exists even on freestanding compilers.
4003 # On the NeXT, cc -E runs the code through the compiler's parser,
4004 # not just through cpp. "Syntax error" is here to catch this case.
4005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4006 /* end confdefs.h. */
4008 # include <limits.h>
4010 # include <assert.h>
4014 if ac_fn_c_try_cpp
"$LINENO"; then :
4017 # Broken: fails on valid input.
4020 rm -f conftest.err conftest.
$ac_ext
4022 # OK, works on sane cases. Now check whether nonexistent headers
4023 # can be detected and how.
4024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4025 /* end confdefs.h. */
4026 #include <ac_nonexistent.h>
4028 if ac_fn_c_try_cpp
"$LINENO"; then :
4029 # Broken: success on invalid input.
4032 # Passes both tests.
4036 rm -f conftest.err conftest.
$ac_ext
4039 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4040 rm -f conftest.err conftest.
$ac_ext
4041 if $ac_preproc_ok; then :
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4054 $as_echo "$CPP" >&6; }
4056 for ac_c_preproc_warn_flag
in '' yes
4058 # Use a header file that comes with gcc, so configuring glibc
4059 # with a fresh cross-compiler works.
4060 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4061 # <limits.h> exists even on freestanding compilers.
4062 # On the NeXT, cc -E runs the code through the compiler's parser,
4063 # not just through cpp. "Syntax error" is here to catch this case.
4064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4065 /* end confdefs.h. */
4067 # include <limits.h>
4069 # include <assert.h>
4073 if ac_fn_c_try_cpp
"$LINENO"; then :
4076 # Broken: fails on valid input.
4079 rm -f conftest.err conftest.
$ac_ext
4081 # OK, works on sane cases. Now check whether nonexistent headers
4082 # can be detected and how.
4083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4084 /* end confdefs.h. */
4085 #include <ac_nonexistent.h>
4087 if ac_fn_c_try_cpp
"$LINENO"; then :
4088 # Broken: success on invalid input.
4091 # Passes both tests.
4095 rm -f conftest.err conftest.
$ac_ext
4098 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4099 rm -f conftest.err conftest.
$ac_ext
4100 if $ac_preproc_ok; then :
4103 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4104 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4105 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4106 See \`config.log' for more details." "$LINENO" 5; }
4110 ac_cpp
='$CPP $CPPFLAGS'
4111 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4112 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4113 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4117 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4118 if test "${ac_cv_path_GREP+set}" = set; then :
4119 $as_echo_n "(cached) " >&6
4121 if test -z "$GREP"; then
4122 ac_path_GREP_found
=false
4123 # Loop through the user's path and test for each of PROGNAME-LIST
4124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4125 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4128 test -z "$as_dir" && as_dir
=.
4129 for ac_prog
in grep ggrep
; do
4130 for ac_exec_ext
in '' $ac_executable_extensions; do
4131 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4132 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4133 # Check for GNU ac_path_GREP and select it if it is found.
4134 # Check for GNU $ac_path_GREP
4135 case `"$ac_path_GREP" --version 2>&1` in
4137 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4140 $as_echo_n 0123456789 >"conftest.in"
4143 cat "conftest.in" "conftest.in" >"conftest.tmp"
4144 mv "conftest.tmp" "conftest.in"
4145 cp "conftest.in" "conftest.nl"
4146 $as_echo 'GREP' >> "conftest.nl"
4147 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4148 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4149 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4150 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4151 # Best one so far, save it but keep looking for a better one
4152 ac_cv_path_GREP
="$ac_path_GREP"
4153 ac_path_GREP_max
=$ac_count
4155 # 10*(2^10) chars as input seems more than enough
4156 test $ac_count -gt 10 && break
4158 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4161 $ac_path_GREP_found && break 3
4166 if test -z "$ac_cv_path_GREP"; then
4167 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4170 ac_cv_path_GREP
=$GREP
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4175 $as_echo "$ac_cv_path_GREP" >&6; }
4176 GREP
="$ac_cv_path_GREP"
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4180 $as_echo_n "checking for egrep... " >&6; }
4181 if test "${ac_cv_path_EGREP+set}" = set; then :
4182 $as_echo_n "(cached) " >&6
4184 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4185 then ac_cv_path_EGREP
="$GREP -E"
4187 if test -z "$EGREP"; then
4188 ac_path_EGREP_found
=false
4189 # Loop through the user's path and test for each of PROGNAME-LIST
4190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4191 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4194 test -z "$as_dir" && as_dir
=.
4195 for ac_prog
in egrep; do
4196 for ac_exec_ext
in '' $ac_executable_extensions; do
4197 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4198 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4199 # Check for GNU ac_path_EGREP and select it if it is found.
4200 # Check for GNU $ac_path_EGREP
4201 case `"$ac_path_EGREP" --version 2>&1` in
4203 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4206 $as_echo_n 0123456789 >"conftest.in"
4209 cat "conftest.in" "conftest.in" >"conftest.tmp"
4210 mv "conftest.tmp" "conftest.in"
4211 cp "conftest.in" "conftest.nl"
4212 $as_echo 'EGREP' >> "conftest.nl"
4213 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4214 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4215 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4216 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4217 # Best one so far, save it but keep looking for a better one
4218 ac_cv_path_EGREP
="$ac_path_EGREP"
4219 ac_path_EGREP_max
=$ac_count
4221 # 10*(2^10) chars as input seems more than enough
4222 test $ac_count -gt 10 && break
4224 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4227 $ac_path_EGREP_found && break 3
4232 if test -z "$ac_cv_path_EGREP"; then
4233 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4236 ac_cv_path_EGREP
=$EGREP
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4242 $as_echo "$ac_cv_path_EGREP" >&6; }
4243 EGREP
="$ac_cv_path_EGREP"
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4247 $as_echo_n "checking for ANSI C header files... " >&6; }
4248 if test "${ac_cv_header_stdc+set}" = set; then :
4249 $as_echo_n "(cached) " >&6
4251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4252 /* end confdefs.h. */
4266 if ac_fn_c_try_compile
"$LINENO"; then :
4267 ac_cv_header_stdc
=yes
4269 ac_cv_header_stdc
=no
4271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4273 if test $ac_cv_header_stdc = yes; then
4274 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4276 /* end confdefs.h. */
4280 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4281 $EGREP "memchr" >/dev
/null
2>&1; then :
4284 ac_cv_header_stdc
=no
4290 if test $ac_cv_header_stdc = yes; then
4291 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4293 /* end confdefs.h. */
4297 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4298 $EGREP "free" >/dev
/null
2>&1; then :
4301 ac_cv_header_stdc
=no
4307 if test $ac_cv_header_stdc = yes; then
4308 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4309 if test "$cross_compiling" = yes; then :
4312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4313 /* end confdefs.h. */
4316 #if ((' ' & 0x0FF) == 0x020)
4317 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4318 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4320 # define ISLOWER(c) \
4321 (('a' <= (c) && (c) <= 'i') \
4322 || ('j' <= (c) && (c) <= 'r') \
4323 || ('s' <= (c) && (c) <= 'z'))
4324 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4327 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4332 for (i = 0; i < 256; i++)
4333 if (XOR (islower (i), ISLOWER (i))
4334 || toupper (i) != TOUPPER (i))
4339 if ac_fn_c_try_run
"$LINENO"; then :
4342 ac_cv_header_stdc
=no
4344 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4345 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4351 $as_echo "$ac_cv_header_stdc" >&6; }
4352 if test $ac_cv_header_stdc = yes; then
4354 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4358 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4359 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4360 inttypes.h stdint.h unistd.h
4362 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4363 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4365 eval as_val
=\$
$as_ac_Header
4366 if test "x$as_val" = x
""yes; then :
4367 cat >>confdefs.h
<<_ACEOF
4368 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4377 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4378 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4385 if test "$MINIX" = yes; then
4387 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4390 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4393 $as_echo "#define _MINIX 1" >>confdefs.h
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4399 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4400 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4401 $as_echo_n "(cached) " >&6
4403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4404 /* end confdefs.h. */
4406 # define __EXTENSIONS__ 1
4407 $ac_includes_default
4416 if ac_fn_c_try_compile
"$LINENO"; then :
4417 ac_cv_safe_to_define___extensions__
=yes
4419 ac_cv_safe_to_define___extensions__
=no
4421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4424 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4425 test $ac_cv_safe_to_define___extensions__ = yes &&
4426 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4428 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4430 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4432 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4434 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4439 [\\/$
]* | ?
:[\\/]*) ;;
4440 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4445 $as_echo_n "checking whether ln -s works... " >&6; }
4447 if test "$LN_S" = "ln -s"; then
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4449 $as_echo "yes" >&6; }
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4452 $as_echo "no, using $LN_S" >&6; }
4456 ac_cpp
='$CPP $CPPFLAGS'
4457 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4458 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4459 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4460 if test -n "$ac_tool_prefix"; then
4461 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4462 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4464 $as_echo_n "checking for $ac_word... " >&6; }
4465 if test "${ac_cv_prog_CC+set}" = set; then :
4466 $as_echo_n "(cached) " >&6
4468 if test -n "$CC"; then
4469 ac_cv_prog_CC
="$CC" # Let the user override the test.
4471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4475 test -z "$as_dir" && as_dir
=.
4476 for ac_exec_ext
in '' $ac_executable_extensions; do
4477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4478 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4489 if test -n "$CC"; then
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4491 $as_echo "$CC" >&6; }
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4494 $as_echo "no" >&6; }
4499 if test -z "$ac_cv_prog_CC"; then
4501 # Extract the first word of "gcc", so it can be a program name with args.
4502 set dummy gcc
; ac_word
=$2
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4504 $as_echo_n "checking for $ac_word... " >&6; }
4505 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4506 $as_echo_n "(cached) " >&6
4508 if test -n "$ac_ct_CC"; then
4509 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4515 test -z "$as_dir" && as_dir
=.
4516 for ac_exec_ext
in '' $ac_executable_extensions; do
4517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4518 ac_cv_prog_ac_ct_CC
="gcc"
4519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4528 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4529 if test -n "$ac_ct_CC"; then
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4531 $as_echo "$ac_ct_CC" >&6; }
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4534 $as_echo "no" >&6; }
4537 if test "x$ac_ct_CC" = x
; then
4540 case $cross_compiling:$ac_tool_warned in
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4544 ac_tool_warned
=yes ;;
4552 if test -z "$CC"; then
4553 if test -n "$ac_tool_prefix"; then
4554 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4555 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4557 $as_echo_n "checking for $ac_word... " >&6; }
4558 if test "${ac_cv_prog_CC+set}" = set; then :
4559 $as_echo_n "(cached) " >&6
4561 if test -n "$CC"; then
4562 ac_cv_prog_CC
="$CC" # Let the user override the test.
4564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4568 test -z "$as_dir" && as_dir
=.
4569 for ac_exec_ext
in '' $ac_executable_extensions; do
4570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4571 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4582 if test -n "$CC"; then
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4584 $as_echo "$CC" >&6; }
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4587 $as_echo "no" >&6; }
4593 if test -z "$CC"; then
4594 # Extract the first word of "cc", so it can be a program name with args.
4595 set dummy cc
; ac_word
=$2
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4597 $as_echo_n "checking for $ac_word... " >&6; }
4598 if test "${ac_cv_prog_CC+set}" = set; then :
4599 $as_echo_n "(cached) " >&6
4601 if test -n "$CC"; then
4602 ac_cv_prog_CC
="$CC" # Let the user override the test.
4605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4609 test -z "$as_dir" && as_dir
=.
4610 for ac_exec_ext
in '' $ac_executable_extensions; do
4611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4612 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4613 ac_prog_rejected
=yes
4617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4624 if test $ac_prog_rejected = yes; then
4625 # We found a bogon in the path, so make sure we never use it.
4626 set dummy
$ac_cv_prog_CC
4628 if test $# != 0; then
4629 # We chose a different compiler from the bogus one.
4630 # However, it has the same basename, so the bogon will be chosen
4631 # first if we set CC to just the basename; use the full file name.
4633 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4639 if test -n "$CC"; then
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4641 $as_echo "$CC" >&6; }
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4644 $as_echo "no" >&6; }
4649 if test -z "$CC"; then
4650 if test -n "$ac_tool_prefix"; then
4651 for ac_prog
in cl.exe
4653 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4654 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4656 $as_echo_n "checking for $ac_word... " >&6; }
4657 if test "${ac_cv_prog_CC+set}" = set; then :
4658 $as_echo_n "(cached) " >&6
4660 if test -n "$CC"; then
4661 ac_cv_prog_CC
="$CC" # Let the user override the test.
4663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4667 test -z "$as_dir" && as_dir
=.
4668 for ac_exec_ext
in '' $ac_executable_extensions; do
4669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4670 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4681 if test -n "$CC"; then
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4683 $as_echo "$CC" >&6; }
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4686 $as_echo "no" >&6; }
4690 test -n "$CC" && break
4693 if test -z "$CC"; then
4695 for ac_prog
in cl.exe
4697 # Extract the first word of "$ac_prog", so it can be a program name with args.
4698 set dummy
$ac_prog; ac_word
=$2
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4700 $as_echo_n "checking for $ac_word... " >&6; }
4701 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4702 $as_echo_n "(cached) " >&6
4704 if test -n "$ac_ct_CC"; then
4705 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4711 test -z "$as_dir" && as_dir
=.
4712 for ac_exec_ext
in '' $ac_executable_extensions; do
4713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4714 ac_cv_prog_ac_ct_CC
="$ac_prog"
4715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4724 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4725 if test -n "$ac_ct_CC"; then
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4727 $as_echo "$ac_ct_CC" >&6; }
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4730 $as_echo "no" >&6; }
4734 test -n "$ac_ct_CC" && break
4737 if test "x$ac_ct_CC" = x
; then
4740 case $cross_compiling:$ac_tool_warned in
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4743 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4744 ac_tool_warned
=yes ;;
4753 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4755 as_fn_error
"no acceptable C compiler found in \$PATH
4756 See \`config.log' for more details." "$LINENO" 5; }
4758 # Provide some information about the compiler.
4759 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4762 for ac_option
in --version -v -V -qversion; do
4763 { { ac_try
="$ac_compiler $ac_option >&5"
4765 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4766 *) ac_try_echo=$ac_try;;
4768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4769 $as_echo "$ac_try_echo"; } >&5
4770 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4772 if test -s conftest.err; then
4774 ... rest of stderr output deleted ...
4775 10q' conftest.err >conftest.er1
4776 cat conftest.er1 >&5
4778 rm -f conftest.er1 conftest.err
4779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4780 test $ac_status = 0; }
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4784 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4785 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4786 $as_echo_n "(cached) " >&6
4788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4789 /* end confdefs.h. */
4802 if ac_fn_c_try_compile "$LINENO"; then :
4807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4808 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4812 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4813 if test $ac_compiler_gnu = yes; then
4818 ac_test_CFLAGS=${CFLAGS+set}
4819 ac_save_CFLAGS=$CFLAGS
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4821 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4822 if test "${ac_cv_prog_cc_g+set}" = set; then :
4823 $as_echo_n "(cached) " >&6
4825 ac_save_c_werror_flag=$ac_c_werror_flag
4826 ac_c_werror_flag=yes
4829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4830 /* end confdefs.h. */
4840 if ac_fn_c_try_compile "$LINENO"; then :
4844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4845 /* end confdefs.h. */
4855 if ac_fn_c_try_compile "$LINENO"; then :
4858 ac_c_werror_flag=$ac_save_c_werror_flag
4860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4861 /* end confdefs.h. */
4871 if ac_fn_c_try_compile "$LINENO"; then :
4874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4879 ac_c_werror_flag=$ac_save_c_werror_flag
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4882 $as_echo "$ac_cv_prog_cc_g" >&6; }
4883 if test "$ac_test_CFLAGS" = set; then
4884 CFLAGS=$ac_save_CFLAGS
4885 elif test $ac_cv_prog_cc_g = yes; then
4886 if test "$GCC" = yes; then
4892 if test "$GCC" = yes; then
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4899 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4900 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4901 $as_echo_n "(cached) " >&6
4903 ac_cv_prog_cc_c89=no
4905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4906 /* end confdefs.h. */
4909 #include <sys/types.h>
4910 #include <sys/stat.h>
4911 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4912 struct buf { int x; };
4913 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4914 static char *e (p, i)
4920 static char *f (char * (*g) (char **, int), char **p, ...)
4925 s = g (p, va_arg (v,int));
4930 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4931 function prototypes and stuff, but not '\xHH' hex character constants.
4932 These don't provoke an error unfortunately, instead are silently treated
4933 as 'x'. The following induces an error, until -std is added to get
4934 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4935 array size at least. It's necessary to write '\x00'==0 to get something
4936 that's true only with -std. */
4937 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4939 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4940 inside strings and character constants. */
4942 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4944 int test (int i, double x);
4945 struct s1 {int (*f) (int a);};
4946 struct s2 {int (*f) (double a);};
4947 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4953 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4958 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4959 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4961 CC="$ac_save_CC $ac_arg"
4962 if ac_fn_c_try_compile "$LINENO"; then :
4963 ac_cv_prog_cc_c89=$ac_arg
4965 rm -f core conftest.err conftest.$ac_objext
4966 test "x$ac_cv_prog_cc_c89" != "xno" && break
4968 rm -f conftest.$ac_ext
4973 case "x$ac_cv_prog_cc_c89" in
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4976 $as_echo "none needed" >&6; } ;;
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4979 $as_echo "unsupported" >&6; } ;;
4981 CC="$CC $ac_cv_prog_cc_c89"
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4983 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4985 if test "x$ac_cv_prog_cc_c89" != xno; then :
4990 ac_cpp='$CPP $CPPFLAGS'
4991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4995 depcc="$CC" am_compiler_list=
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4998 $as_echo_n "checking dependency style of $depcc... " >&6; }
4999 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5000 $as_echo_n "(cached) " >&6
5002 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5003 # We make a subdir and do the tests there. Otherwise we can end up
5004 # making bogus files that we don't know about and never remove. For
5005 # instance it was reported that on HP-UX the gcc test will end up
5006 # making a dummy file named `D
' -- because `-MD' means
`put the output
5009 # Copy depcomp to subdir because otherwise we won't find it if we're
5010 # using a relative directory.
5011 cp "$am_depcomp" conftest.dir
5013 # We will build objects and dependencies in a subdirectory because
5014 # it helps to detect inapplicable dependency modes. For instance
5015 # both Tru64's cc and ICC support -MD to output dependencies as a
5016 # side effect of compilation, but ICC will put the dependencies in
5017 # the current directory while Tru64 will put them in the object
5021 am_cv_CC_dependencies_compiler_type=none
5022 if test "$am_compiler_list" = ""; then
5023 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5026 case " $depcc " in #(
5027 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5030 for depmode in $am_compiler_list; do
5031 # Setup a source with many dependencies, because some compilers
5032 # like to wrap large dependency lists on column 80 (with \), and
5033 # we should not choose a depcomp mode which is confused by this.
5035 # We need to recreate these files for each test, as the compiler may
5036 # overwrite some of them when testing with obscure command lines.
5037 # This happens at least with the AIX C compiler.
5039 for i in 1 2 3 4 5 6; do
5040 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5041 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5042 # Solaris 8's
{/usr
,}/bin
/sh.
5043 touch sub
/conftst
$i.h
5045 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5047 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5048 # mode. It turns out that the SunPro C++ compiler does not properly
5049 # handle `-M -o', and we need to detect this. Also, some Intel
5050 # versions had trouble with output in subdirs
5051 am__obj
=sub
/conftest.
${OBJEXT-o}
5052 am__minus_obj
="-o $am__obj"
5055 # This depmode causes a compiler race in universal mode.
5056 test "$am__universal" = false ||
continue
5059 # after this tag, mechanisms are not by side-effect, so they'll
5060 # only be used when explicitly requested
5061 if test "x$enable_dependency_tracking" = xyes
; then
5067 msvisualcpp | msvcmsys
)
5068 # This compiler won't grok `-c -o', but also, the minuso test has
5069 # not run yet. These depmodes are late enough in the game, and
5070 # so weak that their functioning should not be impacted.
5071 am__obj
=conftest.
${OBJEXT-o}
5076 if depmode
=$depmode \
5077 source=sub
/conftest.c object
=$am__obj \
5078 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5079 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5080 >/dev
/null
2>conftest.err
&&
5081 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5082 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5083 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5084 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5085 # icc doesn't choke on unknown options, it will just issue warnings
5086 # or remarks (even with -Werror). So we grep stderr for any message
5087 # that says an option was ignored or not supported.
5088 # When given -MP, icc 7.0 and 7.1 complain thusly:
5089 # icc: Command line warning: ignoring option '-M'; no argument required
5090 # The diagnosis changed in icc 8.0:
5091 # icc: Command line remark: option '-MP' not supported
5092 if (grep 'ignoring option' conftest.err ||
5093 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5094 am_cv_CC_dependencies_compiler_type
=$depmode
5103 am_cv_CC_dependencies_compiler_type
=none
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5108 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5109 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5112 test "x$enable_dependency_tracking" != xno \
5113 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5115 am__fastdepCC_FALSE
='#'
5117 am__fastdepCC_TRUE
='#'
5118 am__fastdepCC_FALSE
=
5123 ac_cpp
='$CXXCPP $CPPFLAGS'
5124 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5125 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5126 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5127 if test -z "$CXX"; then
5128 if test -n "$CCC"; then
5131 if test -n "$ac_tool_prefix"; then
5132 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5134 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5135 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5137 $as_echo_n "checking for $ac_word... " >&6; }
5138 if test "${ac_cv_prog_CXX+set}" = set; then :
5139 $as_echo_n "(cached) " >&6
5141 if test -n "$CXX"; then
5142 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5148 test -z "$as_dir" && as_dir
=.
5149 for ac_exec_ext
in '' $ac_executable_extensions; do
5150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5151 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 if test -n "$CXX"; then
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5164 $as_echo "$CXX" >&6; }
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5167 $as_echo "no" >&6; }
5171 test -n "$CXX" && break
5174 if test -z "$CXX"; then
5176 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5178 # Extract the first word of "$ac_prog", so it can be a program name with args.
5179 set dummy
$ac_prog; ac_word
=$2
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5181 $as_echo_n "checking for $ac_word... " >&6; }
5182 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
5183 $as_echo_n "(cached) " >&6
5185 if test -n "$ac_ct_CXX"; then
5186 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5192 test -z "$as_dir" && as_dir
=.
5193 for ac_exec_ext
in '' $ac_executable_extensions; do
5194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5195 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5205 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5206 if test -n "$ac_ct_CXX"; then
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5208 $as_echo "$ac_ct_CXX" >&6; }
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5211 $as_echo "no" >&6; }
5215 test -n "$ac_ct_CXX" && break
5218 if test "x$ac_ct_CXX" = x
; then
5221 case $cross_compiling:$ac_tool_warned in
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5224 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5225 ac_tool_warned
=yes ;;
5233 # Provide some information about the compiler.
5234 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5237 for ac_option
in --version -v -V -qversion; do
5238 { { ac_try
="$ac_compiler $ac_option >&5"
5240 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5241 *) ac_try_echo=$ac_try;;
5243 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5244 $as_echo "$ac_try_echo"; } >&5
5245 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5247 if test -s conftest.err; then
5249 ... rest of stderr output deleted ...
5250 10q' conftest.err >conftest.er1
5251 cat conftest.er1 >&5
5253 rm -f conftest.er1 conftest.err
5254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5255 test $ac_status = 0; }
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5259 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5260 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
5261 $as_echo_n "(cached) " >&6
5263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5264 /* end confdefs.h. */
5277 if ac_fn_cxx_try_compile "$LINENO"; then :
5282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5283 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5287 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5288 if test $ac_compiler_gnu = yes; then
5293 ac_test_CXXFLAGS=${CXXFLAGS+set}
5294 ac_save_CXXFLAGS=$CXXFLAGS
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5296 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5297 if test "${ac_cv_prog_cxx_g+set}" = set; then :
5298 $as_echo_n "(cached) " >&6
5300 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5301 ac_cxx_werror_flag=yes
5304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5305 /* end confdefs.h. */
5315 if ac_fn_cxx_try_compile "$LINENO"; then :
5316 ac_cv_prog_cxx_g=yes
5319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5320 /* end confdefs.h. */
5330 if ac_fn_cxx_try_compile "$LINENO"; then :
5333 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5336 /* end confdefs.h. */
5346 if ac_fn_cxx_try_compile "$LINENO"; then :
5347 ac_cv_prog_cxx_g=yes
5349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5354 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5357 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5358 if test "$ac_test_CXXFLAGS" = set; then
5359 CXXFLAGS=$ac_save_CXXFLAGS
5360 elif test $ac_cv_prog_cxx_g = yes; then
5361 if test "$GXX" = yes; then
5367 if test "$GXX" = yes; then
5374 ac_cpp='$CPP $CPPFLAGS'
5375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5379 depcc="$CXX" am_compiler_list=
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5382 $as_echo_n "checking dependency style of $depcc... " >&6; }
5383 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5384 $as_echo_n "(cached) " >&6
5386 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5387 # We make a subdir and do the tests there. Otherwise we can end up
5388 # making bogus files that we don't know about and never remove. For
5389 # instance it was reported that on HP-UX the gcc test will end up
5390 # making a dummy file named `D
' -- because `-MD' means
`put the output
5393 # Copy depcomp to subdir because otherwise we won't find it if we're
5394 # using a relative directory.
5395 cp "$am_depcomp" conftest.dir
5397 # We will build objects and dependencies in a subdirectory because
5398 # it helps to detect inapplicable dependency modes. For instance
5399 # both Tru64's cc and ICC support -MD to output dependencies as a
5400 # side effect of compilation, but ICC will put the dependencies in
5401 # the current directory while Tru64 will put them in the object
5405 am_cv_CXX_dependencies_compiler_type=none
5406 if test "$am_compiler_list" = ""; then
5407 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5410 case " $depcc " in #(
5411 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5414 for depmode in $am_compiler_list; do
5415 # Setup a source with many dependencies, because some compilers
5416 # like to wrap large dependency lists on column 80 (with \), and
5417 # we should not choose a depcomp mode which is confused by this.
5419 # We need to recreate these files for each test, as the compiler may
5420 # overwrite some of them when testing with obscure command lines.
5421 # This happens at least with the AIX C compiler.
5423 for i in 1 2 3 4 5 6; do
5424 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5425 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5426 # Solaris 8's
{/usr
,}/bin
/sh.
5427 touch sub
/conftst
$i.h
5429 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5431 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5432 # mode. It turns out that the SunPro C++ compiler does not properly
5433 # handle `-M -o', and we need to detect this. Also, some Intel
5434 # versions had trouble with output in subdirs
5435 am__obj
=sub
/conftest.
${OBJEXT-o}
5436 am__minus_obj
="-o $am__obj"
5439 # This depmode causes a compiler race in universal mode.
5440 test "$am__universal" = false ||
continue
5443 # after this tag, mechanisms are not by side-effect, so they'll
5444 # only be used when explicitly requested
5445 if test "x$enable_dependency_tracking" = xyes
; then
5451 msvisualcpp | msvcmsys
)
5452 # This compiler won't grok `-c -o', but also, the minuso test has
5453 # not run yet. These depmodes are late enough in the game, and
5454 # so weak that their functioning should not be impacted.
5455 am__obj
=conftest.
${OBJEXT-o}
5460 if depmode
=$depmode \
5461 source=sub
/conftest.c object
=$am__obj \
5462 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5463 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5464 >/dev
/null
2>conftest.err
&&
5465 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5466 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5467 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5468 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5469 # icc doesn't choke on unknown options, it will just issue warnings
5470 # or remarks (even with -Werror). So we grep stderr for any message
5471 # that says an option was ignored or not supported.
5472 # When given -MP, icc 7.0 and 7.1 complain thusly:
5473 # icc: Command line warning: ignoring option '-M'; no argument required
5474 # The diagnosis changed in icc 8.0:
5475 # icc: Command line remark: option '-MP' not supported
5476 if (grep 'ignoring option' conftest.err ||
5477 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5478 am_cv_CXX_dependencies_compiler_type
=$depmode
5487 am_cv_CXX_dependencies_compiler_type
=none
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5492 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5493 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5496 test "x$enable_dependency_tracking" != xno \
5497 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5498 am__fastdepCXX_TRUE
=
5499 am__fastdepCXX_FALSE
='#'
5501 am__fastdepCXX_TRUE
='#'
5502 am__fastdepCXX_FALSE
=
5507 ac_cpp
='$CPP $CPPFLAGS'
5508 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5509 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5510 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5512 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5513 # On Suns, sometimes $CPP names a directory.
5514 if test -n "$CPP" && test -d "$CPP"; then
5517 if test -z "$CPP"; then
5518 if test "${ac_cv_prog_CPP+set}" = set; then :
5519 $as_echo_n "(cached) " >&6
5521 # Double quotes because CPP needs to be expanded
5522 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5525 for ac_c_preproc_warn_flag
in '' yes
5527 # Use a header file that comes with gcc, so configuring glibc
5528 # with a fresh cross-compiler works.
5529 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5530 # <limits.h> exists even on freestanding compilers.
5531 # On the NeXT, cc -E runs the code through the compiler's parser,
5532 # not just through cpp. "Syntax error" is here to catch this case.
5533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5534 /* end confdefs.h. */
5536 # include <limits.h>
5538 # include <assert.h>
5542 if ac_fn_c_try_cpp
"$LINENO"; then :
5545 # Broken: fails on valid input.
5548 rm -f conftest.err conftest.
$ac_ext
5550 # OK, works on sane cases. Now check whether nonexistent headers
5551 # can be detected and how.
5552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5553 /* end confdefs.h. */
5554 #include <ac_nonexistent.h>
5556 if ac_fn_c_try_cpp
"$LINENO"; then :
5557 # Broken: success on invalid input.
5560 # Passes both tests.
5564 rm -f conftest.err conftest.
$ac_ext
5567 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5568 rm -f conftest.err conftest.
$ac_ext
5569 if $ac_preproc_ok; then :
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5582 $as_echo "$CPP" >&6; }
5584 for ac_c_preproc_warn_flag
in '' yes
5586 # Use a header file that comes with gcc, so configuring glibc
5587 # with a fresh cross-compiler works.
5588 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5589 # <limits.h> exists even on freestanding compilers.
5590 # On the NeXT, cc -E runs the code through the compiler's parser,
5591 # not just through cpp. "Syntax error" is here to catch this case.
5592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5593 /* end confdefs.h. */
5595 # include <limits.h>
5597 # include <assert.h>
5601 if ac_fn_c_try_cpp
"$LINENO"; then :
5604 # Broken: fails on valid input.
5607 rm -f conftest.err conftest.
$ac_ext
5609 # OK, works on sane cases. Now check whether nonexistent headers
5610 # can be detected and how.
5611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5612 /* end confdefs.h. */
5613 #include <ac_nonexistent.h>
5615 if ac_fn_c_try_cpp
"$LINENO"; then :
5616 # Broken: success on invalid input.
5619 # Passes both tests.
5623 rm -f conftest.err conftest.
$ac_ext
5626 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5627 rm -f conftest.err conftest.
$ac_ext
5628 if $ac_preproc_ok; then :
5631 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5632 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5633 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5634 See \`config.log' for more details." "$LINENO" 5; }
5638 ac_cpp
='$CPP $CPPFLAGS'
5639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5644 ac_cpp
='$CPP $CPPFLAGS'
5645 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5646 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5647 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5648 if test -n "$ac_tool_prefix"; then
5649 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5650 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5652 $as_echo_n "checking for $ac_word... " >&6; }
5653 if test "${ac_cv_prog_CC+set}" = set; then :
5654 $as_echo_n "(cached) " >&6
5656 if test -n "$CC"; then
5657 ac_cv_prog_CC
="$CC" # Let the user override the test.
5659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5663 test -z "$as_dir" && as_dir
=.
5664 for ac_exec_ext
in '' $ac_executable_extensions; do
5665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5666 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5677 if test -n "$CC"; then
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5679 $as_echo "$CC" >&6; }
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5682 $as_echo "no" >&6; }
5687 if test -z "$ac_cv_prog_CC"; then
5689 # Extract the first word of "gcc", so it can be a program name with args.
5690 set dummy gcc
; ac_word
=$2
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5692 $as_echo_n "checking for $ac_word... " >&6; }
5693 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5694 $as_echo_n "(cached) " >&6
5696 if test -n "$ac_ct_CC"; then
5697 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5703 test -z "$as_dir" && as_dir
=.
5704 for ac_exec_ext
in '' $ac_executable_extensions; do
5705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5706 ac_cv_prog_ac_ct_CC
="gcc"
5707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5716 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5717 if test -n "$ac_ct_CC"; then
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5719 $as_echo "$ac_ct_CC" >&6; }
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5722 $as_echo "no" >&6; }
5725 if test "x$ac_ct_CC" = x
; then
5728 case $cross_compiling:$ac_tool_warned in
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5732 ac_tool_warned
=yes ;;
5740 if test -z "$CC"; then
5741 if test -n "$ac_tool_prefix"; then
5742 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5743 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5745 $as_echo_n "checking for $ac_word... " >&6; }
5746 if test "${ac_cv_prog_CC+set}" = set; then :
5747 $as_echo_n "(cached) " >&6
5749 if test -n "$CC"; then
5750 ac_cv_prog_CC
="$CC" # Let the user override the test.
5752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5756 test -z "$as_dir" && as_dir
=.
5757 for ac_exec_ext
in '' $ac_executable_extensions; do
5758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5759 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5770 if test -n "$CC"; then
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5772 $as_echo "$CC" >&6; }
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5775 $as_echo "no" >&6; }
5781 if test -z "$CC"; then
5782 # Extract the first word of "cc", so it can be a program name with args.
5783 set dummy cc
; ac_word
=$2
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5785 $as_echo_n "checking for $ac_word... " >&6; }
5786 if test "${ac_cv_prog_CC+set}" = set; then :
5787 $as_echo_n "(cached) " >&6
5789 if test -n "$CC"; then
5790 ac_cv_prog_CC
="$CC" # Let the user override the test.
5793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5797 test -z "$as_dir" && as_dir
=.
5798 for ac_exec_ext
in '' $ac_executable_extensions; do
5799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5800 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5801 ac_prog_rejected
=yes
5805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5812 if test $ac_prog_rejected = yes; then
5813 # We found a bogon in the path, so make sure we never use it.
5814 set dummy
$ac_cv_prog_CC
5816 if test $# != 0; then
5817 # We chose a different compiler from the bogus one.
5818 # However, it has the same basename, so the bogon will be chosen
5819 # first if we set CC to just the basename; use the full file name.
5821 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5827 if test -n "$CC"; then
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5829 $as_echo "$CC" >&6; }
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5832 $as_echo "no" >&6; }
5837 if test -z "$CC"; then
5838 if test -n "$ac_tool_prefix"; then
5839 for ac_prog
in cl.exe
5841 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5842 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5844 $as_echo_n "checking for $ac_word... " >&6; }
5845 if test "${ac_cv_prog_CC+set}" = set; then :
5846 $as_echo_n "(cached) " >&6
5848 if test -n "$CC"; then
5849 ac_cv_prog_CC
="$CC" # Let the user override the test.
5851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5855 test -z "$as_dir" && as_dir
=.
5856 for ac_exec_ext
in '' $ac_executable_extensions; do
5857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5858 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5869 if test -n "$CC"; then
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5871 $as_echo "$CC" >&6; }
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5874 $as_echo "no" >&6; }
5878 test -n "$CC" && break
5881 if test -z "$CC"; then
5883 for ac_prog
in cl.exe
5885 # Extract the first word of "$ac_prog", so it can be a program name with args.
5886 set dummy
$ac_prog; ac_word
=$2
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5888 $as_echo_n "checking for $ac_word... " >&6; }
5889 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5890 $as_echo_n "(cached) " >&6
5892 if test -n "$ac_ct_CC"; then
5893 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5899 test -z "$as_dir" && as_dir
=.
5900 for ac_exec_ext
in '' $ac_executable_extensions; do
5901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5902 ac_cv_prog_ac_ct_CC
="$ac_prog"
5903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5912 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5913 if test -n "$ac_ct_CC"; then
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5915 $as_echo "$ac_ct_CC" >&6; }
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5918 $as_echo "no" >&6; }
5922 test -n "$ac_ct_CC" && break
5925 if test "x$ac_ct_CC" = x
; then
5928 case $cross_compiling:$ac_tool_warned in
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5931 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5932 ac_tool_warned
=yes ;;
5941 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5943 as_fn_error
"no acceptable C compiler found in \$PATH
5944 See \`config.log' for more details." "$LINENO" 5; }
5946 # Provide some information about the compiler.
5947 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5950 for ac_option
in --version -v -V -qversion; do
5951 { { ac_try
="$ac_compiler $ac_option >&5"
5953 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5954 *) ac_try_echo=$ac_try;;
5956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5957 $as_echo "$ac_try_echo"; } >&5
5958 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5960 if test -s conftest.err; then
5962 ... rest of stderr output deleted ...
5963 10q' conftest.err >conftest.er1
5964 cat conftest.er1 >&5
5966 rm -f conftest.er1 conftest.err
5967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5968 test $ac_status = 0; }
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5972 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5973 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5974 $as_echo_n "(cached) " >&6
5976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5977 /* end confdefs.h. */
5990 if ac_fn_c_try_compile "$LINENO"; then :
5995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5996 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6000 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
6001 if test $ac_compiler_gnu = yes; then
6006 ac_test_CFLAGS=${CFLAGS+set}
6007 ac_save_CFLAGS=$CFLAGS
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6009 $as_echo_n "checking whether $CC accepts -g... " >&6; }
6010 if test "${ac_cv_prog_cc_g+set}" = set; then :
6011 $as_echo_n "(cached) " >&6
6013 ac_save_c_werror_flag=$ac_c_werror_flag
6014 ac_c_werror_flag=yes
6017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6018 /* end confdefs.h. */
6028 if ac_fn_c_try_compile "$LINENO"; then :
6032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6033 /* end confdefs.h. */
6043 if ac_fn_c_try_compile "$LINENO"; then :
6046 ac_c_werror_flag=$ac_save_c_werror_flag
6048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6049 /* end confdefs.h. */
6059 if ac_fn_c_try_compile "$LINENO"; then :
6062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6067 ac_c_werror_flag=$ac_save_c_werror_flag
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6070 $as_echo "$ac_cv_prog_cc_g" >&6; }
6071 if test "$ac_test_CFLAGS" = set; then
6072 CFLAGS=$ac_save_CFLAGS
6073 elif test $ac_cv_prog_cc_g = yes; then
6074 if test "$GCC" = yes; then
6080 if test "$GCC" = yes; then
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6087 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6088 if test "${ac_cv_prog_cc_c89+set}" = set; then :
6089 $as_echo_n "(cached) " >&6
6091 ac_cv_prog_cc_c89=no
6093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6094 /* end confdefs.h. */
6097 #include <sys/types.h>
6098 #include <sys/stat.h>
6099 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6100 struct buf { int x; };
6101 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6102 static char *e (p, i)
6108 static char *f (char * (*g) (char **, int), char **p, ...)
6113 s = g (p, va_arg (v,int));
6118 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6119 function prototypes and stuff, but not '\xHH' hex character constants.
6120 These don't provoke an error unfortunately, instead are silently treated
6121 as 'x'. The following induces an error, until -std is added to get
6122 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6123 array size at least. It's necessary to write '\x00'==0 to get something
6124 that's true only with -std. */
6125 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6127 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6128 inside strings and character constants. */
6130 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6132 int test (int i, double x);
6133 struct s1 {int (*f) (int a);};
6134 struct s2 {int (*f) (double a);};
6135 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6141 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6146 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6147 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6149 CC="$ac_save_CC $ac_arg"
6150 if ac_fn_c_try_compile "$LINENO"; then :
6151 ac_cv_prog_cc_c89=$ac_arg
6153 rm -f core conftest.err conftest.$ac_objext
6154 test "x$ac_cv_prog_cc_c89" != "xno" && break
6156 rm -f conftest.$ac_ext
6161 case "x$ac_cv_prog_cc_c89" in
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6164 $as_echo "none needed" >&6; } ;;
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6167 $as_echo "unsupported" >&6; } ;;
6169 CC="$CC $ac_cv_prog_cc_c89"
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6171 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6173 if test "x$ac_cv_prog_cc_c89" != xno; then :
6178 ac_cpp='$CPP $CPPFLAGS'
6179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6183 depcc="$CC" am_compiler_list=
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6186 $as_echo_n "checking dependency style of $depcc... " >&6; }
6187 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
6188 $as_echo_n "(cached) " >&6
6190 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6191 # We make a subdir and do the tests there. Otherwise we can end up
6192 # making bogus files that we don't know about and never remove. For
6193 # instance it was reported that on HP-UX the gcc test will end up
6194 # making a dummy file named `D
' -- because `-MD' means
`put the output
6197 # Copy depcomp to subdir because otherwise we won't find it if we're
6198 # using a relative directory.
6199 cp "$am_depcomp" conftest.dir
6201 # We will build objects and dependencies in a subdirectory because
6202 # it helps to detect inapplicable dependency modes. For instance
6203 # both Tru64's cc and ICC support -MD to output dependencies as a
6204 # side effect of compilation, but ICC will put the dependencies in
6205 # the current directory while Tru64 will put them in the object
6209 am_cv_CC_dependencies_compiler_type=none
6210 if test "$am_compiler_list" = ""; then
6211 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
6214 case " $depcc " in #(
6215 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6218 for depmode in $am_compiler_list; do
6219 # Setup a source with many dependencies, because some compilers
6220 # like to wrap large dependency lists on column 80 (with \), and
6221 # we should not choose a depcomp mode which is confused by this.
6223 # We need to recreate these files for each test, as the compiler may
6224 # overwrite some of them when testing with obscure command lines.
6225 # This happens at least with the AIX C compiler.
6227 for i in 1 2 3 4 5 6; do
6228 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6229 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
6230 # Solaris 8's
{/usr
,}/bin
/sh.
6231 touch sub
/conftst
$i.h
6233 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6235 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6236 # mode. It turns out that the SunPro C++ compiler does not properly
6237 # handle `-M -o', and we need to detect this. Also, some Intel
6238 # versions had trouble with output in subdirs
6239 am__obj
=sub
/conftest.
${OBJEXT-o}
6240 am__minus_obj
="-o $am__obj"
6243 # This depmode causes a compiler race in universal mode.
6244 test "$am__universal" = false ||
continue
6247 # after this tag, mechanisms are not by side-effect, so they'll
6248 # only be used when explicitly requested
6249 if test "x$enable_dependency_tracking" = xyes
; then
6255 msvisualcpp | msvcmsys
)
6256 # This compiler won't grok `-c -o', but also, the minuso test has
6257 # not run yet. These depmodes are late enough in the game, and
6258 # so weak that their functioning should not be impacted.
6259 am__obj
=conftest.
${OBJEXT-o}
6264 if depmode
=$depmode \
6265 source=sub
/conftest.c object
=$am__obj \
6266 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6267 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6268 >/dev
/null
2>conftest.err
&&
6269 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6270 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6271 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6272 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6273 # icc doesn't choke on unknown options, it will just issue warnings
6274 # or remarks (even with -Werror). So we grep stderr for any message
6275 # that says an option was ignored or not supported.
6276 # When given -MP, icc 7.0 and 7.1 complain thusly:
6277 # icc: Command line warning: ignoring option '-M'; no argument required
6278 # The diagnosis changed in icc 8.0:
6279 # icc: Command line remark: option '-MP' not supported
6280 if (grep 'ignoring option' conftest.err ||
6281 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6282 am_cv_CC_dependencies_compiler_type
=$depmode
6291 am_cv_CC_dependencies_compiler_type
=none
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6296 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6297 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
6300 test "x$enable_dependency_tracking" != xno \
6301 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
6303 am__fastdepCC_FALSE
='#'
6305 am__fastdepCC_TRUE
='#'
6306 am__fastdepCC_FALSE
=
6311 am_cv_prog_cc_stdc
=$ac_cv_prog_cc_stdc
6313 if test "x$CC" != xcc
; then
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
6315 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
6318 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
6320 set dummy
$CC; ac_cc
=`$as_echo "$2" |
6321 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6322 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
6323 $as_echo_n "(cached) " >&6
6325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6326 /* end confdefs.h. */
6336 # Make sure it works both with $CC and with simple cc.
6337 # We do the test twice because some compilers refuse to overwrite an
6338 # existing .o file with -o, though they will create one.
6339 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
6341 if { { case "(($ac_try" in
6342 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6343 *) ac_try_echo=$ac_try;;
6345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6346 $as_echo "$ac_try_echo"; } >&5
6347 (eval "$ac_try") 2>&5
6349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6350 test $ac_status = 0; } &&
6351 test -f conftest2.$ac_objext && { { case "(($ac_try" in
6352 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6353 *) ac_try_echo
=$ac_try;;
6355 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6356 $as_echo "$ac_try_echo"; } >&5
6357 (eval "$ac_try") 2>&5
6359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6360 test $ac_status = 0; };
6362 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
6363 if test "x$CC" != xcc
; then
6364 # Test first that cc exists at all.
6365 if { ac_try
='cc -c conftest.$ac_ext >&5'
6366 { { case "(($ac_try" in
6367 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6368 *) ac_try_echo=$ac_try;;
6370 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6371 $as_echo "$ac_try_echo"; } >&5
6372 (eval "$ac_try") 2>&5
6374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6375 test $ac_status = 0; }; }; then
6376 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
6378 if { { case "(($ac_try" in
6379 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6380 *) ac_try_echo
=$ac_try;;
6382 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6383 $as_echo "$ac_try_echo"; } >&5
6384 (eval "$ac_try") 2>&5
6386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6387 test $ac_status = 0; } &&
6388 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
6389 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6390 *) ac_try_echo=$ac_try;;
6392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6393 $as_echo "$ac_try_echo"; } >&5
6394 (eval "$ac_try") 2>&5
6396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6397 test $ac_status = 0; };
6402 # cc exists but doesn't like -o.
6403 eval ac_cv_prog_cc_${ac_cc}_c_o=no
6408 eval ac_cv_prog_cc_${ac_cc}_c_o=no
6410 rm -f core conftest*
6413 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6415 $as_echo "yes" >&6; }
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6418 $as_echo "no" >&6; }
6420 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
6424 # FIXME: we rely on the cache variable name because
6425 # there is no other way.
6427 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6428 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
6429 if test "$am_t" != yes; then
6430 # Losing compiler, so override with the script.
6431 # FIXME: It is wrong to rewrite CC.
6432 # But if we don't then we get into trouble of one sort or another.
6433 # A longer-term fix would be to have automake use am__CC in this case,
6434 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6435 CC="$am_aux_dir/compile $CC"
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
6440 $as_echo_n "checking for function prototypes... " >&6; }
6441 if test "$ac_cv_prog_cc_c89" != no; then
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6443 $as_echo "yes" >&6; }
6445 $as_echo "#define PROTOTYPES 1" >>confdefs.h
6448 $as_echo "#define __PROTOTYPES 1" >>confdefs.h
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6452 $as_echo "no" >&6; }
6456 if test "$ac_cv_prog_cc_stdc" != no; then
6459 U=_ ANSI2KNR=./ansi2knr
6461 # Ensure some checks needed by ansi2knr itself.
6463 for ac_header in string.h
6465 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
6466 if test "x$ac_cv_header_string_h" = x""yes; then :
6467 cat >>confdefs.h <<_ACEOF
6468 #define HAVE_STRING_H 1
6476 if test -n "$ac_tool_prefix"; then
6477 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6478 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6480 $as_echo_n "checking for $ac_word... " >&6; }
6481 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6482 $as_echo_n "(cached) " >&6
6484 if test -n "$RANLIB"; then
6485 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6491 test -z "$as_dir" && as_dir=.
6492 for ac_exec_ext in '' $ac_executable_extensions; do
6493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6494 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6504 RANLIB=$ac_cv_prog_RANLIB
6505 if test -n "$RANLIB"; then
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6507 $as_echo "$RANLIB" >&6; }
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6510 $as_echo "no" >&6; }
6515 if test -z "$ac_cv_prog_RANLIB"; then
6516 ac_ct_RANLIB=$RANLIB
6517 # Extract the first word of "ranlib", so it can be a program name with args.
6518 set dummy ranlib; ac_word=$2
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6520 $as_echo_n "checking for $ac_word... " >&6; }
6521 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6522 $as_echo_n "(cached) " >&6
6524 if test -n "$ac_ct_RANLIB"; then
6525 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6531 test -z "$as_dir" && as_dir=.
6532 for ac_exec_ext in '' $ac_executable_extensions; do
6533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6534 ac_cv_prog_ac_ct_RANLIB="ranlib"
6535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6544 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6545 if test -n "$ac_ct_RANLIB"; then
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6547 $as_echo "$ac_ct_RANLIB" >&6; }
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6550 $as_echo "no" >&6; }
6553 if test "x$ac_ct_RANLIB" = x; then
6556 case $cross_compiling:$ac_tool_warned in
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6559 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6560 ac_tool_warned=yes ;;
6562 RANLIB=$ac_ct_RANLIB
6565 RANLIB="$ac_cv_prog_RANLIB"
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6572 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6574 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6575 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6576 $as_echo_n "(cached) " >&6
6578 cat >conftest.make <<\_ACEOF
6581 @echo '@@@%%%=$(MAKE)=@@@%%%'
6583 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6584 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6586 eval ac_cv_prog_make_${ac_make}_set=yes;;
6588 eval ac_cv_prog_make_${ac_make}_set=no;;
6592 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6594 $as_echo "yes" >&6; }
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6598 $as_echo "no" >&6; }
6599 SET_MAKE="MAKE=${MAKE-make}"
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
6606 $as_echo_n "checking whether NLS is requested... " >&6; }
6607 # Check whether --enable-nls was given.
6608 if test "${enable_nls+set}" = set; then :
6609 enableval=$enable_nls; USE_NLS=$enableval
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6615 $as_echo "$USE_NLS" >&6; }
6620 GETTEXT_MACRO_VERSION=0.18
6625 # Prepare PATH_SEPARATOR.
6626 # The user is always right.
6627 if test "${PATH_SEPARATOR+set}" != set; then
6628 echo "#! /bin/sh" >conf$$.sh
6629 echo "exit 0" >>conf$$.sh
6631 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6639 # Find out how to test for executable files. Don't use a zero-byte file,
6640 # as systems may use methods other than mode bits to determine executability.
6641 cat >conf$$.file <<_ASEOF
6645 chmod +x conf$$.file
6646 if test -x conf$$.file >/dev/null 2>&1; then
6647 ac_executable_p="test -x"
6649 ac_executable_p="test -f"
6653 # Extract the first word of "msgfmt", so it can be a program name with args.
6654 set dummy msgfmt; ac_word=$2
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6656 $as_echo_n "checking for $ac_word... " >&6; }
6657 if test "${ac_cv_path_MSGFMT+set}" = set; then :
6658 $as_echo_n "(cached) " >&6
6662 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6665 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
6666 for ac_dir in $PATH; do
6668 test -z "$ac_dir" && ac_dir=.
6669 for ac_exec_ext in '' $ac_executable_extensions; do
6670 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6671 echo "$as_me: trying $ac_dir/$ac_word..." >&5
6672 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
6673 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
6674 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
6681 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
6685 MSGFMT="$ac_cv_path_MSGFMT"
6686 if test "$MSGFMT" != ":"; then
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6688 $as_echo "$MSGFMT" >&6; }
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6691 $as_echo "no" >&6; }
6694 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6695 set dummy gmsgfmt; ac_word=$2
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6697 $as_echo_n "checking for $ac_word... " >&6; }
6698 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
6699 $as_echo_n "(cached) " >&6
6703 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6710 test -z "$as_dir" && as_dir=.
6711 for ac_exec_ext in '' $ac_executable_extensions; do
6712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6713 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6721 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6725 GMSGFMT=$ac_cv_path_GMSGFMT
6726 if test -n "$GMSGFMT"; then
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6728 $as_echo "$GMSGFMT" >&6; }
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6731 $as_echo "no" >&6; }
6736 case `$MSGFMT --version |
sed 1q |
sed -e 's,^[^0-9]*,,'` in
6737 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
6738 *) MSGFMT_015=$MSGFMT ;;
6741 case `$GMSGFMT --version |
sed 1q |
sed -e 's,^[^0-9]*,,'` in
6742 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
6743 *) GMSGFMT_015=$GMSGFMT ;;
6748 # Prepare PATH_SEPARATOR.
6749 # The user is always right.
6750 if test "${PATH_SEPARATOR+set}" != set; then
6751 echo "#! /bin/sh" >conf$$.sh
6752 echo "exit 0" >>conf$$.sh
6754 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6762 # Find out how to test for executable files. Don't use a zero-byte file,
6763 # as systems may use methods other than mode bits to determine executability.
6764 cat >conf$$.file <<_ASEOF
6768 chmod +x conf$$.file
6769 if test -x conf$$.file >/dev/null 2>&1; then
6770 ac_executable_p="test -x"
6772 ac_executable_p="test -f"
6776 # Extract the first word of "xgettext", so it can be a program name with args.
6777 set dummy xgettext; ac_word=$2
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6779 $as_echo_n "checking for $ac_word... " >&6; }
6780 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
6781 $as_echo_n "(cached) " >&6
6785 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6788 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
6789 for ac_dir in $PATH; do
6791 test -z "$ac_dir" && ac_dir=.
6792 for ac_exec_ext in '' $ac_executable_extensions; do
6793 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6794 echo "$as_me: trying $ac_dir/$ac_word..." >&5
6795 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
6796 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
6797 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
6804 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6808 XGETTEXT="$ac_cv_path_XGETTEXT"
6809 if test "$XGETTEXT" != ":"; then
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6811 $as_echo "$XGETTEXT" >&6; }
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6814 $as_echo "no" >&6; }
6819 case `$XGETTEXT --version |
sed 1q |
sed -e 's,^[^0-9]*,,'` in
6820 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
6821 *) XGETTEXT_015=$XGETTEXT ;;
6826 # Prepare PATH_SEPARATOR.
6827 # The user is always right.
6828 if test "${PATH_SEPARATOR+set}" != set; then
6829 echo "#! /bin/sh" >conf$$.sh
6830 echo "exit 0" >>conf$$.sh
6832 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6840 # Find out how to test for executable files. Don't use a zero-byte file,
6841 # as systems may use methods other than mode bits to determine executability.
6842 cat >conf$$.file <<_ASEOF
6846 chmod +x conf$$.file
6847 if test -x conf$$.file >/dev/null 2>&1; then
6848 ac_executable_p="test -x"
6850 ac_executable_p="test -f"
6854 # Extract the first word of "msgmerge", so it can be a program name with args.
6855 set dummy msgmerge; ac_word=$2
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6857 $as_echo_n "checking for $ac_word... " >&6; }
6858 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
6859 $as_echo_n "(cached) " >&6
6863 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
6866 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
6867 for ac_dir in $PATH; do
6869 test -z "$ac_dir" && ac_dir=.
6870 for ac_exec_ext in '' $ac_executable_extensions; do
6871 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6872 echo "$as_me: trying $ac_dir/$ac_word..." >&5
6873 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
6874 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
6881 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
6885 MSGMERGE="$ac_cv_path_MSGMERGE"
6886 if test "$MSGMERGE" != ":"; then
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
6888 $as_echo "$MSGMERGE" >&6; }
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6891 $as_echo "no" >&6; }
6895 test -n "$localedir" || localedir='${datadir}/locale'
6898 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
6901 ac_config_commands="$ac_config_commands po-directories"
6905 if test "X$prefix" = "XNONE"; then
6906 acl_final_prefix="$ac_default_prefix"
6908 acl_final_prefix="$prefix"
6910 if test "X$exec_prefix" = "XNONE"; then
6911 acl_final_exec_prefix='${prefix}'
6913 acl_final_exec_prefix="$exec_prefix"
6915 acl_save_prefix="$prefix"
6916 prefix="$acl_final_prefix"
6917 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
6918 prefix="$acl_save_prefix"
6920 # Make sure we can run config.sub.
6921 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6922 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6925 $as_echo_n "checking build system type... " >&6; }
6926 if test "${ac_cv_build+set}" = set; then :
6927 $as_echo_n "(cached) " >&6
6929 ac_build_alias=$build_alias
6930 test "x$ac_build_alias" = x &&
6931 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6932 test "x$ac_build_alias" = x &&
6933 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
6934 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6935 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6939 $as_echo "$ac_cv_build" >&6; }
6940 case $ac_cv_build in
6942 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
6945 ac_save_IFS=$IFS; IFS='-'
6951 # Remember, the first character of IFS is used to create $*,
6952 # except with old shells:
6955 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6959 $as_echo_n "checking host system type... " >&6; }
6960 if test "${ac_cv_host+set}" = set; then :
6961 $as_echo_n "(cached) " >&6
6963 if test "x$host_alias" = x; then
6964 ac_cv_host=$ac_cv_build
6966 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6967 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6972 $as_echo "$ac_cv_host" >&6; }
6975 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
6978 ac_save_IFS=$IFS; IFS='-'
6984 # Remember, the first character of IFS is used to create $*,
6985 # except with old shells:
6988 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
6992 # Check whether --with-gnu-ld was given.
6993 if test "${with_gnu_ld+set}" = set; then :
6994 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6999 # Prepare PATH_SEPARATOR.
7000 # The user is always right.
7001 if test "${PATH_SEPARATOR+set}" != set; then
7002 echo "#! /bin/sh" >conf$$.sh
7003 echo "exit 0" >>conf$$.sh
7005 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7013 if test "$GCC" = yes; then
7014 # Check if gcc -print-prog-name=ld gives a path.
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
7016 $as_echo_n "checking for ld used by GCC... " >&6; }
7019 # gcc leaves a trailing carriage return which upsets mingw
7020 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
7022 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
7025 # Accept absolute paths.
7026 [\\/]* | [A-Za-z]:[\\/]*)
7027 re_direlt='/[^/][^/]*/\.\./'
7028 # Canonicalize the path of ld
7029 ac_prog=`echo $ac_prog|
sed 's%\\\\%/%g'`
7030 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
7031 ac_prog=`echo $ac_prog|
sed "s%$re_direlt%/%"`
7033 test -z "$LD" && LD="$ac_prog"
7036 # If it fails, then pretend we aren't using GCC.
7040 # If it is relative, then search for the first ld in PATH.
7044 elif test "$with_gnu_ld" = yes; then
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7046 $as_echo_n "checking for GNU ld... " >&6; }
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7049 $as_echo_n "checking for non-GNU ld... " >&6; }
7051 if test "${acl_cv_path_LD+set}" = set; then :
7052 $as_echo_n "(cached) " >&6
7054 if test -z "$LD"; then
7055 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
7056 for ac_dir in $PATH; do
7057 test -z "$ac_dir" && ac_dir=.
7058 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7059 acl_cv_path_LD="$ac_dir/$ac_prog"
7060 # Check to see if the program is GNU ld. I'd rather use --version,
7061 # but apparently some GNU ld's only accept -v.
7062 # Break only if it was the GNU/non-GNU ld that we prefer.
7063 case `"$acl_cv_path_LD" -v 2>&1 < /dev
/null
` in
7064 *GNU* | *'with BFD'*)
7065 test "$with_gnu_ld" != no && break ;;
7067 test "$with_gnu_ld" != yes && break ;;
7073 acl_cv_path_LD="$LD" # Let the user override the test with a path.
7077 LD="$acl_cv_path_LD"
7078 if test -n "$LD"; then
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7080 $as_echo "$LD" >&6; }
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7083 $as_echo "no" >&6; }
7085 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7087 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7088 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
7089 $as_echo_n "(cached) " >&6
7091 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
7092 case `$LD -v 2>&1 </dev
/null
` in
7093 *GNU* | *'with BFD'*)
7094 acl_cv_prog_gnu_ld=yes ;;
7096 acl_cv_prog_gnu_ld=no ;;
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
7100 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
7101 with_gnu_ld=$acl_cv_prog_gnu_ld
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
7107 $as_echo_n "checking for shared library run path origin... " >&6; }
7108 if test "${acl_cv_rpath+set}" = set; then :
7109 $as_echo_n "(cached) " >&6
7112 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
7113 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
7120 $as_echo "$acl_cv_rpath" >&6; }
7122 acl_libext="$acl_cv_libext"
7123 acl_shlibext="$acl_cv_shlibext"
7124 acl_libname_spec="$acl_cv_libname_spec"
7125 acl_library_names_spec="$acl_cv_library_names_spec"
7126 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
7127 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
7128 acl_hardcode_direct="$acl_cv_hardcode_direct"
7129 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
7130 # Check whether --enable-rpath was given.
7131 if test "${enable_rpath+set}" = set; then :
7132 enableval=$enable_rpath; :
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
7145 $as_echo_n "checking for 64-bit host... " >&6; }
7146 if test "${gl_cv_solaris_64bit+set}" = set; then :
7147 $as_echo_n "(cached) " >&6
7149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7150 /* end confdefs.h. */
7157 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7158 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
7159 gl_cv_solaris_64bit=yes
7161 gl_cv_solaris_64bit=no
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
7168 $as_echo "$gl_cv_solaris_64bit" >&6; }
7169 if test $gl_cv_solaris_64bit = yes; then
7170 acl_libdirstem=lib/64
7172 sparc*) acl_libdirstem2=lib/sparcv9 ;;
7173 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
7178 searchpath=`(LC_ALL
=C
$CC -print-search-dirs) 2>/dev
/null |
sed -n -e 's,^libraries: ,,p' |
sed -e 's,^=,,'`
7179 if test -n "$searchpath"; then
7180 acl_save_IFS="${IFS= }"; IFS=":"
7181 for searchdir in $searchpath; do
7182 if test -d "$searchdir"; then
7183 case "$searchdir" in
7184 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
7186 # Better ignore directories of this form. They are misleading.
7188 *) searchdir=`cd "$searchdir" && pwd`
7189 case "$searchdir" in
7190 */lib64 ) acl_libdirstem=lib64 ;;
7199 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
7214 acl_save_prefix="$prefix"
7215 prefix="$acl_final_prefix"
7216 acl_save_exec_prefix="$exec_prefix"
7217 exec_prefix="$acl_final_exec_prefix"
7219 eval additional_includedir=\"$includedir\"
7220 eval additional_libdir=\"$libdir\"
7222 exec_prefix="$acl_save_exec_prefix"
7223 prefix="$acl_save_prefix"
7226 # Check whether --with-libiconv-prefix was given.
7227 if test "${with_libiconv_prefix+set}" = set; then :
7228 withval=$with_libiconv_prefix;
7229 if test "X$withval" = "Xno"; then
7232 if test "X$withval" = "X"; then
7234 acl_save_prefix="$prefix"
7235 prefix="$acl_final_prefix"
7236 acl_save_exec_prefix="$exec_prefix"
7237 exec_prefix="$acl_final_exec_prefix"
7239 eval additional_includedir=\"$includedir\"
7240 eval additional_libdir=\"$libdir\"
7242 exec_prefix="$acl_save_exec_prefix"
7243 prefix="$acl_save_prefix"
7246 additional_includedir="$withval/include"
7247 additional_libdir="$withval/$acl_libdirstem"
7248 if test "$acl_libdirstem2" != "$acl_libdirstem" \
7249 && ! test -d "$withval/$acl_libdirstem"; then
7250 additional_libdir="$withval/$acl_libdirstem2"
7264 names_already_handled=
7265 names_next_round='iconv '
7266 while test -n "$names_next_round"; do
7267 names_this_round="$names_next_round"
7269 for name in $names_this_round; do
7271 for n in $names_already_handled; do
7272 if test "$n" = "$name"; then
7277 if test -z "$already_handled"; then
7278 names_already_handled="$names_already_handled $name"
7279 uppername=`echo "$name" |
sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
7280 eval value=\"\$HAVE_LIB$uppername\"
7281 if test -n "$value"; then
7282 if test "$value" = yes; then
7283 eval value=\"\$LIB$uppername\"
7284 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
7285 eval value=\"\$LTLIB$uppername\"
7286 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
7295 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
7296 if test -n "$acl_shlibext"; then
7297 shrext=".$acl_shlibext" # typically: shrext=.so
7301 if test $use_additional = yes; then
7302 dir="$additional_libdir"
7303 if test -n "$acl_shlibext"; then
7304 if test -f "$dir/$libname$shrext"; then
7306 found_so="$dir/$libname$shrext"
7308 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
7309 ver=`(cd "$dir" && \
7310 for f
in "$libname$shrext".
*; do echo "$f"; done \
7311 |
sed -e "s,^$libname$shrext\\\\.,," \
7312 |
sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
7313 |
sed 1q
) 2>/dev
/null
`
7314 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
7316 found_so="$dir/$libname$shrext.$ver"
7319 eval library_names=\"$acl_library_names_spec\"
7320 for f in $library_names; do
7321 if test -f "$dir/$f"; then
7330 if test "X$found_dir" = "X"; then
7331 if test -f "$dir/$libname.$acl_libext"; then
7333 found_a="$dir/$libname.$acl_libext"
7336 if test "X$found_dir" != "X"; then
7337 if test -f "$dir/$libname.la"; then
7338 found_la="$dir/$libname.la"
7342 if test "X$found_dir" = "X"; then
7343 for x in $LDFLAGS $LTLIBICONV; do
7345 acl_save_prefix="$prefix"
7346 prefix="$acl_final_prefix"
7347 acl_save_exec_prefix="$exec_prefix"
7348 exec_prefix="$acl_final_exec_prefix"
7350 exec_prefix="$acl_save_exec_prefix"
7351 prefix="$acl_save_prefix"
7355 dir=`echo "X$x" |
sed -e 's/^X-L//'`
7356 if test -n "$acl_shlibext"; then
7357 if test -f "$dir/$libname$shrext"; then
7359 found_so="$dir/$libname$shrext"
7361 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
7362 ver=`(cd "$dir" && \
7363 for f
in "$libname$shrext".
*; do echo "$f"; done \
7364 |
sed -e "s,^$libname$shrext\\\\.,," \
7365 |
sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
7366 |
sed 1q
) 2>/dev
/null
`
7367 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
7369 found_so="$dir/$libname$shrext.$ver"
7372 eval library_names=\"$acl_library_names_spec\"
7373 for f in $library_names; do
7374 if test -f "$dir/$f"; then
7383 if test "X$found_dir" = "X"; then
7384 if test -f "$dir/$libname.$acl_libext"; then
7386 found_a="$dir/$libname.$acl_libext"
7389 if test "X$found_dir" != "X"; then
7390 if test -f "$dir/$libname.la"; then
7391 found_la="$dir/$libname.la"
7396 if test "X$found_dir" != "X"; then
7401 if test "X$found_dir" != "X"; then
7402 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
7403 if test "X$found_so" != "X"; then
7404 if test "$enable_rpath" = no \
7405 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
7406 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
7407 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
7410 for x in $ltrpathdirs; do
7411 if test "X$x" = "X$found_dir"; then
7416 if test -z "$haveit"; then
7417 ltrpathdirs="$ltrpathdirs $found_dir"
7419 if test "$acl_hardcode_direct" = yes; then
7420 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
7422 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
7423 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
7425 for x in $rpathdirs; do
7426 if test "X$x" = "X$found_dir"; then
7431 if test -z "$haveit"; then
7432 rpathdirs="$rpathdirs $found_dir"
7436 for x in $LDFLAGS $LIBICONV; do
7438 acl_save_prefix="$prefix"
7439 prefix="$acl_final_prefix"
7440 acl_save_exec_prefix="$exec_prefix"
7441 exec_prefix="$acl_final_exec_prefix"
7443 exec_prefix="$acl_save_exec_prefix"
7444 prefix="$acl_save_prefix"
7446 if test "X$x" = "X-L$found_dir"; then
7451 if test -z "$haveit"; then
7452 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
7454 if test "$acl_hardcode_minus_L" != no; then
7455 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
7457 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
7463 if test "X$found_a" != "X"; then
7464 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
7466 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
7469 additional_includedir=
7470 case "$found_dir" in
7471 */$acl_libdirstem | */$acl_libdirstem/)
7472 basedir=`echo "X$found_dir" |
sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
7473 if test "$name" = 'iconv'; then
7474 LIBICONV_PREFIX="$basedir"
7476 additional_includedir="$basedir/include"
7478 */$acl_libdirstem2 | */$acl_libdirstem2/)
7479 basedir=`echo "X$found_dir" |
sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
7480 if test "$name" = 'iconv'; then
7481 LIBICONV_PREFIX="$basedir"
7483 additional_includedir="$basedir/include"
7486 if test "X$additional_includedir" != "X"; then
7487 if test "X$additional_includedir" != "X/usr/include"; then
7489 if test "X$additional_includedir" = "X/usr/local/include"; then
7490 if test -n "$GCC"; then
7492 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
7496 if test -z "$haveit"; then
7497 for x in $CPPFLAGS $INCICONV; do
7499 acl_save_prefix="$prefix"
7500 prefix="$acl_final_prefix"
7501 acl_save_exec_prefix="$exec_prefix"
7502 exec_prefix="$acl_final_exec_prefix"
7504 exec_prefix="$acl_save_exec_prefix"
7505 prefix="$acl_save_prefix"
7507 if test "X$x" = "X-I$additional_includedir"; then
7512 if test -z "$haveit"; then
7513 if test -d "$additional_includedir"; then
7514 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
7520 if test -n "$found_la"; then
7521 save_libdir="$libdir"
7523 */* | *\\*) . "$found_la" ;;
7524 *) . "./$found_la" ;;
7526 libdir="$save_libdir"
7527 for dep in $dependency_libs; do
7530 additional_libdir=`echo "X$dep" |
sed -e 's/^X-L//'`
7531 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
7532 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
7534 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
7535 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
7536 if test -n "$GCC"; then
7538 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
7542 if test -z "$haveit"; then
7544 for x in $LDFLAGS $LIBICONV; do
7546 acl_save_prefix="$prefix"
7547 prefix="$acl_final_prefix"
7548 acl_save_exec_prefix="$exec_prefix"
7549 exec_prefix="$acl_final_exec_prefix"
7551 exec_prefix="$acl_save_exec_prefix"
7552 prefix="$acl_save_prefix"
7554 if test "X$x" = "X-L$additional_libdir"; then
7559 if test -z "$haveit"; then
7560 if test -d "$additional_libdir"; then
7561 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
7565 for x in $LDFLAGS $LTLIBICONV; do
7567 acl_save_prefix="$prefix"
7568 prefix="$acl_final_prefix"
7569 acl_save_exec_prefix="$exec_prefix"
7570 exec_prefix="$acl_final_exec_prefix"
7572 exec_prefix="$acl_save_exec_prefix"
7573 prefix="$acl_save_prefix"
7575 if test "X$x" = "X-L$additional_libdir"; then
7580 if test -z "$haveit"; then
7581 if test -d "$additional_libdir"; then
7582 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
7589 dir=`echo "X$dep" |
sed -e 's/^X-R//'`
7590 if test "$enable_rpath" != no; then
7592 for x in $rpathdirs; do
7593 if test "X$x" = "X$dir"; then
7598 if test -z "$haveit"; then
7599 rpathdirs="$rpathdirs $dir"
7602 for x in $ltrpathdirs; do
7603 if test "X$x" = "X$dir"; then
7608 if test -z "$haveit"; then
7609 ltrpathdirs="$ltrpathdirs $dir"
7614 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's/^X-l//'`
7617 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7620 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
7621 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
7627 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
7628 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
7634 if test "X$rpathdirs" != "X"; then
7635 if test -n "$acl_hardcode_libdir_separator"; then
7637 for found_dir in $rpathdirs; do
7638 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
7640 acl_save_libdir="$libdir"
7642 eval flag=\"$acl_hardcode_libdir_flag_spec\"
7643 libdir="$acl_save_libdir"
7644 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
7646 for found_dir in $rpathdirs; do
7647 acl_save_libdir="$libdir"
7649 eval flag=\"$acl_hardcode_libdir_flag_spec\"
7650 libdir="$acl_save_libdir"
7651 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
7655 if test "X$ltrpathdirs" != "X"; then
7656 for found_dir in $ltrpathdirs; do
7657 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
7698 case " $gt_needs " in
7699 *" need-formatstring-macros "*) gt_api_version=3 ;;
7700 *" need-ngettext "*) gt_api_version=2 ;;
7701 *) gt_api_version=1 ;;
7703 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
7704 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
7706 if test "$USE_NLS" = "yes"; then
7707 gt_use_preinstalled_gnugettext=no
7710 if test $gt_api_version -ge 3; then
7711 gt_revision_test_code='
7712 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7713 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
7715 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
7718 gt_revision_test_code=
7720 if test $gt_api_version -ge 2; then
7721 gt_expression_test_code=' + * ngettext ("", "", 0)'
7723 gt_expression_test_code=
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
7727 $as_echo_n "checking for GNU gettext in libc... " >&6; }
7728 if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then :
7729 $as_echo_n "(cached) " >&6
7731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7732 /* end confdefs.h. */
7733 #include <libintl.h>
7734 $gt_revision_test_code
7735 extern int _nl_msg_cat_cntr;
7736 extern int *_nl_domain_bindings;
7740 bindtextdomain ("", "");
7741 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
7746 if ac_fn_c_try_link "$LINENO"; then :
7747 eval "$gt_func_gnugettext_libc=yes"
7749 eval "$gt_func_gnugettext_libc=no"
7751 rm -f core conftest.err conftest.$ac_objext \
7752 conftest$ac_exeext conftest.$ac_ext
7754 eval ac_res=\$$gt_func_gnugettext_libc
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7756 $as_echo "$ac_res" >&6; }
7758 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
7764 am_save_CPPFLAGS="$CPPFLAGS"
7766 for element in $INCICONV; do
7768 for x in $CPPFLAGS; do
7770 acl_save_prefix="$prefix"
7771 prefix="$acl_final_prefix"
7772 acl_save_exec_prefix="$exec_prefix"
7773 exec_prefix="$acl_final_exec_prefix"
7775 exec_prefix="$acl_save_exec_prefix"
7776 prefix="$acl_save_prefix"
7778 if test "X$x" = "X$element"; then
7783 if test -z "$haveit"; then
7784 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
7790 $as_echo_n "checking for iconv... " >&6; }
7791 if test "${am_cv_func_iconv+set}" = set; then :
7792 $as_echo_n "(cached) " >&6
7795 am_cv_func_iconv="no, consider installing GNU libiconv"
7797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7798 /* end confdefs.h. */
7804 iconv_t cd = iconv_open("","");
7805 iconv(cd,NULL,NULL,NULL,NULL);
7811 if ac_fn_c_try_link "$LINENO"; then :
7812 am_cv_func_iconv=yes
7814 rm -f core conftest.err conftest.$ac_objext \
7815 conftest$ac_exeext conftest.$ac_ext
7816 if test "$am_cv_func_iconv" != yes; then
7817 am_save_LIBS="$LIBS"
7818 LIBS="$LIBS $LIBICONV"
7819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7820 /* end confdefs.h. */
7826 iconv_t cd = iconv_open("","");
7827 iconv(cd,NULL,NULL,NULL,NULL);
7833 if ac_fn_c_try_link "$LINENO"; then :
7835 am_cv_func_iconv=yes
7837 rm -f core conftest.err conftest.$ac_objext \
7838 conftest$ac_exeext conftest.$ac_ext
7839 LIBS="$am_save_LIBS"
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
7844 $as_echo "$am_cv_func_iconv" >&6; }
7845 if test "$am_cv_func_iconv" = yes; then
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
7847 $as_echo_n "checking for working iconv... " >&6; }
7848 if test "${am_cv_func_iconv_works+set}" = set; then :
7849 $as_echo_n "(cached) " >&6
7852 am_save_LIBS="$LIBS"
7853 if test $am_cv_lib_iconv = yes; then
7854 LIBS="$LIBS $LIBICONV"
7856 if test "$cross_compiling" = yes; then :
7858 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
7859 *) am_cv_func_iconv_works="guessing yes" ;;
7862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7863 /* end confdefs.h. */
7869 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
7872 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
7873 if (cd_utf8_to_88591 != (iconv_t)(-1))
7875 static const char input[] = "\342\202\254"; /* EURO SIGN */
7877 const char *inptr = input;
7878 size_t inbytesleft = strlen (input);
7880 size_t outbytesleft = sizeof (buf);
7881 size_t res = iconv (cd_utf8_to_88591,
7882 (char **) &inptr, &inbytesleft,
7883 &outptr, &outbytesleft);
7888 /* Test against Solaris 10 bug: Failures are not distinguishable from
7889 successful returns. */
7891 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
7892 if (cd_ascii_to_88591 != (iconv_t)(-1))
7894 static const char input[] = "\263";
7896 const char *inptr = input;
7897 size_t inbytesleft = strlen (input);
7899 size_t outbytesleft = sizeof (buf);
7900 size_t res = iconv (cd_ascii_to_88591,
7901 (char **) &inptr, &inbytesleft,
7902 &outptr, &outbytesleft);
7907 #if 0 /* This bug could be worked around by the caller. */
7908 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
7910 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
7911 if (cd_88591_to_utf8 != (iconv_t)(-1))
7913 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
7915 const char *inptr = input;
7916 size_t inbytesleft = strlen (input);
7918 size_t outbytesleft = sizeof (buf);
7919 size_t res = iconv (cd_88591_to_utf8,
7920 (char **) &inptr, &inbytesleft,
7921 &outptr, &outbytesleft);
7927 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
7929 if (/* Try standardized names. */
7930 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
7931 /* Try IRIX, OSF/1 names. */
7932 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
7933 /* Try AIX names. */
7934 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
7935 /* Try HP-UX names. */
7936 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
7941 if ac_fn_c_try_run "$LINENO"; then :
7942 am_cv_func_iconv_works=yes
7944 am_cv_func_iconv_works=no
7946 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7947 conftest.$ac_objext conftest.beam conftest.$ac_ext
7950 LIBS="$am_save_LIBS"
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
7954 $as_echo "$am_cv_func_iconv_works" >&6; }
7955 case "$am_cv_func_iconv_works" in
7956 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
7957 *) am_func_iconv=yes ;;
7960 am_func_iconv=no am_cv_lib_iconv=no
7962 if test "$am_func_iconv" = yes; then
7964 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
7967 if test "$am_cv_lib_iconv" = yes; then
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
7969 $as_echo_n "checking how to link with libiconv... " >&6; }
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
7971 $as_echo "$LIBICONV" >&6; }
7973 CPPFLAGS="$am_save_CPPFLAGS"
7990 acl_save_prefix="$prefix"
7991 prefix="$acl_final_prefix"
7992 acl_save_exec_prefix="$exec_prefix"
7993 exec_prefix="$acl_final_exec_prefix"
7995 eval additional_includedir=\"$includedir\"
7996 eval additional_libdir=\"$libdir\"
7998 exec_prefix="$acl_save_exec_prefix"
7999 prefix="$acl_save_prefix"
8002 # Check whether --with-libintl-prefix was given.
8003 if test "${with_libintl_prefix+set}" = set; then :
8004 withval=$with_libintl_prefix;
8005 if test "X$withval" = "Xno"; then
8008 if test "X$withval" = "X"; then
8010 acl_save_prefix="$prefix"
8011 prefix="$acl_final_prefix"
8012 acl_save_exec_prefix="$exec_prefix"
8013 exec_prefix="$acl_final_exec_prefix"
8015 eval additional_includedir=\"$includedir\"
8016 eval additional_libdir=\"$libdir\"
8018 exec_prefix="$acl_save_exec_prefix"
8019 prefix="$acl_save_prefix"
8022 additional_includedir="$withval/include"
8023 additional_libdir="$withval/$acl_libdirstem"
8024 if test "$acl_libdirstem2" != "$acl_libdirstem" \
8025 && ! test -d "$withval/$acl_libdirstem"; then
8026 additional_libdir="$withval/$acl_libdirstem2"
8040 names_already_handled=
8041 names_next_round='intl '
8042 while test -n "$names_next_round"; do
8043 names_this_round="$names_next_round"
8045 for name in $names_this_round; do
8047 for n in $names_already_handled; do
8048 if test "$n" = "$name"; then
8053 if test -z "$already_handled"; then
8054 names_already_handled="$names_already_handled $name"
8055 uppername=`echo "$name" |
sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
8056 eval value=\"\$HAVE_LIB$uppername\"
8057 if test -n "$value"; then
8058 if test "$value" = yes; then
8059 eval value=\"\$LIB$uppername\"
8060 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
8061 eval value=\"\$LTLIB$uppername\"
8062 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
8071 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
8072 if test -n "$acl_shlibext"; then
8073 shrext=".$acl_shlibext" # typically: shrext=.so
8077 if test $use_additional = yes; then
8078 dir="$additional_libdir"
8079 if test -n "$acl_shlibext"; then
8080 if test -f "$dir/$libname$shrext"; then
8082 found_so="$dir/$libname$shrext"
8084 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8085 ver=`(cd "$dir" && \
8086 for f
in "$libname$shrext".
*; do echo "$f"; done \
8087 |
sed -e "s,^$libname$shrext\\\\.,," \
8088 |
sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8089 |
sed 1q
) 2>/dev
/null
`
8090 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8092 found_so="$dir/$libname$shrext.$ver"
8095 eval library_names=\"$acl_library_names_spec\"
8096 for f in $library_names; do
8097 if test -f "$dir/$f"; then
8106 if test "X$found_dir" = "X"; then
8107 if test -f "$dir/$libname.$acl_libext"; then
8109 found_a="$dir/$libname.$acl_libext"
8112 if test "X$found_dir" != "X"; then
8113 if test -f "$dir/$libname.la"; then
8114 found_la="$dir/$libname.la"
8118 if test "X$found_dir" = "X"; then
8119 for x in $LDFLAGS $LTLIBINTL; do
8121 acl_save_prefix="$prefix"
8122 prefix="$acl_final_prefix"
8123 acl_save_exec_prefix="$exec_prefix"
8124 exec_prefix="$acl_final_exec_prefix"
8126 exec_prefix="$acl_save_exec_prefix"
8127 prefix="$acl_save_prefix"
8131 dir=`echo "X$x" |
sed -e 's/^X-L//'`
8132 if test -n "$acl_shlibext"; then
8133 if test -f "$dir/$libname$shrext"; then
8135 found_so="$dir/$libname$shrext"
8137 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8138 ver=`(cd "$dir" && \
8139 for f
in "$libname$shrext".
*; do echo "$f"; done \
8140 |
sed -e "s,^$libname$shrext\\\\.,," \
8141 |
sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8142 |
sed 1q
) 2>/dev
/null
`
8143 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8145 found_so="$dir/$libname$shrext.$ver"
8148 eval library_names=\"$acl_library_names_spec\"
8149 for f in $library_names; do
8150 if test -f "$dir/$f"; then
8159 if test "X$found_dir" = "X"; then
8160 if test -f "$dir/$libname.$acl_libext"; then
8162 found_a="$dir/$libname.$acl_libext"
8165 if test "X$found_dir" != "X"; then
8166 if test -f "$dir/$libname.la"; then
8167 found_la="$dir/$libname.la"
8172 if test "X$found_dir" != "X"; then
8177 if test "X$found_dir" != "X"; then
8178 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
8179 if test "X$found_so" != "X"; then
8180 if test "$enable_rpath" = no \
8181 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
8182 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
8183 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8186 for x in $ltrpathdirs; do
8187 if test "X$x" = "X$found_dir"; then
8192 if test -z "$haveit"; then
8193 ltrpathdirs="$ltrpathdirs $found_dir"
8195 if test "$acl_hardcode_direct" = yes; then
8196 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8198 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
8199 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8201 for x in $rpathdirs; do
8202 if test "X$x" = "X$found_dir"; then
8207 if test -z "$haveit"; then
8208 rpathdirs="$rpathdirs $found_dir"
8212 for x in $LDFLAGS $LIBINTL; do
8214 acl_save_prefix="$prefix"
8215 prefix="$acl_final_prefix"
8216 acl_save_exec_prefix="$exec_prefix"
8217 exec_prefix="$acl_final_exec_prefix"
8219 exec_prefix="$acl_save_exec_prefix"
8220 prefix="$acl_save_prefix"
8222 if test "X$x" = "X-L$found_dir"; then
8227 if test -z "$haveit"; then
8228 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
8230 if test "$acl_hardcode_minus_L" != no; then
8231 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8233 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
8239 if test "X$found_a" != "X"; then
8240 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
8242 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
8245 additional_includedir=
8246 case "$found_dir" in
8247 */$acl_libdirstem | */$acl_libdirstem/)
8248 basedir=`echo "X$found_dir" |
sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
8249 if test "$name" = 'intl'; then
8250 LIBINTL_PREFIX="$basedir"
8252 additional_includedir="$basedir/include"
8254 */$acl_libdirstem2 | */$acl_libdirstem2/)
8255 basedir=`echo "X$found_dir" |
sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
8256 if test "$name" = 'intl'; then
8257 LIBINTL_PREFIX="$basedir"
8259 additional_includedir="$basedir/include"
8262 if test "X$additional_includedir" != "X"; then
8263 if test "X$additional_includedir" != "X/usr/include"; then
8265 if test "X$additional_includedir" = "X/usr/local/include"; then
8266 if test -n "$GCC"; then
8268 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
8272 if test -z "$haveit"; then
8273 for x in $CPPFLAGS $INCINTL; do
8275 acl_save_prefix="$prefix"
8276 prefix="$acl_final_prefix"
8277 acl_save_exec_prefix="$exec_prefix"
8278 exec_prefix="$acl_final_exec_prefix"
8280 exec_prefix="$acl_save_exec_prefix"
8281 prefix="$acl_save_prefix"
8283 if test "X$x" = "X-I$additional_includedir"; then
8288 if test -z "$haveit"; then
8289 if test -d "$additional_includedir"; then
8290 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
8296 if test -n "$found_la"; then
8297 save_libdir="$libdir"
8299 */* | *\\*) . "$found_la" ;;
8300 *) . "./$found_la" ;;
8302 libdir="$save_libdir"
8303 for dep in $dependency_libs; do
8306 additional_libdir=`echo "X$dep" |
sed -e 's/^X-L//'`
8307 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
8308 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
8310 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
8311 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
8312 if test -n "$GCC"; then
8314 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
8318 if test -z "$haveit"; then
8320 for x in $LDFLAGS $LIBINTL; do
8322 acl_save_prefix="$prefix"
8323 prefix="$acl_final_prefix"
8324 acl_save_exec_prefix="$exec_prefix"
8325 exec_prefix="$acl_final_exec_prefix"
8327 exec_prefix="$acl_save_exec_prefix"
8328 prefix="$acl_save_prefix"
8330 if test "X$x" = "X-L$additional_libdir"; then
8335 if test -z "$haveit"; then
8336 if test -d "$additional_libdir"; then
8337 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
8341 for x in $LDFLAGS $LTLIBINTL; do
8343 acl_save_prefix="$prefix"
8344 prefix="$acl_final_prefix"
8345 acl_save_exec_prefix="$exec_prefix"
8346 exec_prefix="$acl_final_exec_prefix"
8348 exec_prefix="$acl_save_exec_prefix"
8349 prefix="$acl_save_prefix"
8351 if test "X$x" = "X-L$additional_libdir"; then
8356 if test -z "$haveit"; then
8357 if test -d "$additional_libdir"; then
8358 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
8365 dir=`echo "X$dep" |
sed -e 's/^X-R//'`
8366 if test "$enable_rpath" != no; then
8368 for x in $rpathdirs; do
8369 if test "X$x" = "X$dir"; then
8374 if test -z "$haveit"; then
8375 rpathdirs="$rpathdirs $dir"
8378 for x in $ltrpathdirs; do
8379 if test "X$x" = "X$dir"; then
8384 if test -z "$haveit"; then
8385 ltrpathdirs="$ltrpathdirs $dir"
8390 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's/^X-l//'`
8393 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8396 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
8397 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
8403 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
8404 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
8410 if test "X$rpathdirs" != "X"; then
8411 if test -n "$acl_hardcode_libdir_separator"; then
8413 for found_dir in $rpathdirs; do
8414 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
8416 acl_save_libdir="$libdir"
8418 eval flag=\"$acl_hardcode_libdir_flag_spec\"
8419 libdir="$acl_save_libdir"
8420 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
8422 for found_dir in $rpathdirs; do
8423 acl_save_libdir="$libdir"
8425 eval flag=\"$acl_hardcode_libdir_flag_spec\"
8426 libdir="$acl_save_libdir"
8427 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
8431 if test "X$ltrpathdirs" != "X"; then
8432 for found_dir in $ltrpathdirs; do
8433 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
8443 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
8444 if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then :
8445 $as_echo_n "(cached) " >&6
8447 gt_save_CPPFLAGS="$CPPFLAGS"
8448 CPPFLAGS="$CPPFLAGS $INCINTL"
8449 gt_save_LIBS="$LIBS"
8450 LIBS="$LIBS $LIBINTL"
8451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8452 /* end confdefs.h. */
8453 #include <libintl.h>
8454 $gt_revision_test_code
8455 extern int _nl_msg_cat_cntr;
8460 const char *_nl_expand_alias (const char *);
8464 bindtextdomain ("", "");
8465 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
8470 if ac_fn_c_try_link "$LINENO"; then :
8471 eval "$gt_func_gnugettext_libintl=yes"
8473 eval "$gt_func_gnugettext_libintl=no"
8475 rm -f core conftest.err conftest.$ac_objext \
8476 conftest$ac_exeext conftest.$ac_ext
8477 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
8478 LIBS="$LIBS $LIBICONV"
8479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8480 /* end confdefs.h. */
8481 #include <libintl.h>
8482 $gt_revision_test_code
8483 extern int _nl_msg_cat_cntr;
8488 const char *_nl_expand_alias (const char *);
8492 bindtextdomain ("", "");
8493 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
8498 if ac_fn_c_try_link "$LINENO"; then :
8499 LIBINTL="$LIBINTL $LIBICONV"
8500 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
8501 eval "$gt_func_gnugettext_libintl=yes"
8504 rm -f core conftest.err conftest.$ac_objext \
8505 conftest$ac_exeext conftest.$ac_ext
8507 CPPFLAGS="$gt_save_CPPFLAGS"
8508 LIBS="$gt_save_LIBS"
8510 eval ac_res=\$$gt_func_gnugettext_libintl
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8512 $as_echo "$ac_res" >&6; }
8515 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
8516 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
8517 && test "$PACKAGE" != gettext-runtime \
8518 && test "$PACKAGE" != gettext-tools; }; then
8519 gt_use_preinstalled_gnugettext=yes
8528 if test -n "$INTL_MACOSX_LIBS"; then
8529 if test "$gt_use_preinstalled_gnugettext" = "yes" \
8530 || test "$nls_cv_use_gnu_gettext" = "yes"; then
8531 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
8532 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
8536 if test "$gt_use_preinstalled_gnugettext" = "yes" \
8537 || test "$nls_cv_use_gnu_gettext" = "yes"; then
8539 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
8547 $as_echo_n "checking whether to use NLS... " >&6; }
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
8549 $as_echo "$USE_NLS" >&6; }
8550 if test "$USE_NLS" = "yes"; then
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
8552 $as_echo_n "checking where the gettext function comes from... " >&6; }
8553 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
8554 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
8555 gt_source="external libintl"
8560 gt_source="included intl directory"
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
8563 $as_echo "$gt_source" >&6; }
8566 if test "$USE_NLS" = "yes"; then
8568 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
8569 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
8571 $as_echo_n "checking how to link with libintl... " >&6; }
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
8573 $as_echo "$LIBINTL" >&6; }
8575 for element in $INCINTL; do
8577 for x in $CPPFLAGS; do
8579 acl_save_prefix="$prefix"
8580 prefix="$acl_final_prefix"
8581 acl_save_exec_prefix="$exec_prefix"
8582 exec_prefix="$acl_final_exec_prefix"
8584 exec_prefix="$acl_save_exec_prefix"
8585 prefix="$acl_save_prefix"
8587 if test "X$x" = "X$element"; then
8592 if test -z "$haveit"; then
8593 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
8600 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
8603 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
8620 for ac_func in ppoll
8622 ac_fn_c_check_func "$LINENO" "ppoll" "ac_cv_func_ppoll"
8623 if test "x$ac_cv_func_ppoll" = x""yes; then :
8624 cat >>confdefs.h <<_ACEOF
8625 #define HAVE_PPOLL 1
8632 if test "${enable_prologues+set}" != set; then
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if prologue searching should be the default" >&5
8634 $as_echo_n "checking to see if prologue searching should be the default... " >&6; }
8635 if { echo '#if __i386__ == 1 && __GNUC__ < 4'
8637 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
8638 enable_prologues=yes
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8640 $as_echo "yes" >&6; }
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8643 $as_echo "no" >&6; }
8646 # Check whether --enable-prologues was given.
8647 if test "${enable_prologues+set}" = set; then :
8648 enableval=$enable_prologues;
8649 if test "$enable_prologues" = yes; then
8651 $as_echo "#define ENABLE_PROLOGUES /**/" >>confdefs.h
8657 # Check whether --enable-sdt-probes was given.
8658 if test "${enable_sdt_probes+set}" = set; then :
8659 enableval=$enable_sdt_probes;
8662 if test "x$enable_sdt_probes" != xno; then :
8665 $as_echo "#define ENABLE_SDT_PROBES 1" >>confdefs.h
8670 # Check whether --enable-ssp was given.
8671 if test "${enable_ssp+set}" = set; then :
8672 enableval=$enable_ssp;
8675 if test "x$enable_ssp" != xno; then :
8677 save_CFLAGS="$CFLAGS"
8678 save_CXXFLAGS="$CXXFLAGS"
8679 CXXFLAGS="$CXXFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
8680 CFLAGS="$CFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
8681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8682 /* end confdefs.h. */
8685 if ac_fn_c_try_compile "$LINENO"; then :
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with gcc -fstack-protector-all et al." >&5
8688 $as_echo "$as_me: Compiling with gcc -fstack-protector-all et al." >&6;}
8689 CFLAGS="$save_CFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
8690 CXXFLAGS="$save_CXXFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -fstack-protector-all et al." >&5
8694 $as_echo "$as_me: Compiler does not support -fstack-protector-all et al." >&6;}
8695 CFLAGS="$save_CFLAGS"
8696 CXXFLAGS="$save_CXXFLAGS"
8698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8704 # Compiling without fPIE by default (see PR 9922)
8705 # Check whether --enable-pie was given.
8706 if test "${enable_pie+set}" = set; then :
8707 enableval=$enable_pie;
8710 if test "x$enable_pie" == xyes; then :
8712 save_CFLAGS="$CFLAGS"
8713 save_CXXFLAGS="$CXXFLAGS"
8714 save_LDFLAGS="$LDFLAGS"
8715 CFLAGS="$CFLAGS -fPIE"
8716 CXXFLAGS="$CXXFLAGS -fPIE"
8717 LDFLAGS="$LDFLAGS -pie -Wl,-z,relro -Wl,-z,now"
8718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8719 /* end confdefs.h. */
8722 if ac_fn_c_try_link "$LINENO"; then :
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with gcc pie et al." >&5
8725 $as_echo "$as_me: Compiling with gcc pie et al." >&6;}
8726 # LDFLAGS is special since it may be passed down to bundled-elfutils,
8727 # and interfere with the .so's built therein
8728 PIELDFLAGS="$LDFLAGS"
8729 LDFLAGS="$save_LDFLAGS"
8731 CFLAGS="$save_CFLAGS"
8732 PIECXXFLAGS="$CXXFLAGS"
8733 CXXFLAGS="$save_CXXFLAGS"
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -pie et al." >&5
8738 $as_echo "$as_me: Compiler does not support -pie et al." >&6;}
8740 CFLAGS="$save_CFLAGS"
8742 CXXFLAGS="$save_CXXFLAGS"
8744 LDFLAGS="$save_LDFLAGS"
8746 rm -f core conftest.err conftest.$ac_objext \
8747 conftest$ac_exeext conftest.$ac_ext
8753 # Check whether --enable-sqlite was given.
8754 if test "${enable_sqlite+set}" = set; then :
8755 enableval=$enable_sqlite;
8760 if test "x$enable_sqlite" != xno; then :
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_open in -lsqlite3" >&5
8762 $as_echo_n "checking for sqlite3_open in -lsqlite3... " >&6; }
8763 if test "${ac_cv_lib_sqlite3_sqlite3_open+set}" = set; then :
8764 $as_echo_n "(cached) " >&6
8766 ac_check_lib_save_LIBS=$LIBS
8767 LIBS="-lsqlite3 $LIBS"
8768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8769 /* end confdefs.h. */
8771 /* Override any GCC internal prototype to avoid an error.
8772 Use char because int might match the return type of a GCC
8773 builtin and then its argument prototype would still apply. */
8777 char sqlite3_open ();
8781 return sqlite3_open ();
8786 if ac_fn_c_try_link "$LINENO"; then :
8787 ac_cv_lib_sqlite3_sqlite3_open=yes
8789 ac_cv_lib_sqlite3_sqlite3_open=no
8791 rm -f core conftest.err conftest.$ac_objext \
8792 conftest$ac_exeext conftest.$ac_ext
8793 LIBS=$ac_check_lib_save_LIBS
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_open" >&5
8796 $as_echo "$ac_cv_lib_sqlite3_sqlite3_open" >&6; }
8797 if test "x$ac_cv_lib_sqlite3_sqlite3_open" = x""yes; then :
8798 sqlite3_LIBS=-lsqlite3
8801 $as_echo "#define HAVE_LIBSQLITE3 1" >>confdefs.h
8804 if test "x$enable_sqlite" != xcheck; then
8805 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8807 as_fn_error "--enable-sqlite was given
, but
test for sqlite failed
8808 See \
`config.log' for more details." "$LINENO" 5; }
8814 # Check whether --enable-translator was given.
8815 if test "${enable_translator+set}" = set; then :
8816 enableval=$enable_translator;
8818 enable_translator="yes"
8821 if test "$enable_translator" == "yes"; then
8822 BUILD_TRANSLATOR_TRUE=
8823 BUILD_TRANSLATOR_FALSE='#'
8825 BUILD_TRANSLATOR_TRUE='#'
8826 BUILD_TRANSLATOR_FALSE=
8830 # Check whether --enable-crash was given.
8831 if test "${enable_crash+set}" = set; then :
8832 enableval=$enable_crash; if test "$enable_crash" != "no"; then
8833 save_CPPFLAGS="$CPPFLAGS"
8834 if test "$enable_crash" != "yes"; then
8835 staplog_CPPFLAGS=-I$enable_crash
8836 CPPFLAGS="${staplog_CPPFLAGS} $CPPFLAGS"
8839 for ac_header in crash/defs.h
8841 ac_fn_c_check_header_compile "$LINENO" "crash/defs.h" "ac_cv_header_crash_defs_h" "
8845 if test "x$ac_cv_header_crash_defs_h" = x""yes; then :
8846 cat >>confdefs.h <<_ACEOF
8847 #define HAVE_CRASH_DEFS_H 1
8851 as_fn_error "cannot find required crash header (crash-devel may need to be installed)" "$LINENO" 5
8856 CPPFLAGS="$save_CPPFLAGS"
8862 if test "$enable_crash" != "no"; then
8863 BUILD_CRASHMOD_TRUE=
8864 BUILD_CRASHMOD_FALSE='#'
8866 BUILD_CRASHMOD_TRUE='#'
8867 BUILD_CRASHMOD_FALSE=
8872 # Check whether --enable-docs was given.
8873 if test "${enable_docs+set}" = set; then :
8874 enableval=$enable_docs; enable_docs=$enableval
8879 # Extract the first word of "latex", so it can be a program name with args.
8880 set dummy latex; ac_word=$2
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8882 $as_echo_n "checking for $ac_word... " >&6; }
8883 if test "${ac_cv_prog_have_latex+set}" = set; then :
8884 $as_echo_n "(cached) " >&6
8886 if test -n "$have_latex"; then
8887 ac_cv_prog_have_latex="$have_latex" # Let the user override the test.
8889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8893 test -z "$as_dir" && as_dir=.
8894 for ac_exec_ext in '' $ac_executable_extensions; do
8895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8896 ac_cv_prog_have_latex="yes"
8897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8904 test -z "$ac_cv_prog_have_latex" && ac_cv_prog_have_latex="no"
8907 have_latex=$ac_cv_prog_have_latex
8908 if test -n "$have_latex"; then
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_latex" >&5
8910 $as_echo "$have_latex" >&6; }
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8913 $as_echo "no" >&6; }
8917 # Extract the first word of "dvips", so it can be a program name with args.
8918 set dummy dvips; ac_word=$2
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8920 $as_echo_n "checking for $ac_word... " >&6; }
8921 if test "${ac_cv_prog_have_dvips+set}" = set; then :
8922 $as_echo_n "(cached) " >&6
8924 if test -n "$have_dvips"; then
8925 ac_cv_prog_have_dvips="$have_dvips" # Let the user override the test.
8927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8931 test -z "$as_dir" && as_dir=.
8932 for ac_exec_ext in '' $ac_executable_extensions; do
8933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8934 ac_cv_prog_have_dvips="yes"
8935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8942 test -z "$ac_cv_prog_have_dvips" && ac_cv_prog_have_dvips="no"
8945 have_dvips=$ac_cv_prog_have_dvips
8946 if test -n "$have_dvips"; then
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_dvips" >&5
8948 $as_echo "$have_dvips" >&6; }
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8951 $as_echo "no" >&6; }
8955 # Extract the first word of "ps2pdf", so it can be a program name with args.
8956 set dummy ps2pdf; ac_word=$2
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8958 $as_echo_n "checking for $ac_word... " >&6; }
8959 if test "${ac_cv_prog_have_ps2pdf+set}" = set; then :
8960 $as_echo_n "(cached) " >&6
8962 if test -n "$have_ps2pdf"; then
8963 ac_cv_prog_have_ps2pdf="$have_ps2pdf" # Let the user override the test.
8965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8969 test -z "$as_dir" && as_dir=.
8970 for ac_exec_ext in '' $ac_executable_extensions; do
8971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8972 ac_cv_prog_have_ps2pdf="yes"
8973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8980 test -z "$ac_cv_prog_have_ps2pdf" && ac_cv_prog_have_ps2pdf="no"
8983 have_ps2pdf=$ac_cv_prog_have_ps2pdf
8984 if test -n "$have_ps2pdf"; then
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ps2pdf" >&5
8986 $as_echo "$have_ps2pdf" >&6; }
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8989 $as_echo "no" >&6; }
8993 # Extract the first word of "latex2html", so it can be a program name with args.
8994 set dummy latex2html; ac_word=$2
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8996 $as_echo_n "checking for $ac_word... " >&6; }
8997 if test "${ac_cv_prog_have_latex2html+set}" = set; then :
8998 $as_echo_n "(cached) " >&6
9000 if test -n "$have_latex2html"; then
9001 ac_cv_prog_have_latex2html="$have_latex2html" # Let the user override the test.
9003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9007 test -z "$as_dir" && as_dir=.
9008 for ac_exec_ext in '' $ac_executable_extensions; do
9009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9010 ac_cv_prog_have_latex2html="yes"
9011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9018 test -z "$ac_cv_prog_have_latex2html" && ac_cv_prog_have_latex2html="no"
9021 have_latex2html=$ac_cv_prog_have_latex2html
9022 if test -n "$have_latex2html"; then
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_latex2html" >&5
9024 $as_echo "$have_latex2html" >&6; }
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9027 $as_echo "no" >&6; }
9031 if test "x${have_latex}${have_dvips}${have_ps2pdf}${have_latex2html}" != "xyesyesyesyes"; then
9032 if test "$enable_docs" == "yes"; then
9033 as_fn_error "cannot find all tools for building documentation" "$LINENO" 5
9035 if test "$enable_docs" == "check"; then
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build documentation, cannot find all tools" >&5
9037 $as_echo "$as_me: WARNING: will not build documentation, cannot find all tools" >&2;}
9040 if test "x${have_latex}${have_dvips}${have_ps2pdf}${have_latex2html}" == "xyesyesyesyes" -a "$enable_docs" != "no"; then
9043 if test "$building_docs" == "yes"; then
9045 BUILD_DOCS_FALSE='#'
9052 building_publican="no"
9053 # Check whether --enable-publican was given.
9054 if test "${enable_publican+set}" = set; then :
9055 enableval=$enable_publican; enable_publican=$enableval
9057 enable_publican="check"
9060 if test "$building_docs" == "no" -a "$enable_publican" == "yes" ; then
9061 as_fn_error "must use --enable-docs with --enable-publican" "$LINENO" 5
9063 # Extract the first word of "publican", so it can be a program name with args.
9064 set dummy publican; ac_word=$2
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9066 $as_echo_n "checking for $ac_word... " >&6; }
9067 if test "${ac_cv_prog_have_publican+set}" = set; then :
9068 $as_echo_n "(cached) " >&6
9070 if test -n "$have_publican"; then
9071 ac_cv_prog_have_publican="$have_publican" # Let the user override the test.
9073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9077 test -z "$as_dir" && as_dir=.
9078 for ac_exec_ext in '' $ac_executable_extensions; do
9079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9080 ac_cv_prog_have_publican="yes"
9081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9088 test -z "$ac_cv_prog_have_publican" && ac_cv_prog_have_publican="no"
9091 have_publican=$ac_cv_prog_have_publican
9092 if test -n "$have_publican"; then
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_publican" >&5
9094 $as_echo "$have_publican" >&6; }
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9097 $as_echo "no" >&6; }
9101 if test "$enable_publican" == "yes"; then
9102 if test "x${have_publican}" != "xyes"; then
9103 as_fn_error "cannot find publican for building publican guides" "$LINENO" 5
9106 if test "x${have_publican}" == "xyes" -a "$enable_publican" != "no" -a "${building_docs}" == "yes"; then
9107 building_publican="yes"
9109 if test "$building_publican" == "yes"; then
9110 BUILD_PUBLICAN_TRUE=
9111 BUILD_PUBLICAN_FALSE='#'
9113 BUILD_PUBLICAN_TRUE='#'
9114 BUILD_PUBLICAN_FALSE=
9117 publican_brand="common"
9119 # Check whether --with-publican-brand was given.
9120 if test "${with_publican_brand+set}" = set; then :
9121 withval=$with_publican_brand; publican_brand=$withval
9123 publican_brand="common"
9126 PUBLICAN_BRAND=$publican_brand
9129 building_refdocs="no"
9130 # Check whether --enable-refdocs was given.
9131 if test "${enable_refdocs+set}" = set; then :
9132 enableval=$enable_refdocs; enable_refdocs=$enableval
9134 enable_refdocs="check"
9137 if test "$building_docs" == "no" -a "$enable_refdocs" == "yes" ; then
9138 as_fn_error "must use --enable-docs with --enable-refdocs" "$LINENO" 5
9140 # Extract the first word of "xmlto", so it can be a program name with args.
9141 set dummy xmlto; ac_word=$2
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9143 $as_echo_n "checking for $ac_word... " >&6; }
9144 if test "${ac_cv_prog_have_xmlto+set}" = set; then :
9145 $as_echo_n "(cached) " >&6
9147 if test -n "$have_xmlto"; then
9148 ac_cv_prog_have_xmlto="$have_xmlto" # Let the user override the test.
9150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9154 test -z "$as_dir" && as_dir=.
9155 for ac_exec_ext in '' $ac_executable_extensions; do
9156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9157 ac_cv_prog_have_xmlto="yes"
9158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9165 test -z "$ac_cv_prog_have_xmlto" && ac_cv_prog_have_xmlto="no"
9168 have_xmlto=$ac_cv_prog_have_xmlto
9169 if test -n "$have_xmlto"; then
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_xmlto" >&5
9171 $as_echo "$have_xmlto" >&6; }
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9174 $as_echo "no" >&6; }
9178 if test "$enable_refdocs" == "yes"; then
9179 if test "x${have_xmlto}" != "xyes"; then
9180 as_fn_error "cannot find xmlto for building reference documentation" "$LINENO" 5
9183 if test "x${have_xmlto}" == "xyes" -a "$enable_refdocs" != "no" -a "${building_docs}" == "yes"; then
9184 building_refdocs="yes"
9186 if test "$building_refdocs" == "yes"; then
9188 BUILD_REFDOCS_FALSE='#'
9190 BUILD_REFDOCS_TRUE='#'
9191 BUILD_REFDOCS_FALSE=
9195 cat > conftest.xml << 'EOF'
9196 <?xml version="1.0" encoding="UTF-8"?>
9197 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
9198 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" >
9200 <bookinfo><title>foo</title></bookinfo>
9201 <chapter id="logging.stp"><title>Logging Tapset</title>
9202 <refentry id="API-log"><refnamediv><refname>log</refname>
9203 <refpurpose>logging</refpurpose></refnamediv>
9204 <refsect1><title>Description</title>
9205 <para>baz</para></refsect1></refentry></chapter>
9209 if test "x${have_xmlto}" == "xyes"; then
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlto --stringparam support" >&5
9211 $as_echo_n "checking for xmlto --stringparam support... " >&6; }
9212 xmlto --stringparam man.authors.section.enabled=0 html-nochunks conftest.xml >/dev/null 2>&1
9213 if test $? == 0; then
9214 have_xmlto_stringparam="yes"
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9216 $as_echo "yes" >&6; }
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9219 $as_echo "no" >&6; }
9223 if test "$have_xmlto_stringparam" == "yes"; then
9224 XMLTO_STRINGPARAM_TRUE=
9225 XMLTO_STRINGPARAM_FALSE='#'
9227 XMLTO_STRINGPARAM_TRUE='#'
9228 XMLTO_STRINGPARAM_FALSE=
9232 if test "x${building_refdocs}" == "xyes"; then
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlto pdf support" >&5
9234 $as_echo_n "checking for xmlto pdf support... " >&6; }
9235 xmlto pdf conftest.xml >& /dev/null
9236 if test $? == 0; then
9237 have_xmlto_pdf="yes"
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9239 $as_echo "yes" >&6; }
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9242 $as_echo "no" >&6; }
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Not building reference documentation in PDF format" >&5
9244 $as_echo "$as_me: WARNING: Not building reference documentation in PDF format" >&2;}
9248 if test "$have_xmlto_pdf" == "yes"; then
9249 BUILD_PDFREFDOCS_TRUE=
9250 BUILD_PDFREFDOCS_FALSE='#'
9252 BUILD_PDFREFDOCS_TRUE='#'
9253 BUILD_PDFREFDOCS_FALSE=
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/include/nss3" >&5
9260 $as_echo_n "checking for /usr/include/nss3... " >&6; }
9261 if test "${ac_cv_file__usr_include_nss3+set}" = set; then :
9262 $as_echo_n "(cached) " >&6
9264 test "$cross_compiling" = yes &&
9265 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
9266 if test -r "/usr/include/nss3"; then
9267 ac_cv_file__usr_include_nss3=yes
9269 ac_cv_file__usr_include_nss3=no
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_include_nss3" >&5
9273 $as_echo "$ac_cv_file__usr_include_nss3" >&6; }
9274 if test "x$ac_cv_file__usr_include_nss3" = x""yes; then :
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/include/nss" >&5
9279 $as_echo_n "checking for /usr/include/nss... " >&6; }
9280 if test "${ac_cv_file__usr_include_nss+set}" = set; then :
9281 $as_echo_n "(cached) " >&6
9283 test "$cross_compiling" = yes &&
9284 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
9285 if test -r "/usr/include/nss"; then
9286 ac_cv_file__usr_include_nss=yes
9288 ac_cv_file__usr_include_nss=no
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_include_nss" >&5
9292 $as_echo "$ac_cv_file__usr_include_nss" >&6; }
9293 if test "x$ac_cv_file__usr_include_nss" = x""yes; then :
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/include/nspr4" >&5
9301 $as_echo_n "checking for /usr/include/nspr4... " >&6; }
9302 if test "${ac_cv_file__usr_include_nspr4+set}" = set; then :
9303 $as_echo_n "(cached) " >&6
9305 test "$cross_compiling" = yes &&
9306 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
9307 if test -r "/usr/include/nspr4"; then
9308 ac_cv_file__usr_include_nspr4=yes
9310 ac_cv_file__usr_include_nspr4=no
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_include_nspr4" >&5
9314 $as_echo "$ac_cv_file__usr_include_nspr4" >&6; }
9315 if test "x$ac_cv_file__usr_include_nspr4" = x""yes; then :
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/include/nspr" >&5
9320 $as_echo_n "checking for /usr/include/nspr... " >&6; }
9321 if test "${ac_cv_file__usr_include_nspr+set}" = set; then :
9322 $as_echo_n "(cached) " >&6
9324 test "$cross_compiling" = yes &&
9325 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
9326 if test -r "/usr/include/nspr"; then
9327 ac_cv_file__usr_include_nspr=yes
9329 ac_cv_file__usr_include_nspr=no
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_include_nspr" >&5
9333 $as_echo "$ac_cv_file__usr_include_nspr" >&6; }
9334 if test "x$ac_cv_file__usr_include_nspr" = x""yes; then :
9341 if test "x$nssdir" != "x" -a "x$nsprdir" != "x"; then
9342 nss_CFLAGS="-I/usr/include/$nssdir"
9343 nspr_CFLAGS="-I/usr/include/$nsprdir"
9346 save_CPPFLAGS="$CPPFLAGS"
9347 CPPFLAGS="$CFLAGS $nss_CFLAGS $nspr_CFLAGS"
9348 have_nss_includes=yes
9349 for ac_header in "$nsprdir/nspr.h" "$nsprdir/plgetopt.h" "$nsprdir/prerror.h" "$nssdir/ssl.h" "$nssdir/nss.h" "$nssdir/pk11func.h" "$nssdir/secerr.h"
9351 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9352 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9353 eval as_val=\$$as_ac_Header
9354 if test "x$as_val" = x""yes; then :
9355 cat >>confdefs.h <<_ACEOF
9356 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9360 have_nss_includes=no
9365 CPPFLAGS="$save_CPPFLAGS"
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PR_Connect in -lnspr4" >&5
9369 $as_echo_n "checking for PR_Connect in -lnspr4... " >&6; }
9370 if test "${ac_cv_lib_nspr4_PR_Connect+set}" = set; then :
9371 $as_echo_n "(cached) " >&6
9373 ac_check_lib_save_LIBS=$LIBS
9374 LIBS="-lnspr4 $LIBS"
9375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9376 /* end confdefs.h. */
9378 /* Override any GCC internal prototype to avoid an error.
9379 Use char because int might match the return type of a GCC
9380 builtin and then its argument prototype would still apply. */
9388 return PR_Connect ();
9393 if ac_fn_c_try_link "$LINENO"; then :
9394 ac_cv_lib_nspr4_PR_Connect=yes
9396 ac_cv_lib_nspr4_PR_Connect=no
9398 rm -f core conftest.err conftest.$ac_objext \
9399 conftest$ac_exeext conftest.$ac_ext
9400 LIBS=$ac_check_lib_save_LIBS
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nspr4_PR_Connect" >&5
9403 $as_echo "$ac_cv_lib_nspr4_PR_Connect" >&6; }
9404 if test "x$ac_cv_lib_nspr4_PR_Connect" = x""yes; then :
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_ReHandshake in -lssl3" >&5
9407 $as_echo_n "checking for SSL_ReHandshake in -lssl3... " >&6; }
9408 if test "${ac_cv_lib_ssl3_SSL_ReHandshake+set}" = set; then :
9409 $as_echo_n "(cached) " >&6
9411 ac_check_lib_save_LIBS=$LIBS
9413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9414 /* end confdefs.h. */
9416 /* Override any GCC internal prototype to avoid an error.
9417 Use char because int might match the return type of a GCC
9418 builtin and then its argument prototype would still apply. */
9422 char SSL_ReHandshake ();
9426 return SSL_ReHandshake ();
9431 if ac_fn_c_try_link "$LINENO"; then :
9432 ac_cv_lib_ssl3_SSL_ReHandshake=yes
9434 ac_cv_lib_ssl3_SSL_ReHandshake=no
9436 rm -f core conftest.err conftest.$ac_objext \
9437 conftest$ac_exeext conftest.$ac_ext
9438 LIBS=$ac_check_lib_save_LIBS
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl3_SSL_ReHandshake" >&5
9441 $as_echo "$ac_cv_lib_ssl3_SSL_ReHandshake" >&6; }
9442 if test "x$ac_cv_lib_ssl3_SSL_ReHandshake" = x""yes; then :
9449 if test "x${have_nss_includes}${have_nss_libs}" = "xyesyes"; then
9451 $as_echo "#define HAVE_NSS 1" >>confdefs.h
9454 if test "x${have_nss_includes}${have_nss_libs}" == "xyesyes"; then
9463 # Check whether --enable-server was given.
9464 if test "${enable_server+set}" = set; then :
9465 enableval=$enable_server; enable_server=$enableval
9467 enable_server="check"
9471 if test "$enable_server" != "no"; then
9472 if test "x${have_nss_includes}" != "xyes"; then
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build systemtap compile server, cannot find nss/nspr headers" >&5
9474 $as_echo "$as_me: WARNING: will not build systemtap compile server, cannot find nss/nspr headers" >&2;}
9476 if test "x${have_nss_libs}" != "xyes"; then
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build systemtap compile server, cannot find nss/nspr libraries" >&5
9478 $as_echo "$as_me: WARNING: will not build systemtap compile server, cannot find nss/nspr libraries" >&2;}
9481 if test "x${have_nss_includes}${have_nss_libs}" == "xyesyes" -a "$enable_server" != "no"; then
9483 BUILD_SERVER_FALSE='#'
9485 BUILD_SERVER_TRUE='#'
9490 if test "x${have_nss_includes}" != "xyes"; then
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: some compile server client functionality will be restricted, cannot find nss/nspr headers" >&5
9492 $as_echo "$as_me: WARNING: some compile server client functionality will be restricted, cannot find nss/nspr headers" >&2;}
9494 if test "x${have_nss_libs}" != "xyes"; then
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: some compile server client functionality will be restricted, cannot find nss/nspr libraries" >&5
9496 $as_echo "$as_me: WARNING: some compile server client functionality will be restricted, cannot find nss/nspr libraries" >&2;}
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/include/avahi-client" >&5
9500 $as_echo_n "checking for /usr/include/avahi-client... " >&6; }
9501 if test "${ac_cv_file__usr_include_avahi_client+set}" = set; then :
9502 $as_echo_n "(cached) " >&6
9504 test "$cross_compiling" = yes &&
9505 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
9506 if test -r "/usr/include/avahi-client"; then
9507 ac_cv_file__usr_include_avahi_client=yes
9509 ac_cv_file__usr_include_avahi_client=no
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_include_avahi_client" >&5
9513 $as_echo "$ac_cv_file__usr_include_avahi_client" >&6; }
9514 if test "x$ac_cv_file__usr_include_avahi_client" = x""yes; then :
9515 avahi_clientdir=avahi-client
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/include/avahi-common" >&5
9519 $as_echo_n "checking for /usr/include/avahi-common... " >&6; }
9520 if test "${ac_cv_file__usr_include_avahi_common+set}" = set; then :
9521 $as_echo_n "(cached) " >&6
9523 test "$cross_compiling" = yes &&
9524 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
9525 if test -r "/usr/include/avahi-common"; then
9526 ac_cv_file__usr_include_avahi_common=yes
9528 ac_cv_file__usr_include_avahi_common=no
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_include_avahi_common" >&5
9532 $as_echo "$ac_cv_file__usr_include_avahi_common" >&6; }
9533 if test "x$ac_cv_file__usr_include_avahi_common" = x""yes; then :
9534 avahi_commondir=avahi-common
9537 if test "x$avahi_clientdir" != "x" -a "x$avahi_commondir" != "x"; then
9538 have_avahi_includes=yes
9539 for ac_header in "$avahi_clientdir/client.h" "$avahi_clientdir/lookup.h" "$avahi_commondir/simple-watch.h" "$avahi_commondir/malloc.h" "$avahi_commondir/error.h"
9541 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9542 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9543 eval as_val=\$$as_ac_Header
9544 if test "x$as_val" = x""yes; then :
9545 cat >>confdefs.h <<_ACEOF
9546 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9550 have_avahi_includes=no
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avahi_client_new in -lavahi-client" >&5
9558 $as_echo_n "checking for avahi_client_new in -lavahi-client... " >&6; }
9559 if test "${ac_cv_lib_avahi_client_avahi_client_new+set}" = set; then :
9560 $as_echo_n "(cached) " >&6
9562 ac_check_lib_save_LIBS=$LIBS
9563 LIBS="-lavahi-client $LIBS"
9564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9565 /* end confdefs.h. */
9567 /* Override any GCC internal prototype to avoid an error.
9568 Use char because int might match the return type of a GCC
9569 builtin and then its argument prototype would still apply. */
9573 char avahi_client_new ();
9577 return avahi_client_new ();
9582 if ac_fn_c_try_link "$LINENO"; then :
9583 ac_cv_lib_avahi_client_avahi_client_new=yes
9585 ac_cv_lib_avahi_client_avahi_client_new=no
9587 rm -f core conftest.err conftest.$ac_objext \
9588 conftest$ac_exeext conftest.$ac_ext
9589 LIBS=$ac_check_lib_save_LIBS
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avahi_client_avahi_client_new" >&5
9592 $as_echo "$ac_cv_lib_avahi_client_avahi_client_new" >&6; }
9593 if test "x$ac_cv_lib_avahi_client_avahi_client_new" = x""yes; then :
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avahi_strerror in -lavahi-common" >&5
9595 $as_echo_n "checking for avahi_strerror in -lavahi-common... " >&6; }
9596 if test "${ac_cv_lib_avahi_common_avahi_strerror+set}" = set; then :
9597 $as_echo_n "(cached) " >&6
9599 ac_check_lib_save_LIBS=$LIBS
9600 LIBS="-lavahi-common $LIBS"
9601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9602 /* end confdefs.h. */
9604 /* Override any GCC internal prototype to avoid an error.
9605 Use char because int might match the return type of a GCC
9606 builtin and then its argument prototype would still apply. */
9610 char avahi_strerror ();
9614 return avahi_strerror ();
9619 if ac_fn_c_try_link "$LINENO"; then :
9620 ac_cv_lib_avahi_common_avahi_strerror=yes
9622 ac_cv_lib_avahi_common_avahi_strerror=no
9624 rm -f core conftest.err conftest.$ac_objext \
9625 conftest$ac_exeext conftest.$ac_ext
9626 LIBS=$ac_check_lib_save_LIBS
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avahi_common_avahi_strerror" >&5
9629 $as_echo "$ac_cv_lib_avahi_common_avahi_strerror" >&6; }
9630 if test "x$ac_cv_lib_avahi_common_avahi_strerror" = x""yes; then :
9636 if test "x${have_avahi_includes}" != "xyes"; then
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: some compile-server functionality will be restricted, cannot find avahi headers" >&5
9638 $as_echo "$as_me: WARNING: some compile-server functionality will be restricted, cannot find avahi headers" >&2;}
9640 if test "x${have_avahi_libs}" != "xyes"; then
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: some compile-server functionality will be restricted, cannot find avahi libraries" >&5
9642 $as_echo "$as_me: WARNING: some compile-server functionality will be restricted, cannot find avahi libraries" >&2;}
9644 if test "x${have_avahi_includes}${have_avahi_libs}" = "xyesyes"; then
9646 $as_echo "#define HAVE_AVAHI 1" >>confdefs.h
9649 if test "x${have_avahi_includes}${have_avahi_libs}" == "xyesyes"; then
9651 HAVE_AVAHI_FALSE='#'
9658 # Check whether --enable-grapher was given.
9659 if test "${enable_grapher+set}" = set; then :
9660 enableval=$enable_grapher;
9662 enable_grapher="check"
9666 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9667 if test -n "$ac_tool_prefix"; then
9668 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9669 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9671 $as_echo_n "checking for $ac_word... " >&6; }
9672 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
9673 $as_echo_n "(cached) " >&6
9677 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9684 test -z "$as_dir" && as_dir=.
9685 for ac_exec_ext in '' $ac_executable_extensions; do
9686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9687 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9698 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9699 if test -n "$PKG_CONFIG"; then
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9701 $as_echo "$PKG_CONFIG" >&6; }
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9704 $as_echo "no" >&6; }
9709 if test -z "$ac_cv_path_PKG_CONFIG"; then
9710 ac_pt_PKG_CONFIG=$PKG_CONFIG
9711 # Extract the first word of "pkg-config", so it can be a program name with args.
9712 set dummy pkg-config; ac_word=$2
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9714 $as_echo_n "checking for $ac_word... " >&6; }
9715 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
9716 $as_echo_n "(cached) " >&6
9718 case $ac_pt_PKG_CONFIG in
9720 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9727 test -z "$as_dir" && as_dir=.
9728 for ac_exec_ext in '' $ac_executable_extensions; do
9729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9730 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9741 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
9742 if test -n "$ac_pt_PKG_CONFIG"; then
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
9744 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9747 $as_echo "no" >&6; }
9750 if test "x$ac_pt_PKG_CONFIG" = x; then
9753 case $cross_compiling:$ac_tool_warned in
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9757 ac_tool_warned=yes ;;
9759 PKG_CONFIG=$ac_pt_PKG_CONFIG
9762 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
9766 if test -n "$PKG_CONFIG"; then
9767 _pkg_min_version=0.9.0
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
9769 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
9770 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9772 $as_echo "yes" >&6; }
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9775 $as_echo "no" >&6; }
9782 ac_cpp='$CXXCPP $CPPFLAGS'
9783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
9787 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
9788 if test -z "$CXXCPP"; then
9789 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
9790 $as_echo_n "(cached) " >&6
9792 # Double quotes because CXXCPP needs to be expanded
9793 for CXXCPP in "$CXX -E" "/lib/cpp"
9796 for ac_cxx_preproc_warn_flag in '' yes
9798 # Use a header file that comes with gcc, so configuring glibc
9799 # with a fresh cross-compiler works.
9800 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9801 # <limits.h> exists even on freestanding compilers.
9802 # On the NeXT, cc -E runs the code through the compiler's parser,
9803 # not just through cpp. "Syntax error" is here to catch this case.
9804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9805 /* end confdefs.h. */
9807 # include <limits.h>
9809 # include <assert.h>
9813 if ac_fn_cxx_try_cpp "$LINENO"; then :
9816 # Broken: fails on valid input.
9819 rm -f conftest.err conftest.$ac_ext
9821 # OK, works on sane cases. Now check whether nonexistent headers
9822 # can be detected and how.
9823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9824 /* end confdefs.h. */
9825 #include <ac_nonexistent.h>
9827 if ac_fn_cxx_try_cpp "$LINENO"; then :
9828 # Broken: success on invalid input.
9831 # Passes both tests.
9835 rm -f conftest.err conftest.$ac_ext
9838 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9839 rm -f conftest.err conftest.
$ac_ext
9840 if $ac_preproc_ok; then :
9845 ac_cv_prog_CXXCPP
=$CXXCPP
9848 CXXCPP
=$ac_cv_prog_CXXCPP
9850 ac_cv_prog_CXXCPP
=$CXXCPP
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
9853 $as_echo "$CXXCPP" >&6; }
9855 for ac_cxx_preproc_warn_flag
in '' yes
9857 # Use a header file that comes with gcc, so configuring glibc
9858 # with a fresh cross-compiler works.
9859 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9860 # <limits.h> exists even on freestanding compilers.
9861 # On the NeXT, cc -E runs the code through the compiler's parser,
9862 # not just through cpp. "Syntax error" is here to catch this case.
9863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9864 /* end confdefs.h. */
9866 # include <limits.h>
9868 # include <assert.h>
9872 if ac_fn_cxx_try_cpp
"$LINENO"; then :
9875 # Broken: fails on valid input.
9878 rm -f conftest.err conftest.
$ac_ext
9880 # OK, works on sane cases. Now check whether nonexistent headers
9881 # can be detected and how.
9882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9883 /* end confdefs.h. */
9884 #include <ac_nonexistent.h>
9886 if ac_fn_cxx_try_cpp
"$LINENO"; then :
9887 # Broken: success on invalid input.
9890 # Passes both tests.
9894 rm -f conftest.err conftest.
$ac_ext
9897 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9898 rm -f conftest.err conftest.
$ac_ext
9899 if $ac_preproc_ok; then :
9902 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9903 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9904 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
9905 See \`config.log' for more details." "$LINENO" 5; }
9909 ac_cpp
='$CXXCPP $CPPFLAGS'
9910 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9911 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9912 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9915 if test "x$enable_grapher" != xno
; then :
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtkmm" >&5
9920 $as_echo_n "checking for gtkmm... " >&6; }
9922 if test -n "$gtkmm_CFLAGS"; then
9923 pkg_cv_gtkmm_CFLAGS
="$gtkmm_CFLAGS"
9924 elif test -n "$PKG_CONFIG"; then
9925 if test -n "$PKG_CONFIG" && \
9926 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= 2.8.0\""; } >&5
9927 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= 2.8.0") 2>&5
9929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9930 test $ac_status = 0; }; then
9931 pkg_cv_gtkmm_CFLAGS
=`$PKG_CONFIG --cflags "gtkmm-2.4 >= 2.8.0" 2>/dev/null`
9938 if test -n "$gtkmm_LIBS"; then
9939 pkg_cv_gtkmm_LIBS
="$gtkmm_LIBS"
9940 elif test -n "$PKG_CONFIG"; then
9941 if test -n "$PKG_CONFIG" && \
9942 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= 2.8.0\""; } >&5
9943 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= 2.8.0") 2>&5
9945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9946 test $ac_status = 0; }; then
9947 pkg_cv_gtkmm_LIBS
=`$PKG_CONFIG --libs "gtkmm-2.4 >= 2.8.0" 2>/dev/null`
9957 if test $pkg_failed = yes; then
9959 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9960 _pkg_short_errors_supported
=yes
9962 _pkg_short_errors_supported
=no
9964 if test $_pkg_short_errors_supported = yes; then
9965 gtkmm_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "gtkmm-2.4 >= 2.8.0" 2>&1`
9967 gtkmm_PKG_ERRORS
=`$PKG_CONFIG --print-errors "gtkmm-2.4 >= 2.8.0" 2>&1`
9969 # Put the nasty error message in config.log where it belongs
9970 echo "$gtkmm_PKG_ERRORS" >&5
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9973 $as_echo "no" >&6; }
9975 elif test $pkg_failed = untried
; then
9978 gtkmm_CFLAGS
=$pkg_cv_gtkmm_CFLAGS
9979 gtkmm_LIBS
=$pkg_cv_gtkmm_LIBS
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9981 $as_echo "yes" >&6; }
9984 if test "x${have_gtkmm}" == "xno" -a x
"$enable_grapher" == "xyes"; then :
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: systemtap cannot find required gtkmm libs (gtkmm24-devel version 2.8.0 or higher may need to be installed)" >&5
9986 $as_echo "$as_me: WARNING: systemtap cannot find required gtkmm libs (gtkmm24-devel version 2.8.0 or higher may need to be installed)" >&2;}
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libglade" >&5
9992 $as_echo_n "checking for libglade... " >&6; }
9994 if test -n "$libglade_CFLAGS"; then
9995 pkg_cv_libglade_CFLAGS
="$libglade_CFLAGS"
9996 elif test -n "$PKG_CONFIG"; then
9997 if test -n "$PKG_CONFIG" && \
9998 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libglademm-2.4 >= 2.6.7\""; } >&5
9999 ($PKG_CONFIG --exists --print-errors "libglademm-2.4 >= 2.6.7") 2>&5
10001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10002 test $ac_status = 0; }; then
10003 pkg_cv_libglade_CFLAGS
=`$PKG_CONFIG --cflags "libglademm-2.4 >= 2.6.7" 2>/dev/null`
10010 if test -n "$libglade_LIBS"; then
10011 pkg_cv_libglade_LIBS
="$libglade_LIBS"
10012 elif test -n "$PKG_CONFIG"; then
10013 if test -n "$PKG_CONFIG" && \
10014 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libglademm-2.4 >= 2.6.7\""; } >&5
10015 ($PKG_CONFIG --exists --print-errors "libglademm-2.4 >= 2.6.7") 2>&5
10017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10018 test $ac_status = 0; }; then
10019 pkg_cv_libglade_LIBS
=`$PKG_CONFIG --libs "libglademm-2.4 >= 2.6.7" 2>/dev/null`
10029 if test $pkg_failed = yes; then
10031 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10032 _pkg_short_errors_supported
=yes
10034 _pkg_short_errors_supported
=no
10036 if test $_pkg_short_errors_supported = yes; then
10037 libglade_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libglademm-2.4 >= 2.6.7" 2>&1`
10039 libglade_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libglademm-2.4 >= 2.6.7" 2>&1`
10041 # Put the nasty error message in config.log where it belongs
10042 echo "$libglade_PKG_ERRORS" >&5
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10045 $as_echo "no" >&6; }
10047 elif test $pkg_failed = untried
; then
10050 libglade_CFLAGS
=$pkg_cv_libglade_CFLAGS
10051 libglade_LIBS
=$pkg_cv_libglade_LIBS
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10053 $as_echo "yes" >&6; }
10054 have_libglade
="yes"
10056 if test "x${have_libglade}" == "xno" -a x
"$enable_grapher" == "xyes"; then :
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: systemtap cannot find required libglade libs (libglademm24-devel version 2.6.7 or higher may need to be installed)" >&5
10058 $as_echo "$as_me: WARNING: systemtap cannot find required libglade libs (libglademm24-devel version 2.6.7 or higher may need to be installed)" >&2;}
10061 have_boost_headers
="yes"
10063 ac_cpp
='$CXXCPP $CPPFLAGS'
10064 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10065 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10066 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10068 for ac_header
in boost
/algorithm
/string.hpp boost
/range.hpp
10070 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10071 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10072 eval as_val
=\$
$as_ac_Header
10073 if test "x$as_val" = x
""yes; then :
10074 cat >>confdefs.h
<<_ACEOF
10075 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10079 have_boost_headers
="no"
10085 ac_cpp
='$CPP $CPPFLAGS'
10086 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10087 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10088 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10090 if test "x${have_boost_headers}" == "xno" -a x
"$enable_grapher" == "xyes"; then :
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find required boost headers (boost-devel may need to be installed)" >&5
10092 $as_echo "$as_me: WARNING: cannot find required boost headers (boost-devel may need to be installed)" >&2;}
10095 if test "x${have_gtkmm}${have_libglade}${have_boost_headers}" == "xyesyesyes"; then :
10096 have_grapher_reqs
="yes"
10098 have_grapher_reqs
="no"
10102 if test "x${have_grapher_reqs}" == "xno" -a x
"$enable_grapher" == "xyes"; then :
10103 as_fn_error
"systemtap cannot find grapher build requirements (gtkmm, libglade, and boost headers)" "$LINENO" 5
10105 if test "x${have_grapher_reqs}" == "xyes" -a x
"$enable_grapher" != "xno"; then
10106 BUILD_GRAPHER_TRUE
=
10107 BUILD_GRAPHER_FALSE
='#'
10109 BUILD_GRAPHER_TRUE
='#'
10110 BUILD_GRAPHER_FALSE
=
10115 # Check whether --with-rpm was given.
10116 if test "${with_rpm+set}" = set; then :
10122 if test "$with_rpm" != "no"; then
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rpmtsInitIterator in -lrpm" >&5
10124 $as_echo_n "checking for rpmtsInitIterator in -lrpm... " >&6; }
10125 if test "${ac_cv_lib_rpm_rpmtsInitIterator+set}" = set; then :
10126 $as_echo_n "(cached) " >&6
10128 ac_check_lib_save_LIBS
=$LIBS
10130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10131 /* end confdefs.h. */
10133 /* Override any GCC internal prototype to avoid an error.
10134 Use char because int might match the return type of a GCC
10135 builtin and then its argument prototype would still apply. */
10139 char rpmtsInitIterator ();
10143 return rpmtsInitIterator ();
10148 if ac_fn_c_try_link
"$LINENO"; then :
10149 ac_cv_lib_rpm_rpmtsInitIterator
=yes
10151 ac_cv_lib_rpm_rpmtsInitIterator
=no
10153 rm -f core conftest.err conftest.
$ac_objext \
10154 conftest
$ac_exeext conftest.
$ac_ext
10155 LIBS
=$ac_check_lib_save_LIBS
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rpm_rpmtsInitIterator" >&5
10158 $as_echo "$ac_cv_lib_rpm_rpmtsInitIterator" >&6; }
10159 if test "x$ac_cv_lib_rpm_rpmtsInitIterator" = x
""yes; then :
10162 $as_echo "#define HAVE_LIBRPM 1" >>confdefs.h
10164 stap_LIBS
="$stap_LIBS -lrpm"
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rpmFreeCrypto in -lrpmio" >&5
10171 $as_echo_n "checking for rpmFreeCrypto in -lrpmio... " >&6; }
10172 if test "${ac_cv_lib_rpmio_rpmFreeCrypto+set}" = set; then :
10173 $as_echo_n "(cached) " >&6
10175 ac_check_lib_save_LIBS
=$LIBS
10176 LIBS
="-lrpmio $LIBS"
10177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10178 /* end confdefs.h. */
10180 /* Override any GCC internal prototype to avoid an error.
10181 Use char because int might match the return type of a GCC
10182 builtin and then its argument prototype would still apply. */
10186 char rpmFreeCrypto ();
10190 return rpmFreeCrypto ();
10195 if ac_fn_c_try_link
"$LINENO"; then :
10196 ac_cv_lib_rpmio_rpmFreeCrypto
=yes
10198 ac_cv_lib_rpmio_rpmFreeCrypto
=no
10200 rm -f core conftest.err conftest.
$ac_objext \
10201 conftest
$ac_exeext conftest.
$ac_ext
10202 LIBS
=$ac_check_lib_save_LIBS
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rpmio_rpmFreeCrypto" >&5
10205 $as_echo "$ac_cv_lib_rpmio_rpmFreeCrypto" >&6; }
10206 if test "x$ac_cv_lib_rpmio_rpmFreeCrypto" = x
""yes; then :
10209 $as_echo "#define HAVE_LIBRPMIO 1" >>confdefs.h
10211 stap_LIBS
="$stap_LIBS -lrpmio"
10212 have_librpmio
="yes"
10217 if test "x$have_librpm" != "xyes" -a "$with_rpm" == "yes"; then
10218 as_fn_error
"cannot find librpm" "$LINENO" 5
10220 if test "x$have_librpmio" != "xyes" -a "$with_rpm" == "yes"; then
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find librpmio" >&5
10222 $as_echo "$as_me: WARNING: cannot find librpmio" >&2;}
10229 # Check whether --with-elfutils was given.
10230 if test "${with_elfutils+set}" = set; then :
10231 withval
=$with_elfutils;
10232 case "$with_elfutils" in
10233 yes) as_fn_error
"--with-elfutils requires an argument" "$LINENO" 5 ;;
10235 *) build_elfutils
=yes ;;
10239 if test $build_elfutils = yes; then
10240 BUILD_ELFUTILS_TRUE
=
10241 BUILD_ELFUTILS_FALSE
='#'
10243 BUILD_ELFUTILS_TRUE
='#'
10244 BUILD_ELFUTILS_FALSE
=
10247 elfutils_abs_srcdir
=`if test $build_elfutils = yes; then :
10248 cd $with_elfutils && pwd
10252 if test $enable_translator = yes; then
10253 if test $build_elfutils = no
; then
10254 # Need libdwfl-capable recent elfutils http://elfutils.fedorahosted.org/
10256 # On modern debian/ubuntu, libebl has been merged into libdw
10257 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457543
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ebl_get_elfmachine in -lebl" >&5
10260 $as_echo_n "checking for ebl_get_elfmachine in -lebl... " >&6; }
10261 if test "${ac_cv_lib_ebl_ebl_get_elfmachine+set}" = set; then :
10262 $as_echo_n "(cached) " >&6
10264 ac_check_lib_save_LIBS
=$LIBS
10266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10267 /* end confdefs.h. */
10269 /* Override any GCC internal prototype to avoid an error.
10270 Use char because int might match the return type of a GCC
10271 builtin and then its argument prototype would still apply. */
10275 char ebl_get_elfmachine ();
10279 return ebl_get_elfmachine ();
10284 if ac_fn_c_try_link
"$LINENO"; then :
10285 ac_cv_lib_ebl_ebl_get_elfmachine
=yes
10287 ac_cv_lib_ebl_ebl_get_elfmachine
=no
10289 rm -f core conftest.err conftest.
$ac_objext \
10290 conftest
$ac_exeext conftest.
$ac_ext
10291 LIBS
=$ac_check_lib_save_LIBS
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ebl_ebl_get_elfmachine" >&5
10294 $as_echo "$ac_cv_lib_ebl_ebl_get_elfmachine" >&6; }
10295 if test "x$ac_cv_lib_ebl_ebl_get_elfmachine" = x
""yes; then :
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dwfl_module_getsym in -ldw" >&5
10305 $as_echo_n "checking for dwfl_module_getsym in -ldw... " >&6; }
10306 if test "${ac_cv_lib_dw_dwfl_module_getsym+set}" = set; then :
10307 $as_echo_n "(cached) " >&6
10309 ac_check_lib_save_LIBS
=$LIBS
10310 LIBS
="-ldw -Wl,--start-group -ldw $ebl_LIBS -Wl,--end-group -lelf $LIBS"
10311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10312 /* end confdefs.h. */
10314 /* Override any GCC internal prototype to avoid an error.
10315 Use char because int might match the return type of a GCC
10316 builtin and then its argument prototype would still apply. */
10320 char dwfl_module_getsym ();
10324 return dwfl_module_getsym ();
10329 if ac_fn_c_try_link
"$LINENO"; then :
10330 ac_cv_lib_dw_dwfl_module_getsym
=yes
10332 ac_cv_lib_dw_dwfl_module_getsym
=no
10334 rm -f core conftest.err conftest.
$ac_objext \
10335 conftest
$ac_exeext conftest.
$ac_ext
10336 LIBS
=$ac_check_lib_save_LIBS
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dw_dwfl_module_getsym" >&5
10339 $as_echo "$ac_cv_lib_dw_dwfl_module_getsym" >&6; }
10340 if test "x$ac_cv_lib_dw_dwfl_module_getsym" = x
""yes; then :
10341 cat >>confdefs.h
<<_ACEOF
10342 #define HAVE_LIBDW 1
10349 as_fn_error
"missing elfutils development headers/libraries (install elfutils-devel, libebl-dev, libdw-dev and/or libebl-devel)" "$LINENO" 5
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dwarf_getelf in -ldw" >&5
10353 $as_echo_n "checking for dwarf_getelf in -ldw... " >&6; }
10354 if test "${ac_cv_lib_dw_dwarf_getelf+set}" = set; then :
10355 $as_echo_n "(cached) " >&6
10357 ac_check_lib_save_LIBS
=$LIBS
10358 LIBS
="-ldw -Wl,--start-group -ldw $ebl_LIBS -Wl,--end-group -lelf $LIBS"
10359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10360 /* end confdefs.h. */
10362 /* Override any GCC internal prototype to avoid an error.
10363 Use char because int might match the return type of a GCC
10364 builtin and then its argument prototype would still apply. */
10368 char dwarf_getelf ();
10372 return dwarf_getelf ();
10377 if ac_fn_c_try_link
"$LINENO"; then :
10378 ac_cv_lib_dw_dwarf_getelf
=yes
10380 ac_cv_lib_dw_dwarf_getelf
=no
10382 rm -f core conftest.err conftest.
$ac_objext \
10383 conftest
$ac_exeext conftest.
$ac_ext
10384 LIBS
=$ac_check_lib_save_LIBS
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dw_dwarf_getelf" >&5
10387 $as_echo "$ac_cv_lib_dw_dwarf_getelf" >&6; }
10388 if test "x$ac_cv_lib_dw_dwarf_getelf" = x
""yes; then :
10389 cat >>confdefs.h
<<_ACEOF
10390 #define HAVE_LIBDW 1
10397 as_fn_error
"elfutils, libdw too old, need 0.126+" "$LINENO" 5
10400 stap_LIBS
="$stap_LIBS -Wl,--start-group -ldw $ebl_LIBS -Wl,--end-group -lelf"
10403 # We built our own and stap_LDFLAGS points at the install.
10404 stap_LIBS
="$stap_LIBS -Wl,--start-group -ldw -lebl -Wl,--end-group -lelf"
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: stap will link $stap_LIBS" >&5
10410 $as_echo "$as_me: stap will link $stap_LIBS" >&6;}
10413 date=`date +%Y-%m-%d`
10415 cat >>confdefs.h
<<_ACEOF
10416 #define DATE "$date"
10422 # Before PR4037, we used to arrange to pass CFLAGS+=-m64 for a staprun
10423 # being compiled on 32-bit userspace but running against 64-bit kernels.
10424 # This is no longer necessary.
10426 # Use tr1/unordered_map if available
10428 ac_cpp
='$CXXCPP $CPPFLAGS'
10429 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10430 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10431 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10433 for ac_header
in tr1/unordered_map
10435 ac_fn_cxx_check_header_mongrel
"$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "$ac_includes_default"
10436 if test "x$ac_cv_header_tr1_unordered_map" = x
""yes; then :
10437 cat >>confdefs.h
<<_ACEOF
10438 #define HAVE_TR1_UNORDERED_MAP 1
10445 for ac_header
in tr1/memory
10447 ac_fn_cxx_check_header_mongrel
"$LINENO" "tr1/memory" "ac_cv_header_tr1_memory" "$ac_includes_default"
10448 if test "x$ac_cv_header_tr1_memory" = x
""yes; then :
10449 cat >>confdefs.h
<<_ACEOF
10450 #define HAVE_TR1_MEMORY 1
10457 for ac_header
in boost
/shared_ptr.hpp
10459 ac_fn_cxx_check_header_mongrel
"$LINENO" "boost/shared_ptr.hpp" "ac_cv_header_boost_shared_ptr_hpp" "$ac_includes_default"
10460 if test "x$ac_cv_header_boost_shared_ptr_hpp" = x
""yes; then :
10461 cat >>confdefs.h
<<_ACEOF
10462 #define HAVE_BOOST_SHARED_PTR_HPP 1
10470 ac_cpp
='$CPP $CPPFLAGS'
10471 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10472 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10473 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler .section \"?\" flags support" >&5
10478 $as_echo_n "checking for assembler .section \"?\" flags support... " >&6; }
10479 if test "${stap_cv_sectionq+set}" = set; then :
10480 $as_echo_n "(cached) " >&6
10483 old_CFLAGS
="$CFLAGS"
10484 CFLAGS
="$CFLAGS -Wa,--fatal-warnings"
10485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10486 /* end confdefs.h. */
10487 asm(".section .note.foo,\"?\",\"note\"\n"
10490 ".section .text,\"axG\",\"progbits\",foogroup,comdat\n"
10492 ".pushsection .note.foo,\"?\",\"note\"\n"
10497 if ac_fn_c_try_compile
"$LINENO"; then :
10498 stap_cv_sectionq
=yes
10500 stap_cv_sectionq
=no
10502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10503 CFLAGS
="$old_CFLAGS"
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $stap_cv_sectionq" >&5
10506 $as_echo "$stap_cv_sectionq" >&6; }
10508 support_section_question
=0
10509 if test $stap_cv_sectionq = yes; then
10510 support_section_question
=1
10512 ac_config_files
="$ac_config_files includes/sys/sdt-config.h po/Makefile.in"
10516 if test $build_elfutils = yes -a $enable_translator = yes; then
10517 case "$with_elfutils" in
10518 /*) elfutils_srcdir
="$with_elfutils" ;;
10519 *) elfutils_srcdir
="../$with_elfutils" ;;
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: running ${elfutils_srcdir}/configure" >&5
10522 $as_echo "$as_me: running ${elfutils_srcdir}/configure" >&6;}
10524 save_CFLAGS
="$CFLAGS"
10525 save_CXXFLAGS
="$CXXFLAGS"
10526 CXXFLAGS
="$CXXFLAGS -fgnu89-inline"
10527 CFLAGS
="$CFLAGS -fgnu89-inline"
10528 gnu89_inline_flag
=""
10529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10530 /* end confdefs.h. */
10533 if ac_fn_c_try_compile
"$LINENO"; then :
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling elfutils with gcc -fgnu89-inline" >&5
10536 $as_echo "$as_me: Compiling elfutils with gcc -fgnu89-inline" >&6;}
10537 gnu89_inline_flag
="-fgnu89-inline"
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -fgnu89-inline" >&5
10541 $as_echo "$as_me: Compiler does not support -fgnu89-inline" >&6;}
10543 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10544 CFLAGS
="$save_CFLAGS"
10545 CXXFLAGS
="$save_CXXFLAGS"
10547 # Our libdw.so's libebl will look in $ORIGIN/../lib/... but that
10548 # $ORIGIN is where libdw.so resides, which is not where there is a ../lib.
10549 # Note that $libdir might be using a quoted use of $exec_prefix or $prefix.
10550 # So we must make sure to pass those settings to elfutils configure.
10551 elfutils_rpath
="-Wl,--enable-new-dtags,-rpath,${libdir}/${PACKAGE_NAME}"
10553 (mkdir
-p build-elfutils
&& cd build-elfutils
&&
10554 bash
${elfutils_srcdir}/configure
--enable-libebl-subdir=${PACKAGE_NAME} \
10555 --includedir="${here}/include-elfutils" \
10556 --libdir="${here}/lib-elfutils" \
10557 --exec-prefix="$exec_prefix" \
10558 --prefix="$prefix" \
10559 CFLAGS
="${CFLAGS/-Wall/} $gnu89_inline_flag" \
10560 LDFLAGS
="$LDFLAGS $elfutils_rpath" &&
10561 if test -f ${elfutils_srcdir}/config
/version.h.
in; then
10562 echo Trying to
install elfutils version header...
10563 make install-pkgincludeHEADERS
10565 # so that elfutils/version.h - available from 0.138 - may be found.
10566 # Don't use install-data because that will fail (installing in $prefix).
10568 if test $?
!= 0; then exit; fi
10569 save_CPPFLAGS
=${CPPFLAGS}
10570 CPPFLAGS
="${CPPFLAGS} -Iinclude-elfutils" # in case bundled elfutils
10571 for ac_header
in elfutils
/version.h
10573 ac_fn_c_check_header_mongrel
"$LINENO" "elfutils/version.h" "ac_cv_header_elfutils_version_h" "$ac_includes_default"
10574 if test "x$ac_cv_header_elfutils_version_h" = x
""yes; then :
10575 cat >>confdefs.h
<<_ACEOF
10576 #define HAVE_ELFUTILS_VERSION_H 1
10583 CPPFLAGS
="$save_CPPFLAGS"
10585 for ac_header
in elfutils
/version.h
10587 ac_fn_c_check_header_mongrel
"$LINENO" "elfutils/version.h" "ac_cv_header_elfutils_version_h" "$ac_includes_default"
10588 if test "x$ac_cv_header_elfutils_version_h" = x
""yes; then :
10589 cat >>confdefs.h
<<_ACEOF
10590 #define HAVE_ELFUTILS_VERSION_H 1
10599 ENABLE_NLS
="$USE_NLS"
10601 localedir
="$localedir"
10603 LOCALEDIR
="$localedir"
10607 stap_prefix
=$prefix
10608 test "$stap_prefix" = NONE
&& stap_prefix
=$ac_default_prefix
10610 cat >>confdefs.h
<<_ACEOF
10611 #define STAP_PREFIX "$stap_prefix"
10614 STAP_PREFIX
="$stap_prefix"
10617 ac_config_headers
="$ac_config_headers config.h:config.in"
10619 ac_config_files
="$ac_config_files Makefile doc/Makefile doc/beginners/Makefile doc/SystemTap_Tapset_Reference/Makefile grapher/Makefile grapher/stapgraph.1 stappaths.7 initscript/systemtap initscript/stap-server"
10623 subdirs
="$subdirs testsuite runtime/staprun"
10625 if test $enable_translator == "yes"; then
10626 ac_config_files
="$ac_config_files run-stap"
10629 ac_config_files
="$ac_config_files dtrace"
10632 # Setup "shadow" directory doc/beginners that has everything setup for
10633 # publican in one directory (through directory links if necessary).
10634 # It would be nice to use AC_CONFIG_LINKS, but automake complains when
10635 # the src is a directory and not a file.
10636 ac_config_files
="$ac_config_files doc/beginners/publican.cfg:doc/SystemTap_Beginners_Guide/publican.cfg.in"
10638 ac_config_commands
="$ac_config_commands doc/beginners"
10641 cat >confcache
<<\_ACEOF
10642 # This file is a shell script that caches the results of configure
10643 # tests run on this system so they can be shared between configure
10644 # scripts and configure runs, see configure's option --config-cache.
10645 # It is not useful on other systems. If it contains results you don't
10646 # want to keep, you may remove or edit it.
10648 # config.status only pays attention to the cache file if you give it
10649 # the --recheck option to rerun configure.
10651 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10652 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10653 # following values.
10657 # The following way of writing the cache mishandles newlines in values,
10658 # but we know of no workaround that is simple, portable, and efficient.
10659 # So, we kill variables containing newlines.
10660 # Ultrix sh set writes to stderr and can't be redirected directly,
10661 # and sets the high bit in the cache file unless we assign to the vars.
10663 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10664 eval ac_val
=\$
$ac_var
10668 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
10669 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
10672 _ | IFS | as_nl
) ;; #(
10673 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
10674 *) { eval $ac_var=; unset $ac_var;} ;;
10680 case $as_nl`(ac_space=' '; set) 2>&1` in #(
10681 *${as_nl}ac_space
=\
*)
10682 # `set' does not quote correctly, so add quotes: double-quote
10683 # substitution turns \\\\ into \\, and sed turns \\ into \.
10686 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10689 # `set' quotes correctly as required by POSIX, so do not add quotes.
10690 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10699 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10701 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10703 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
10704 if test -w "$cache_file"; then
10705 test "x$cache_file" != "x/dev/null" &&
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
10707 $as_echo "$as_me: updating cache $cache_file" >&6;}
10708 cat confcache
>$cache_file
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
10711 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10716 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10717 # Let make expand exec_prefix.
10718 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10720 DEFS
=-DHAVE_CONFIG_H
10724 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10725 # 1. Remove the extension, and $U if already installed.
10726 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
10727 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
10728 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10729 # will be set to the directory where LIBOBJS objects are built.
10730 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10731 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
10733 LIBOBJS
=$ac_libobjs
10735 LTLIBOBJS
=$ac_ltlibobjs
10738 if test -n "$EXEEXT"; then
10740 am__EXEEXT_FALSE
='#'
10742 am__EXEEXT_TRUE
='#'
10746 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
10747 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
10748 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10750 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10751 as_fn_error
"conditional \"AMDEP\" was never defined.
10752 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10754 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10755 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
10756 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10758 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10759 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
10760 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10762 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
10763 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
10764 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10766 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10767 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
10768 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10770 if test -z "${BUILD_TRANSLATOR_TRUE}" && test -z "${BUILD_TRANSLATOR_FALSE}"; then
10771 as_fn_error
"conditional \"BUILD_TRANSLATOR\" was never defined.
10772 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10774 if test -z "${BUILD_CRASHMOD_TRUE}" && test -z "${BUILD_CRASHMOD_FALSE}"; then
10775 as_fn_error
"conditional \"BUILD_CRASHMOD\" was never defined.
10776 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10778 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
10779 as_fn_error
"conditional \"BUILD_DOCS\" was never defined.
10780 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10782 if test -z "${BUILD_PUBLICAN_TRUE}" && test -z "${BUILD_PUBLICAN_FALSE}"; then
10783 as_fn_error
"conditional \"BUILD_PUBLICAN\" was never defined.
10784 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10786 if test -z "${BUILD_REFDOCS_TRUE}" && test -z "${BUILD_REFDOCS_FALSE}"; then
10787 as_fn_error
"conditional \"BUILD_REFDOCS\" was never defined.
10788 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10790 if test -z "${XMLTO_STRINGPARAM_TRUE}" && test -z "${XMLTO_STRINGPARAM_FALSE}"; then
10791 as_fn_error
"conditional \"XMLTO_STRINGPARAM\" was never defined.
10792 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10794 if test -z "${BUILD_PDFREFDOCS_TRUE}" && test -z "${BUILD_PDFREFDOCS_FALSE}"; then
10795 as_fn_error
"conditional \"BUILD_PDFREFDOCS\" was never defined.
10796 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10798 if test -z "${HAVE_NSS_TRUE}" && test -z "${HAVE_NSS_FALSE}"; then
10799 as_fn_error
"conditional \"HAVE_NSS\" was never defined.
10800 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10802 if test -z "${BUILD_SERVER_TRUE}" && test -z "${BUILD_SERVER_FALSE}"; then
10803 as_fn_error
"conditional \"BUILD_SERVER\" was never defined.
10804 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10806 if test -z "${HAVE_AVAHI_TRUE}" && test -z "${HAVE_AVAHI_FALSE}"; then
10807 as_fn_error
"conditional \"HAVE_AVAHI\" was never defined.
10808 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10810 if test -z "${BUILD_GRAPHER_TRUE}" && test -z "${BUILD_GRAPHER_FALSE}"; then
10811 as_fn_error
"conditional \"BUILD_GRAPHER\" was never defined.
10812 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10814 if test -z "${BUILD_ELFUTILS_TRUE}" && test -z "${BUILD_ELFUTILS_FALSE}"; then
10815 as_fn_error
"conditional \"BUILD_ELFUTILS\" was never defined.
10816 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10819 : ${CONFIG_STATUS=./config.status}
10821 ac_clean_files_save
=$ac_clean_files
10822 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
10824 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
10826 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
10828 # Generated by $as_me.
10829 # Run this file to recreate the current configuration.
10830 # Compiler output produced by configure, useful for debugging
10831 # configure, is in config.log if it exists.
10834 ac_cs_recheck=false
10837 SHELL=\${CONFIG_SHELL-$SHELL}
10840 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
10841 ## -------------------- ##
10842 ## M4sh Initialization. ##
10843 ## -------------------- ##
10845 # Be more Bourne compatible
10846 DUALCASE
=1; export DUALCASE
# for MKS sh
10847 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
10850 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
10851 # is contrary to our usage. Disable this feature.
10852 alias -g '${1+"$@"}'='"$@"'
10853 setopt NO_GLOB_SUBST
10855 case `(set -o) 2>/dev/null` in #(
10867 # Printing a long string crashes Solaris 7 /usr/bin/printf.
10868 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
10869 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
10870 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
10871 # Prefer a ksh shell builtin over an external printf program on Solaris,
10872 # but without wasting forks for bash or zsh.
10873 if test -z "$BASH_VERSION$ZSH_VERSION" \
10874 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
10875 as_echo='print
-r --'
10876 as_echo_n='print
-rn --'
10877 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
10878 as_echo='printf %s
\n'
10879 as_echo_n='printf %s
'
10881 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
10882 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
10883 as_echo_n='/usr
/ucb
/echo -n'
10885 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
10886 as_echo_n_body='eval
10890 expr "X$arg" : "X\\(.*\\)$as_nl";
10891 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
10893 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
10895 export as_echo_n_body
10896 as_echo_n='sh
-c $as_echo_n_body as_echo
'
10898 export as_echo_body
10899 as_echo='sh
-c $as_echo_body as_echo
'
10902 # The user is always right.
10903 if test "${PATH_SEPARATOR+set}" != set; then
10905 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
10906 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
10913 # We need space, tab and new line, in precisely that order. Quoting is
10914 # there to prevent editors from complaining about space-tab.
10915 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
10916 # splitting by setting IFS to empty value.)
10919 # Find who we are. Look in the path if we contain no directory separator.
10921 *[\\/]* ) as_myself=$0 ;;
10922 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10923 for as_dir in $PATH
10926 test -z "$as_dir" && as_dir=.
10927 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10933 # We did not find ourselves, most probably we were run as `sh COMMAND'
10934 # in which case we are not to be found in the path.
10935 if test "x$as_myself" = x
; then
10938 if test ! -f "$as_myself"; then
10939 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10943 # Unset variables that we do not need and which cause bugs (e.g. in
10944 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
10945 # suppresses any "Segmentation fault" message there. '((' could
10946 # trigger a bug in pdksh 5.2.14.
10947 for as_var
in BASH_ENV ENV MAIL MAILPATH
10948 do eval test x\
${$as_var+set} = xset \
10949 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
10962 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
10965 # as_fn_error ERROR [LINENO LOG_FD]
10966 # ---------------------------------
10967 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
10968 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
10969 # script with status $?, using 1 if that was 0.
10972 as_status
=$?
; test $as_status -eq 0 && as_status
=1
10974 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
10975 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
10977 $as_echo "$as_me: error: $1" >&2
10978 as_fn_exit
$as_status
10982 # as_fn_set_status STATUS
10983 # -----------------------
10984 # Set $? to STATUS, without forking.
10985 as_fn_set_status
()
10988 } # as_fn_set_status
10990 # as_fn_exit STATUS
10991 # -----------------
10992 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
10996 as_fn_set_status
$1
11002 # Portably unset VAR.
11005 { eval $1=; unset $1;}
11007 as_unset
=as_fn_unset
11008 # as_fn_append VAR VALUE
11009 # ----------------------
11010 # Append the text in VALUE to the end of the definition contained in VAR. Take
11011 # advantage of any shell optimizations that allow amortized linear growth over
11012 # repeated appends, instead of the typical quadratic growth present in naive
11014 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11015 eval 'as_fn_append ()
11026 # as_fn_arith ARG...
11027 # ------------------
11028 # Perform arithmetic evaluation on the ARGs, and store the result in the
11029 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11030 # must be portable across $(()) and expr.
11031 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11032 eval 'as_fn_arith ()
11039 as_val
=`expr "$@" || test $? -eq 1`
11044 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11045 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11051 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11052 as_basename
=basename
11057 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11063 as_me
=`$as_basename -- "$0" ||
11064 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11065 X"$0" : 'X\(//\)$' \| \
11066 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11068 sed '/^.*\/\([^/][^/]*\)\/*$/{
11082 # Avoid depending upon Character Ranges.
11083 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11084 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11085 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11086 as_cr_digits
='0123456789'
11087 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11089 ECHO_C
= ECHO_N
= ECHO_T
=
11090 case `echo -n x` in #(((((
11092 case `echo 'xy\c'` in
11093 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11095 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
11102 rm -f conf$$ conf$$.exe conf$$.
file
11103 if test -d conf$$.dir
; then
11104 rm -f conf$$.dir
/conf$$.
file
11107 mkdir conf$$.dir
2>/dev
/null
11109 if (echo >conf$$.
file) 2>/dev
/null
; then
11110 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11112 # ... but there are two gotchas:
11113 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11114 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11115 # In both cases, we have to default to `cp -p'.
11116 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
11118 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11126 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
11127 rmdir conf$$.dir
2>/dev
/null
11132 # Create "$as_dir" as a directory, including parents if necessary.
11137 -*) as_dir
=.
/$as_dir;;
11139 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
11143 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11144 *) as_qdir
=$as_dir;;
11146 as_dirs
="'$as_qdir' $as_dirs"
11147 as_dir
=`$as_dirname -- "$as_dir" ||
11148 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11149 X"$as_dir" : 'X\(//\)[^/]' \| \
11150 X"$as_dir" : 'X\(//\)$' \| \
11151 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11152 $as_echo X"$as_dir" |
11153 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11157 /^X\(\/\/\)[^/].*/{
11170 test -d "$as_dir" && break
11172 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11173 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
11177 if mkdir
-p .
2>/dev
/null
; then
11178 as_mkdir_p
='mkdir -p "$as_dir"'
11180 test -d .
/-p && rmdir .
/-p
11184 if test -x / >/dev
/null
2>&1; then
11185 as_test_x
='test -x'
11187 if ls -dL / >/dev
/null
2>&1; then
11194 if test -d "$1"; then
11200 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11201 ???[sx]*):;;*)false;;esac;fi
11205 as_executable_p
=$as_test_x
11207 # Sed expression to map a string onto a valid CPP name.
11208 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11210 # Sed expression to map a string onto a valid variable name.
11211 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11215 ## ----------------------------------- ##
11216 ## Main body of $CONFIG_STATUS script. ##
11217 ## ----------------------------------- ##
11219 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
11221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11222 # Save the log message, to keep $0 and so on meaningful, and to
11223 # report actual input values of CONFIG_FILES etc. instead of their
11224 # values after options handling.
11226 This file was extended by systemtap $as_me 1.6, which was
11227 generated by GNU Autoconf 2.65. Invocation command line was
11229 CONFIG_FILES = $CONFIG_FILES
11230 CONFIG_HEADERS = $CONFIG_HEADERS
11231 CONFIG_LINKS = $CONFIG_LINKS
11232 CONFIG_COMMANDS = $CONFIG_COMMANDS
11235 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11240 case $ac_config_files in *"
11241 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
11244 case $ac_config_headers in *"
11245 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
11249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11250 # Files that config.status was made for.
11251 config_files="$ac_config_files"
11252 config_headers="$ac_config_headers"
11253 config_commands="$ac_config_commands"
11257 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11259 \`$as_me' instantiates files and other configuration actions
11260 from templates according to the current configuration. Unless the files
11261 and actions are specified as TAGs, all are instantiated by default.
11263 Usage: $0 [OPTION]... [TAG]...
11265 -h, --help print this help, then exit
11266 -V, --version print version number and configuration settings, then exit
11267 --config print configuration, then exit
11268 -q, --quiet, --silent
11269 do not print progress messages
11270 -d, --debug don't remove temporary files
11271 --recheck update $as_me by reconfiguring in the same conditions
11272 --file=FILE[:TEMPLATE]
11273 instantiate the configuration file FILE
11274 --header=FILE[:TEMPLATE]
11275 instantiate the configuration header FILE
11277 Configuration files:
11280 Configuration headers:
11283 Configuration commands:
11286 Report bugs to <systemtap@sourceware.org>."
11289 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11290 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11292 systemtap config.status 1.6
11293 configured by $0, generated by GNU Autoconf 2.65,
11294 with options \\"\$ac_cs_config\\"
11296 Copyright (C) 2009 Free Software Foundation, Inc.
11297 This config.status script is free software; the Free Software Foundation
11298 gives unlimited permission to copy, distribute and modify it."
11305 test -n "\$AWK" || AWK=awk
11308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11309 # The default lists apply if the user does not specify any file.
11315 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
11316 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
11327 # Handling of the options.
11328 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11330 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
11331 $as_echo "$ac_cs_version"; exit ;;
11332 --config |
--confi |
--conf |
--con |
--co |
--c )
11333 $as_echo "$ac_cs_config"; exit ;;
11334 --debug |
--debu |
--deb |
--de |
--d |
-d )
11336 --file |
--fil |
--fi |
--f )
11339 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11341 as_fn_append CONFIG_FILES
" '$ac_optarg'"
11342 ac_need_defaults
=false
;;
11343 --header |
--heade |
--head |
--hea )
11346 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11348 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
11349 ac_need_defaults
=false
;;
11351 # Conflict between --help and --header
11352 as_fn_error
"ambiguous option: \`$1'
11353 Try \`$0 --help' for more information.";;
11354 --help |
--hel |
-h )
11355 $as_echo "$ac_cs_usage"; exit ;;
11356 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11357 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11360 # This is an error.
11361 -*) as_fn_error
"unrecognized option: \`$1'
11362 Try \`$0 --help' for more information." ;;
11364 *) as_fn_append ac_config_targets
" $1"
11365 ac_need_defaults
=false
;;
11371 ac_configure_extra_args
=
11373 if $ac_cs_silent; then
11375 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11380 if \$ac_cs_recheck; then
11381 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11383 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11384 CONFIG_SHELL='$SHELL'
11385 export CONFIG_SHELL
11390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11394 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11395 ## Running $as_me. ##
11401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11405 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11406 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
11407 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
11408 # from automake < 1.5.
11409 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
11410 # Capture the value of LINGUAS because we need it to compute CATALOGS.
11411 LINGUAS="${LINGUAS-%UNSET%}"
11416 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11418 # Handling of arguments.
11419 for ac_config_target
in $ac_config_targets
11421 case $ac_config_target in
11422 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
11423 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
11424 "includes/sys/sdt-config.h") CONFIG_FILES
="$CONFIG_FILES includes/sys/sdt-config.h" ;;
11425 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
11426 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
11427 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11428 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
11429 "doc/beginners/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/beginners/Makefile" ;;
11430 "doc/SystemTap_Tapset_Reference/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/SystemTap_Tapset_Reference/Makefile" ;;
11431 "grapher/Makefile") CONFIG_FILES
="$CONFIG_FILES grapher/Makefile" ;;
11432 "grapher/stapgraph.1") CONFIG_FILES
="$CONFIG_FILES grapher/stapgraph.1" ;;
11433 "stappaths.7") CONFIG_FILES
="$CONFIG_FILES stappaths.7" ;;
11434 "initscript/systemtap") CONFIG_FILES
="$CONFIG_FILES initscript/systemtap" ;;
11435 "initscript/stap-server") CONFIG_FILES
="$CONFIG_FILES initscript/stap-server" ;;
11436 "run-stap") CONFIG_FILES
="$CONFIG_FILES run-stap" ;;
11437 "dtrace") CONFIG_FILES
="$CONFIG_FILES dtrace" ;;
11438 "doc/beginners/publican.cfg") CONFIG_FILES
="$CONFIG_FILES doc/beginners/publican.cfg:doc/SystemTap_Beginners_Guide/publican.cfg.in" ;;
11439 "doc/beginners") CONFIG_COMMANDS
="$CONFIG_COMMANDS doc/beginners" ;;
11441 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
11446 # If the user did not use the arguments to specify the items to instantiate,
11447 # then the envvar interface is used. Set only those that are not.
11448 # We use the long form for the default assignment because of an extremely
11449 # bizarre bug on SunOS 4.1.3.
11450 if $ac_need_defaults; then
11451 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11452 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11453 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11456 # Have a temporary directory for convenience. Make it in the build tree
11457 # simply because there is no reason against having it here, and in addition,
11458 # creating and moving files from /tmp can sometimes cause problems.
11459 # Hook for its removal unless debugging.
11460 # Note that there is a small window in which the directory will not be cleaned:
11461 # after its creation but before its name has been assigned to `$tmp'.
11465 trap 'exit_status=$?
11466 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11468 trap 'as_fn_exit 1' 1 2 13 15
11470 # Create a (secure) tmp directory for tmp files.
11473 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11474 test -n "$tmp" && test -d "$tmp"
11477 tmp
=.
/conf$$
-$RANDOM
11478 (umask 077 && mkdir
"$tmp")
11479 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
11481 # Set up the scripts for CONFIG_FILES section.
11482 # No need to generate them if there are no CONFIG_FILES.
11483 # This happens for instance with `./config.status config.h'.
11484 if test -n "$CONFIG_FILES"; then
11487 ac_cr
=`echo X | tr X '\015'`
11488 # On cygwin, bash can eat \r inside `` if the user requested igncr.
11489 # But we know of no other shell where ac_cr would be empty at this
11490 # point, so we can use a bashism as a fallback.
11491 if test "x$ac_cr" = x
; then
11492 eval ac_cr
=\$
\'\\r
\'
11494 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11495 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11498 ac_cs_awk_cr
=$ac_cr
11501 echo 'BEGIN {' >"$tmp/subs1.awk" &&
11506 echo "cat >conf$$subs.awk <<_ACEOF" &&
11507 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11509 } >conf$$subs.sh ||
11510 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11511 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
11513 for ac_last_try in false false false false false :; do
11514 . ./conf$$subs.sh ||
11515 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11517 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
11518 if test $ac_delim_n = $ac_delim_num; then
11520 elif $ac_last_try; then
11521 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11523 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11526 rm -f conf$$subs.sh
11528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11529 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
11533 s/^/S["/; s
/!.
*/"]=/
11543 s/\(.\{148\}\)..*/\1/
11545 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
11550 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11557 s/\(.\{148\}\)..*/\1/
11559 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
11563 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11568 ' <conf$$subs.awk | sed '
11573 ' >>$CONFIG_STATUS || ac_write_fail=1
11574 rm -f conf$$subs.awk
11575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11577 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
11578 for (key in S) S_is_set[key] = 1
11584 nfields = split(line, field, "@
")
11586 len = length(field[1])
11587 for (i = 2; i < nfields; i++) {
11589 keylen = length(key)
11590 if (S_is_set[key]) {
11592 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
11593 len += length(value) + length(field[++i])
11604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11605 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
11606 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
11609 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
11610 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
11613 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11614 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
11615 # trailing colons and then remove the whole line if VPATH becomes empty
11616 # (actually we leave an empty line to preserve line numbers).
11617 if test "x
$srcdir" = x.; then
11618 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11619 s/:*\$(srcdir):*/:/
11620 s/:*\${srcdir}:*/:/
11622 s/^\([^=]*=[ ]*\):*/\1/
11628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11629 fi # test -n "$CONFIG_FILES"
11631 # Set up the scripts for CONFIG_HEADERS section.
11632 # No need to generate them if there are no CONFIG_HEADERS.
11633 # This happens for instance with `./config.status Makefile'.
11634 if test -n "$CONFIG_HEADERS"; then
11635 cat >"$tmp/defines.
awk" <<\_ACAWK ||
11639 # Transform confdefs.h into an awk script `defines.awk', embedded as
11640 # here-document in config.status, that substitutes the proper values into
11641 # config.h.in to produce config.h.
11643 # Create a delimiter string that does not exist in confdefs.h, to ease
11644 # handling of long lines.
11646 for ac_last_try in false false :; do
11647 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
11648 if test -z "$ac_t"; then
11650 elif $ac_last_try; then
11651 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
11653 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11657 # For the awk script, D is an array of macro values keyed by name,
11658 # likewise P contains macro parameters if any. Preserve backslash
11659 # newline sequences.
11661 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
11663 s/.\{148\}/&'"$ac_delim"'/g
11666 s/^[ ]*#[ ]*define[ ][ ]*/ /
11673 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
11675 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
11679 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
11680 D["\
1"]=" \
3\\\\\\n
"\\/p
11682 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
11687 s/.\{148\}/&'"$ac_delim"'/g
11692 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
11695 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
11697 ' <confdefs.h | sed '
11698 s/'"$ac_delim"'/"\\\
11699 "/g' >>$CONFIG_STATUS || ac_write_fail=1
11701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11702 for (key in D) D_is_set[key] = 1
11705 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
11707 split(line, arg, " ")
11708 if (arg[1] == "#") {
11712 defundef
= substr
(arg
[1], 2)
11715 split(mac1
, mac2
, "(") #)
11717 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
11718 if (D_is_set
[macro
]) {
11719 # Preserve the white space surrounding the "#".
11720 print prefix
"define", macro P
[macro
] D
[macro
]
11723 # Replace #undef with comments. This is necessary, for example,
11724 # in the case of _POSIX_SOURCE, which is predefined and required
11725 # on some systems where configure will not decide to define it.
11726 if (defundef
== "undef") {
11727 print
"/*", prefix defundef
, macro
, "*/"
11735 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11736 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
11737 fi # test -n "$CONFIG_HEADERS"
11740 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
11745 :[FHLC
]) ac_mode
=$ac_tag; continue;;
11747 case $ac_mode$ac_tag in
11749 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
11750 :[FH
]-) ac_tag
=-:-;;
11751 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
11768 -) ac_f
="$tmp/stdin";;
11769 *) # Look for the file first in the build tree, then in the source tree
11770 # (if the path is not absolute). The absolute path cannot be DOS-style,
11771 # because $ac_f cannot contain `:'.
11775 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
11777 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
11779 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
11780 as_fn_append ac_file_inputs
" '$ac_f'"
11783 # Let's still pretend it is `configure' which instantiates (i.e., don't
11784 # use $as_me), people would be surprised to read:
11785 # /* config.h. Generated by config.status. */
11786 configure_input
='Generated from '`
11787 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
11789 if test x
"$ac_file" != x-
; then
11790 configure_input
="$ac_file. $configure_input"
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
11792 $as_echo "$as_me: creating $ac_file" >&6;}
11794 # Neutralize special characters interpreted by sed in replacement strings.
11795 case $configure_input in #(
11796 *\
&* |
*\|
* |
*\\* )
11797 ac_sed_conf_input
=`$as_echo "$configure_input" |
11798 sed 's/[\\\\&|]/\\\\&/g'`;; #(
11799 *) ac_sed_conf_input
=$configure_input;;
11803 *:-:* |
*:-) cat >"$tmp/stdin" \
11804 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
11809 ac_dir
=`$as_dirname -- "$ac_file" ||
11810 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11811 X"$ac_file" : 'X\(//\)[^/]' \| \
11812 X"$ac_file" : 'X\(//\)$' \| \
11813 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11814 $as_echo X"$ac_file" |
11815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11819 /^X\(\/\/\)[^/].*/{
11832 as_dir
="$ac_dir"; as_fn_mkdir_p
11836 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11838 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11839 # A ".." for each directory in $ac_dir_suffix.
11840 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11841 case $ac_top_builddir_sub in
11842 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11843 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
11846 ac_abs_top_builddir
=$ac_pwd
11847 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
11848 # for backward compatibility:
11849 ac_top_builddir
=$ac_top_build_prefix
11852 .
) # We are building in place.
11854 ac_top_srcdir
=$ac_top_builddir_sub
11855 ac_abs_top_srcdir
=$ac_pwd ;;
11856 [\\/]* | ?
:[\\/]* ) # Absolute name.
11857 ac_srcdir
=$srcdir$ac_dir_suffix;
11858 ac_top_srcdir
=$srcdir
11859 ac_abs_top_srcdir
=$srcdir ;;
11860 *) # Relative name.
11861 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
11862 ac_top_srcdir
=$ac_top_build_prefix$srcdir
11863 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
11865 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
11875 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
11876 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
11878 ac_MKDIR_P
=$MKDIR_P
11880 [\\/$
]* | ?
:[\\/]* ) ;;
11881 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
11885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11886 # If the template does not know about datarootdir, expand it.
11887 # FIXME: This hack should be removed a few years after 2.60.
11888 ac_datarootdir_hack
=; ac_datarootdir_seen
=
11899 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
11900 *datarootdir
*) ac_datarootdir_seen
=yes;;
11901 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11903 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11906 ac_datarootdir_hack='
11907 s&@datadir@&$datadir&g
11908 s&@docdir@&$docdir&g
11909 s&@infodir@&$infodir&g
11910 s&@localedir@&$localedir&g
11911 s&@mandir@&$mandir&g
11912 s&\\\${datarootdir}&$datarootdir&g' ;;
11916 # Neutralize VPATH when `$srcdir' = `.'.
11917 # Shell code in configure.ac might set extrasub.
11918 # FIXME: do we really want to maintain this feature?
11919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11920 ac_sed_extra="$ac_vpsub
11923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11925 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
11926 s|@configure_input@|
$ac_sed_conf_input|
;t t
11927 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
11928 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
11929 s
&@srcdir@
&$ac_srcdir&;t t
11930 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
11931 s
&@top_srcdir@
&$ac_top_srcdir&;t t
11932 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
11933 s
&@builddir@
&$ac_builddir&;t t
11934 s
&@abs_builddir@
&$ac_abs_builddir&;t t
11935 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
11936 s
&@INSTALL@
&$ac_INSTALL&;t t
11937 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
11938 $ac_datarootdir_hack
11940 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
11941 || as_fn_error "could not create
$ac_file" "$LINENO" 5
11943 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11944 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
11945 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
11947 which seems to be undefined. Please make sure it is defined." >&5
11948 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
11949 which seems to be undefined. Please make sure it is defined." >&2;}
11953 -) cat "$tmp/out" && rm -f "$tmp/out";;
11954 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
11956 || as_fn_error "could not create $ac_file" "$LINENO" 5
11962 if test x"$ac_file" != x-; then
11964 $as_echo "/* $configure_input */" \
11965 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
11966 } >"$tmp/config.h" \
11967 || as_fn_error "could not create $ac_file" "$LINENO" 5
11968 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
11970 $as_echo "$as_me: $ac_file is unchanged" >&6;}
11973 mv "$tmp/config.h" "$ac_file" \
11974 || as_fn_error "could not create $ac_file" "$LINENO" 5
11977 $as_echo "/* $configure_input */" \
11978 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
11979 || as_fn_error "could not create -" "$LINENO" 5
11981 # Compute "$ac_file"'s index
in $config_headers.
11984 for _am_header
in $config_headers :; do
11985 case $_am_header in
11986 $_am_arg |
$_am_arg:* )
11989 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
11992 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
11993 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11994 X"$_am_arg" : 'X\(//\)[^/]' \| \
11995 X"$_am_arg" : 'X\(//\)$' \| \
11996 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
11997 $as_echo X"$_am_arg" |
11998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12002 /^X\(\/\/\)[^/].*/{
12014 s/.*/./; q'`/stamp-h
$_am_stamp_count
12017 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12018 $as_echo "$as_me: executing $ac_file commands" >&6;}
12023 case $ac_file$ac_mode in
12024 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
12025 # Autoconf 2.62 quotes --file arguments for eval, but not when files
12026 # are listed without --file. Let's play safe and only enable the eval
12027 # if we detect the quoting.
12028 case $CONFIG_FILES in
12029 *\'*) eval set x
"$CONFIG_FILES" ;;
12030 *) set x
$CONFIG_FILES ;;
12035 # Strip MF so we end up with the name of the file.
12036 mf
=`echo "$mf" | sed -e 's/:.*$//'`
12037 # Check whether this is an Automake generated Makefile or not.
12038 # We used to match only the files named `Makefile.in', but
12039 # some people rename them; so instead we look at the file content.
12040 # Grep'ing the first line is not enough: some people post-process
12041 # each Makefile.in and add a new line on top of each file to say so.
12042 # Grep'ing the whole file is not good either: AIX grep has a line
12043 # limit of 2048, but all sed's we know have understand at least 4000.
12044 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
12045 dirpart
=`$as_dirname -- "$mf" ||
12046 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12047 X"$mf" : 'X\(//\)[^/]' \| \
12048 X"$mf" : 'X\(//\)$' \| \
12049 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12051 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12055 /^X\(\/\/\)[^/].*/{
12071 # Extract the definition of DEPDIR, am__include, and am__quote
12072 # from the Makefile without running `make'.
12073 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
12074 test -z "$DEPDIR" && continue
12075 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
12076 test -z "am__include" && continue
12077 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
12078 # When using ansi2knr, U may be empty or an underscore; expand it
12079 U
=`sed -n 's/^U = //p' < "$mf"`
12080 # Find all dependency output files, they are included files with
12081 # $(DEPDIR) in their names. We invoke sed twice because it is the
12082 # simplest approach to changing $(DEPDIR) to its actual value in the
12084 for file in `sed -n "
12085 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12086 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12087 # Make sure the directory exists.
12088 test -f "$dirpart/$file" && continue
12089 fdir
=`$as_dirname -- "$file" ||
12090 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12091 X"$file" : 'X\(//\)[^/]' \| \
12092 X"$file" : 'X\(//\)$' \| \
12093 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12094 $as_echo X"$file" |
12095 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12099 /^X\(\/\/\)[^/].*/{
12112 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
12113 # echo "creating $dirpart/$file"
12114 echo '# dummy' > "$dirpart/$file"
12119 "po-directories":C
)
12120 for ac_file
in $CONFIG_FILES; do
12121 # Support "outfile[:infile[:infile...]]"
12123 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12125 # PO directories have a Makefile.in generated from Makefile.in.in.
12126 case "$ac_file" in */Makefile.
in)
12127 # Adjust a relative srcdir.
12128 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
12129 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
12130 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
12131 # In autoconf-2.13 it is called $ac_given_srcdir.
12132 # In autoconf-2.50 it is called $srcdir.
12133 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
12134 case "$ac_given_srcdir" in
12135 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
12136 /*) top_srcdir
="$ac_given_srcdir" ;;
12137 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
12139 # Treat a directory as a PO directory if and only if it has a
12140 # POTFILES.in file. This allows packages to have multiple PO
12141 # directories under different names or in different locations.
12142 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
12143 rm -f "$ac_dir/POTFILES"
12144 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
12145 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
12146 POMAKEFILEDEPS
="POTFILES.in"
12147 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
12148 # on $ac_dir but don't depend on user-specified configuration
12150 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
12151 # The LINGUAS file contains the set of available languages.
12152 if test -n "$OBSOLETE_ALL_LINGUAS"; then
12153 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
12155 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
12156 # Hide the ALL_LINGUAS assigment from automake < 1.5.
12157 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
12158 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
12160 # The set of available languages was given in configure.in.
12161 # Hide the ALL_LINGUAS assigment from automake < 1.5.
12162 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
12165 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
12166 # Compute UPDATEPOFILES
12167 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
12168 # Compute DUMMYPOFILES
12169 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
12171 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
12172 case "$ac_given_srcdir" in
12174 *) srcdirpre
='$(srcdir)/' ;;
12180 for lang
in $ALL_LINGUAS; do
12181 POFILES
="$POFILES $srcdirpre$lang.po"
12182 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
12183 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
12184 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
12186 # CATALOGS depends on both $ac_dir and the user's LINGUAS
12187 # environment variable.
12189 if test -n "$ALL_LINGUAS"; then
12190 for presentlang
in $ALL_LINGUAS; do
12192 if test "%UNSET%" != "$LINGUAS"; then
12193 desiredlanguages
="$LINGUAS"
12195 desiredlanguages
="$ALL_LINGUAS"
12197 for desiredlang
in $desiredlanguages; do
12198 # Use the presentlang catalog if desiredlang is
12199 # a. equal to presentlang, or
12200 # b. a variant of presentlang (because in this case,
12201 # presentlang can be used as a fallback for messages
12202 # which are not translated in the desiredlang catalog).
12203 case "$desiredlang" in
12204 "$presentlang"*) useit
=yes;;
12207 if test $useit = yes; then
12208 INST_LINGUAS
="$INST_LINGUAS $presentlang"
12213 if test -n "$INST_LINGUAS"; then
12214 for lang
in $INST_LINGUAS; do
12215 CATALOGS
="$CATALOGS $lang.gmo"
12218 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
12219 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
12220 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
12221 if test -f "$f"; then
12223 *.orig |
*.bak |
*~
) ;;
12224 *) cat "$f" >> "$ac_dir/Makefile" ;;
12232 "run-stap":F
) chmod +x run-stap
;;
12233 "dtrace":F
) chmod +x dtrace
;;
12234 "doc/beginners":C
) rm -f $ac_abs_top_builddir/doc
/beginners
/en-US
$ac_abs_top_builddir/doc
/beginners
/build
/en-US
/testsuite
&& mkdir
-p $ac_abs_top_builddir/doc
/beginners
/build
/en-US
&& ln -s $ac_abs_top_srcdir/doc
/SystemTap_Beginners_Guide
/en-US
$ac_abs_top_builddir/doc
/beginners
/en-US
&& ln -s $ac_abs_top_srcdir/testsuite
$ac_abs_top_builddir/doc
/beginners
/build
/en-US
/testsuite
;;
12242 ac_clean_files
=$ac_clean_files_save
12244 test $ac_write_fail = 0 ||
12245 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
12248 # configure is writing to config.log, and then calls config.status.
12249 # config.status does its own redirection, appending to config.log.
12250 # Unfortunately, on DOS this fails, as config.log is still kept open
12251 # by configure, so config.status won't be able to write to it; its
12252 # output is simply discarded. So we exec the FD to /dev/null,
12253 # effectively closing config.log, so it can be properly (re)opened and
12254 # appended to by config.status. When coming back to configure, we
12255 # need to make the FD available again.
12256 if test "$no_create" != yes; then
12258 ac_config_status_args
=
12259 test "$silent" = yes &&
12260 ac_config_status_args
="$ac_config_status_args --quiet"
12262 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
12264 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12265 # would make configure fail if this is the last instruction.
12266 $ac_cs_success || as_fn_exit $?
12270 # CONFIG_SUBDIRS section.
12272 if test "$no_recursion" != yes; then
12274 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
12275 # so they do not pile up.
12276 ac_sub_configure_args
=
12278 eval "set x $ac_configure_args"
12282 if test -n "$ac_prev"; then
12287 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
12288 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
12289 ac_prev
=cache_file
;;
12290 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
12291 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
12294 --config-cache |
-C)
12296 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
12298 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
12300 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
12302 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
12304 --disable-option-checking)
12308 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
12310 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
12314 # Always prepend --prefix to ensure using the same prefix
12315 # in subdir configurations.
12316 ac_arg
="--prefix=$prefix"
12318 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
12320 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
12323 if test "$silent" = yes; then
12324 ac_sub_configure_args
="--silent $ac_sub_configure_args"
12327 # Always prepend --disable-option-checking to silence warnings, since
12328 # different subdirs can have different --enable and --with options.
12329 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
12332 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
12334 # Do not complain, so a configure script can configure whichever
12335 # parts of a large source tree are present.
12336 test -d "$srcdir/$ac_dir" ||
continue
12338 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
12339 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
12340 $as_echo "$ac_msg" >&6
12341 as_dir
="$ac_dir"; as_fn_mkdir_p
12345 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12347 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12348 # A ".." for each directory in $ac_dir_suffix.
12349 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12350 case $ac_top_builddir_sub in
12351 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12352 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
12355 ac_abs_top_builddir
=$ac_pwd
12356 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
12357 # for backward compatibility:
12358 ac_top_builddir
=$ac_top_build_prefix
12361 .
) # We are building in place.
12363 ac_top_srcdir
=$ac_top_builddir_sub
12364 ac_abs_top_srcdir
=$ac_pwd ;;
12365 [\\/]* | ?
:[\\/]* ) # Absolute name.
12366 ac_srcdir
=$srcdir$ac_dir_suffix;
12367 ac_top_srcdir
=$srcdir
12368 ac_abs_top_srcdir
=$srcdir ;;
12369 *) # Relative name.
12370 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
12371 ac_top_srcdir
=$ac_top_build_prefix$srcdir
12372 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
12374 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
12379 # Check for guested configure; otherwise get Cygnus style configure.
12380 if test -f "$ac_srcdir/configure.gnu"; then
12381 ac_sub_configure
=$ac_srcdir/configure.gnu
12382 elif test -f "$ac_srcdir/configure"; then
12383 ac_sub_configure
=$ac_srcdir/configure
12384 elif test -f "$ac_srcdir/configure.in"; then
12385 # This should be Cygnus configure.
12386 ac_sub_configure
=$ac_aux_dir/configure
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
12389 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
12393 # The recursion is here.
12394 if test -n "$ac_sub_configure"; then
12395 # Make the cache file name correct relative to the subdirectory.
12396 case $cache_file in
12397 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
12398 *) # Relative name.
12399 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
12403 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
12404 # The eval makes quoting arguments work.
12405 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
12406 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
12407 as_fn_error
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
12413 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
12415 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
12419 if test "${prefix}" = "/usr/local"; then
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
12421 $as_echo "$as_me: " >&6;}
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: For a private or temporary build of systemtap, we recommend" >&5
12423 $as_echo "$as_me: For a private or temporary build of systemtap, we recommend" >&6;}
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring with a prefix. For example, try" >&5
12425 $as_echo "$as_me: configuring with a prefix. For example, try" >&6;}
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&5
12427 $as_echo "$as_me: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&6;}
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: Running systemtap uninstalled, entirely out of the build tree," >&5
12429 $as_echo "$as_me: Running systemtap uninstalled, entirely out of the build tree," >&6;}
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: is not supported." >&5
12431 $as_echo "$as_me: is not supported." >&6;}