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
650 program_transform_name
663 enable_option_checking
668 ac_precious_vars
='build_alias
677 ac_subdirs_all
='gdb.hp
682 # Initialize some variables set by options.
684 ac_init_version
=false
685 ac_unrecognized_opts
=
687 # The variables have the same names as the options, with
688 # dashes changed to underlines.
696 program_transform_name
=s
,x
,x
,
704 # Installation directory options.
705 # These are left unexpanded so users can "make install exec_prefix=/foo"
706 # and all the variables that are supposed to be based on exec_prefix
707 # by default will actually change.
708 # Use braces instead of parens because sh, perl, etc. also accept them.
709 # (The list follows the same order as the GNU Coding Standards.)
710 bindir
='${exec_prefix}/bin'
711 sbindir
='${exec_prefix}/sbin'
712 libexecdir
='${exec_prefix}/libexec'
713 datarootdir
='${prefix}/share'
714 datadir
='${datarootdir}'
715 sysconfdir
='${prefix}/etc'
716 sharedstatedir
='${prefix}/com'
717 localstatedir
='${prefix}/var'
718 includedir
='${prefix}/include'
719 oldincludedir
='/usr/include'
720 docdir
='${datarootdir}/doc/${PACKAGE}'
721 infodir
='${datarootdir}/info'
726 libdir
='${exec_prefix}/lib'
727 localedir
='${datarootdir}/locale'
728 mandir
='${datarootdir}/man'
734 # If the previous option needs an argument, assign it.
735 if test -n "$ac_prev"; then
736 eval $ac_prev=\
$ac_option
742 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
746 # Accept the important Cygnus configure options, so we can diagnose typos.
748 case $ac_dashdash$ac_option in
752 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
754 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
757 -build |
--build |
--buil |
--bui |
--bu)
758 ac_prev
=build_alias
;;
759 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
760 build_alias
=$ac_optarg ;;
762 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
763 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
764 ac_prev
=cache_file
;;
765 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
766 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
767 cache_file
=$ac_optarg ;;
770 cache_file
=config.cache
;;
772 -datadir |
--datadir |
--datadi |
--datad)
774 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
775 datadir
=$ac_optarg ;;
777 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
778 |
--dataroo |
--dataro |
--datar)
779 ac_prev
=datarootdir
;;
780 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
781 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
782 datarootdir
=$ac_optarg ;;
784 -disable-* |
--disable-*)
785 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
786 # Reject names that are not valid shell variable names.
787 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
788 as_fn_error
"invalid feature name: $ac_useropt"
789 ac_useropt_orig
=$ac_useropt
790 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
791 case $ac_user_opts in
795 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
796 ac_unrecognized_sep
=', ';;
798 eval enable_
$ac_useropt=no
;;
800 -docdir |
--docdir |
--docdi |
--doc |
--do)
802 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
805 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
807 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
810 -enable-* |
--enable-*)
811 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
812 # Reject names that are not valid shell variable names.
813 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
814 as_fn_error
"invalid feature name: $ac_useropt"
815 ac_useropt_orig
=$ac_useropt
816 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
817 case $ac_user_opts in
821 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
822 ac_unrecognized_sep
=', ';;
824 eval enable_
$ac_useropt=\
$ac_optarg ;;
826 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
827 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
828 |
--exec |
--exe |
--ex)
829 ac_prev
=exec_prefix
;;
830 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
831 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
832 |
--exec=* |
--exe=* |
--ex=*)
833 exec_prefix
=$ac_optarg ;;
835 -gas |
--gas |
--ga |
--g)
836 # Obsolete; use --with-gas.
839 -help |
--help |
--hel |
--he |
-h)
841 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
842 ac_init_help
=recursive
;;
843 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
844 ac_init_help
=short
;;
846 -host |
--host |
--hos |
--ho)
847 ac_prev
=host_alias
;;
848 -host=* |
--host=* |
--hos=* |
--ho=*)
849 host_alias
=$ac_optarg ;;
851 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
853 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
855 htmldir
=$ac_optarg ;;
857 -includedir |
--includedir |
--includedi |
--included |
--include \
858 |
--includ |
--inclu |
--incl |
--inc)
859 ac_prev
=includedir
;;
860 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
861 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
862 includedir
=$ac_optarg ;;
864 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
866 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
867 infodir
=$ac_optarg ;;
869 -libdir |
--libdir |
--libdi |
--libd)
871 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
874 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
875 |
--libexe |
--libex |
--libe)
876 ac_prev
=libexecdir
;;
877 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
878 |
--libexe=* |
--libex=* |
--libe=*)
879 libexecdir
=$ac_optarg ;;
881 -localedir |
--localedir |
--localedi |
--localed |
--locale)
883 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
884 localedir
=$ac_optarg ;;
886 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
887 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
888 ac_prev
=localstatedir
;;
889 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
890 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
891 localstatedir
=$ac_optarg ;;
893 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
895 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
899 # Obsolete; use --without-fp.
902 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
903 |
--no-cr |
--no-c |
-n)
906 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
907 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
910 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
911 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
912 |
--oldin |
--oldi |
--old |
--ol |
--o)
913 ac_prev
=oldincludedir
;;
914 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
915 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
916 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
917 oldincludedir
=$ac_optarg ;;
919 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
921 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
924 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
925 |
--program-pre |
--program-pr |
--program-p)
926 ac_prev
=program_prefix
;;
927 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
928 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
929 program_prefix
=$ac_optarg ;;
931 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
932 |
--program-suf |
--program-su |
--program-s)
933 ac_prev
=program_suffix
;;
934 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
935 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
936 program_suffix
=$ac_optarg ;;
938 -program-transform-name |
--program-transform-name \
939 |
--program-transform-nam |
--program-transform-na \
940 |
--program-transform-n |
--program-transform- \
941 |
--program-transform |
--program-transfor \
942 |
--program-transfo |
--program-transf \
943 |
--program-trans |
--program-tran \
944 |
--progr-tra |
--program-tr |
--program-t)
945 ac_prev
=program_transform_name
;;
946 -program-transform-name=* |
--program-transform-name=* \
947 |
--program-transform-nam=* |
--program-transform-na=* \
948 |
--program-transform-n=* |
--program-transform-=* \
949 |
--program-transform=* |
--program-transfor=* \
950 |
--program-transfo=* |
--program-transf=* \
951 |
--program-trans=* |
--program-tran=* \
952 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
953 program_transform_name
=$ac_optarg ;;
955 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
957 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
960 -psdir |
--psdir |
--psdi |
--psd |
--ps)
962 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
965 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
966 |
-silent |
--silent |
--silen |
--sile |
--sil)
969 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
971 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
973 sbindir
=$ac_optarg ;;
975 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
976 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
977 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
979 ac_prev
=sharedstatedir
;;
980 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
981 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
982 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
984 sharedstatedir
=$ac_optarg ;;
986 -site |
--site |
--sit)
988 -site=* |
--site=* |
--sit=*)
991 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
993 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
996 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
997 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
998 ac_prev
=sysconfdir
;;
999 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1000 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1001 sysconfdir
=$ac_optarg ;;
1003 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1004 ac_prev
=target_alias
;;
1005 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1006 target_alias
=$ac_optarg ;;
1008 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1011 -version |
--version |
--versio |
--versi |
--vers |
-V)
1012 ac_init_version
=: ;;
1015 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1018 as_fn_error
"invalid package name: $ac_useropt"
1019 ac_useropt_orig
=$ac_useropt
1020 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1025 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1026 ac_unrecognized_sep
=', ';;
1028 eval with_
$ac_useropt=\
$ac_optarg ;;
1030 -without-* |
--without-*)
1031 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1032 # Reject names that are not valid shell variable names.
1033 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1034 as_fn_error
"invalid package name: $ac_useropt"
1035 ac_useropt_orig
=$ac_useropt
1036 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1037 case $ac_user_opts in
1041 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1042 ac_unrecognized_sep
=', ';;
1044 eval with_
$ac_useropt=no
;;
1047 # Obsolete; use --with-x.
1050 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1051 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1052 ac_prev
=x_includes
;;
1053 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1054 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1055 x_includes
=$ac_optarg ;;
1057 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1058 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1059 ac_prev
=x_libraries
;;
1060 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1061 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1062 x_libraries
=$ac_optarg ;;
1064 -*) as_fn_error
"unrecognized option: \`$ac_option'
1065 Try \`$0 --help' for more information."
1069 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1070 # Reject names that are not valid shell variable names.
1071 case $ac_envvar in #(
1072 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1073 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1075 eval $ac_envvar=\
$ac_optarg
1076 export $ac_envvar ;;
1079 # FIXME: should be removed in autoconf 3.0.
1080 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1081 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1082 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1083 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1089 if test -n "$ac_prev"; then
1090 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1091 as_fn_error
"missing argument to $ac_option"
1094 if test -n "$ac_unrecognized_opts"; then
1095 case $enable_option_checking in
1097 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1098 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1102 # Check all directory arguments for consistency.
1103 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1104 datadir sysconfdir sharedstatedir localstatedir includedir \
1105 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1106 libdir localedir mandir
1108 eval ac_val
=\$
$ac_var
1109 # Remove trailing slashes.
1112 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1113 eval $ac_var=\
$ac_val;;
1115 # Be sure to have absolute directory names.
1117 [\\/$
]* | ?
:[\\/]* ) continue;;
1118 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1120 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1123 # There might be people who depend on the old broken behavior: `$host'
1124 # used to hold the argument of --host etc.
1125 # FIXME: To remove some day.
1128 target
=$target_alias
1130 # FIXME: To remove some day.
1131 if test "x$host_alias" != x
; then
1132 if test "x$build_alias" = x
; then
1133 cross_compiling
=maybe
1134 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1135 If a cross compiler is detected then cross compile mode will be used." >&2
1136 elif test "x$build_alias" != "x$host_alias"; then
1142 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1144 test "$silent" = yes && exec 6>/dev
/null
1147 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1148 ac_ls_di
=`ls -di .` &&
1149 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1150 as_fn_error
"working directory cannot be determined"
1151 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1152 as_fn_error
"pwd does not report name of working directory"
1155 # Find the source files, if location was not specified.
1156 if test -z "$srcdir"; then
1157 ac_srcdir_defaulted
=yes
1158 # Try the directory containing this script, then the parent directory.
1159 ac_confdir
=`$as_dirname -- "$as_myself" ||
1160 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1161 X"$as_myself" : 'X\(//\)[^/]' \| \
1162 X"$as_myself" : 'X\(//\)$' \| \
1163 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1164 $as_echo X"$as_myself" |
1165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1183 if test ! -r "$srcdir/$ac_unique_file"; then
1187 ac_srcdir_defaulted
=no
1189 if test ! -r "$srcdir/$ac_unique_file"; then
1190 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1191 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1193 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1195 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1197 # When building in place, set srcdir=.
1198 if test "$ac_abs_confdir" = "$ac_pwd"; then
1201 # Remove unnecessary trailing slashes from srcdir.
1202 # Double slashes in file names in object file debugging info
1203 # mess up M-x gdb in Emacs.
1205 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1207 for ac_var
in $ac_precious_vars; do
1208 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1209 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1210 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1211 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1215 # Report the --help message.
1217 if test "$ac_init_help" = "long"; then
1218 # Omit some internal or obsolete options to make the list less imposing.
1219 # This message is too long to be a string in the A/UX 3.1 sh.
1221 \`configure' configures this package to adapt to many kinds of systems.
1223 Usage: $0 [OPTION]... [VAR=VALUE]...
1225 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1226 VAR=VALUE. See below for descriptions of some of the useful variables.
1228 Defaults for the options are specified in brackets.
1231 -h, --help display this help and exit
1232 --help=short display options specific to this package
1233 --help=recursive display the short help of all the included packages
1234 -V, --version display version information and exit
1235 -q, --quiet, --silent do not print \`checking...' messages
1236 --cache-file=FILE cache test results in FILE [disabled]
1237 -C, --config-cache alias for \`--cache-file=config.cache'
1238 -n, --no-create do not create output files
1239 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1241 Installation directories:
1242 --prefix=PREFIX install architecture-independent files in PREFIX
1243 [$ac_default_prefix]
1244 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1247 By default, \`make install' will install all the files in
1248 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1249 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1250 for instance \`--prefix=\$HOME'.
1252 For better control, use the options below.
1254 Fine tuning of the installation directories:
1255 --bindir=DIR user executables [EPREFIX/bin]
1256 --sbindir=DIR system admin executables [EPREFIX/sbin]
1257 --libexecdir=DIR program executables [EPREFIX/libexec]
1258 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1259 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1260 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1261 --libdir=DIR object code libraries [EPREFIX/lib]
1262 --includedir=DIR C header files [PREFIX/include]
1263 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1264 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1265 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1266 --infodir=DIR info documentation [DATAROOTDIR/info]
1267 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1268 --mandir=DIR man documentation [DATAROOTDIR/man]
1269 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1270 --htmldir=DIR html documentation [DOCDIR]
1271 --dvidir=DIR dvi documentation [DOCDIR]
1272 --pdfdir=DIR pdf documentation [DOCDIR]
1273 --psdir=DIR ps documentation [DOCDIR]
1279 --build=BUILD configure
for building on BUILD
[guessed
]
1280 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1281 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1285 if test -n "$ac_init_help"; then
1290 --disable-option-checking ignore unrecognized
--enable/--with options
1291 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1292 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1293 --enable-gtk enable gdbtk graphical user interface
(GUI
)
1294 --enable-shared build shared libraries deault
=yes
1297 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1298 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1299 --with-stabs arrange to use stabs instead of
host debug format
1301 Some influential environment variables
:
1302 CC C compiler
command
1303 CFLAGS C compiler flags
1304 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1305 nonstandard directory
<lib dir
>
1306 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1307 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1308 you have headers
in a nonstandard directory
<include dir
>
1311 Use these variables to override the choices made by
`configure' or to help
1312 it to find libraries and programs with nonstandard names/locations.
1314 Report bugs to the package provider.
1319 if test "$ac_init_help" = "recursive"; then
1320 # If there are subdirs, report their specific --help.
1321 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1322 test -d "$ac_dir" ||
1323 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1328 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1330 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1331 # A ".." for each directory in $ac_dir_suffix.
1332 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1333 case $ac_top_builddir_sub in
1334 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1335 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1338 ac_abs_top_builddir=$ac_pwd
1339 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1340 # for backward compatibility:
1341 ac_top_builddir=$ac_top_build_prefix
1344 .) # We are building in place.
1346 ac_top_srcdir=$ac_top_builddir_sub
1347 ac_abs_top_srcdir=$ac_pwd ;;
1348 [\\/]* | ?:[\\/]* ) # Absolute name.
1349 ac_srcdir=$srcdir$ac_dir_suffix;
1350 ac_top_srcdir=$srcdir
1351 ac_abs_top_srcdir=$srcdir ;;
1353 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1354 ac_top_srcdir=$ac_top_build_prefix$srcdir
1355 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1357 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1359 cd "$ac_dir" || { ac_status=$?; continue; }
1360 # Check for guested configure.
1361 if test -f "$ac_srcdir/configure.gnu"; then
1363 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1364 elif test -f "$ac_srcdir/configure"; then
1366 $SHELL "$ac_srcdir/configure" --help=recursive
1368 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1370 cd "$ac_pwd" || { ac_status=$?; break; }
1374 test -n "$ac_init_help" && exit $ac_status
1375 if $ac_init_version; then
1378 generated by GNU Autoconf 2.64
1380 Copyright (C) 2009 Free Software Foundation, Inc.
1381 This configure script is free software; the Free Software Foundation
1382 gives unlimited permission to copy, distribute and modify it.
1387 ## ------------------------ ##
1388 ## Autoconf initialization. ##
1389 ## ------------------------ ##
1391 # ac_fn_c_try_compile LINENO
1392 # --------------------------
1393 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1394 ac_fn_c_try_compile ()
1396 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1397 rm -f conftest.$ac_objext
1398 if { { ac_try="$ac_compile"
1400 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1401 *) ac_try_echo
=$ac_try;;
1403 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1404 $as_echo "$ac_try_echo"; } >&5
1405 (eval "$ac_compile") 2>conftest.err
1407 if test -s conftest.err
; then
1408 grep -v '^ *+' conftest.err
>conftest.er1
1409 cat conftest.er1
>&5
1410 mv -f conftest.er1 conftest.err
1412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1413 test $ac_status = 0; } && {
1414 test -z "$ac_c_werror_flag" ||
1415 test ! -s conftest.err
1416 } && test -s conftest.
$ac_objext; then :
1419 $as_echo "$as_me: failed program was:" >&5
1420 sed 's/^/| /' conftest.
$ac_ext >&5
1424 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1427 } # ac_fn_c_try_compile
1429 # ac_fn_c_try_cpp LINENO
1430 # ----------------------
1431 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1434 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1435 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1437 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1438 *) ac_try_echo=$ac_try;;
1440 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1441 $as_echo "$ac_try_echo"; } >&5
1442 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1444 if test -s conftest.err; then
1445 grep -v '^ *+' conftest.err >conftest.er1
1446 cat conftest.er1 >&5
1447 mv -f conftest.er1 conftest.err
1449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1450 test $ac_status = 0; } >/dev/null && {
1451 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1452 test ! -s conftest.err
1456 $as_echo "$as_me: failed program was:" >&5
1457 sed 's/^/| /' conftest.$ac_ext >&5
1461 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1466 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1467 # -------------------------------------------------------
1468 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1469 # the include files in INCLUDES and setting the cache variable VAR
1471 ac_fn_c_check_header_mongrel ()
1473 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1474 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1476 $as_echo_n "checking for $2... " >&6; }
1477 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1478 $as_echo_n "(cached) " >&6
1481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1482 $as_echo "$ac_res" >&6; }
1484 # Is the header compilable?
1485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1486 $as_echo_n "checking $2 usability... " >&6; }
1487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1488 /* end confdefs.h. */
1492 if ac_fn_c_try_compile "$LINENO"; then :
1493 ac_header_compiler=yes
1495 ac_header_compiler=no
1497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1499 $as_echo "$ac_header_compiler" >&6; }
1501 # Is the header present?
1502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1503 $as_echo_n "checking $2 presence... " >&6; }
1504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1505 /* end confdefs.h. */
1508 if ac_fn_c_try_cpp "$LINENO"; then :
1509 ac_header_preproc=yes
1511 ac_header_preproc=no
1513 rm -f conftest.err conftest.$ac_ext
1514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1515 $as_echo "$ac_header_preproc" >&6; }
1517 # So? What about this header?
1518 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1521 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1523 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1527 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1529 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1531 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1533 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1535 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1539 $as_echo_n "checking for $2... " >&6; }
1540 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1541 $as_echo_n "(cached) " >&6
1543 eval "$3=\$ac_header_compiler"
1546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1547 $as_echo "$ac_res" >&6; }
1549 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1551 } # ac_fn_c_check_header_mongrel
1553 # ac_fn_c_try_run LINENO
1554 # ----------------------
1555 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1556 # that executables *can* be run.
1559 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1560 if { { ac_try="$ac_link"
1562 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1563 *) ac_try_echo
=$ac_try;;
1565 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1566 $as_echo "$ac_try_echo"; } >&5
1567 (eval "$ac_link") 2>&5
1569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1570 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1571 { { case "(($ac_try" in
1572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1573 *) ac_try_echo=$ac_try;;
1575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1576 $as_echo "$ac_try_echo"; } >&5
1577 (eval "$ac_try") 2>&5
1579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1580 test $ac_status = 0; }; }; then :
1583 $as_echo "$as_me: program exited with status $ac_status" >&5
1584 $as_echo "$as_me: failed program was:" >&5
1585 sed 's/^/| /' conftest.$ac_ext >&5
1587 ac_retval=$ac_status
1589 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1590 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1595 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1596 # -------------------------------------------------------
1597 # Tests whether HEADER exists and can be compiled using the include files in
1598 # INCLUDES, setting the cache variable VAR accordingly.
1599 ac_fn_c_check_header_compile ()
1601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1603 $as_echo_n "checking for $2... " >&6; }
1604 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1605 $as_echo_n "(cached) " >&6
1607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1608 /* end confdefs.h. */
1612 if ac_fn_c_try_compile "$LINENO"; then :
1617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1621 $as_echo "$ac_res" >&6; }
1622 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1624 } # ac_fn_c_check_header_compile
1625 cat >config.log <<_ACEOF
1626 This file contains any messages produced by compilers while
1627 running configure, to aid debugging if configure makes a mistake.
1629 It was created by $as_me, which was
1630 generated by GNU Autoconf 2.64. Invocation command line was
1642 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1643 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1644 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1645 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1646 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1648 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1649 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1651 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1652 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1653 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1654 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1655 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1656 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1657 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1665 test -z "$as_dir" && as_dir=.
1666 $as_echo "PATH: $as_dir"
1682 # Keep a trace of the command line.
1683 # Strip out --no-create and --no-recursion so they do not pile up.
1684 # Strip out --silent because we don't want to record it for future runs.
1685 # Also quote any args containing shell meta-characters.
1686 # Make two passes to allow for proper duplicate-argument suppression.
1690 ac_must_keep_next=false
1696 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1697 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1698 | -silent | --silent | --silen | --sile | --sil)
1701 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1704 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1706 as_fn_append ac_configure_args1 " '$ac_arg'"
1707 if test $ac_must_keep_next = true; then
1708 ac_must_keep_next=false # Got value, back to normal.
1711 *=* | --config-cache | -C | -disable-* | --disable-* \
1712 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1713 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1714 | -with-* | --with-* | -without-* | --without-* | --x)
1715 case "$ac_configure_args0 " in
1716 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1719 -* ) ac_must_keep_next=true ;;
1722 as_fn_append ac_configure_args " '$ac_arg'"
1727 { ac_configure_args0=; unset ac_configure_args0;}
1728 { ac_configure_args1=; unset ac_configure_args1;}
1730 # When interrupted or exit'd, cleanup temporary files, and complete
1731 # config.log. We remove comments because anyway the quotes in there
1732 # would cause problems or look ugly.
1733 # WARNING: Use '\'' to represent an apostrophe within the trap.
1734 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1735 trap 'exit_status=$?
1736 # Save into config.log some information that might help in debugging.
1741 ## ---------------- ##
1742 ## Cache variables. ##
1743 ## ---------------- ##
1746 # The following way of writing the cache mishandles newlines in values,
1748 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1749 eval ac_val=\$$ac_var
1753 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1754 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1757 _ | IFS | as_nl) ;; #(
1758 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1759 *) { eval $ac_var=; unset $ac_var;} ;;
1764 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1765 *${as_nl}ac_space=\ *)
1767 "s/'\''/'\''\\\\'\'''\''/g;
1768 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1771 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1779 ## ----------------- ##
1780 ## Output variables. ##
1781 ## ----------------- ##
1784 for ac_var in $ac_subst_vars
1786 eval ac_val=\$$ac_var
1788 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1790 $as_echo "$ac_var='\''$ac_val'\''"
1794 if test -n "$ac_subst_files"; then
1796 ## ------------------- ##
1797 ## File substitutions. ##
1798 ## ------------------- ##
1801 for ac_var in $ac_subst_files
1803 eval ac_val=\$$ac_var
1805 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1807 $as_echo "$ac_var='\''$ac_val'\''"
1812 if test -s confdefs.h; then
1822 test "$ac_signal" != 0 &&
1823 $as_echo "$as_me: caught signal $ac_signal"
1824 $as_echo "$as_me: exit $exit_status"
1826 rm -f core *.core core.conftest.* &&
1827 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1830 for ac_signal in 1 2 13 15; do
1831 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1835 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1836 rm -f -r conftest* confdefs.h
1838 $as_echo "/* confdefs.h */" > confdefs.h
1840 # Predefined preprocessor variables.
1842 cat >>confdefs.h <<_ACEOF
1843 #define PACKAGE_NAME "$PACKAGE_NAME"
1846 cat >>confdefs.h <<_ACEOF
1847 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1850 cat >>confdefs.h <<_ACEOF
1851 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1854 cat >>confdefs.h <<_ACEOF
1855 #define PACKAGE_STRING "$PACKAGE_STRING"
1858 cat >>confdefs.h <<_ACEOF
1859 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1862 cat >>confdefs.h <<_ACEOF
1863 #define PACKAGE_URL "$PACKAGE_URL"
1867 # Let the site file select an alternate cache file if it wants to.
1868 # Prefer an explicitly selected file to automatically selected ones.
1871 if test -n "$CONFIG_SITE"; then
1872 ac_site_file1=$CONFIG_SITE
1873 elif test "x$prefix" != xNONE; then
1874 ac_site_file1=$prefix/share/config.site
1875 ac_site_file2=$prefix/etc/config.site
1877 ac_site_file1=$ac_default_prefix/share/config.site
1878 ac_site_file2=$ac_default_prefix/etc/config.site
1880 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1882 test "x$ac_site_file" = xNONE && continue
1883 if test -r "$ac_site_file"; then
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1885 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1886 sed 's/^/| /' "$ac_site_file" >&5
1891 if test -r "$cache_file"; then
1892 # Some versions of bash will fail to source /dev/null (special
1893 # files actually), so we avoid doing that.
1894 if test -f "$cache_file"; then
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1896 $as_echo "$as_me: loading cache $cache_file" >&6;}
1898 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1899 *) . "./$cache_file";;
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1904 $as_echo "$as_me: creating cache $cache_file" >&6;}
1908 # Check that the precious variables saved in the cache have kept the same
1910 ac_cache_corrupted=false
1911 for ac_var in $ac_precious_vars; do
1912 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1913 eval ac_new_set=\$ac_env_${ac_var}_set
1914 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1915 eval ac_new_val=\$ac_env_${ac_var}_value
1916 case $ac_old_set,$ac_new_set in
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1919 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1920 ac_cache_corrupted=: ;;
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1923 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1924 ac_cache_corrupted=: ;;
1927 if test "x$ac_old_val" != "x$ac_new_val"; then
1928 # differences in whitespace do not lead to failure.
1929 ac_old_val_w=`echo x
$ac_old_val`
1930 ac_new_val_w=`echo x
$ac_new_val`
1931 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1933 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1934 ac_cache_corrupted=:
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1937 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1938 eval $ac_var=\$ac_old_val
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1941 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1943 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1946 # Pass precious variables to config.status.
1947 if test "$ac_new_set" = set; then
1949 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1950 *) ac_arg=$ac_var=$ac_new_val ;;
1952 case " $ac_configure_args " in
1953 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1954 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1958 if $ac_cache_corrupted; then
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
1960 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1962 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1963 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
1965 ## -------------------- ##
1966 ## Main body of script. ##
1967 ## -------------------- ##
1970 ac_cpp='$CPP $CPPFLAGS'
1971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1981 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1982 for ac_t in install-sh install.sh shtool; do
1983 if test -f "$ac_dir/$ac_t"; then
1985 ac_install_sh="$ac_aux_dir/$ac_t -c"
1990 if test -z "$ac_aux_dir"; then
1991 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1994 # These three variables are undocumented and unsupported,
1995 # and are intended to be withdrawn in a future Autoconf release.
1996 # They can cause serious problems if a builder's source tree is in a directory
1997 # whose full name contains unusual characters.
1998 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1999 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2000 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2003 # Make sure we can run config.sub.
2004 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2005 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2008 $as_echo_n "checking build system type... " >&6; }
2009 if test "${ac_cv_build+set}" = set; then :
2010 $as_echo_n "(cached) " >&6
2012 ac_build_alias=$build_alias
2013 test "x$ac_build_alias" = x &&
2014 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2015 test "x$ac_build_alias" = x &&
2016 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2017 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2018 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2022 $as_echo "$ac_cv_build" >&6; }
2023 case $ac_cv_build in
2025 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2028 ac_save_IFS=$IFS; IFS='-'
2034 # Remember, the first character of IFS is used to create $*,
2035 # except with old shells:
2038 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2042 $as_echo_n "checking host system type... " >&6; }
2043 if test "${ac_cv_host+set}" = set; then :
2044 $as_echo_n "(cached) " >&6
2046 if test "x$host_alias" = x; then
2047 ac_cv_host=$ac_cv_build
2049 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2050 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2055 $as_echo "$ac_cv_host" >&6; }
2058 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2061 ac_save_IFS=$IFS; IFS='-'
2067 # Remember, the first character of IFS is used to create $*,
2068 # except with old shells:
2071 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2075 $as_echo_n "checking target system type... " >&6; }
2076 if test "${ac_cv_target+set}" = set; then :
2077 $as_echo_n "(cached) " >&6
2079 if test "x$target_alias" = x; then
2080 ac_cv_target=$ac_cv_host
2082 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2083 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2088 $as_echo "$ac_cv_target" >&6; }
2089 case $ac_cv_target in
2091 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2093 target=$ac_cv_target
2094 ac_save_IFS=$IFS; IFS='-'
2100 # Remember, the first character of IFS is used to create $*,
2101 # except with old shells:
2104 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2107 # The aliases save the names the user supplied, while $host etc.
2108 # will get canonicalized.
2109 test -n "$target_alias" &&
2110 test "$program_prefix$program_suffix$program_transform_name" = \
2112 program_prefix=${target_alias}-
2114 case ${build_alias} in
2115 "") build_noncanonical=${build} ;;
2116 *) build_noncanonical=${build_alias} ;;
2119 case ${host_alias} in
2120 "") host_noncanonical=${build_noncanonical} ;;
2121 *) host_noncanonical=${host_alias} ;;
2124 case ${target_alias} in
2125 "") target_noncanonical=${host_noncanonical} ;;
2126 *) target_noncanonical=${target_alias} ;;
2132 # Check for the 'make' the user wants to use.
2135 # Extract the first word of "$ac_prog", so it can be a program name with args.
2136 set dummy $ac_prog; ac_word=$2
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2138 $as_echo_n "checking for $ac_word... " >&6; }
2139 if test "${ac_cv_prog_MAKE+set}" = set; then :
2140 $as_echo_n "(cached) " >&6
2142 if test -n "$MAKE"; then
2143 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
2145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2149 test -z "$as_dir" && as_dir=.
2150 for ac_exec_ext in '' $ac_executable_extensions; do
2151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2152 ac_cv_prog_MAKE="$ac_prog"
2153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2162 MAKE=$ac_cv_prog_MAKE
2163 if test -n "$MAKE"; then
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
2165 $as_echo "$MAKE" >&6; }
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2168 $as_echo "no" >&6; }
2172 test -n "$MAKE" && break
2176 case "`$MAKE --version 2>&1 |
sed 1q
`" in
2183 if test "$MAKE_IS_GNU" = yes; then
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2192 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2194 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2195 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2196 $as_echo_n "(cached) " >&6
2198 cat >conftest.make <<\_ACEOF
2201 @echo '@@@%%%=$(MAKE)=@@@%%%'
2203 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2204 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
2206 eval ac_cv_prog_make_${ac_make}_set=yes;;
2208 eval ac_cv_prog_make_${ac_make}_set=no;;
2212 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2214 $as_echo "yes" >&6; }
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2218 $as_echo "no" >&6; }
2219 SET_MAKE="MAKE=${MAKE-make}"
2223 # Add HP-specific tests when appropriate.
2228 subdirs="$subdirs gdb.hp"
2232 # Add Cell/B.E. specific tests when appropriate.
2233 # We need support for both PowerPC and SPU targets configured in.
2237 for targ in `echo $enable_targets |
sed 's/,/ /g'`
2240 spu*|all) have_spu_target=yes ;;
2243 if test x$have_spu_target = xyes; then
2244 subdirs="$subdirs gdb.cell"
2252 # Check whether --with-stabs was given.
2253 if test "${with_stabs+set}" = set; then :
2254 withval=$with_stabs;
2256 # We enable stabs tests by default on selected targets.
2277 # Add stabs tests when appropriate.
2278 if test $with_stabs = yes; then
2279 subdirs="$subdirs gdb.stabs"
2284 # Check whether --enable-gdbtk was given.
2285 if test "${enable_gdbtk+set}" = set; then :
2286 enableval=$enable_gdbtk;
2288 if test -d $srcdir/gdb.gdbtk; then
2295 # We unconditionally disable gdbtk tests on selected platforms.
2301 # Add gdbtk tests when appropriate.
2302 if test $enable_gdbtk = yes; then
2303 subdirs="$subdirs gdb.gdbtk"
2307 # Enable shared libraries.
2308 # Check whether --enable-shared was given.
2309 if test "${enable_shared+set}" = set; then :
2310 enableval=$enable_shared;
2316 # If we have shared libraries, try to set RPATH_ENVVAR reasonably,
2317 # such that we can find the shared libraries in the build tree.
2318 if test $enable_shared = no; then
2319 # The variable `RPATH_ENVVAR
' itself is not likely to be used on any
2321 RPATH_ENVVAR=RPATH_ENVVAR
2323 # The variable `LD_LIBRARY_PATH' is used on most platforms.
2324 RPATH_ENVVAR
=LD_LIBRARY_PATH
2325 # The following exceptions are taken from Libtool 1.4.3.
2328 if test $host_cpu != ia64
; then
2329 RPATH_ENVVAR
=LIBPATH
2331 darwin
* | rhapsody
*)
2332 RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
2334 RPATH_ENVVAR
=SHLIB_PATH
;;
2340 ac_cpp
='$CPP $CPPFLAGS'
2341 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2342 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2343 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2344 if test -n "$ac_tool_prefix"; then
2345 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2346 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2348 $as_echo_n "checking for $ac_word... " >&6; }
2349 if test "${ac_cv_prog_CC+set}" = set; then :
2350 $as_echo_n "(cached) " >&6
2352 if test -n "$CC"; then
2353 ac_cv_prog_CC
="$CC" # Let the user override the test.
2355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2359 test -z "$as_dir" && as_dir
=.
2360 for ac_exec_ext
in '' $ac_executable_extensions; do
2361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2362 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2373 if test -n "$CC"; then
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2375 $as_echo "$CC" >&6; }
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2378 $as_echo "no" >&6; }
2383 if test -z "$ac_cv_prog_CC"; then
2385 # Extract the first word of "gcc", so it can be a program name with args.
2386 set dummy gcc
; ac_word
=$2
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2388 $as_echo_n "checking for $ac_word... " >&6; }
2389 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2390 $as_echo_n "(cached) " >&6
2392 if test -n "$ac_ct_CC"; then
2393 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2399 test -z "$as_dir" && as_dir
=.
2400 for ac_exec_ext
in '' $ac_executable_extensions; do
2401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2402 ac_cv_prog_ac_ct_CC
="gcc"
2403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2412 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2413 if test -n "$ac_ct_CC"; then
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2415 $as_echo "$ac_ct_CC" >&6; }
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2418 $as_echo "no" >&6; }
2421 if test "x$ac_ct_CC" = x
; then
2424 case $cross_compiling:$ac_tool_warned in
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2428 ac_tool_warned
=yes ;;
2436 if test -z "$CC"; then
2437 if test -n "$ac_tool_prefix"; then
2438 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2439 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2441 $as_echo_n "checking for $ac_word... " >&6; }
2442 if test "${ac_cv_prog_CC+set}" = set; then :
2443 $as_echo_n "(cached) " >&6
2445 if test -n "$CC"; then
2446 ac_cv_prog_CC
="$CC" # Let the user override the test.
2448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2452 test -z "$as_dir" && as_dir
=.
2453 for ac_exec_ext
in '' $ac_executable_extensions; do
2454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2455 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2466 if test -n "$CC"; then
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2468 $as_echo "$CC" >&6; }
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2471 $as_echo "no" >&6; }
2477 if test -z "$CC"; then
2478 # Extract the first word of "cc", so it can be a program name with args.
2479 set dummy cc
; 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.
2489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2493 test -z "$as_dir" && as_dir
=.
2494 for ac_exec_ext
in '' $ac_executable_extensions; do
2495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2496 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2497 ac_prog_rejected
=yes
2501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2508 if test $ac_prog_rejected = yes; then
2509 # We found a bogon in the path, so make sure we never use it.
2510 set dummy
$ac_cv_prog_CC
2512 if test $# != 0; then
2513 # We chose a different compiler from the bogus one.
2514 # However, it has the same basename, so the bogon will be chosen
2515 # first if we set CC to just the basename; use the full file name.
2517 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2523 if test -n "$CC"; then
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2525 $as_echo "$CC" >&6; }
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2528 $as_echo "no" >&6; }
2533 if test -z "$CC"; then
2534 if test -n "$ac_tool_prefix"; then
2535 for ac_prog
in cl.exe
2537 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2538 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2540 $as_echo_n "checking for $ac_word... " >&6; }
2541 if test "${ac_cv_prog_CC+set}" = set; then :
2542 $as_echo_n "(cached) " >&6
2544 if test -n "$CC"; then
2545 ac_cv_prog_CC
="$CC" # Let the user override the test.
2547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2551 test -z "$as_dir" && as_dir
=.
2552 for ac_exec_ext
in '' $ac_executable_extensions; do
2553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2554 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2565 if test -n "$CC"; then
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2567 $as_echo "$CC" >&6; }
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2570 $as_echo "no" >&6; }
2574 test -n "$CC" && break
2577 if test -z "$CC"; then
2579 for ac_prog
in cl.exe
2581 # Extract the first word of "$ac_prog", so it can be a program name with args.
2582 set dummy
$ac_prog; ac_word
=$2
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2584 $as_echo_n "checking for $ac_word... " >&6; }
2585 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2586 $as_echo_n "(cached) " >&6
2588 if test -n "$ac_ct_CC"; then
2589 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2595 test -z "$as_dir" && as_dir
=.
2596 for ac_exec_ext
in '' $ac_executable_extensions; do
2597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2598 ac_cv_prog_ac_ct_CC
="$ac_prog"
2599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2608 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2609 if test -n "$ac_ct_CC"; then
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2611 $as_echo "$ac_ct_CC" >&6; }
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2614 $as_echo "no" >&6; }
2618 test -n "$ac_ct_CC" && break
2621 if test "x$ac_ct_CC" = x
; then
2624 case $cross_compiling:$ac_tool_warned in
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2628 ac_tool_warned
=yes ;;
2637 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2639 as_fn_error
"no acceptable C compiler found in \$PATH
2640 See \`config.log' for more details." "$LINENO" 5; }
2642 # Provide some information about the compiler.
2643 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2646 for ac_option
in --version -v -V -qversion; do
2647 { { ac_try
="$ac_compiler $ac_option >&5"
2649 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2650 *) ac_try_echo=$ac_try;;
2652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2653 $as_echo "$ac_try_echo"; } >&5
2654 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2656 if test -s conftest.err; then
2658 ... rest of stderr output deleted ...
2659 10q' conftest.err >conftest.er1
2660 cat conftest.er1 >&5
2661 rm -f conftest.er1 conftest.err
2663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2664 test $ac_status = 0; }
2667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2668 /* end confdefs.h. */
2678 ac_clean_files_save=$ac_clean_files
2679 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2680 # Try to create an executable without -o first, disregard a.out.
2681 # It will help us diagnose broken compilers, and finding out an intuition
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2684 $as_echo_n "checking for C compiler default output file name... " >&6; }
2685 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2687 # The possible output files:
2688 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2691 for ac_file in $ac_files
2694 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2695 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2700 if { { ac_try="$ac_link_default"
2702 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2703 *) ac_try_echo
=$ac_try;;
2705 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2706 $as_echo "$ac_try_echo"; } >&5
2707 (eval "$ac_link_default") 2>&5
2709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2710 test $ac_status = 0; }; then :
2711 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2712 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2713 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2714 # so that the user can short-circuit this test for compilers unknown to
2716 for ac_file
in $ac_files ''
2718 test -f "$ac_file" ||
continue
2720 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2723 # We found the default executable, but exeext='' is most
2727 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2729 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2731 # We set ac_cv_exeext here because the later test for it is not
2732 # safe: cross compilers may not add the suffix if given an `-o'
2733 # argument, so we may need to know it at that point already.
2734 # Even if this section looks crufty: it has the advantage of
2741 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2747 $as_echo "$ac_file" >&6; }
2748 if test -z "$ac_file"; then :
2749 $as_echo "$as_me: failed program was:" >&5
2750 sed 's/^/| /' conftest.
$ac_ext >&5
2752 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2753 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2754 { as_fn_set_status
77
2755 as_fn_error
"C compiler cannot create executables
2756 See \`config.log' for more details." "$LINENO" 5; }; }
2758 ac_exeext
=$ac_cv_exeext
2760 # Check that the compiler produces executables we can run. If not, either
2761 # the compiler is broken, or we cross compile.
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2763 $as_echo_n "checking whether the C compiler works... " >&6; }
2764 # If not cross compiling, check that we can run a simple program.
2765 if test "$cross_compiling" != yes; then
2766 if { ac_try
='./$ac_file'
2767 { { case "(($ac_try" in
2768 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2769 *) ac_try_echo=$ac_try;;
2771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2772 $as_echo "$ac_try_echo"; } >&5
2773 (eval "$ac_try") 2>&5
2775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2776 test $ac_status = 0; }; }; then
2779 if test "$cross_compiling" = maybe; then
2782 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2784 as_fn_error "cannot run C compiled programs.
2785 If you meant to cross compile
, use \
`--host'.
2786 See \`config.log
' for more details." "$LINENO" 5; }
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2791 $as_echo "yes" >&6; }
2793 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2794 ac_clean_files=$ac_clean_files_save
2795 # Check that the compiler produces executables we can run. If not, either
2796 # the compiler is broken, or we cross compile.
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2798 $as_echo_n "checking whether we are cross compiling... " >&6; }
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2800 $as_echo "$cross_compiling" >&6; }
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2803 $as_echo_n "checking for suffix of executables... " >&6; }
2804 if { { ac_try="$ac_link"
2806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2807 *) ac_try_echo=$ac_try;;
2809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2810 $as_echo "$ac_try_echo"; } >&5
2811 (eval "$ac_link") 2>&5
2813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2814 test $ac_status = 0; }; then :
2815 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2816 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2817 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2819 for ac_file
in conftest.exe conftest conftest.
*; do
2820 test -f "$ac_file" ||
continue
2822 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2823 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2829 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2831 as_fn_error
"cannot compute suffix of executables: cannot compile and link
2832 See \`config.log' for more details." "$LINENO" 5; }
2834 rm -f conftest
$ac_cv_exeext
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2836 $as_echo "$ac_cv_exeext" >&6; }
2838 rm -f conftest.
$ac_ext
2839 EXEEXT
=$ac_cv_exeext
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2842 $as_echo_n "checking for suffix of object files... " >&6; }
2843 if test "${ac_cv_objext+set}" = set; then :
2844 $as_echo_n "(cached) " >&6
2846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2847 /* end confdefs.h. */
2857 rm -f conftest.o conftest.obj
2858 if { { ac_try
="$ac_compile"
2860 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2861 *) ac_try_echo=$ac_try;;
2863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2864 $as_echo "$ac_try_echo"; } >&5
2865 (eval "$ac_compile") 2>&5
2867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2868 test $ac_status = 0; }; then :
2869 for ac_file in conftest.o conftest.obj conftest.*; do
2870 test -f "$ac_file" || continue;
2872 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2873 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2878 $as_echo "$as_me: failed program was:" >&5
2879 sed 's/^/| /' conftest.$ac_ext >&5
2881 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2882 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2883 as_fn_error "cannot compute suffix of object files
: cannot compile
2884 See \
`config.log' for more details." "$LINENO" 5; }
2886 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2889 $as_echo "$ac_cv_objext" >&6; }
2890 OBJEXT=$ac_cv_objext
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2893 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2894 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2895 $as_echo_n "(cached) " >&6
2897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2898 /* end confdefs.h. */
2911 if ac_fn_c_try_compile "$LINENO"; then :
2916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2917 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2921 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2922 if test $ac_compiler_gnu = yes; then
2927 ac_test_CFLAGS=${CFLAGS+set}
2928 ac_save_CFLAGS=$CFLAGS
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2930 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2931 if test "${ac_cv_prog_cc_g+set}" = set; then :
2932 $as_echo_n "(cached) " >&6
2934 ac_save_c_werror_flag=$ac_c_werror_flag
2935 ac_c_werror_flag=yes
2938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2939 /* end confdefs.h. */
2949 if ac_fn_c_try_compile "$LINENO"; then :
2953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2954 /* end confdefs.h. */
2964 if ac_fn_c_try_compile "$LINENO"; then :
2967 ac_c_werror_flag=$ac_save_c_werror_flag
2969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2970 /* end confdefs.h. */
2980 if ac_fn_c_try_compile "$LINENO"; then :
2983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2988 ac_c_werror_flag=$ac_save_c_werror_flag
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2991 $as_echo "$ac_cv_prog_cc_g" >&6; }
2992 if test "$ac_test_CFLAGS" = set; then
2993 CFLAGS=$ac_save_CFLAGS
2994 elif test $ac_cv_prog_cc_g = yes; then
2995 if test "$GCC" = yes; then
3001 if test "$GCC" = yes; then
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3008 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3009 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3010 $as_echo_n "(cached) " >&6
3012 ac_cv_prog_cc_c89=no
3014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3015 /* end confdefs.h. */
3018 #include <sys/types.h>
3019 #include <sys/stat.h>
3020 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3021 struct buf { int x; };
3022 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3023 static char *e (p, i)
3029 static char *f (char * (*g) (char **, int), char **p, ...)
3034 s = g (p, va_arg (v,int));
3039 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3040 function prototypes and stuff, but not '\xHH' hex character constants.
3041 These don't provoke an error unfortunately, instead are silently treated
3042 as 'x'. The following induces an error, until -std is added to get
3043 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3044 array size at least. It's necessary to write '\x00'==0 to get something
3045 that's true only with -std. */
3046 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3048 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3049 inside strings and character constants. */
3051 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3053 int test (int i, double x);
3054 struct s1 {int (*f) (int a);};
3055 struct s2 {int (*f) (double a);};
3056 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3062 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3067 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3068 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3070 CC="$ac_save_CC $ac_arg"
3071 if ac_fn_c_try_compile "$LINENO"; then :
3072 ac_cv_prog_cc_c89=$ac_arg
3074 rm -f core conftest.err conftest.$ac_objext
3075 test "x$ac_cv_prog_cc_c89" != "xno" && break
3077 rm -f conftest.$ac_ext
3082 case "x$ac_cv_prog_cc_c89" in
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3085 $as_echo "none needed" >&6; } ;;
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3088 $as_echo "unsupported" >&6; } ;;
3090 CC="$CC $ac_cv_prog_cc_c89"
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3092 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3094 if test "x$ac_cv_prog_cc_c89" != xno; then :
3099 ac_cpp='$CPP $CPPFLAGS'
3100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3106 ac_cpp='$CPP $CPPFLAGS'
3107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3111 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3112 # On Suns, sometimes $CPP names a directory.
3113 if test -n "$CPP" && test -d "$CPP"; then
3116 if test -z "$CPP"; then
3117 if test "${ac_cv_prog_CPP+set}" = set; then :
3118 $as_echo_n "(cached) " >&6
3120 # Double quotes because CPP needs to be expanded
3121 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
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 :
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3181 $as_echo "$CPP" >&6; }
3183 for ac_c_preproc_warn_flag
in '' yes
3185 # Use a header file that comes with gcc, so configuring glibc
3186 # with a fresh cross-compiler works.
3187 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3188 # <limits.h> exists even on freestanding compilers.
3189 # On the NeXT, cc -E runs the code through the compiler's parser,
3190 # not just through cpp. "Syntax error" is here to catch this case.
3191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3192 /* end confdefs.h. */
3194 # include <limits.h>
3196 # include <assert.h>
3200 if ac_fn_c_try_cpp
"$LINENO"; then :
3203 # Broken: fails on valid input.
3206 rm -f conftest.err conftest.
$ac_ext
3208 # OK, works on sane cases. Now check whether nonexistent headers
3209 # can be detected and how.
3210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3211 /* end confdefs.h. */
3212 #include <ac_nonexistent.h>
3214 if ac_fn_c_try_cpp
"$LINENO"; then :
3215 # Broken: success on invalid input.
3218 # Passes both tests.
3222 rm -f conftest.err conftest.
$ac_ext
3225 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3226 rm -f conftest.err conftest.
$ac_ext
3227 if $ac_preproc_ok; then :
3230 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3232 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3233 See \`config.log' for more details." "$LINENO" 5; }
3237 ac_cpp
='$CPP $CPPFLAGS'
3238 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3239 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3240 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3244 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3245 if test "${ac_cv_path_GREP+set}" = set; then :
3246 $as_echo_n "(cached) " >&6
3248 if test -z "$GREP"; then
3249 ac_path_GREP_found
=false
3250 # Loop through the user's path and test for each of PROGNAME-LIST
3251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3252 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3255 test -z "$as_dir" && as_dir
=.
3256 for ac_prog
in grep ggrep
; do
3257 for ac_exec_ext
in '' $ac_executable_extensions; do
3258 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3259 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3260 # Check for GNU ac_path_GREP and select it if it is found.
3261 # Check for GNU $ac_path_GREP
3262 case `"$ac_path_GREP" --version 2>&1` in
3264 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3267 $as_echo_n 0123456789 >"conftest.in"
3270 cat "conftest.in" "conftest.in" >"conftest.tmp"
3271 mv "conftest.tmp" "conftest.in"
3272 cp "conftest.in" "conftest.nl"
3273 $as_echo 'GREP' >> "conftest.nl"
3274 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3275 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3276 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3277 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3278 # Best one so far, save it but keep looking for a better one
3279 ac_cv_path_GREP
="$ac_path_GREP"
3280 ac_path_GREP_max
=$ac_count
3282 # 10*(2^10) chars as input seems more than enough
3283 test $ac_count -gt 10 && break
3285 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3288 $ac_path_GREP_found && break 3
3293 if test -z "$ac_cv_path_GREP"; then
3294 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3297 ac_cv_path_GREP
=$GREP
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3302 $as_echo "$ac_cv_path_GREP" >&6; }
3303 GREP
="$ac_cv_path_GREP"
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3307 $as_echo_n "checking for egrep... " >&6; }
3308 if test "${ac_cv_path_EGREP+set}" = set; then :
3309 $as_echo_n "(cached) " >&6
3311 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3312 then ac_cv_path_EGREP
="$GREP -E"
3314 if test -z "$EGREP"; then
3315 ac_path_EGREP_found
=false
3316 # Loop through the user's path and test for each of PROGNAME-LIST
3317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3318 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3321 test -z "$as_dir" && as_dir
=.
3322 for ac_prog
in egrep; do
3323 for ac_exec_ext
in '' $ac_executable_extensions; do
3324 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3325 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3326 # Check for GNU ac_path_EGREP and select it if it is found.
3327 # Check for GNU $ac_path_EGREP
3328 case `"$ac_path_EGREP" --version 2>&1` in
3330 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3333 $as_echo_n 0123456789 >"conftest.in"
3336 cat "conftest.in" "conftest.in" >"conftest.tmp"
3337 mv "conftest.tmp" "conftest.in"
3338 cp "conftest.in" "conftest.nl"
3339 $as_echo 'EGREP' >> "conftest.nl"
3340 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3341 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3342 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3343 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3344 # Best one so far, save it but keep looking for a better one
3345 ac_cv_path_EGREP
="$ac_path_EGREP"
3346 ac_path_EGREP_max
=$ac_count
3348 # 10*(2^10) chars as input seems more than enough
3349 test $ac_count -gt 10 && break
3351 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3354 $ac_path_EGREP_found && break 3
3359 if test -z "$ac_cv_path_EGREP"; then
3360 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3363 ac_cv_path_EGREP
=$EGREP
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3369 $as_echo "$ac_cv_path_EGREP" >&6; }
3370 EGREP
="$ac_cv_path_EGREP"
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3374 $as_echo_n "checking for ANSI C header files... " >&6; }
3375 if test "${ac_cv_header_stdc+set}" = set; then :
3376 $as_echo_n "(cached) " >&6
3378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3379 /* end confdefs.h. */
3393 if ac_fn_c_try_compile
"$LINENO"; then :
3394 ac_cv_header_stdc
=yes
3396 ac_cv_header_stdc
=no
3398 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3400 if test $ac_cv_header_stdc = yes; then
3401 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3403 /* end confdefs.h. */
3407 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3408 $EGREP "memchr" >/dev
/null
2>&1; then :
3411 ac_cv_header_stdc
=no
3417 if test $ac_cv_header_stdc = yes; then
3418 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3420 /* end confdefs.h. */
3424 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3425 $EGREP "free" >/dev
/null
2>&1; then :
3428 ac_cv_header_stdc
=no
3434 if test $ac_cv_header_stdc = yes; then
3435 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3436 if test "$cross_compiling" = yes; then :
3439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3440 /* end confdefs.h. */
3443 #if ((' ' & 0x0FF) == 0x020)
3444 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3445 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3447 # define ISLOWER(c) \
3448 (('a' <= (c) && (c) <= 'i') \
3449 || ('j' <= (c) && (c) <= 'r') \
3450 || ('s' <= (c) && (c) <= 'z'))
3451 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3454 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3459 for (i = 0; i < 256; i++)
3460 if (XOR (islower (i), ISLOWER (i))
3461 || toupper (i) != TOUPPER (i))
3466 if ac_fn_c_try_run
"$LINENO"; then :
3469 ac_cv_header_stdc
=no
3471 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3472 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3478 $as_echo "$ac_cv_header_stdc" >&6; }
3479 if test $ac_cv_header_stdc = yes; then
3481 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3485 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3486 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3487 inttypes.h stdint.h unistd.h
3489 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3490 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3492 eval as_val
=\$
$as_ac_Header
3493 if test "x$as_val" = x
""yes; then :
3494 cat >>confdefs.h
<<_ACEOF
3495 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3503 for ac_header
in pthread.h
3505 ac_fn_c_check_header_mongrel
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
3506 if test "x$ac_cv_header_pthread_h" = x
""yes; then :
3507 cat >>confdefs.h
<<_ACEOF
3508 #define HAVE_PTHREAD_H 1
3518 ac_config_files
="$ac_config_files Makefile gdb.ada/Makefile gdb.arch/Makefile gdb.asm/Makefile gdb.base/Makefile gdb.cp/Makefile gdb.disasm/Makefile gdb.dwarf2/Makefile gdb.fortran/Makefile gdb.server/Makefile gdb.java/Makefile gdb.mi/Makefile gdb.modula2/Makefile gdb.multi/Makefile gdb.objc/Makefile gdb.opt/Makefile gdb.pascal/Makefile gdb.python/Makefile gdb.reverse/Makefile gdb.threads/Makefile gdb.trace/Makefile gdb.xml/Makefile"
3520 cat >confcache
<<\_ACEOF
3521 # This file is a shell script that caches the results of configure
3522 # tests run on this system so they can be shared between configure
3523 # scripts and configure runs, see configure's option --config-cache.
3524 # It is not useful on other systems. If it contains results you don't
3525 # want to keep, you may remove or edit it.
3527 # config.status only pays attention to the cache file if you give it
3528 # the --recheck option to rerun configure.
3530 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3531 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3536 # The following way of writing the cache mishandles newlines in values,
3537 # but we know of no workaround that is simple, portable, and efficient.
3538 # So, we kill variables containing newlines.
3539 # Ultrix sh set writes to stderr and can't be redirected directly,
3540 # and sets the high bit in the cache file unless we assign to the vars.
3542 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3543 eval ac_val
=\$
$ac_var
3547 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3548 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3551 _ | IFS | as_nl
) ;; #(
3552 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3553 *) { eval $ac_var=; unset $ac_var;} ;;
3559 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3560 *${as_nl}ac_space
=\
*)
3561 # `set' does not quote correctly, so add quotes: double-quote
3562 # substitution turns \\\\ into \\, and sed turns \\ into \.
3565 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3568 # `set' quotes correctly as required by POSIX, so do not add quotes.
3569 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3578 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3580 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3582 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3583 if test -w "$cache_file"; then
3584 test "x$cache_file" != "x/dev/null" &&
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3586 $as_echo "$as_me: updating cache $cache_file" >&6;}
3587 cat confcache
>$cache_file
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3590 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3595 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3596 # Let make expand exec_prefix.
3597 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3599 # Transform confdefs.h into DEFS.
3600 # Protect against shell expansion while executing Makefile rules.
3601 # Protect against Makefile macro expansion.
3603 # If the first sed substitution is executed (which looks for macros that
3604 # take arguments), then branch to the quote section. Otherwise,
3605 # look for a macro that doesn't take arguments.
3615 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3617 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3621 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3634 DEFS
=`sed -n "$ac_script" confdefs.h`
3639 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3640 # 1. Remove the extension, and $U if already installed.
3641 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3642 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3643 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3644 # will be set to the directory where LIBOBJS objects are built.
3645 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3646 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
3650 LTLIBOBJS
=$ac_ltlibobjs
3653 if test -z "${GMAKE_TRUE}" && test -z "${GMAKE_FALSE}"; then
3654 as_fn_error
"conditional \"GMAKE\" was never defined.
3655 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3658 : ${CONFIG_STATUS=./config.status}
3660 ac_clean_files_save
=$ac_clean_files
3661 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3663 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3665 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3667 # Generated by $as_me.
3668 # Run this file to recreate the current configuration.
3669 # Compiler output produced by configure, useful for debugging
3670 # configure, is in config.log if it exists.
3676 SHELL=\${CONFIG_SHELL-$SHELL}
3679 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
3680 ## -------------------- ##
3681 ## M4sh Initialization. ##
3682 ## -------------------- ##
3684 # Be more Bourne compatible
3685 DUALCASE
=1; export DUALCASE
# for MKS sh
3686 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
3689 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3690 # is contrary to our usage. Disable this feature.
3691 alias -g '${1+"$@"}'='"$@"'
3692 setopt NO_GLOB_SUBST
3694 case `(set -o) 2>/dev/null` in #(
3706 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3707 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3708 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3709 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3710 # Prefer a ksh shell builtin over an external printf program on Solaris,
3711 # but without wasting forks for bash or zsh.
3712 if test -z "$BASH_VERSION$ZSH_VERSION" \
3713 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3714 as_echo='print
-r --'
3715 as_echo_n='print
-rn --'
3716 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3717 as_echo='printf %s
\n'
3718 as_echo_n='printf %s
'
3720 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3721 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3722 as_echo_n='/usr
/ucb
/echo -n'
3724 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3725 as_echo_n_body='eval
3729 expr "X$arg" : "X\\(.*\\)$as_nl";
3730 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3732 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3734 export as_echo_n_body
3735 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3738 as_echo='sh
-c $as_echo_body as_echo
'
3741 # The user is always right.
3742 if test "${PATH_SEPARATOR+set}" != set; then
3744 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3745 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3752 # We need space, tab and new line, in precisely that order. Quoting is
3753 # there to prevent editors from complaining about space-tab.
3754 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3755 # splitting by setting IFS to empty value.)
3758 # Find who we are. Look in the path if we contain no directory separator.
3760 *[\\/]* ) as_myself=$0 ;;
3761 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3765 test -z "$as_dir" && as_dir=.
3766 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3772 # We did not find ourselves, most probably we were run as `sh COMMAND'
3773 # in which case we are not to be found in the path.
3774 if test "x$as_myself" = x
; then
3777 if test ! -f "$as_myself"; then
3778 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3782 # Unset variables that we do not need and which cause bugs (e.g. in
3783 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3784 # suppresses any "Segmentation fault" message there. '((' could
3785 # trigger a bug in pdksh 5.2.14.
3786 for as_var
in BASH_ENV ENV MAIL MAILPATH
3787 do eval test x\
${$as_var+set} = xset \
3788 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
3801 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
3804 # as_fn_error ERROR [LINENO LOG_FD]
3805 # ---------------------------------
3806 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3807 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3808 # script with status $?, using 1 if that was 0.
3811 as_status
=$?
; test $as_status -eq 0 && as_status
=1
3813 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3814 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3816 $as_echo "$as_me: error: $1" >&2
3817 as_fn_exit
$as_status
3821 # as_fn_set_status STATUS
3822 # -----------------------
3823 # Set $? to STATUS, without forking.
3827 } # as_fn_set_status
3831 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3841 # Portably unset VAR.
3844 { eval $1=; unset $1;}
3846 as_unset
=as_fn_unset
3847 # as_fn_append VAR VALUE
3848 # ----------------------
3849 # Append the text in VALUE to the end of the definition contained in VAR. Take
3850 # advantage of any shell optimizations that allow amortized linear growth over
3851 # repeated appends, instead of the typical quadratic growth present in naive
3853 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
3854 eval 'as_fn_append ()
3865 # as_fn_arith ARG...
3866 # ------------------
3867 # Perform arithmetic evaluation on the ARGs, and store the result in the
3868 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3869 # must be portable across $(()) and expr.
3870 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
3871 eval 'as_fn_arith ()
3878 as_val
=`expr "$@" || test $? -eq 1`
3883 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3884 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3890 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3891 as_basename
=basename
3896 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3902 as_me
=`$as_basename -- "$0" ||
3903 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3904 X"$0" : 'X\(//\)$' \| \
3905 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3907 sed '/^.*\/\([^/][^/]*\)\/*$/{
3921 # Avoid depending upon Character Ranges.
3922 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3923 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3924 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3925 as_cr_digits
='0123456789'
3926 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3928 ECHO_C
= ECHO_N
= ECHO_T
=
3929 case `echo -n x` in #(((((
3931 case `echo 'xy\c'` in
3932 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3934 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
3941 rm -f conf$$ conf$$.exe conf$$.
file
3942 if test -d conf$$.dir
; then
3943 rm -f conf$$.dir
/conf$$.
file
3946 mkdir conf$$.dir
2>/dev
/null
3948 if (echo >conf$$.
file) 2>/dev
/null
; then
3949 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3951 # ... but there are two gotchas:
3952 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3953 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3954 # In both cases, we have to default to `cp -p'.
3955 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3957 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3965 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3966 rmdir conf$$.dir
2>/dev
/null
3971 # Create "$as_dir" as a directory, including parents if necessary.
3976 -*) as_dir
=.
/$as_dir;;
3978 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
3982 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3983 *) as_qdir
=$as_dir;;
3985 as_dirs
="'$as_qdir' $as_dirs"
3986 as_dir
=`$as_dirname -- "$as_dir" ||
3987 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3988 X"$as_dir" : 'X\(//\)[^/]' \| \
3989 X"$as_dir" : 'X\(//\)$' \| \
3990 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3991 $as_echo X"$as_dir" |
3992 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4009 test -d "$as_dir" && break
4011 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4012 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
4016 if mkdir
-p .
2>/dev
/null
; then
4017 as_mkdir_p
='mkdir -p "$as_dir"'
4019 test -d .
/-p && rmdir .
/-p
4023 if test -x / >/dev
/null
2>&1; then
4026 if ls -dL / >/dev
/null
2>&1; then
4033 if test -d "$1"; then
4039 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4040 ???[sx]*):;;*)false;;esac;fi
4044 as_executable_p
=$as_test_x
4046 # Sed expression to map a string onto a valid CPP name.
4047 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4049 # Sed expression to map a string onto a valid variable name.
4050 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4054 ## ----------------------------------- ##
4055 ## Main body of $CONFIG_STATUS script. ##
4056 ## ----------------------------------- ##
4058 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4061 # Save the log message, to keep $0 and so on meaningful, and to
4062 # report actual input values of CONFIG_FILES etc. instead of their
4063 # values after options handling.
4065 This file was extended by $as_me, which was
4066 generated by GNU Autoconf 2.64. Invocation command line was
4068 CONFIG_FILES = $CONFIG_FILES
4069 CONFIG_HEADERS = $CONFIG_HEADERS
4070 CONFIG_LINKS = $CONFIG_LINKS
4071 CONFIG_COMMANDS = $CONFIG_COMMANDS
4074 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4079 case $ac_config_files in *"
4080 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4085 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4086 # Files that config.status was made for.
4087 config_files="$ac_config_files"
4091 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4093 \`$as_me' instantiates files and other configuration actions
4094 from templates according to the current configuration. Unless the files
4095 and actions are specified as TAGs, all are instantiated by default.
4097 Usage: $0 [OPTION]... [TAG]...
4099 -h, --help print this help, then exit
4100 -V, --version print version number and configuration settings, then exit
4101 -q, --quiet, --silent
4102 do not print progress messages
4103 -d, --debug don't remove temporary files
4104 --recheck update $as_me by reconfiguring in the same conditions
4105 --file=FILE[:TEMPLATE]
4106 instantiate the configuration file FILE
4108 Configuration files:
4111 Report bugs to the package provider."
4114 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4117 configured by $0, generated by GNU Autoconf 2.64,
4118 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4120 Copyright (C) 2009 Free Software Foundation, Inc.
4121 This config.status script is free software; the Free Software Foundation
4122 gives unlimited permission to copy, distribute and modify it."
4126 test -n "\$AWK" || AWK=awk
4129 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4130 # The default lists apply if the user does not specify any file.
4136 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4137 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4148 # Handling of the options.
4149 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4151 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4152 $as_echo "$ac_cs_version"; exit ;;
4153 --debug |
--debu |
--deb |
--de |
--d |
-d )
4155 --file |
--fil |
--fi |
--f )
4158 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4160 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4161 ac_need_defaults
=false
;;
4162 --he |
--h |
--help |
--hel |
-h )
4163 $as_echo "$ac_cs_usage"; exit ;;
4164 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4165 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4169 -*) as_fn_error
"unrecognized option: \`$1'
4170 Try \`$0 --help' for more information." ;;
4172 *) as_fn_append ac_config_targets
" $1"
4173 ac_need_defaults
=false
;;
4179 ac_configure_extra_args
=
4181 if $ac_cs_silent; then
4183 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4188 if \$ac_cs_recheck; then
4189 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4191 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4192 CONFIG_SHELL='$SHELL'
4198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4202 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4203 ## Running $as_me. ##
4209 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4214 # Handling of arguments.
4215 for ac_config_target
in $ac_config_targets
4217 case $ac_config_target in
4218 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4219 "gdb.ada/Makefile") CONFIG_FILES
="$CONFIG_FILES gdb.ada/Makefile" ;;
4220 "gdb.arch/Makefile") CONFIG_FILES
="$CONFIG_FILES gdb.arch/Makefile" ;;
4221 "gdb.asm/Makefile") CONFIG_FILES
="$CONFIG_FILES gdb.asm/Makefile" ;;
4222 "gdb.base/Makefile") CONFIG_FILES
="$CONFIG_FILES gdb.base/Makefile" ;;
4223 "gdb.cp/Makefile") CONFIG_FILES
="$CONFIG_FILES gdb.cp/Makefile" ;;
4224 "gdb.disasm/Makefile") CONFIG_FILES
="$CONFIG_FILES gdb.disasm/Makefile" ;;
4225 "gdb.dwarf2/Makefile") CONFIG_FILES
="$CONFIG_FILES gdb.dwarf2/Makefile" ;;
4226 "gdb.fortran/Makefile") CONFIG_FILES
="$CONFIG_FILES gdb.fortran/Makefile" ;;
4227 "gdb.server/Makefile") CONFIG_FILES
="$CONFIG_FILES gdb.server/Makefile" ;;
4228 "gdb.java/Makefile") CONFIG_FILES
="$CONFIG_FILES gdb.java/Makefile" ;;
4229 "gdb.mi/Makefile") CONFIG_FILES
="$CONFIG_FILES gdb.mi/Makefile" ;;
4230 "gdb.modula2/Makefile") CONFIG_FILES
="$CONFIG_FILES gdb.modula2/Makefile" ;;
4231 "gdb.multi/Makefile") CONFIG_FILES
="$CONFIG_FILES gdb.multi/Makefile" ;;
4232 "gdb.objc/Makefile") CONFIG_FILES
="$CONFIG_FILES gdb.objc/Makefile" ;;
4233 "gdb.opt/Makefile") CONFIG_FILES
="$CONFIG_FILES gdb.opt/Makefile" ;;
4234 "gdb.pascal/Makefile") CONFIG_FILES
="$CONFIG_FILES gdb.pascal/Makefile" ;;
4235 "gdb.python/Makefile") CONFIG_FILES
="$CONFIG_FILES gdb.python/Makefile" ;;
4236 "gdb.reverse/Makefile") CONFIG_FILES
="$CONFIG_FILES gdb.reverse/Makefile" ;;
4237 "gdb.threads/Makefile") CONFIG_FILES
="$CONFIG_FILES gdb.threads/Makefile" ;;
4238 "gdb.trace/Makefile") CONFIG_FILES
="$CONFIG_FILES gdb.trace/Makefile" ;;
4239 "gdb.xml/Makefile") CONFIG_FILES
="$CONFIG_FILES gdb.xml/Makefile" ;;
4241 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4246 # If the user did not use the arguments to specify the items to instantiate,
4247 # then the envvar interface is used. Set only those that are not.
4248 # We use the long form for the default assignment because of an extremely
4249 # bizarre bug on SunOS 4.1.3.
4250 if $ac_need_defaults; then
4251 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4254 # Have a temporary directory for convenience. Make it in the build tree
4255 # simply because there is no reason against having it here, and in addition,
4256 # creating and moving files from /tmp can sometimes cause problems.
4257 # Hook for its removal unless debugging.
4258 # Note that there is a small window in which the directory will not be cleaned:
4259 # after its creation but before its name has been assigned to `$tmp'.
4263 trap 'exit_status=$?
4264 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4266 trap 'as_fn_exit 1' 1 2 13 15
4268 # Create a (secure) tmp directory for tmp files.
4271 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4272 test -n "$tmp" && test -d "$tmp"
4275 tmp
=.
/conf$$
-$RANDOM
4276 (umask 077 && mkdir
"$tmp")
4277 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
4279 # Set up the scripts for CONFIG_FILES section.
4280 # No need to generate them if there are no CONFIG_FILES.
4281 # This happens for instance with `./config.status config.h'.
4282 if test -n "$CONFIG_FILES"; then
4285 ac_cr
=`echo X | tr X '\015'`
4286 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4287 # But we know of no other shell where ac_cr would be empty at this
4288 # point, so we can use a bashism as a fallback.
4289 if test "x$ac_cr" = x
; then
4290 eval ac_cr
=\$
\'\\r
\'
4292 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4293 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4299 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4304 echo "cat >conf$$subs.awk <<_ACEOF" &&
4305 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4308 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4309 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4311 for ac_last_try in false false false false false :; do
4312 . ./conf$$subs.sh ||
4313 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4315 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4316 if test $ac_delim_n = $ac_delim_num; then
4318 elif $ac_last_try; then
4319 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4321 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4326 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4327 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
4331 s/^/S["/; s
/!.
*/"]=/
4341 s/\(.\{148\}\).*/\1/
4343 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4348 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4355 s/\(.\{148\}\).*/\1/
4357 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4361 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4366 ' <conf$$subs.awk | sed '
4371 ' >>$CONFIG_STATUS || ac_write_fail=1
4372 rm -f conf$$subs.awk
4373 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4375 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
4376 for (key in S) S_is_set[key] = 1
4382 nfields = split(line, field, "@
")
4384 len = length(field[1])
4385 for (i = 2; i < nfields; i++) {
4387 keylen = length(key)
4388 if (S_is_set[key]) {
4390 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4391 len += length(value) + length(field[++i])
4402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4403 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4404 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4407 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
4408 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
4411 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4412 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
4413 # trailing colons and then remove the whole line if VPATH becomes empty
4414 # (actually we leave an empty line to preserve line numbers).
4415 if test "x
$srcdir" = x.; then
4416 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4420 s/^\([^=]*=[ ]*\):*/\1/
4426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4427 fi # test -n "$CONFIG_FILES"
4430 eval set X " :F
$CONFIG_FILES "
4435 :[FHLC]) ac_mode=$ac_tag; continue;;
4437 case $ac_mode$ac_tag in
4439 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
4440 :[FH]-) ac_tag=-:-;;
4441 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4458 -) ac_f="$tmp/stdin";;
4459 *) # Look for the file first in the build tree, then in the source tree
4460 # (if the path is not absolute). The absolute path cannot be DOS-style,
4461 # because $ac_f cannot contain `:'.
4465 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4467 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4469 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
4470 as_fn_append ac_file_inputs " '$ac_f'"
4473 # Let's still pretend it is `configure' which instantiates (i.e., don't
4474 # use $as_me), people would be surprised to read:
4475 # /* config.h. Generated by config.status. */
4476 configure_input='Generated from '`
4477 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4479 if test x"$ac_file" != x-; then
4480 configure_input="$ac_file.
$configure_input"
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
4482 $as_echo "$as_me: creating
$ac_file" >&6;}
4484 # Neutralize special characters interpreted by sed in replacement strings.
4485 case $configure_input in #(
4486 *\&* | *\|* | *\\* )
4487 ac_sed_conf_input=`$as_echo "$configure_input" |
4488 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4489 *) ac_sed_conf_input=$configure_input;;
4493 *:-:* | *:-) cat >"$tmp/stdin
" \
4494 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
4499 ac_dir=`$as_dirname -- "$ac_file" ||
4500 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4501 X"$ac_file" : 'X\(//\)[^/]' \| \
4502 X"$ac_file" : 'X\(//\)$' \| \
4503 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4504 $as_echo X"$ac_file" |
4505 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4522 as_dir="$ac_dir"; as_fn_mkdir_p
4526 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4528 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4529 # A "..
" for each directory in $ac_dir_suffix.
4530 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4531 case $ac_top_builddir_sub in
4532 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4533 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4536 ac_abs_top_builddir=$ac_pwd
4537 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4538 # for backward compatibility:
4539 ac_top_builddir=$ac_top_build_prefix
4542 .) # We are building in place.
4544 ac_top_srcdir=$ac_top_builddir_sub
4545 ac_abs_top_srcdir=$ac_pwd ;;
4546 [\\/]* | ?:[\\/]* ) # Absolute name.
4547 ac_srcdir=$srcdir$ac_dir_suffix;
4548 ac_top_srcdir=$srcdir
4549 ac_abs_top_srcdir=$srcdir ;;
4551 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4552 ac_top_srcdir=$ac_top_build_prefix$srcdir
4553 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4555 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4566 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4567 # If the template does not know about datarootdir, expand it.
4568 # FIXME: This hack should be removed a few years after 2.60.
4569 ac_datarootdir_hack=; ac_datarootdir_seen=
4580 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
4581 *datarootdir*) ac_datarootdir_seen=yes;;
4582 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
4584 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
4586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4587 ac_datarootdir_hack='
4588 s&@datadir@&$datadir&g
4589 s&@docdir@&$docdir&g
4590 s&@infodir@&$infodir&g
4591 s&@localedir@&$localedir&g
4592 s&@mandir@&$mandir&g
4593 s&\\\${datarootdir}&$datarootdir&g' ;;
4597 # Neutralize VPATH when `$srcdir' = `.'.
4598 # Shell code in configure.ac might set extrasub.
4599 # FIXME: do we really want to maintain this feature?
4600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4601 ac_sed_extra="$ac_vpsub
4604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4606 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4607 s|@configure_input@|
$ac_sed_conf_input|
;t t
4608 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
4609 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
4610 s
&@srcdir@
&$ac_srcdir&;t t
4611 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
4612 s
&@top_srcdir@
&$ac_top_srcdir&;t t
4613 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
4614 s
&@builddir@
&$ac_builddir&;t t
4615 s
&@abs_builddir@
&$ac_abs_builddir&;t t
4616 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
4617 $ac_datarootdir_hack
4619 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
4620 || as_fn_error "could not create
$ac_file" "$LINENO" 5
4622 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4623 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
4624 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
4626 which seems to be undefined. Please make sure it is defined." >&5
4627 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
4628 which seems to be undefined. Please make sure it is defined." >&2;}
4632 -) cat "$tmp/out" && rm -f "$tmp/out";;
4633 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4635 || as_fn_error "could not create $ac_file" "$LINENO" 5
4647 ac_clean_files=$ac_clean_files_save
4649 test $ac_write_fail = 0 ||
4650 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4653 # configure is writing to config.log, and then calls config.status.
4654 # config.status does its own redirection, appending to config.log.
4655 # Unfortunately, on DOS this fails, as config.log is still kept open
4656 # by configure, so config.status won't be able to
write to it
; its
4657 # output is simply discarded. So we exec the FD to /dev/null,
4658 # effectively closing config.log, so it can be properly (re)opened and
4659 # appended to by config.status. When coming back to configure, we
4660 # need to make the FD available again.
4661 if test "$no_create" != yes; then
4663 ac_config_status_args
=
4664 test "$silent" = yes &&
4665 ac_config_status_args
="$ac_config_status_args --quiet"
4667 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4669 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4670 # would make configure fail if this is the last instruction.
4671 $ac_cs_success || as_fn_exit $?
4675 # CONFIG_SUBDIRS section.
4677 if test "$no_recursion" != yes; then
4679 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
4680 # so they do not pile up.
4681 ac_sub_configure_args
=
4683 eval "set x $ac_configure_args"
4687 if test -n "$ac_prev"; then
4692 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
4693 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
4694 ac_prev
=cache_file
;;
4695 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
4696 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
4699 --config-cache |
-C)
4701 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
4703 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
4705 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
4707 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
4709 --disable-option-checking)
4713 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4715 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
4719 # Always prepend --prefix to ensure using the same prefix
4720 # in subdir configurations.
4721 ac_arg
="--prefix=$prefix"
4723 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4725 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
4728 if test "$silent" = yes; then
4729 ac_sub_configure_args
="--silent $ac_sub_configure_args"
4732 # Always prepend --disable-option-checking to silence warnings, since
4733 # different subdirs can have different --enable and --with options.
4734 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
4737 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
4739 # Do not complain, so a configure script can configure whichever
4740 # parts of a large source tree are present.
4741 test -d "$srcdir/$ac_dir" ||
continue
4743 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
4744 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
4745 $as_echo "$ac_msg" >&6
4746 as_dir
="$ac_dir"; as_fn_mkdir_p
4750 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4752 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4753 # A ".." for each directory in $ac_dir_suffix.
4754 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4755 case $ac_top_builddir_sub in
4756 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4757 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
4760 ac_abs_top_builddir
=$ac_pwd
4761 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
4762 # for backward compatibility:
4763 ac_top_builddir
=$ac_top_build_prefix
4766 .
) # We are building in place.
4768 ac_top_srcdir
=$ac_top_builddir_sub
4769 ac_abs_top_srcdir
=$ac_pwd ;;
4770 [\\/]* | ?
:[\\/]* ) # Absolute name.
4771 ac_srcdir
=$srcdir$ac_dir_suffix;
4772 ac_top_srcdir
=$srcdir
4773 ac_abs_top_srcdir
=$srcdir ;;
4775 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
4776 ac_top_srcdir
=$ac_top_build_prefix$srcdir
4777 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
4779 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
4784 # Check for guested configure; otherwise get Cygnus style configure.
4785 if test -f "$ac_srcdir/configure.gnu"; then
4786 ac_sub_configure
=$ac_srcdir/configure.gnu
4787 elif test -f "$ac_srcdir/configure"; then
4788 ac_sub_configure
=$ac_srcdir/configure
4789 elif test -f "$ac_srcdir/configure.in"; then
4790 # This should be Cygnus configure.
4791 ac_sub_configure
=$ac_aux_dir/configure
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
4794 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
4798 # The recursion is here.
4799 if test -n "$ac_sub_configure"; then
4800 # Make the cache file name correct relative to the subdirectory.
4802 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
4804 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
4807 { $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
4808 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4809 # The eval makes quoting arguments work.
4810 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
4811 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
4812 as_fn_error
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
4818 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4820 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}