2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
554 ac_unique_file
="gdb.base"
555 enable_option_checking
=no
556 # Factoring default headers for most tests.
557 ac_includes_default
="\
559 #ifdef HAVE_SYS_TYPES_H
560 # include <sys/types.h>
562 #ifdef HAVE_SYS_STAT_H
563 # include <sys/stat.h>
569 # ifdef HAVE_STDLIB_H
574 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
579 #ifdef HAVE_STRINGS_H
580 # include <strings.h>
582 #ifdef HAVE_INTTYPES_H
583 # include <inttypes.h>
592 ac_subst_vars
='LTLIBOBJS
596 READELF_TRANSFORM_NAME
655 program_transform_name
668 enable_option_checking
672 ac_precious_vars
='build_alias
681 ac_subdirs_all
='gdb.gdbtk'
683 # Initialize some variables set by options.
685 ac_init_version
=false
686 ac_unrecognized_opts
=
688 # The variables have the same names as the options, with
689 # dashes changed to underlines.
697 program_transform_name
=s
,x
,x
,
705 # Installation directory options.
706 # These are left unexpanded so users can "make install exec_prefix=/foo"
707 # and all the variables that are supposed to be based on exec_prefix
708 # by default will actually change.
709 # Use braces instead of parens because sh, perl, etc. also accept them.
710 # (The list follows the same order as the GNU Coding Standards.)
711 bindir
='${exec_prefix}/bin'
712 sbindir
='${exec_prefix}/sbin'
713 libexecdir
='${exec_prefix}/libexec'
714 datarootdir
='${prefix}/share'
715 datadir
='${datarootdir}'
716 sysconfdir
='${prefix}/etc'
717 sharedstatedir
='${prefix}/com'
718 localstatedir
='${prefix}/var'
719 includedir
='${prefix}/include'
720 oldincludedir
='/usr/include'
721 docdir
='${datarootdir}/doc/${PACKAGE}'
722 infodir
='${datarootdir}/info'
727 libdir
='${exec_prefix}/lib'
728 localedir
='${datarootdir}/locale'
729 mandir
='${datarootdir}/man'
735 # If the previous option needs an argument, assign it.
736 if test -n "$ac_prev"; then
737 eval $ac_prev=\
$ac_option
743 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
747 # Accept the important Cygnus configure options, so we can diagnose typos.
749 case $ac_dashdash$ac_option in
753 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
755 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
758 -build |
--build |
--buil |
--bui |
--bu)
759 ac_prev
=build_alias
;;
760 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
761 build_alias
=$ac_optarg ;;
763 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
764 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
765 ac_prev
=cache_file
;;
766 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
767 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
768 cache_file
=$ac_optarg ;;
771 cache_file
=config.cache
;;
773 -datadir |
--datadir |
--datadi |
--datad)
775 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
776 datadir
=$ac_optarg ;;
778 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
779 |
--dataroo |
--dataro |
--datar)
780 ac_prev
=datarootdir
;;
781 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
782 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
783 datarootdir
=$ac_optarg ;;
785 -disable-* |
--disable-*)
786 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
787 # Reject names that are not valid shell variable names.
788 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
789 as_fn_error
"invalid feature name: $ac_useropt"
790 ac_useropt_orig
=$ac_useropt
791 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
792 case $ac_user_opts in
796 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
797 ac_unrecognized_sep
=', ';;
799 eval enable_
$ac_useropt=no
;;
801 -docdir |
--docdir |
--docdi |
--doc |
--do)
803 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
806 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
808 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
811 -enable-* |
--enable-*)
812 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
813 # Reject names that are not valid shell variable names.
814 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
815 as_fn_error
"invalid feature name: $ac_useropt"
816 ac_useropt_orig
=$ac_useropt
817 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
818 case $ac_user_opts in
822 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
823 ac_unrecognized_sep
=', ';;
825 eval enable_
$ac_useropt=\
$ac_optarg ;;
827 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
828 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
829 |
--exec |
--exe |
--ex)
830 ac_prev
=exec_prefix
;;
831 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
832 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
833 |
--exec=* |
--exe=* |
--ex=*)
834 exec_prefix
=$ac_optarg ;;
836 -gas |
--gas |
--ga |
--g)
837 # Obsolete; use --with-gas.
840 -help |
--help |
--hel |
--he |
-h)
842 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
843 ac_init_help
=recursive
;;
844 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
845 ac_init_help
=short
;;
847 -host |
--host |
--hos |
--ho)
848 ac_prev
=host_alias
;;
849 -host=* |
--host=* |
--hos=* |
--ho=*)
850 host_alias
=$ac_optarg ;;
852 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
854 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
856 htmldir
=$ac_optarg ;;
858 -includedir |
--includedir |
--includedi |
--included |
--include \
859 |
--includ |
--inclu |
--incl |
--inc)
860 ac_prev
=includedir
;;
861 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
862 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
863 includedir
=$ac_optarg ;;
865 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
867 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
868 infodir
=$ac_optarg ;;
870 -libdir |
--libdir |
--libdi |
--libd)
872 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
875 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
876 |
--libexe |
--libex |
--libe)
877 ac_prev
=libexecdir
;;
878 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
879 |
--libexe=* |
--libex=* |
--libe=*)
880 libexecdir
=$ac_optarg ;;
882 -localedir |
--localedir |
--localedi |
--localed |
--locale)
884 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
885 localedir
=$ac_optarg ;;
887 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
888 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
889 ac_prev
=localstatedir
;;
890 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
891 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
892 localstatedir
=$ac_optarg ;;
894 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
896 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
900 # Obsolete; use --without-fp.
903 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
904 |
--no-cr |
--no-c |
-n)
907 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
908 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
911 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
912 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
913 |
--oldin |
--oldi |
--old |
--ol |
--o)
914 ac_prev
=oldincludedir
;;
915 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
916 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
917 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
918 oldincludedir
=$ac_optarg ;;
920 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
922 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
925 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
926 |
--program-pre |
--program-pr |
--program-p)
927 ac_prev
=program_prefix
;;
928 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
929 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
930 program_prefix
=$ac_optarg ;;
932 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
933 |
--program-suf |
--program-su |
--program-s)
934 ac_prev
=program_suffix
;;
935 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
936 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
937 program_suffix
=$ac_optarg ;;
939 -program-transform-name |
--program-transform-name \
940 |
--program-transform-nam |
--program-transform-na \
941 |
--program-transform-n |
--program-transform- \
942 |
--program-transform |
--program-transfor \
943 |
--program-transfo |
--program-transf \
944 |
--program-trans |
--program-tran \
945 |
--progr-tra |
--program-tr |
--program-t)
946 ac_prev
=program_transform_name
;;
947 -program-transform-name=* |
--program-transform-name=* \
948 |
--program-transform-nam=* |
--program-transform-na=* \
949 |
--program-transform-n=* |
--program-transform-=* \
950 |
--program-transform=* |
--program-transfor=* \
951 |
--program-transfo=* |
--program-transf=* \
952 |
--program-trans=* |
--program-tran=* \
953 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
954 program_transform_name
=$ac_optarg ;;
956 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
958 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
961 -psdir |
--psdir |
--psdi |
--psd |
--ps)
963 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
966 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
967 |
-silent |
--silent |
--silen |
--sile |
--sil)
970 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
972 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
974 sbindir
=$ac_optarg ;;
976 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
977 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
978 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
980 ac_prev
=sharedstatedir
;;
981 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
982 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
983 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
985 sharedstatedir
=$ac_optarg ;;
987 -site |
--site |
--sit)
989 -site=* |
--site=* |
--sit=*)
992 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
994 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
997 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
998 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
999 ac_prev
=sysconfdir
;;
1000 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1001 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1002 sysconfdir
=$ac_optarg ;;
1004 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1005 ac_prev
=target_alias
;;
1006 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1007 target_alias
=$ac_optarg ;;
1009 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1012 -version |
--version |
--versio |
--versi |
--vers |
-V)
1013 ac_init_version
=: ;;
1016 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1019 as_fn_error
"invalid package name: $ac_useropt"
1020 ac_useropt_orig
=$ac_useropt
1021 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1022 case $ac_user_opts in
1026 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1027 ac_unrecognized_sep
=', ';;
1029 eval with_
$ac_useropt=\
$ac_optarg ;;
1031 -without-* |
--without-*)
1032 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1035 as_fn_error
"invalid package name: $ac_useropt"
1036 ac_useropt_orig
=$ac_useropt
1037 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1042 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1043 ac_unrecognized_sep
=', ';;
1045 eval with_
$ac_useropt=no
;;
1048 # Obsolete; use --with-x.
1051 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1052 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1053 ac_prev
=x_includes
;;
1054 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1055 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1056 x_includes
=$ac_optarg ;;
1058 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1059 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1060 ac_prev
=x_libraries
;;
1061 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1062 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1063 x_libraries
=$ac_optarg ;;
1065 -*) as_fn_error
"unrecognized option: \`$ac_option'
1066 Try \`$0 --help' for more information."
1070 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1071 # Reject names that are not valid shell variable names.
1072 case $ac_envvar in #(
1073 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1074 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1076 eval $ac_envvar=\
$ac_optarg
1077 export $ac_envvar ;;
1080 # FIXME: should be removed in autoconf 3.0.
1081 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1082 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1083 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1084 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1090 if test -n "$ac_prev"; then
1091 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1092 as_fn_error
"missing argument to $ac_option"
1095 if test -n "$ac_unrecognized_opts"; then
1096 case $enable_option_checking in
1098 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1099 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1103 # Check all directory arguments for consistency.
1104 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1105 datadir sysconfdir sharedstatedir localstatedir includedir \
1106 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1107 libdir localedir mandir
1109 eval ac_val
=\$
$ac_var
1110 # Remove trailing slashes.
1113 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1114 eval $ac_var=\
$ac_val;;
1116 # Be sure to have absolute directory names.
1118 [\\/$
]* | ?
:[\\/]* ) continue;;
1119 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1121 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1124 # There might be people who depend on the old broken behavior: `$host'
1125 # used to hold the argument of --host etc.
1126 # FIXME: To remove some day.
1129 target
=$target_alias
1131 # FIXME: To remove some day.
1132 if test "x$host_alias" != x
; then
1133 if test "x$build_alias" = x
; then
1134 cross_compiling
=maybe
1135 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1136 If a cross compiler is detected then cross compile mode will be used." >&2
1137 elif test "x$build_alias" != "x$host_alias"; then
1143 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1145 test "$silent" = yes && exec 6>/dev
/null
1148 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1149 ac_ls_di
=`ls -di .` &&
1150 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1151 as_fn_error
"working directory cannot be determined"
1152 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1153 as_fn_error
"pwd does not report name of working directory"
1156 # Find the source files, if location was not specified.
1157 if test -z "$srcdir"; then
1158 ac_srcdir_defaulted
=yes
1159 # Try the directory containing this script, then the parent directory.
1160 ac_confdir
=`$as_dirname -- "$as_myself" ||
1161 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1162 X"$as_myself" : 'X\(//\)[^/]' \| \
1163 X"$as_myself" : 'X\(//\)$' \| \
1164 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1165 $as_echo X"$as_myself" |
1166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1184 if test ! -r "$srcdir/$ac_unique_file"; then
1188 ac_srcdir_defaulted
=no
1190 if test ! -r "$srcdir/$ac_unique_file"; then
1191 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1192 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1194 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1196 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1198 # When building in place, set srcdir=.
1199 if test "$ac_abs_confdir" = "$ac_pwd"; then
1202 # Remove unnecessary trailing slashes from srcdir.
1203 # Double slashes in file names in object file debugging info
1204 # mess up M-x gdb in Emacs.
1206 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1208 for ac_var
in $ac_precious_vars; do
1209 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1210 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1211 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1212 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1216 # Report the --help message.
1218 if test "$ac_init_help" = "long"; then
1219 # Omit some internal or obsolete options to make the list less imposing.
1220 # This message is too long to be a string in the A/UX 3.1 sh.
1222 \`configure' configures this package to adapt to many kinds of systems.
1224 Usage: $0 [OPTION]... [VAR=VALUE]...
1226 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1227 VAR=VALUE. See below for descriptions of some of the useful variables.
1229 Defaults for the options are specified in brackets.
1232 -h, --help display this help and exit
1233 --help=short display options specific to this package
1234 --help=recursive display the short help of all the included packages
1235 -V, --version display version information and exit
1236 -q, --quiet, --silent do not print \`checking...' messages
1237 --cache-file=FILE cache test results in FILE [disabled]
1238 -C, --config-cache alias for \`--cache-file=config.cache'
1239 -n, --no-create do not create output files
1240 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1242 Installation directories:
1243 --prefix=PREFIX install architecture-independent files in PREFIX
1244 [$ac_default_prefix]
1245 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1248 By default, \`make install' will install all the files in
1249 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1250 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1251 for instance \`--prefix=\$HOME'.
1253 For better control, use the options below.
1255 Fine tuning of the installation directories:
1256 --bindir=DIR user executables [EPREFIX/bin]
1257 --sbindir=DIR system admin executables [EPREFIX/sbin]
1258 --libexecdir=DIR program executables [EPREFIX/libexec]
1259 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1260 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1261 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1262 --libdir=DIR object code libraries [EPREFIX/lib]
1263 --includedir=DIR C header files [PREFIX/include]
1264 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1265 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1266 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1267 --infodir=DIR info documentation [DATAROOTDIR/info]
1268 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1269 --mandir=DIR man documentation [DATAROOTDIR/man]
1270 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1271 --htmldir=DIR html documentation [DOCDIR]
1272 --dvidir=DIR dvi documentation [DOCDIR]
1273 --pdfdir=DIR pdf documentation [DOCDIR]
1274 --psdir=DIR ps documentation [DOCDIR]
1280 --program-prefix=PREFIX prepend PREFIX to installed program names
1281 --program-suffix=SUFFIX append SUFFIX to installed program names
1282 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1285 --build=BUILD configure
for building on BUILD
[guessed
]
1286 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1287 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1291 if test -n "$ac_init_help"; then
1296 --disable-option-checking ignore unrecognized
--enable/--with options
1297 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1298 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1299 --enable-gtk enable gdbtk graphical user interface
(GUI
)
1300 --enable-shared build shared libraries deault
=yes
1302 Some influential environment variables
:
1303 CC C compiler
command
1304 CFLAGS C compiler flags
1305 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1306 nonstandard directory
<lib dir
>
1307 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1308 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1309 you have headers
in a nonstandard directory
<include dir
>
1312 Use these variables to override the choices made by
`configure' or to help
1313 it to find libraries and programs with nonstandard names/locations.
1315 Report bugs to the package provider.
1320 if test "$ac_init_help" = "recursive"; then
1321 # If there are subdirs, report their specific --help.
1322 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1323 test -d "$ac_dir" ||
1324 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1329 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1331 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1332 # A ".." for each directory in $ac_dir_suffix.
1333 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1334 case $ac_top_builddir_sub in
1335 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1336 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1339 ac_abs_top_builddir=$ac_pwd
1340 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1341 # for backward compatibility:
1342 ac_top_builddir=$ac_top_build_prefix
1345 .) # We are building in place.
1347 ac_top_srcdir=$ac_top_builddir_sub
1348 ac_abs_top_srcdir=$ac_pwd ;;
1349 [\\/]* | ?:[\\/]* ) # Absolute name.
1350 ac_srcdir=$srcdir$ac_dir_suffix;
1351 ac_top_srcdir=$srcdir
1352 ac_abs_top_srcdir=$srcdir ;;
1354 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1355 ac_top_srcdir=$ac_top_build_prefix$srcdir
1356 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1358 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1360 cd "$ac_dir" || { ac_status=$?; continue; }
1361 # Check for guested configure.
1362 if test -f "$ac_srcdir/configure.gnu"; then
1364 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1365 elif test -f "$ac_srcdir/configure"; then
1367 $SHELL "$ac_srcdir/configure" --help=recursive
1369 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1371 cd "$ac_pwd" || { ac_status=$?; break; }
1375 test -n "$ac_init_help" && exit $ac_status
1376 if $ac_init_version; then
1379 generated by GNU Autoconf 2.64
1381 Copyright (C) 2009 Free Software Foundation, Inc.
1382 This configure script is free software; the Free Software Foundation
1383 gives unlimited permission to copy, distribute and modify it.
1388 ## ------------------------ ##
1389 ## Autoconf initialization. ##
1390 ## ------------------------ ##
1392 # ac_fn_c_try_compile LINENO
1393 # --------------------------
1394 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1395 ac_fn_c_try_compile ()
1397 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1398 rm -f conftest.$ac_objext
1399 if { { ac_try="$ac_compile"
1401 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1402 *) ac_try_echo
=$ac_try;;
1404 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1405 $as_echo "$ac_try_echo"; } >&5
1406 (eval "$ac_compile") 2>conftest.err
1408 if test -s conftest.err
; then
1409 grep -v '^ *+' conftest.err
>conftest.er1
1410 cat conftest.er1
>&5
1411 mv -f conftest.er1 conftest.err
1413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1414 test $ac_status = 0; } && {
1415 test -z "$ac_c_werror_flag" ||
1416 test ! -s conftest.err
1417 } && test -s conftest.
$ac_objext; then :
1420 $as_echo "$as_me: failed program was:" >&5
1421 sed 's/^/| /' conftest.
$ac_ext >&5
1425 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1428 } # ac_fn_c_try_compile
1430 # ac_fn_c_try_cpp LINENO
1431 # ----------------------
1432 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1435 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1436 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1438 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1439 *) ac_try_echo=$ac_try;;
1441 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1442 $as_echo "$ac_try_echo"; } >&5
1443 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1445 if test -s conftest.err; then
1446 grep -v '^ *+' conftest.err >conftest.er1
1447 cat conftest.er1 >&5
1448 mv -f conftest.er1 conftest.err
1450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1451 test $ac_status = 0; } >/dev/null && {
1452 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1453 test ! -s conftest.err
1457 $as_echo "$as_me: failed program was:" >&5
1458 sed 's/^/| /' conftest.$ac_ext >&5
1462 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1467 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1468 # -------------------------------------------------------
1469 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1470 # the include files in INCLUDES and setting the cache variable VAR
1472 ac_fn_c_check_header_mongrel ()
1474 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1475 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1477 $as_echo_n "checking for $2... " >&6; }
1478 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1479 $as_echo_n "(cached) " >&6
1482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1483 $as_echo "$ac_res" >&6; }
1485 # Is the header compilable?
1486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1487 $as_echo_n "checking $2 usability... " >&6; }
1488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1489 /* end confdefs.h. */
1493 if ac_fn_c_try_compile "$LINENO"; then :
1494 ac_header_compiler=yes
1496 ac_header_compiler=no
1498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1500 $as_echo "$ac_header_compiler" >&6; }
1502 # Is the header present?
1503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1504 $as_echo_n "checking $2 presence... " >&6; }
1505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1506 /* end confdefs.h. */
1509 if ac_fn_c_try_cpp "$LINENO"; then :
1510 ac_header_preproc=yes
1512 ac_header_preproc=no
1514 rm -f conftest.err conftest.$ac_ext
1515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1516 $as_echo "$ac_header_preproc" >&6; }
1518 # So? What about this header?
1519 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1522 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1524 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1528 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1530 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1532 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1534 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1536 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1540 $as_echo_n "checking for $2... " >&6; }
1541 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1542 $as_echo_n "(cached) " >&6
1544 eval "$3=\$ac_header_compiler"
1547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1548 $as_echo "$ac_res" >&6; }
1550 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1552 } # ac_fn_c_check_header_mongrel
1554 # ac_fn_c_try_run LINENO
1555 # ----------------------
1556 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1557 # that executables *can* be run.
1560 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1561 if { { ac_try="$ac_link"
1563 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1564 *) ac_try_echo
=$ac_try;;
1566 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1567 $as_echo "$ac_try_echo"; } >&5
1568 (eval "$ac_link") 2>&5
1570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1571 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1572 { { case "(($ac_try" in
1573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1574 *) ac_try_echo=$ac_try;;
1576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577 $as_echo "$ac_try_echo"; } >&5
1578 (eval "$ac_try") 2>&5
1580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1581 test $ac_status = 0; }; }; then :
1584 $as_echo "$as_me: program exited with status $ac_status" >&5
1585 $as_echo "$as_me: failed program was:" >&5
1586 sed 's/^/| /' conftest.$ac_ext >&5
1588 ac_retval=$ac_status
1590 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1591 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1596 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1597 # -------------------------------------------------------
1598 # Tests whether HEADER exists and can be compiled using the include files in
1599 # INCLUDES, setting the cache variable VAR accordingly.
1600 ac_fn_c_check_header_compile ()
1602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1604 $as_echo_n "checking for $2... " >&6; }
1605 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1606 $as_echo_n "(cached) " >&6
1608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1609 /* end confdefs.h. */
1613 if ac_fn_c_try_compile "$LINENO"; then :
1618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1622 $as_echo "$ac_res" >&6; }
1623 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1625 } # ac_fn_c_check_header_compile
1626 cat >config.log <<_ACEOF
1627 This file contains any messages produced by compilers while
1628 running configure, to aid debugging if configure makes a mistake.
1630 It was created by $as_me, which was
1631 generated by GNU Autoconf 2.64. Invocation command line was
1643 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1644 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1645 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1646 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1647 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1649 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1650 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1652 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1653 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1654 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1655 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1656 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1657 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1658 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1666 test -z "$as_dir" && as_dir=.
1667 $as_echo "PATH: $as_dir"
1683 # Keep a trace of the command line.
1684 # Strip out --no-create and --no-recursion so they do not pile up.
1685 # Strip out --silent because we don't want to record it for future runs.
1686 # Also quote any args containing shell meta-characters.
1687 # Make two passes to allow for proper duplicate-argument suppression.
1691 ac_must_keep_next=false
1697 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1698 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1699 | -silent | --silent | --silen | --sile | --sil)
1702 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1705 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1707 as_fn_append ac_configure_args1 " '$ac_arg'"
1708 if test $ac_must_keep_next = true; then
1709 ac_must_keep_next=false # Got value, back to normal.
1712 *=* | --config-cache | -C | -disable-* | --disable-* \
1713 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1714 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1715 | -with-* | --with-* | -without-* | --without-* | --x)
1716 case "$ac_configure_args0 " in
1717 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1720 -* ) ac_must_keep_next=true ;;
1723 as_fn_append ac_configure_args " '$ac_arg'"
1728 { ac_configure_args0=; unset ac_configure_args0;}
1729 { ac_configure_args1=; unset ac_configure_args1;}
1731 # When interrupted or exit'd, cleanup temporary files, and complete
1732 # config.log. We remove comments because anyway the quotes in there
1733 # would cause problems or look ugly.
1734 # WARNING: Use '\'' to represent an apostrophe within the trap.
1735 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1736 trap 'exit_status=$?
1737 # Save into config.log some information that might help in debugging.
1742 ## ---------------- ##
1743 ## Cache variables. ##
1744 ## ---------------- ##
1747 # The following way of writing the cache mishandles newlines in values,
1749 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1750 eval ac_val=\$$ac_var
1754 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1755 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1758 _ | IFS | as_nl) ;; #(
1759 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1760 *) { eval $ac_var=; unset $ac_var;} ;;
1765 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1766 *${as_nl}ac_space=\ *)
1768 "s/'\''/'\''\\\\'\'''\''/g;
1769 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1772 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1780 ## ----------------- ##
1781 ## Output variables. ##
1782 ## ----------------- ##
1785 for ac_var in $ac_subst_vars
1787 eval ac_val=\$$ac_var
1789 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1791 $as_echo "$ac_var='\''$ac_val'\''"
1795 if test -n "$ac_subst_files"; then
1797 ## ------------------- ##
1798 ## File substitutions. ##
1799 ## ------------------- ##
1802 for ac_var in $ac_subst_files
1804 eval ac_val=\$$ac_var
1806 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1808 $as_echo "$ac_var='\''$ac_val'\''"
1813 if test -s confdefs.h; then
1823 test "$ac_signal" != 0 &&
1824 $as_echo "$as_me: caught signal $ac_signal"
1825 $as_echo "$as_me: exit $exit_status"
1827 rm -f core *.core core.conftest.* &&
1828 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1831 for ac_signal in 1 2 13 15; do
1832 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1836 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1837 rm -f -r conftest* confdefs.h
1839 $as_echo "/* confdefs.h */" > confdefs.h
1841 # Predefined preprocessor variables.
1843 cat >>confdefs.h <<_ACEOF
1844 #define PACKAGE_NAME "$PACKAGE_NAME"
1847 cat >>confdefs.h <<_ACEOF
1848 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1851 cat >>confdefs.h <<_ACEOF
1852 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1855 cat >>confdefs.h <<_ACEOF
1856 #define PACKAGE_STRING "$PACKAGE_STRING"
1859 cat >>confdefs.h <<_ACEOF
1860 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1863 cat >>confdefs.h <<_ACEOF
1864 #define PACKAGE_URL "$PACKAGE_URL"
1868 # Let the site file select an alternate cache file if it wants to.
1869 # Prefer an explicitly selected file to automatically selected ones.
1872 if test -n "$CONFIG_SITE"; then
1873 ac_site_file1=$CONFIG_SITE
1874 elif test "x$prefix" != xNONE; then
1875 ac_site_file1=$prefix/share/config.site
1876 ac_site_file2=$prefix/etc/config.site
1878 ac_site_file1=$ac_default_prefix/share/config.site
1879 ac_site_file2=$ac_default_prefix/etc/config.site
1881 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1883 test "x$ac_site_file" = xNONE && continue
1884 if test -r "$ac_site_file"; then
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1886 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1887 sed 's/^/| /' "$ac_site_file" >&5
1892 if test -r "$cache_file"; then
1893 # Some versions of bash will fail to source /dev/null (special
1894 # files actually), so we avoid doing that.
1895 if test -f "$cache_file"; then
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1897 $as_echo "$as_me: loading cache $cache_file" >&6;}
1899 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1900 *) . "./$cache_file";;
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1905 $as_echo "$as_me: creating cache $cache_file" >&6;}
1909 # Check that the precious variables saved in the cache have kept the same
1911 ac_cache_corrupted=false
1912 for ac_var in $ac_precious_vars; do
1913 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1914 eval ac_new_set=\$ac_env_${ac_var}_set
1915 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1916 eval ac_new_val=\$ac_env_${ac_var}_value
1917 case $ac_old_set,$ac_new_set in
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1920 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1921 ac_cache_corrupted=: ;;
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1924 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1925 ac_cache_corrupted=: ;;
1928 if test "x$ac_old_val" != "x$ac_new_val"; then
1929 # differences in whitespace do not lead to failure.
1930 ac_old_val_w=`echo x
$ac_old_val`
1931 ac_new_val_w=`echo x
$ac_new_val`
1932 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1934 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1935 ac_cache_corrupted=:
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1938 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1939 eval $ac_var=\$ac_old_val
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1942 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1944 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1947 # Pass precious variables to config.status.
1948 if test "$ac_new_set" = set; then
1950 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1951 *) ac_arg=$ac_var=$ac_new_val ;;
1953 case " $ac_configure_args " in
1954 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1955 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1959 if $ac_cache_corrupted; then
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
1961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1963 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1964 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
1966 ## -------------------- ##
1967 ## Main body of script. ##
1968 ## -------------------- ##
1971 ac_cpp='$CPP $CPPFLAGS'
1972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1982 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1983 for ac_t in install-sh install.sh shtool; do
1984 if test -f "$ac_dir/$ac_t"; then
1986 ac_install_sh="$ac_aux_dir/$ac_t -c"
1991 if test -z "$ac_aux_dir"; then
1992 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1995 # These three variables are undocumented and unsupported,
1996 # and are intended to be withdrawn in a future Autoconf release.
1997 # They can cause serious problems if a builder's source tree is in a directory
1998 # whose full name contains unusual characters.
1999 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2000 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2001 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2004 # Make sure we can run config.sub.
2005 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2006 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2009 $as_echo_n "checking build system type... " >&6; }
2010 if test "${ac_cv_build+set}" = set; then :
2011 $as_echo_n "(cached) " >&6
2013 ac_build_alias=$build_alias
2014 test "x$ac_build_alias" = x &&
2015 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2016 test "x$ac_build_alias" = x &&
2017 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2018 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2019 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2023 $as_echo "$ac_cv_build" >&6; }
2024 case $ac_cv_build in
2026 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2029 ac_save_IFS=$IFS; IFS='-'
2035 # Remember, the first character of IFS is used to create $*,
2036 # except with old shells:
2039 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2043 $as_echo_n "checking host system type... " >&6; }
2044 if test "${ac_cv_host+set}" = set; then :
2045 $as_echo_n "(cached) " >&6
2047 if test "x$host_alias" = x; then
2048 ac_cv_host=$ac_cv_build
2050 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2051 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2056 $as_echo "$ac_cv_host" >&6; }
2059 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2062 ac_save_IFS=$IFS; IFS='-'
2068 # Remember, the first character of IFS is used to create $*,
2069 # except with old shells:
2072 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2076 $as_echo_n "checking target system type... " >&6; }
2077 if test "${ac_cv_target+set}" = set; then :
2078 $as_echo_n "(cached) " >&6
2080 if test "x$target_alias" = x; then
2081 ac_cv_target=$ac_cv_host
2083 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2084 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2089 $as_echo "$ac_cv_target" >&6; }
2090 case $ac_cv_target in
2092 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2094 target=$ac_cv_target
2095 ac_save_IFS=$IFS; IFS='-'
2101 # Remember, the first character of IFS is used to create $*,
2102 # except with old shells:
2105 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2108 # The aliases save the names the user supplied, while $host etc.
2109 # will get canonicalized.
2110 test -n "$target_alias" &&
2111 test "$program_prefix$program_suffix$program_transform_name" = \
2113 program_prefix=${target_alias}-
2115 case ${build_alias} in
2116 "") build_noncanonical=${build} ;;
2117 *) build_noncanonical=${build_alias} ;;
2120 case ${host_alias} in
2121 "") host_noncanonical=${build_noncanonical} ;;
2122 *) host_noncanonical=${host_alias} ;;
2125 case ${target_alias} in
2126 "") target_noncanonical=${host_noncanonical} ;;
2127 *) target_noncanonical=${target_alias} ;;
2133 # Check for the 'make' the user wants to use.
2136 # Extract the first word of "$ac_prog", so it can be a program name with args.
2137 set dummy $ac_prog; ac_word=$2
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2139 $as_echo_n "checking for $ac_word... " >&6; }
2140 if test "${ac_cv_prog_MAKE+set}" = set; then :
2141 $as_echo_n "(cached) " >&6
2143 if test -n "$MAKE"; then
2144 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
2146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2150 test -z "$as_dir" && as_dir=.
2151 for ac_exec_ext in '' $ac_executable_extensions; do
2152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2153 ac_cv_prog_MAKE="$ac_prog"
2154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2163 MAKE=$ac_cv_prog_MAKE
2164 if test -n "$MAKE"; then
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
2166 $as_echo "$MAKE" >&6; }
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2169 $as_echo "no" >&6; }
2173 test -n "$MAKE" && break
2177 case "`$MAKE --version 2>&1 |
sed 1q
`" in
2184 if test "$MAKE_IS_GNU" = yes; then
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2193 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2195 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2196 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2197 $as_echo_n "(cached) " >&6
2199 cat >conftest.make <<\_ACEOF
2202 @echo '@@@%%%=$(MAKE)=@@@%%%'
2204 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2205 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
2207 eval ac_cv_prog_make_${ac_make}_set=yes;;
2209 eval ac_cv_prog_make_${ac_make}_set=no;;
2213 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2215 $as_echo "yes" >&6; }
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2219 $as_echo "no" >&6; }
2220 SET_MAKE="MAKE=${MAKE-make}"
2225 # Check whether --enable-gdbtk was given.
2226 if test "${enable_gdbtk+set}" = set; then :
2227 enableval=$enable_gdbtk;
2229 if test -d $srcdir/../gdbtk && test -d $srcdir/gdb.gdbtk; then
2236 # We unconditionally disable gdbtk tests on selected platforms.
2242 # Add gdbtk tests when appropriate.
2243 if test $enable_gdbtk = yes; then
2246 subdirs="$subdirs gdb.gdbtk"
2250 # Enable shared libraries.
2251 # Check whether --enable-shared was given.
2252 if test "${enable_shared+set}" = set; then :
2253 enableval=$enable_shared;
2259 # If we have shared libraries, try to set RPATH_ENVVAR reasonably,
2260 # such that we can find the shared libraries in the build tree.
2261 if test $enable_shared = no; then
2262 # The variable `RPATH_ENVVAR
' itself is not likely to be used on any
2264 RPATH_ENVVAR=RPATH_ENVVAR
2266 # The variable `LD_LIBRARY_PATH' is used on most platforms.
2267 RPATH_ENVVAR
=LD_LIBRARY_PATH
2268 # The following exceptions are taken from Libtool 1.4.3.
2271 if test $host_cpu != ia64
; then
2272 RPATH_ENVVAR
=LIBPATH
2274 darwin
* | rhapsody
*)
2275 RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
2281 ac_cpp
='$CPP $CPPFLAGS'
2282 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2283 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2284 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2285 if test -n "$ac_tool_prefix"; then
2286 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2287 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2289 $as_echo_n "checking for $ac_word... " >&6; }
2290 if test "${ac_cv_prog_CC+set}" = set; then :
2291 $as_echo_n "(cached) " >&6
2293 if test -n "$CC"; then
2294 ac_cv_prog_CC
="$CC" # Let the user override the test.
2296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2300 test -z "$as_dir" && as_dir
=.
2301 for ac_exec_ext
in '' $ac_executable_extensions; do
2302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2303 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2314 if test -n "$CC"; then
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2316 $as_echo "$CC" >&6; }
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2319 $as_echo "no" >&6; }
2324 if test -z "$ac_cv_prog_CC"; then
2326 # Extract the first word of "gcc", so it can be a program name with args.
2327 set dummy gcc
; ac_word
=$2
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2329 $as_echo_n "checking for $ac_word... " >&6; }
2330 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2331 $as_echo_n "(cached) " >&6
2333 if test -n "$ac_ct_CC"; then
2334 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2340 test -z "$as_dir" && as_dir
=.
2341 for ac_exec_ext
in '' $ac_executable_extensions; do
2342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2343 ac_cv_prog_ac_ct_CC
="gcc"
2344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2353 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2354 if test -n "$ac_ct_CC"; then
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2356 $as_echo "$ac_ct_CC" >&6; }
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2359 $as_echo "no" >&6; }
2362 if test "x$ac_ct_CC" = x
; then
2365 case $cross_compiling:$ac_tool_warned in
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2368 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2369 ac_tool_warned
=yes ;;
2377 if test -z "$CC"; then
2378 if test -n "$ac_tool_prefix"; then
2379 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2380 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2382 $as_echo_n "checking for $ac_word... " >&6; }
2383 if test "${ac_cv_prog_CC+set}" = set; then :
2384 $as_echo_n "(cached) " >&6
2386 if test -n "$CC"; then
2387 ac_cv_prog_CC
="$CC" # Let the user override the test.
2389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2393 test -z "$as_dir" && as_dir
=.
2394 for ac_exec_ext
in '' $ac_executable_extensions; do
2395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2396 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2407 if test -n "$CC"; then
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2409 $as_echo "$CC" >&6; }
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2412 $as_echo "no" >&6; }
2418 if test -z "$CC"; then
2419 # Extract the first word of "cc", so it can be a program name with args.
2420 set dummy cc
; ac_word
=$2
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2422 $as_echo_n "checking for $ac_word... " >&6; }
2423 if test "${ac_cv_prog_CC+set}" = set; then :
2424 $as_echo_n "(cached) " >&6
2426 if test -n "$CC"; then
2427 ac_cv_prog_CC
="$CC" # Let the user override the test.
2430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2434 test -z "$as_dir" && as_dir
=.
2435 for ac_exec_ext
in '' $ac_executable_extensions; do
2436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2437 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2438 ac_prog_rejected
=yes
2442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2449 if test $ac_prog_rejected = yes; then
2450 # We found a bogon in the path, so make sure we never use it.
2451 set dummy
$ac_cv_prog_CC
2453 if test $# != 0; then
2454 # We chose a different compiler from the bogus one.
2455 # However, it has the same basename, so the bogon will be chosen
2456 # first if we set CC to just the basename; use the full file name.
2458 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2464 if test -n "$CC"; then
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2466 $as_echo "$CC" >&6; }
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2469 $as_echo "no" >&6; }
2474 if test -z "$CC"; then
2475 if test -n "$ac_tool_prefix"; then
2476 for ac_prog
in cl.exe
2478 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2479 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2481 $as_echo_n "checking for $ac_word... " >&6; }
2482 if test "${ac_cv_prog_CC+set}" = set; then :
2483 $as_echo_n "(cached) " >&6
2485 if test -n "$CC"; then
2486 ac_cv_prog_CC
="$CC" # Let the user override the test.
2488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2492 test -z "$as_dir" && as_dir
=.
2493 for ac_exec_ext
in '' $ac_executable_extensions; do
2494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2495 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2506 if test -n "$CC"; then
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2508 $as_echo "$CC" >&6; }
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2511 $as_echo "no" >&6; }
2515 test -n "$CC" && break
2518 if test -z "$CC"; then
2520 for ac_prog
in cl.exe
2522 # Extract the first word of "$ac_prog", so it can be a program name with args.
2523 set dummy
$ac_prog; ac_word
=$2
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2525 $as_echo_n "checking for $ac_word... " >&6; }
2526 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2527 $as_echo_n "(cached) " >&6
2529 if test -n "$ac_ct_CC"; then
2530 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2536 test -z "$as_dir" && as_dir
=.
2537 for ac_exec_ext
in '' $ac_executable_extensions; do
2538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2539 ac_cv_prog_ac_ct_CC
="$ac_prog"
2540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2549 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2550 if test -n "$ac_ct_CC"; then
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2552 $as_echo "$ac_ct_CC" >&6; }
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2555 $as_echo "no" >&6; }
2559 test -n "$ac_ct_CC" && break
2562 if test "x$ac_ct_CC" = x
; then
2565 case $cross_compiling:$ac_tool_warned in
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2569 ac_tool_warned
=yes ;;
2578 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2580 as_fn_error
"no acceptable C compiler found in \$PATH
2581 See \`config.log' for more details." "$LINENO" 5; }
2583 # Provide some information about the compiler.
2584 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2587 for ac_option
in --version -v -V -qversion; do
2588 { { ac_try
="$ac_compiler $ac_option >&5"
2590 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2591 *) ac_try_echo=$ac_try;;
2593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2594 $as_echo "$ac_try_echo"; } >&5
2595 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2597 if test -s conftest.err; then
2599 ... rest of stderr output deleted ...
2600 10q' conftest.err >conftest.er1
2601 cat conftest.er1 >&5
2602 rm -f conftest.er1 conftest.err
2604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2605 test $ac_status = 0; }
2608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2609 /* end confdefs.h. */
2619 ac_clean_files_save=$ac_clean_files
2620 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2621 # Try to create an executable without -o first, disregard a.out.
2622 # It will help us diagnose broken compilers, and finding out an intuition
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2625 $as_echo_n "checking for C compiler default output file name... " >&6; }
2626 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2628 # The possible output files:
2629 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2632 for ac_file in $ac_files
2635 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2636 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2641 if { { ac_try="$ac_link_default"
2643 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2644 *) ac_try_echo
=$ac_try;;
2646 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2647 $as_echo "$ac_try_echo"; } >&5
2648 (eval "$ac_link_default") 2>&5
2650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2651 test $ac_status = 0; }; then :
2652 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2653 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2654 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2655 # so that the user can short-circuit this test for compilers unknown to
2657 for ac_file
in $ac_files ''
2659 test -f "$ac_file" ||
continue
2661 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2664 # We found the default executable, but exeext='' is most
2668 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2670 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2672 # We set ac_cv_exeext here because the later test for it is not
2673 # safe: cross compilers may not add the suffix if given an `-o'
2674 # argument, so we may need to know it at that point already.
2675 # Even if this section looks crufty: it has the advantage of
2682 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2688 $as_echo "$ac_file" >&6; }
2689 if test -z "$ac_file"; then :
2690 $as_echo "$as_me: failed program was:" >&5
2691 sed 's/^/| /' conftest.
$ac_ext >&5
2693 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2695 { as_fn_set_status
77
2696 as_fn_error
"C compiler cannot create executables
2697 See \`config.log' for more details." "$LINENO" 5; }; }
2699 ac_exeext
=$ac_cv_exeext
2701 # Check that the compiler produces executables we can run. If not, either
2702 # the compiler is broken, or we cross compile.
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2704 $as_echo_n "checking whether the C compiler works... " >&6; }
2705 # If not cross compiling, check that we can run a simple program.
2706 if test "$cross_compiling" != yes; then
2707 if { ac_try
='./$ac_file'
2708 { { case "(($ac_try" in
2709 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2710 *) ac_try_echo=$ac_try;;
2712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2713 $as_echo "$ac_try_echo"; } >&5
2714 (eval "$ac_try") 2>&5
2716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2717 test $ac_status = 0; }; }; then
2720 if test "$cross_compiling" = maybe; then
2723 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2725 as_fn_error "cannot run C compiled programs.
2726 If you meant to cross compile
, use \
`--host'.
2727 See \`config.log
' for more details." "$LINENO" 5; }
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2732 $as_echo "yes" >&6; }
2734 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2735 ac_clean_files=$ac_clean_files_save
2736 # Check that the compiler produces executables we can run. If not, either
2737 # the compiler is broken, or we cross compile.
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2739 $as_echo_n "checking whether we are cross compiling... " >&6; }
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2741 $as_echo "$cross_compiling" >&6; }
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2744 $as_echo_n "checking for suffix of executables... " >&6; }
2745 if { { ac_try="$ac_link"
2747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2748 *) ac_try_echo=$ac_try;;
2750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2751 $as_echo "$ac_try_echo"; } >&5
2752 (eval "$ac_link") 2>&5
2754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2755 test $ac_status = 0; }; then :
2756 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2757 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2758 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2760 for ac_file
in conftest.exe conftest conftest.
*; do
2761 test -f "$ac_file" ||
continue
2763 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2764 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2770 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2771 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2772 as_fn_error
"cannot compute suffix of executables: cannot compile and link
2773 See \`config.log' for more details." "$LINENO" 5; }
2775 rm -f conftest
$ac_cv_exeext
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2777 $as_echo "$ac_cv_exeext" >&6; }
2779 rm -f conftest.
$ac_ext
2780 EXEEXT
=$ac_cv_exeext
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2783 $as_echo_n "checking for suffix of object files... " >&6; }
2784 if test "${ac_cv_objext+set}" = set; then :
2785 $as_echo_n "(cached) " >&6
2787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2788 /* end confdefs.h. */
2798 rm -f conftest.o conftest.obj
2799 if { { ac_try
="$ac_compile"
2801 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2802 *) ac_try_echo=$ac_try;;
2804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2805 $as_echo "$ac_try_echo"; } >&5
2806 (eval "$ac_compile") 2>&5
2808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2809 test $ac_status = 0; }; then :
2810 for ac_file in conftest.o conftest.obj conftest.*; do
2811 test -f "$ac_file" || continue;
2813 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2814 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2819 $as_echo "$as_me: failed program was:" >&5
2820 sed 's/^/| /' conftest.$ac_ext >&5
2822 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2823 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2824 as_fn_error "cannot compute suffix of object files
: cannot compile
2825 See \
`config.log' for more details." "$LINENO" 5; }
2827 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2830 $as_echo "$ac_cv_objext" >&6; }
2831 OBJEXT=$ac_cv_objext
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2834 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2835 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2836 $as_echo_n "(cached) " >&6
2838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2839 /* end confdefs.h. */
2852 if ac_fn_c_try_compile "$LINENO"; then :
2857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2858 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2862 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2863 if test $ac_compiler_gnu = yes; then
2868 ac_test_CFLAGS=${CFLAGS+set}
2869 ac_save_CFLAGS=$CFLAGS
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2871 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2872 if test "${ac_cv_prog_cc_g+set}" = set; then :
2873 $as_echo_n "(cached) " >&6
2875 ac_save_c_werror_flag=$ac_c_werror_flag
2876 ac_c_werror_flag=yes
2879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2880 /* end confdefs.h. */
2890 if ac_fn_c_try_compile "$LINENO"; then :
2894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2895 /* end confdefs.h. */
2905 if ac_fn_c_try_compile "$LINENO"; then :
2908 ac_c_werror_flag=$ac_save_c_werror_flag
2910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2911 /* end confdefs.h. */
2921 if ac_fn_c_try_compile "$LINENO"; then :
2924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2929 ac_c_werror_flag=$ac_save_c_werror_flag
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2932 $as_echo "$ac_cv_prog_cc_g" >&6; }
2933 if test "$ac_test_CFLAGS" = set; then
2934 CFLAGS=$ac_save_CFLAGS
2935 elif test $ac_cv_prog_cc_g = yes; then
2936 if test "$GCC" = yes; then
2942 if test "$GCC" = yes; then
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2949 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2950 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2951 $as_echo_n "(cached) " >&6
2953 ac_cv_prog_cc_c89=no
2955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2956 /* end confdefs.h. */
2959 #include <sys/types.h>
2960 #include <sys/stat.h>
2961 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2962 struct buf { int x; };
2963 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2964 static char *e (p, i)
2970 static char *f (char * (*g) (char **, int), char **p, ...)
2975 s = g (p, va_arg (v,int));
2980 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2981 function prototypes and stuff, but not '\xHH' hex character constants.
2982 These don't provoke an error unfortunately, instead are silently treated
2983 as 'x'. The following induces an error, until -std is added to get
2984 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2985 array size at least. It's necessary to write '\x00'==0 to get something
2986 that's true only with -std. */
2987 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2989 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2990 inside strings and character constants. */
2992 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2994 int test (int i, double x);
2995 struct s1 {int (*f) (int a);};
2996 struct s2 {int (*f) (double a);};
2997 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3003 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3008 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3009 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3011 CC="$ac_save_CC $ac_arg"
3012 if ac_fn_c_try_compile "$LINENO"; then :
3013 ac_cv_prog_cc_c89=$ac_arg
3015 rm -f core conftest.err conftest.$ac_objext
3016 test "x$ac_cv_prog_cc_c89" != "xno" && break
3018 rm -f conftest.$ac_ext
3023 case "x$ac_cv_prog_cc_c89" in
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3026 $as_echo "none needed" >&6; } ;;
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3029 $as_echo "unsupported" >&6; } ;;
3031 CC="$CC $ac_cv_prog_cc_c89"
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3033 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3035 if test "x$ac_cv_prog_cc_c89" != xno; then :
3040 ac_cpp='$CPP $CPPFLAGS'
3041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3047 ac_cpp='$CPP $CPPFLAGS'
3048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3052 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3053 # On Suns, sometimes $CPP names a directory.
3054 if test -n "$CPP" && test -d "$CPP"; then
3057 if test -z "$CPP"; then
3058 if test "${ac_cv_prog_CPP+set}" = set; then :
3059 $as_echo_n "(cached) " >&6
3061 # Double quotes because CPP needs to be expanded
3062 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3065 for ac_c_preproc_warn_flag in '' yes
3067 # Use a header file that comes with gcc, so configuring glibc
3068 # with a fresh cross-compiler works.
3069 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3070 # <limits.h> exists even on freestanding compilers.
3071 # On the NeXT, cc -E runs the code through the compiler's parser,
3072 # not just through cpp. "Syntax error" is here to catch this case.
3073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3074 /* end confdefs.h. */
3076 # include <limits.h>
3078 # include <assert.h>
3082 if ac_fn_c_try_cpp "$LINENO"; then :
3085 # Broken: fails on valid input.
3088 rm -f conftest.err conftest.$ac_ext
3090 # OK, works on sane cases. Now check whether nonexistent headers
3091 # can be detected and how.
3092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3093 /* end confdefs.h. */
3094 #include <ac_nonexistent.h>
3096 if ac_fn_c_try_cpp "$LINENO"; then :
3097 # Broken: success on invalid input.
3100 # Passes both tests.
3104 rm -f conftest.err conftest.$ac_ext
3107 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3108 rm -f conftest.err conftest.
$ac_ext
3109 if $ac_preproc_ok; then :
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3122 $as_echo "$CPP" >&6; }
3124 for ac_c_preproc_warn_flag
in '' yes
3126 # Use a header file that comes with gcc, so configuring glibc
3127 # with a fresh cross-compiler works.
3128 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3129 # <limits.h> exists even on freestanding compilers.
3130 # On the NeXT, cc -E runs the code through the compiler's parser,
3131 # not just through cpp. "Syntax error" is here to catch this case.
3132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3133 /* end confdefs.h. */
3135 # include <limits.h>
3137 # include <assert.h>
3141 if ac_fn_c_try_cpp
"$LINENO"; then :
3144 # Broken: fails on valid input.
3147 rm -f conftest.err conftest.
$ac_ext
3149 # OK, works on sane cases. Now check whether nonexistent headers
3150 # can be detected and how.
3151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3152 /* end confdefs.h. */
3153 #include <ac_nonexistent.h>
3155 if ac_fn_c_try_cpp
"$LINENO"; then :
3156 # Broken: success on invalid input.
3159 # Passes both tests.
3163 rm -f conftest.err conftest.
$ac_ext
3166 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3167 rm -f conftest.err conftest.
$ac_ext
3168 if $ac_preproc_ok; then :
3171 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3173 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3174 See \`config.log' for more details." "$LINENO" 5; }
3178 ac_cpp
='$CPP $CPPFLAGS'
3179 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3180 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3181 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3185 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3186 if test "${ac_cv_path_GREP+set}" = set; then :
3187 $as_echo_n "(cached) " >&6
3189 if test -z "$GREP"; then
3190 ac_path_GREP_found
=false
3191 # Loop through the user's path and test for each of PROGNAME-LIST
3192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3193 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3196 test -z "$as_dir" && as_dir
=.
3197 for ac_prog
in grep ggrep
; do
3198 for ac_exec_ext
in '' $ac_executable_extensions; do
3199 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3200 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3201 # Check for GNU ac_path_GREP and select it if it is found.
3202 # Check for GNU $ac_path_GREP
3203 case `"$ac_path_GREP" --version 2>&1` in
3205 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3208 $as_echo_n 0123456789 >"conftest.in"
3211 cat "conftest.in" "conftest.in" >"conftest.tmp"
3212 mv "conftest.tmp" "conftest.in"
3213 cp "conftest.in" "conftest.nl"
3214 $as_echo 'GREP' >> "conftest.nl"
3215 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3216 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3217 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3218 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3219 # Best one so far, save it but keep looking for a better one
3220 ac_cv_path_GREP
="$ac_path_GREP"
3221 ac_path_GREP_max
=$ac_count
3223 # 10*(2^10) chars as input seems more than enough
3224 test $ac_count -gt 10 && break
3226 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3229 $ac_path_GREP_found && break 3
3234 if test -z "$ac_cv_path_GREP"; then
3235 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3238 ac_cv_path_GREP
=$GREP
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3243 $as_echo "$ac_cv_path_GREP" >&6; }
3244 GREP
="$ac_cv_path_GREP"
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3248 $as_echo_n "checking for egrep... " >&6; }
3249 if test "${ac_cv_path_EGREP+set}" = set; then :
3250 $as_echo_n "(cached) " >&6
3252 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3253 then ac_cv_path_EGREP
="$GREP -E"
3255 if test -z "$EGREP"; then
3256 ac_path_EGREP_found
=false
3257 # Loop through the user's path and test for each of PROGNAME-LIST
3258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3259 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3262 test -z "$as_dir" && as_dir
=.
3263 for ac_prog
in egrep; do
3264 for ac_exec_ext
in '' $ac_executable_extensions; do
3265 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3266 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3267 # Check for GNU ac_path_EGREP and select it if it is found.
3268 # Check for GNU $ac_path_EGREP
3269 case `"$ac_path_EGREP" --version 2>&1` in
3271 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3274 $as_echo_n 0123456789 >"conftest.in"
3277 cat "conftest.in" "conftest.in" >"conftest.tmp"
3278 mv "conftest.tmp" "conftest.in"
3279 cp "conftest.in" "conftest.nl"
3280 $as_echo 'EGREP' >> "conftest.nl"
3281 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3282 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3283 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3284 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3285 # Best one so far, save it but keep looking for a better one
3286 ac_cv_path_EGREP
="$ac_path_EGREP"
3287 ac_path_EGREP_max
=$ac_count
3289 # 10*(2^10) chars as input seems more than enough
3290 test $ac_count -gt 10 && break
3292 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3295 $ac_path_EGREP_found && break 3
3300 if test -z "$ac_cv_path_EGREP"; then
3301 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3304 ac_cv_path_EGREP
=$EGREP
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3310 $as_echo "$ac_cv_path_EGREP" >&6; }
3311 EGREP
="$ac_cv_path_EGREP"
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3315 $as_echo_n "checking for ANSI C header files... " >&6; }
3316 if test "${ac_cv_header_stdc+set}" = set; then :
3317 $as_echo_n "(cached) " >&6
3319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3320 /* end confdefs.h. */
3334 if ac_fn_c_try_compile
"$LINENO"; then :
3335 ac_cv_header_stdc
=yes
3337 ac_cv_header_stdc
=no
3339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3341 if test $ac_cv_header_stdc = yes; then
3342 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3344 /* end confdefs.h. */
3348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3349 $EGREP "memchr" >/dev
/null
2>&1; then :
3352 ac_cv_header_stdc
=no
3358 if test $ac_cv_header_stdc = yes; then
3359 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3361 /* end confdefs.h. */
3365 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3366 $EGREP "free" >/dev
/null
2>&1; then :
3369 ac_cv_header_stdc
=no
3375 if test $ac_cv_header_stdc = yes; then
3376 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3377 if test "$cross_compiling" = yes; then :
3380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3381 /* end confdefs.h. */
3384 #if ((' ' & 0x0FF) == 0x020)
3385 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3386 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3388 # define ISLOWER(c) \
3389 (('a' <= (c) && (c) <= 'i') \
3390 || ('j' <= (c) && (c) <= 'r') \
3391 || ('s' <= (c) && (c) <= 'z'))
3392 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3395 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3400 for (i = 0; i < 256; i++)
3401 if (XOR (islower (i), ISLOWER (i))
3402 || toupper (i) != TOUPPER (i))
3407 if ac_fn_c_try_run
"$LINENO"; then :
3410 ac_cv_header_stdc
=no
3412 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3413 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3419 $as_echo "$ac_cv_header_stdc" >&6; }
3420 if test $ac_cv_header_stdc = yes; then
3422 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3426 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3427 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3428 inttypes.h stdint.h unistd.h
3430 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3431 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3433 eval as_val
=\$
$as_ac_Header
3434 if test "x$as_val" = x
""yes; then :
3435 cat >>confdefs.h
<<_ACEOF
3436 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3444 for ac_header
in pthread.h
3446 ac_fn_c_check_header_mongrel
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
3447 if test "x$ac_cv_header_pthread_h" = x
""yes; then :
3448 cat >>confdefs.h
<<_ACEOF
3449 #define HAVE_PTHREAD_H 1
3459 if test "${build}" = "${host}" -a "${host}" = "${target}"; then
3468 # Transform the name of some programs and generate the lib/pdtrace
3470 test "$program_prefix" != NONE
&&
3471 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3472 # Use a double $ so make ignores it.
3473 test "$program_suffix" != NONE
&&
3474 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3475 # Double any \ or $.
3476 # By default was `s,x,x', remove it if useless.
3477 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3478 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3481 gdb_ac_transform
=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'`
3482 STRIP_TRANSFORM_NAME
=`echo strip | sed -e "$gdb_ac_transform"`
3483 if test "x$STRIP_TRANSFORM_NAME" = x
; then
3484 STRIP_TRANSFORM_NAME
=strip
3489 gdb_ac_transform
=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'`
3490 READELF_TRANSFORM_NAME
=`echo readelf | sed -e "$gdb_ac_transform"`
3491 if test "x$READELF_TRANSFORM_NAME" = x
; then
3492 READELF_TRANSFORM_NAME
=readelf
3497 gdb_ac_transform
=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'`
3498 GAS_TRANSFORM_NAME
=`echo as | sed -e "$gdb_ac_transform"`
3499 if test "x$GAS_TRANSFORM_NAME" = x
; then
3500 GAS_TRANSFORM_NAME
=as
3505 gdb_ac_transform
=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'`
3506 NM_TRANSFORM_NAME
=`echo nm | sed -e "$gdb_ac_transform"`
3507 if test "x$NM_TRANSFORM_NAME" = x
; then
3508 NM_TRANSFORM_NAME
=nm
3512 ac_config_files
="$ac_config_files lib/pdtrace"
3514 ac_config_files
="$ac_config_files Makefile"
3517 cat >confcache
<<\_ACEOF
3518 # This file is a shell script that caches the results of configure
3519 # tests run on this system so they can be shared between configure
3520 # scripts and configure runs, see configure's option --config-cache.
3521 # It is not useful on other systems. If it contains results you don't
3522 # want to keep, you may remove or edit it.
3524 # config.status only pays attention to the cache file if you give it
3525 # the --recheck option to rerun configure.
3527 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3528 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3533 # The following way of writing the cache mishandles newlines in values,
3534 # but we know of no workaround that is simple, portable, and efficient.
3535 # So, we kill variables containing newlines.
3536 # Ultrix sh set writes to stderr and can't be redirected directly,
3537 # and sets the high bit in the cache file unless we assign to the vars.
3539 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3540 eval ac_val
=\$
$ac_var
3544 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3545 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3548 _ | IFS | as_nl
) ;; #(
3549 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3550 *) { eval $ac_var=; unset $ac_var;} ;;
3556 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3557 *${as_nl}ac_space
=\
*)
3558 # `set' does not quote correctly, so add quotes: double-quote
3559 # substitution turns \\\\ into \\, and sed turns \\ into \.
3562 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3565 # `set' quotes correctly as required by POSIX, so do not add quotes.
3566 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3575 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3577 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3579 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3580 if test -w "$cache_file"; then
3581 test "x$cache_file" != "x/dev/null" &&
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3583 $as_echo "$as_me: updating cache $cache_file" >&6;}
3584 cat confcache
>$cache_file
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3587 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3592 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3593 # Let make expand exec_prefix.
3594 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3596 # Transform confdefs.h into DEFS.
3597 # Protect against shell expansion while executing Makefile rules.
3598 # Protect against Makefile macro expansion.
3600 # If the first sed substitution is executed (which looks for macros that
3601 # take arguments), then branch to the quote section. Otherwise,
3602 # look for a macro that doesn't take arguments.
3612 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3614 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3618 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3631 DEFS
=`sed -n "$ac_script" confdefs.h`
3636 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3637 # 1. Remove the extension, and $U if already installed.
3638 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3639 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3640 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3641 # will be set to the directory where LIBOBJS objects are built.
3642 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3643 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
3647 LTLIBOBJS
=$ac_ltlibobjs
3650 if test -z "${GMAKE_TRUE}" && test -z "${GMAKE_FALSE}"; then
3651 as_fn_error
"conditional \"GMAKE\" was never defined.
3652 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3655 : ${CONFIG_STATUS=./config.status}
3657 ac_clean_files_save
=$ac_clean_files
3658 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3660 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3662 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3664 # Generated by $as_me.
3665 # Run this file to recreate the current configuration.
3666 # Compiler output produced by configure, useful for debugging
3667 # configure, is in config.log if it exists.
3673 SHELL=\${CONFIG_SHELL-$SHELL}
3676 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
3677 ## -------------------- ##
3678 ## M4sh Initialization. ##
3679 ## -------------------- ##
3681 # Be more Bourne compatible
3682 DUALCASE
=1; export DUALCASE
# for MKS sh
3683 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
3686 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3687 # is contrary to our usage. Disable this feature.
3688 alias -g '${1+"$@"}'='"$@"'
3689 setopt NO_GLOB_SUBST
3691 case `(set -o) 2>/dev/null` in #(
3703 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3704 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3705 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3706 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3707 # Prefer a ksh shell builtin over an external printf program on Solaris,
3708 # but without wasting forks for bash or zsh.
3709 if test -z "$BASH_VERSION$ZSH_VERSION" \
3710 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3711 as_echo='print
-r --'
3712 as_echo_n='print
-rn --'
3713 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3714 as_echo='printf %s
\n'
3715 as_echo_n='printf %s
'
3717 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3718 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3719 as_echo_n='/usr
/ucb
/echo -n'
3721 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3722 as_echo_n_body='eval
3726 expr "X$arg" : "X\\(.*\\)$as_nl";
3727 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3729 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3731 export as_echo_n_body
3732 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3735 as_echo='sh
-c $as_echo_body as_echo
'
3738 # The user is always right.
3739 if test "${PATH_SEPARATOR+set}" != set; then
3741 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3742 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3749 # We need space, tab and new line, in precisely that order. Quoting is
3750 # there to prevent editors from complaining about space-tab.
3751 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3752 # splitting by setting IFS to empty value.)
3755 # Find who we are. Look in the path if we contain no directory separator.
3757 *[\\/]* ) as_myself=$0 ;;
3758 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3762 test -z "$as_dir" && as_dir=.
3763 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3769 # We did not find ourselves, most probably we were run as `sh COMMAND'
3770 # in which case we are not to be found in the path.
3771 if test "x$as_myself" = x
; then
3774 if test ! -f "$as_myself"; then
3775 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3779 # Unset variables that we do not need and which cause bugs (e.g. in
3780 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3781 # suppresses any "Segmentation fault" message there. '((' could
3782 # trigger a bug in pdksh 5.2.14.
3783 for as_var
in BASH_ENV ENV MAIL MAILPATH
3784 do eval test x\
${$as_var+set} = xset \
3785 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
3798 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
3801 # as_fn_error ERROR [LINENO LOG_FD]
3802 # ---------------------------------
3803 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3804 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3805 # script with status $?, using 1 if that was 0.
3808 as_status
=$?
; test $as_status -eq 0 && as_status
=1
3810 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3811 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3813 $as_echo "$as_me: error: $1" >&2
3814 as_fn_exit
$as_status
3818 # as_fn_set_status STATUS
3819 # -----------------------
3820 # Set $? to STATUS, without forking.
3824 } # as_fn_set_status
3828 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3838 # Portably unset VAR.
3841 { eval $1=; unset $1;}
3843 as_unset
=as_fn_unset
3844 # as_fn_append VAR VALUE
3845 # ----------------------
3846 # Append the text in VALUE to the end of the definition contained in VAR. Take
3847 # advantage of any shell optimizations that allow amortized linear growth over
3848 # repeated appends, instead of the typical quadratic growth present in naive
3850 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
3851 eval 'as_fn_append ()
3862 # as_fn_arith ARG...
3863 # ------------------
3864 # Perform arithmetic evaluation on the ARGs, and store the result in the
3865 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3866 # must be portable across $(()) and expr.
3867 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
3868 eval 'as_fn_arith ()
3875 as_val
=`expr "$@" || test $? -eq 1`
3880 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3881 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3887 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3888 as_basename
=basename
3893 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3899 as_me
=`$as_basename -- "$0" ||
3900 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3901 X"$0" : 'X\(//\)$' \| \
3902 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3904 sed '/^.*\/\([^/][^/]*\)\/*$/{
3918 # Avoid depending upon Character Ranges.
3919 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3920 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3921 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3922 as_cr_digits
='0123456789'
3923 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3925 ECHO_C
= ECHO_N
= ECHO_T
=
3926 case `echo -n x` in #(((((
3928 case `echo 'xy\c'` in
3929 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3931 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
3938 rm -f conf$$ conf$$.exe conf$$.
file
3939 if test -d conf$$.dir
; then
3940 rm -f conf$$.dir
/conf$$.
file
3943 mkdir conf$$.dir
2>/dev
/null
3945 if (echo >conf$$.
file) 2>/dev
/null
; then
3946 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3948 # ... but there are two gotchas:
3949 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3950 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3951 # In both cases, we have to default to `cp -p'.
3952 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3954 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3962 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3963 rmdir conf$$.dir
2>/dev
/null
3968 # Create "$as_dir" as a directory, including parents if necessary.
3973 -*) as_dir
=.
/$as_dir;;
3975 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
3979 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3980 *) as_qdir
=$as_dir;;
3982 as_dirs
="'$as_qdir' $as_dirs"
3983 as_dir
=`$as_dirname -- "$as_dir" ||
3984 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3985 X"$as_dir" : 'X\(//\)[^/]' \| \
3986 X"$as_dir" : 'X\(//\)$' \| \
3987 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3988 $as_echo X"$as_dir" |
3989 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4006 test -d "$as_dir" && break
4008 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4009 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
4013 if mkdir
-p .
2>/dev
/null
; then
4014 as_mkdir_p
='mkdir -p "$as_dir"'
4016 test -d .
/-p && rmdir .
/-p
4020 if test -x / >/dev
/null
2>&1; then
4023 if ls -dL / >/dev
/null
2>&1; then
4030 if test -d "$1"; then
4036 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4037 ???[sx]*):;;*)false;;esac;fi
4041 as_executable_p
=$as_test_x
4043 # Sed expression to map a string onto a valid CPP name.
4044 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4046 # Sed expression to map a string onto a valid variable name.
4047 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4051 ## ----------------------------------- ##
4052 ## Main body of $CONFIG_STATUS script. ##
4053 ## ----------------------------------- ##
4055 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4058 # Save the log message, to keep $0 and so on meaningful, and to
4059 # report actual input values of CONFIG_FILES etc. instead of their
4060 # values after options handling.
4062 This file was extended by $as_me, which was
4063 generated by GNU Autoconf 2.64. Invocation command line was
4065 CONFIG_FILES = $CONFIG_FILES
4066 CONFIG_HEADERS = $CONFIG_HEADERS
4067 CONFIG_LINKS = $CONFIG_LINKS
4068 CONFIG_COMMANDS = $CONFIG_COMMANDS
4071 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4076 case $ac_config_files in *"
4077 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4083 # Files that config.status was made for.
4084 config_files="$ac_config_files"
4088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4090 \`$as_me' instantiates files and other configuration actions
4091 from templates according to the current configuration. Unless the files
4092 and actions are specified as TAGs, all are instantiated by default.
4094 Usage: $0 [OPTION]... [TAG]...
4096 -h, --help print this help, then exit
4097 -V, --version print version number and configuration settings, then exit
4098 -q, --quiet, --silent
4099 do not print progress messages
4100 -d, --debug don't remove temporary files
4101 --recheck update $as_me by reconfiguring in the same conditions
4102 --file=FILE[:TEMPLATE]
4103 instantiate the configuration file FILE
4105 Configuration files:
4108 Report bugs to the package provider."
4111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4114 configured by $0, generated by GNU Autoconf 2.64,
4115 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4117 Copyright (C) 2009 Free Software Foundation, Inc.
4118 This config.status script is free software; the Free Software Foundation
4119 gives unlimited permission to copy, distribute and modify it."
4123 test -n "\$AWK" || AWK=awk
4126 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4127 # The default lists apply if the user does not specify any file.
4133 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4134 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4145 # Handling of the options.
4146 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4148 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4149 $as_echo "$ac_cs_version"; exit ;;
4150 --debug |
--debu |
--deb |
--de |
--d |
-d )
4152 --file |
--fil |
--fi |
--f )
4155 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4157 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4158 ac_need_defaults
=false
;;
4159 --he |
--h |
--help |
--hel |
-h )
4160 $as_echo "$ac_cs_usage"; exit ;;
4161 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4162 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4166 -*) as_fn_error
"unrecognized option: \`$1'
4167 Try \`$0 --help' for more information." ;;
4169 *) as_fn_append ac_config_targets
" $1"
4170 ac_need_defaults
=false
;;
4176 ac_configure_extra_args
=
4178 if $ac_cs_silent; then
4180 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4184 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4185 if \$ac_cs_recheck; then
4186 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4188 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4189 CONFIG_SHELL='$SHELL'
4195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4199 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4200 ## Running $as_me. ##
4206 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4209 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4211 # Handling of arguments.
4212 for ac_config_target
in $ac_config_targets
4214 case $ac_config_target in
4215 "lib/pdtrace") CONFIG_FILES
="$CONFIG_FILES lib/pdtrace" ;;
4216 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4218 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4223 # If the user did not use the arguments to specify the items to instantiate,
4224 # then the envvar interface is used. Set only those that are not.
4225 # We use the long form for the default assignment because of an extremely
4226 # bizarre bug on SunOS 4.1.3.
4227 if $ac_need_defaults; then
4228 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4231 # Have a temporary directory for convenience. Make it in the build tree
4232 # simply because there is no reason against having it here, and in addition,
4233 # creating and moving files from /tmp can sometimes cause problems.
4234 # Hook for its removal unless debugging.
4235 # Note that there is a small window in which the directory will not be cleaned:
4236 # after its creation but before its name has been assigned to `$tmp'.
4240 trap 'exit_status=$?
4241 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4243 trap 'as_fn_exit 1' 1 2 13 15
4245 # Create a (secure) tmp directory for tmp files.
4248 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4249 test -n "$tmp" && test -d "$tmp"
4252 tmp
=.
/conf$$
-$RANDOM
4253 (umask 077 && mkdir
"$tmp")
4254 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
4256 # Set up the scripts for CONFIG_FILES section.
4257 # No need to generate them if there are no CONFIG_FILES.
4258 # This happens for instance with `./config.status config.h'.
4259 if test -n "$CONFIG_FILES"; then
4262 ac_cr
=`echo X | tr X '\015'`
4263 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4264 # But we know of no other shell where ac_cr would be empty at this
4265 # point, so we can use a bashism as a fallback.
4266 if test "x$ac_cr" = x
; then
4267 eval ac_cr
=\$
\'\\r
\'
4269 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4270 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4276 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4281 echo "cat >conf$$subs.awk <<_ACEOF" &&
4282 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4285 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4286 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4288 for ac_last_try in false false false false false :; do
4289 . ./conf$$subs.sh ||
4290 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4292 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4293 if test $ac_delim_n = $ac_delim_num; then
4295 elif $ac_last_try; then
4296 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4298 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4304 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
4308 s/^/S["/; s
/!.
*/"]=/
4318 s/\(.\{148\}\).*/\1/
4320 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4325 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4332 s/\(.\{148\}\).*/\1/
4334 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4338 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4343 ' <conf$$subs.awk | sed '
4348 ' >>$CONFIG_STATUS || ac_write_fail=1
4349 rm -f conf$$subs.awk
4350 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4352 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
4353 for (key in S) S_is_set[key] = 1
4359 nfields = split(line, field, "@
")
4361 len = length(field[1])
4362 for (i = 2; i < nfields; i++) {
4364 keylen = length(key)
4365 if (S_is_set[key]) {
4367 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4368 len += length(value) + length(field[++i])
4379 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4380 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4381 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4384 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
4385 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
4388 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4389 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
4390 # trailing colons and then remove the whole line if VPATH becomes empty
4391 # (actually we leave an empty line to preserve line numbers).
4392 if test "x
$srcdir" = x.; then
4393 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4397 s/^\([^=]*=[ ]*\):*/\1/
4403 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4404 fi # test -n "$CONFIG_FILES"
4407 eval set X " :F
$CONFIG_FILES "
4412 :[FHLC]) ac_mode=$ac_tag; continue;;
4414 case $ac_mode$ac_tag in
4416 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
4417 :[FH]-) ac_tag=-:-;;
4418 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4435 -) ac_f="$tmp/stdin";;
4436 *) # Look for the file first in the build tree, then in the source tree
4437 # (if the path is not absolute). The absolute path cannot be DOS-style,
4438 # because $ac_f cannot contain `:'.
4442 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4444 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4446 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
4447 as_fn_append ac_file_inputs " '$ac_f'"
4450 # Let's still pretend it is `configure' which instantiates (i.e., don't
4451 # use $as_me), people would be surprised to read:
4452 # /* config.h. Generated by config.status. */
4453 configure_input='Generated from '`
4454 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4456 if test x"$ac_file" != x-; then
4457 configure_input="$ac_file.
$configure_input"
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
4459 $as_echo "$as_me: creating
$ac_file" >&6;}
4461 # Neutralize special characters interpreted by sed in replacement strings.
4462 case $configure_input in #(
4463 *\&* | *\|* | *\\* )
4464 ac_sed_conf_input=`$as_echo "$configure_input" |
4465 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4466 *) ac_sed_conf_input=$configure_input;;
4470 *:-:* | *:-) cat >"$tmp/stdin
" \
4471 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
4476 ac_dir=`$as_dirname -- "$ac_file" ||
4477 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4478 X"$ac_file" : 'X\(//\)[^/]' \| \
4479 X"$ac_file" : 'X\(//\)$' \| \
4480 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4481 $as_echo X"$ac_file" |
4482 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4499 as_dir="$ac_dir"; as_fn_mkdir_p
4503 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4505 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4506 # A "..
" for each directory in $ac_dir_suffix.
4507 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4508 case $ac_top_builddir_sub in
4509 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4510 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4513 ac_abs_top_builddir=$ac_pwd
4514 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4515 # for backward compatibility:
4516 ac_top_builddir=$ac_top_build_prefix
4519 .) # We are building in place.
4521 ac_top_srcdir=$ac_top_builddir_sub
4522 ac_abs_top_srcdir=$ac_pwd ;;
4523 [\\/]* | ?:[\\/]* ) # Absolute name.
4524 ac_srcdir=$srcdir$ac_dir_suffix;
4525 ac_top_srcdir=$srcdir
4526 ac_abs_top_srcdir=$srcdir ;;
4528 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4529 ac_top_srcdir=$ac_top_build_prefix$srcdir
4530 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4532 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4544 # If the template does not know about datarootdir, expand it.
4545 # FIXME: This hack should be removed a few years after 2.60.
4546 ac_datarootdir_hack=; ac_datarootdir_seen=
4557 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
4558 *datarootdir*) ac_datarootdir_seen=yes;;
4559 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
4561 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
4563 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4564 ac_datarootdir_hack='
4565 s&@datadir@&$datadir&g
4566 s&@docdir@&$docdir&g
4567 s&@infodir@&$infodir&g
4568 s&@localedir@&$localedir&g
4569 s&@mandir@&$mandir&g
4570 s&\\\${datarootdir}&$datarootdir&g' ;;
4574 # Neutralize VPATH when `$srcdir' = `.'.
4575 # Shell code in configure.ac might set extrasub.
4576 # FIXME: do we really want to maintain this feature?
4577 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4578 ac_sed_extra="$ac_vpsub
4581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4583 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4584 s|@configure_input@|
$ac_sed_conf_input|
;t t
4585 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
4586 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
4587 s
&@srcdir@
&$ac_srcdir&;t t
4588 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
4589 s
&@top_srcdir@
&$ac_top_srcdir&;t t
4590 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
4591 s
&@builddir@
&$ac_builddir&;t t
4592 s
&@abs_builddir@
&$ac_abs_builddir&;t t
4593 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
4594 $ac_datarootdir_hack
4596 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
4597 || as_fn_error "could not create
$ac_file" "$LINENO" 5
4599 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4600 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
4601 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
4603 which seems to be undefined. Please make sure it is defined." >&5
4604 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
4605 which seems to be undefined. Please make sure it is defined." >&2;}
4609 -) cat "$tmp/out" && rm -f "$tmp/out";;
4610 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4612 || as_fn_error "could not create $ac_file" "$LINENO" 5
4620 case $ac_file$ac_mode in
4621 "lib/pdtrace":F) chmod +x lib/pdtrace ;;
4629 ac_clean_files=$ac_clean_files_save
4631 test $ac_write_fail = 0 ||
4632 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4635 # configure is writing to config.log, and then calls config.status.
4636 # config.status does its own redirection, appending to config.log.
4637 # Unfortunately, on DOS this fails, as config.log is still kept open
4638 # by configure, so config.status won't be able to
write to it
; its
4639 # output is simply discarded. So we exec the FD to /dev/null,
4640 # effectively closing config.log, so it can be properly (re)opened and
4641 # appended to by config.status. When coming back to configure, we
4642 # need to make the FD available again.
4643 if test "$no_create" != yes; then
4645 ac_config_status_args
=
4646 test "$silent" = yes &&
4647 ac_config_status_args
="$ac_config_status_args --quiet"
4649 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4651 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4652 # would make configure fail if this is the last instruction.
4653 $ac_cs_success || as_fn_exit $?
4657 # CONFIG_SUBDIRS section.
4659 if test "$no_recursion" != yes; then
4661 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
4662 # so they do not pile up.
4663 ac_sub_configure_args
=
4665 eval "set x $ac_configure_args"
4669 if test -n "$ac_prev"; then
4674 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
4675 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
4676 ac_prev
=cache_file
;;
4677 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
4678 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
4681 --config-cache |
-C)
4683 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
4685 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
4687 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
4689 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
4691 --disable-option-checking)
4695 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4697 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
4701 # Always prepend --prefix to ensure using the same prefix
4702 # in subdir configurations.
4703 ac_arg
="--prefix=$prefix"
4705 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4707 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
4710 if test "$silent" = yes; then
4711 ac_sub_configure_args
="--silent $ac_sub_configure_args"
4714 # Always prepend --disable-option-checking to silence warnings, since
4715 # different subdirs can have different --enable and --with options.
4716 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
4719 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
4721 # Do not complain, so a configure script can configure whichever
4722 # parts of a large source tree are present.
4723 test -d "$srcdir/$ac_dir" ||
continue
4725 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
4726 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
4727 $as_echo "$ac_msg" >&6
4728 as_dir
="$ac_dir"; as_fn_mkdir_p
4732 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4734 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4735 # A ".." for each directory in $ac_dir_suffix.
4736 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4737 case $ac_top_builddir_sub in
4738 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4739 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
4742 ac_abs_top_builddir
=$ac_pwd
4743 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
4744 # for backward compatibility:
4745 ac_top_builddir
=$ac_top_build_prefix
4748 .
) # We are building in place.
4750 ac_top_srcdir
=$ac_top_builddir_sub
4751 ac_abs_top_srcdir
=$ac_pwd ;;
4752 [\\/]* | ?
:[\\/]* ) # Absolute name.
4753 ac_srcdir
=$srcdir$ac_dir_suffix;
4754 ac_top_srcdir
=$srcdir
4755 ac_abs_top_srcdir
=$srcdir ;;
4757 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
4758 ac_top_srcdir
=$ac_top_build_prefix$srcdir
4759 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
4761 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
4766 # Check for guested configure; otherwise get Cygnus style configure.
4767 if test -f "$ac_srcdir/configure.gnu"; then
4768 ac_sub_configure
=$ac_srcdir/configure.gnu
4769 elif test -f "$ac_srcdir/configure"; then
4770 ac_sub_configure
=$ac_srcdir/configure
4771 elif test -f "$ac_srcdir/configure.in"; then
4772 # This should be Cygnus configure.
4773 ac_sub_configure
=$ac_aux_dir/configure
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
4776 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
4780 # The recursion is here.
4781 if test -n "$ac_sub_configure"; then
4782 # Make the cache file name correct relative to the subdirectory.
4784 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
4786 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
4789 { $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
4790 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4791 # The eval makes quoting arguments work.
4792 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
4793 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
4794 as_fn_error
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
4800 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4802 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}