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
667 ac_precious_vars='build_alias
676 ac_subdirs_all='gdb.gdbtk'
678 # Initialize some variables set by options.
680 ac_init_version=false
681 ac_unrecognized_opts=
683 # The variables have the same names as the options, with
684 # dashes changed to underlines.
692 program_transform_name=s,x,x,
700 # Installation directory options.
701 # These are left unexpanded so users can "make install exec_prefix=/foo"
702 # and all the variables that are supposed to be based on exec_prefix
703 # by default will actually change.
704 # Use braces instead of parens because sh, perl, etc. also accept them.
705 # (The list follows the same order as the GNU Coding Standards.)
706 bindir='${exec_prefix}/bin'
707 sbindir='${exec_prefix}/sbin'
708 libexecdir='${exec_prefix}/libexec'
709 datarootdir='${prefix}/share'
710 datadir='${datarootdir}'
711 sysconfdir='${prefix}/etc'
712 sharedstatedir='${prefix}/com'
713 localstatedir='${prefix}/var'
714 includedir='${prefix}/include'
715 oldincludedir='/usr/include'
716 docdir='${datarootdir}/doc/${PACKAGE}'
717 infodir='${datarootdir}/info'
722 libdir='${exec_prefix}/lib'
723 localedir='${datarootdir}/locale'
724 mandir='${datarootdir}/man'
730 # If the previous option needs an argument, assign it.
731 if test -n "$ac_prev"; then
732 eval $ac_prev=\$ac_option
738 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
742 # Accept the important Cygnus configure options, so we can diagnose typos.
744 case $ac_dashdash$ac_option in
748 -bindir | --bindir | --bindi | --bind | --bin | --bi)
750 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
753 -build | --build | --buil | --bui | --bu)
754 ac_prev=build_alias ;;
755 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
756 build_alias=$ac_optarg ;;
758 -cache-file | --cache-file | --cache-fil | --cache-fi \
759 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
760 ac_prev=cache_file ;;
761 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
762 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
763 cache_file=$ac_optarg ;;
766 cache_file=config.cache ;;
768 -datadir | --datadir | --datadi | --datad)
770 -datadir=* | --datadir=* | --datadi=* | --datad=*)
771 datadir=$ac_optarg ;;
773 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
774 | --dataroo | --dataro | --datar)
775 ac_prev=datarootdir ;;
776 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
777 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
778 datarootdir=$ac_optarg ;;
780 -disable-* | --disable-*)
781 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
784 as_fn_error "invalid feature name: $ac_useropt"
785 ac_useropt_orig=$ac_useropt
786 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
787 case $ac_user_opts in
791 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
792 ac_unrecognized_sep=', ';;
794 eval enable_$ac_useropt=no ;;
796 -docdir | --docdir | --docdi | --doc | --do)
798 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
801 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
803 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
806 -enable-* | --enable-*)
807 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
808 # Reject names that are not valid shell variable names.
809 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
810 as_fn_error "invalid feature name: $ac_useropt"
811 ac_useropt_orig=$ac_useropt
812 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
813 case $ac_user_opts in
817 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
818 ac_unrecognized_sep=', ';;
820 eval enable_$ac_useropt=\$ac_optarg ;;
822 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
823 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
824 | --exec | --exe | --ex)
825 ac_prev=exec_prefix ;;
826 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
827 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
828 | --exec=* | --exe=* | --ex=*)
829 exec_prefix=$ac_optarg ;;
831 -gas | --gas | --ga | --g)
832 # Obsolete; use --with-gas.
835 -help | --help | --hel | --he | -h)
837 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
838 ac_init_help=recursive ;;
839 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
840 ac_init_help=short ;;
842 -host | --host | --hos | --ho)
843 ac_prev=host_alias ;;
844 -host=* | --host=* | --hos=* | --ho=*)
845 host_alias=$ac_optarg ;;
847 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
849 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
851 htmldir=$ac_optarg ;;
853 -includedir | --includedir | --includedi | --included | --include \
854 | --includ | --inclu | --incl | --inc)
855 ac_prev=includedir ;;
856 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
857 | --includ=* | --inclu=* | --incl=* | --inc=*)
858 includedir=$ac_optarg ;;
860 -infodir | --infodir | --infodi | --infod | --info | --inf)
862 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
863 infodir=$ac_optarg ;;
865 -libdir | --libdir | --libdi | --libd)
867 -libdir=* | --libdir=* | --libdi=* | --libd=*)
870 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
871 | --libexe | --libex | --libe)
872 ac_prev=libexecdir ;;
873 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
874 | --libexe=* | --libex=* | --libe=*)
875 libexecdir=$ac_optarg ;;
877 -localedir | --localedir | --localedi | --localed | --locale)
879 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
880 localedir=$ac_optarg ;;
882 -localstatedir | --localstatedir | --localstatedi | --localstated \
883 | --localstate | --localstat | --localsta | --localst | --locals)
884 ac_prev=localstatedir ;;
885 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
886 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
887 localstatedir=$ac_optarg ;;
889 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
891 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
895 # Obsolete; use --without-fp.
898 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
899 | --no-cr | --no-c | -n)
902 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
903 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
906 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
907 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
908 | --oldin | --oldi | --old | --ol | --o)
909 ac_prev=oldincludedir ;;
910 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
911 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
912 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
913 oldincludedir=$ac_optarg ;;
915 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
917 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
920 -program-prefix | --program-prefix | --program-prefi | --program-pref \
921 | --program-pre | --program-pr | --program-p)
922 ac_prev=program_prefix ;;
923 -program-prefix=* | --program-prefix=* | --program-prefi=* \
924 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
925 program_prefix=$ac_optarg ;;
927 -program-suffix | --program-suffix | --program-suffi | --program-suff \
928 | --program-suf | --program-su | --program-s)
929 ac_prev=program_suffix ;;
930 -program-suffix=* | --program-suffix=* | --program-suffi=* \
931 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
932 program_suffix=$ac_optarg ;;
934 -program-transform-name | --program-transform-name \
935 | --program-transform-nam | --program-transform-na \
936 | --program-transform-n | --program-transform- \
937 | --program-transform | --program-transfor \
938 | --program-transfo | --program-transf \
939 | --program-trans | --program-tran \
940 | --progr-tra | --program-tr | --program-t)
941 ac_prev=program_transform_name ;;
942 -program-transform-name=* | --program-transform-name=* \
943 | --program-transform-nam=* | --program-transform-na=* \
944 | --program-transform-n=* | --program-transform-=* \
945 | --program-transform=* | --program-transfor=* \
946 | --program-transfo=* | --program-transf=* \
947 | --program-trans=* | --program-tran=* \
948 | --progr-tra=* | --program-tr=* | --program-t=*)
949 program_transform_name=$ac_optarg ;;
951 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
953 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
956 -psdir | --psdir | --psdi | --psd | --ps)
958 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
961 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
962 | -silent | --silent | --silen | --sile | --sil)
965 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
967 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
969 sbindir=$ac_optarg ;;
971 -sharedstatedir | --sharedstatedir | --sharedstatedi \
972 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
973 | --sharedst | --shareds | --shared | --share | --shar \
975 ac_prev=sharedstatedir ;;
976 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
977 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
978 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
980 sharedstatedir=$ac_optarg ;;
982 -site | --site | --sit)
984 -site=* | --site=* | --sit=*)
987 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
989 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
992 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
993 | --syscon | --sysco | --sysc | --sys | --sy)
994 ac_prev=sysconfdir ;;
995 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
996 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
997 sysconfdir=$ac_optarg ;;
999 -target | --target | --targe | --targ | --tar | --ta | --t)
1000 ac_prev=target_alias ;;
1001 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1002 target_alias=$ac_optarg ;;
1004 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1007 -version | --version | --versio | --versi | --vers | -V)
1008 ac_init_version=: ;;
1011 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1012 # Reject names that are not valid shell variable names.
1013 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1014 as_fn_error "invalid package name: $ac_useropt"
1015 ac_useropt_orig=$ac_useropt
1016 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1017 case $ac_user_opts in
1021 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1022 ac_unrecognized_sep=', ';;
1024 eval with_$ac_useropt=\$ac_optarg ;;
1026 -without-* | --without-*)
1027 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1028 # Reject names that are not valid shell variable names.
1029 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1030 as_fn_error "invalid package name: $ac_useropt"
1031 ac_useropt_orig=$ac_useropt
1032 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1033 case $ac_user_opts in
1037 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1038 ac_unrecognized_sep=', ';;
1040 eval with_$ac_useropt=no ;;
1043 # Obsolete; use --with-x.
1046 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1047 | --x-incl | --x-inc | --x-in | --x-i)
1048 ac_prev=x_includes ;;
1049 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1050 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1051 x_includes=$ac_optarg ;;
1053 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1054 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1055 ac_prev=x_libraries ;;
1056 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1057 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1058 x_libraries=$ac_optarg ;;
1060 -*) as_fn_error "unrecognized option: \`$ac_option'
1061 Try \`$0 --help' for more information."
1065 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1066 # Reject names that are not valid shell variable names.
1067 case $ac_envvar in #(
1068 '' | [0-9]* | *[!_$as_cr_alnum]* )
1069 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1071 eval $ac_envvar=\$ac_optarg
1072 export $ac_envvar ;;
1075 # FIXME: should be removed in autoconf 3.0.
1076 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1077 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1078 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1079 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1085 if test -n "$ac_prev"; then
1086 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1087 as_fn_error "missing argument to $ac_option"
1090 if test -n "$ac_unrecognized_opts"; then
1091 case $enable_option_checking in
1093 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1094 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1098 # Check all directory arguments for consistency.
1099 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1100 datadir sysconfdir sharedstatedir localstatedir includedir \
1101 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1102 libdir localedir mandir
1104 eval ac_val=\$$ac_var
1105 # Remove trailing slashes.
1108 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1109 eval $ac_var=\$ac_val;;
1111 # Be sure to have absolute directory names.
1113 [\\/$]* | ?:[\\/]* ) continue;;
1114 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1116 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1119 # There might be people who depend on the old broken behavior: `$host'
1120 # used to hold the argument of --host etc.
1121 # FIXME: To remove some day.
1124 target=$target_alias
1126 # FIXME: To remove some day.
1127 if test "x$host_alias" != x; then
1128 if test "x$build_alias" = x; then
1129 cross_compiling=maybe
1130 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1131 If a cross compiler is detected then cross compile mode will be used." >&2
1132 elif test "x$build_alias" != "x$host_alias"; then
1138 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1140 test "$silent" = yes && exec 6>/dev/null
1143 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1144 ac_ls_di=`ls -di .` &&
1145 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1146 as_fn_error "working directory cannot be determined"
1147 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1148 as_fn_error "pwd does not report name of working directory"
1151 # Find the source files, if location was not specified.
1152 if test -z "$srcdir"; then
1153 ac_srcdir_defaulted=yes
1154 # Try the directory containing this script, then the parent directory.
1155 ac_confdir=`$as_dirname -- "$as_myself" ||
1156 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1157 X"$as_myself" : 'X\(//\)[^/]' \| \
1158 X"$as_myself" : 'X\(//\)$' \| \
1159 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1160 $as_echo X"$as_myself" |
1161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1179 if test ! -r "$srcdir/$ac_unique_file"; then
1183 ac_srcdir_defaulted=no
1185 if test ! -r "$srcdir/$ac_unique_file"; then
1186 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1187 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1189 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1191 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1193 # When building in place, set srcdir=.
1194 if test "$ac_abs_confdir" = "$ac_pwd"; then
1197 # Remove unnecessary trailing slashes from srcdir.
1198 # Double slashes in file names in object file debugging info
1199 # mess up M-x gdb in Emacs.
1201 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1203 for ac_var in $ac_precious_vars; do
1204 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1205 eval ac_env_${ac_var}_value=\$${ac_var}
1206 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1207 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1211 # Report the --help message.
1213 if test "$ac_init_help" = "long"; then
1214 # Omit some internal or obsolete options to make the list less imposing.
1215 # This message is too long to be a string in the A/UX 3.1 sh.
1217 \`configure' configures this package to adapt to many kinds of systems.
1219 Usage: $0 [OPTION]... [VAR=VALUE]...
1221 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1222 VAR=VALUE. See below for descriptions of some of the useful variables.
1224 Defaults for the options are specified in brackets.
1227 -h, --help display this help and exit
1228 --help=short display options specific to this package
1229 --help=recursive display the short help of all the included packages
1230 -V, --version display version information and exit
1231 -q, --quiet, --silent do not print \`checking...' messages
1232 --cache-file=FILE cache test results in FILE [disabled]
1233 -C, --config-cache alias for \`--cache-file=config.cache'
1234 -n, --no-create do not create output files
1235 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1237 Installation directories:
1238 --prefix=PREFIX install architecture-independent files in PREFIX
1239 [$ac_default_prefix]
1240 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1243 By default, \`make install' will install all the files in
1244 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1245 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1246 for instance \`--prefix=\$HOME'.
1248 For better control, use the options below.
1250 Fine tuning of the installation directories:
1251 --bindir=DIR user executables [EPREFIX/bin]
1252 --sbindir=DIR system admin executables [EPREFIX/sbin]
1253 --libexecdir=DIR program executables [EPREFIX/libexec]
1254 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1255 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1256 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1257 --libdir=DIR object code libraries [EPREFIX/lib]
1258 --includedir=DIR C header files [PREFIX/include]
1259 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1260 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1261 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1262 --infodir=DIR info documentation [DATAROOTDIR/info]
1263 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1264 --mandir=DIR man documentation [DATAROOTDIR/man]
1265 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1266 --htmldir=DIR html documentation [DOCDIR]
1267 --dvidir=DIR dvi documentation [DOCDIR]
1268 --pdfdir=DIR pdf documentation [DOCDIR]
1269 --psdir=DIR ps documentation [DOCDIR]
1275 --build=BUILD configure for building on BUILD [guessed]
1276 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1277 --target=TARGET configure for building compilers for TARGET [HOST]
1281 if test -n "$ac_init_help"; then
1286 --disable-option-checking ignore unrecognized --enable/--with options
1287 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1288 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1289 --enable-gtk enable gdbtk graphical user interface (GUI)
1290 --enable-shared build shared libraries deault=yes
1292 Some influential environment variables:
1293 CC C compiler command
1294 CFLAGS C compiler flags
1295 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1296 nonstandard directory <lib dir>
1297 LIBS libraries to pass to the linker, e.g. -l<library>
1298 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1299 you have headers in a nonstandard directory <include dir>
1302 Use these variables to override the choices made by `configure' or to help
1303 it to find libraries and programs with nonstandard names/locations.
1305 Report bugs to the package provider.
1310 if test "$ac_init_help" = "recursive"; then
1311 # If there are subdirs, report their specific --help.
1312 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1313 test -d "$ac_dir" ||
1314 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1319 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1321 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1322 # A ".." for each directory in $ac_dir_suffix.
1323 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1324 case $ac_top_builddir_sub in
1325 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1326 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1329 ac_abs_top_builddir=$ac_pwd
1330 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1331 # for backward compatibility:
1332 ac_top_builddir=$ac_top_build_prefix
1335 .) # We are building in place.
1337 ac_top_srcdir=$ac_top_builddir_sub
1338 ac_abs_top_srcdir=$ac_pwd ;;
1339 [\\/]* | ?:[\\/]* ) # Absolute name.
1340 ac_srcdir=$srcdir$ac_dir_suffix;
1341 ac_top_srcdir=$srcdir
1342 ac_abs_top_srcdir=$srcdir ;;
1344 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1345 ac_top_srcdir=$ac_top_build_prefix$srcdir
1346 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1348 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1350 cd "$ac_dir" || { ac_status=$?; continue; }
1351 # Check for guested configure.
1352 if test -f "$ac_srcdir/configure.gnu"; then
1354 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1355 elif test -f "$ac_srcdir/configure"; then
1357 $SHELL "$ac_srcdir/configure" --help=recursive
1359 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1361 cd "$ac_pwd" || { ac_status=$?; break; }
1365 test -n "$ac_init_help" && exit $ac_status
1366 if $ac_init_version; then
1369 generated by GNU Autoconf 2.64
1371 Copyright (C) 2009 Free Software Foundation, Inc.
1372 This configure script is free software; the Free Software Foundation
1373 gives unlimited permission to copy, distribute and modify it.
1378 ## ------------------------ ##
1379 ## Autoconf initialization. ##
1380 ## ------------------------ ##
1382 # ac_fn_c_try_compile LINENO
1383 # --------------------------
1384 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1385 ac_fn_c_try_compile ()
1387 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1388 rm -f conftest.$ac_objext
1389 if { { ac_try="$ac_compile"
1391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1392 *) ac_try_echo=$ac_try;;
1394 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1395 $as_echo "$ac_try_echo"; } >&5
1396 (eval "$ac_compile") 2>conftest.err
1398 if test -s conftest.err; then
1399 grep -v '^ *+' conftest.err >conftest.er1
1400 cat conftest.er1 >&5
1401 mv -f conftest.er1 conftest.err
1403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1404 test $ac_status = 0; } && {
1405 test -z "$ac_c_werror_flag" ||
1406 test ! -s conftest.err
1407 } && test -s conftest.$ac_objext; then :
1410 $as_echo "$as_me: failed program was:" >&5
1411 sed 's/^/| /' conftest.$ac_ext >&5
1415 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1418 } # ac_fn_c_try_compile
1420 # ac_fn_c_try_cpp LINENO
1421 # ----------------------
1422 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1425 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1426 if { { ac_try="$ac_cpp conftest.$ac_ext"
1428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1429 *) ac_try_echo=$ac_try;;
1431 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1432 $as_echo "$ac_try_echo"; } >&5
1433 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1435 if test -s conftest.err; then
1436 grep -v '^ *+' conftest.err >conftest.er1
1437 cat conftest.er1 >&5
1438 mv -f conftest.er1 conftest.err
1440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1441 test $ac_status = 0; } >/dev/null && {
1442 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1443 test ! -s conftest.err
1447 $as_echo "$as_me: failed program was:" >&5
1448 sed 's/^/| /' conftest.$ac_ext >&5
1452 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1457 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1458 # -------------------------------------------------------
1459 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1460 # the include files in INCLUDES and setting the cache variable VAR
1462 ac_fn_c_check_header_mongrel ()
1464 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1465 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1467 $as_echo_n "checking for $2... " >&6; }
1468 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1469 $as_echo_n "(cached) " >&6
1472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1473 $as_echo "$ac_res" >&6; }
1475 # Is the header compilable?
1476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1477 $as_echo_n "checking $2 usability... " >&6; }
1478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1479 /* end confdefs.h. */
1483 if ac_fn_c_try_compile "$LINENO"; then :
1484 ac_header_compiler=yes
1486 ac_header_compiler=no
1488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1490 $as_echo "$ac_header_compiler" >&6; }
1492 # Is the header present?
1493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1494 $as_echo_n "checking $2 presence... " >&6; }
1495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1496 /* end confdefs.h. */
1499 if ac_fn_c_try_cpp "$LINENO"; then :
1500 ac_header_preproc=yes
1502 ac_header_preproc=no
1504 rm -f conftest.err conftest.$ac_ext
1505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1506 $as_echo "$ac_header_preproc" >&6; }
1508 # So? What about this header?
1509 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1512 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1514 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1518 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1520 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1522 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1524 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1526 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1530 $as_echo_n "checking for $2... " >&6; }
1531 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1532 $as_echo_n "(cached) " >&6
1534 eval "$3=\$ac_header_compiler"
1537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1538 $as_echo "$ac_res" >&6; }
1540 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1542 } # ac_fn_c_check_header_mongrel
1544 # ac_fn_c_try_run LINENO
1545 # ----------------------
1546 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1547 # that executables *can* be run.
1550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1551 if { { ac_try="$ac_link"
1553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1554 *) ac_try_echo=$ac_try;;
1556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557 $as_echo "$ac_try_echo"; } >&5
1558 (eval "$ac_link") 2>&5
1560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1561 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1562 { { case "(($ac_try" in
1563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1564 *) ac_try_echo=$ac_try;;
1566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1567 $as_echo "$ac_try_echo"; } >&5
1568 (eval "$ac_try") 2>&5
1570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1571 test $ac_status = 0; }; }; then :
1574 $as_echo "$as_me: program exited with status $ac_status" >&5
1575 $as_echo "$as_me: failed program was:" >&5
1576 sed 's/^/| /' conftest.$ac_ext >&5
1578 ac_retval=$ac_status
1580 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1581 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1586 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1587 # -------------------------------------------------------
1588 # Tests whether HEADER exists and can be compiled using the include files in
1589 # INCLUDES, setting the cache variable VAR accordingly.
1590 ac_fn_c_check_header_compile ()
1592 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1594 $as_echo_n "checking for $2... " >&6; }
1595 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1596 $as_echo_n "(cached) " >&6
1598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1599 /* end confdefs.h. */
1603 if ac_fn_c_try_compile "$LINENO"; then :
1608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1612 $as_echo "$ac_res" >&6; }
1613 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1615 } # ac_fn_c_check_header_compile
1616 cat >config.log <<_ACEOF
1617 This file contains any messages produced by compilers while
1618 running configure, to aid debugging if configure makes a mistake.
1620 It was created by $as_me, which was
1621 generated by GNU Autoconf 2.64. Invocation command line was
1633 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1634 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1635 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1636 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1637 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1639 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1640 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1642 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1643 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1644 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1645 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1646 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1647 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1648 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1656 test -z "$as_dir" && as_dir=.
1657 $as_echo "PATH: $as_dir"
1673 # Keep a trace of the command line.
1674 # Strip out --no-create and --no-recursion so they do not pile up.
1675 # Strip out --silent because we don't want to record it for future runs.
1676 # Also quote any args containing shell meta-characters.
1677 # Make two passes to allow for proper duplicate-argument suppression.
1681 ac_must_keep_next=false
1687 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1688 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1689 | -silent | --silent | --silen | --sile | --sil)
1692 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1695 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1697 as_fn_append ac_configure_args1 " '$ac_arg'"
1698 if test $ac_must_keep_next = true; then
1699 ac_must_keep_next=false # Got value, back to normal.
1702 *=* | --config-cache | -C | -disable-* | --disable-* \
1703 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1704 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1705 | -with-* | --with-* | -without-* | --without-* | --x)
1706 case "$ac_configure_args0 " in
1707 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1710 -* ) ac_must_keep_next=true ;;
1713 as_fn_append ac_configure_args " '$ac_arg'"
1718 { ac_configure_args0=; unset ac_configure_args0;}
1719 { ac_configure_args1=; unset ac_configure_args1;}
1721 # When interrupted or exit'd, cleanup temporary files, and complete
1722 # config.log. We remove comments because anyway the quotes in there
1723 # would cause problems or look ugly.
1724 # WARNING: Use '\'' to represent an apostrophe within the trap.
1725 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1726 trap 'exit_status=$?
1727 # Save into config.log some information that might help in debugging.
1732 ## ---------------- ##
1733 ## Cache variables. ##
1734 ## ---------------- ##
1737 # The following way of writing the cache mishandles newlines in values,
1739 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1740 eval ac_val=\$$ac_var
1744 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1745 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1748 _ | IFS | as_nl) ;; #(
1749 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1750 *) { eval $ac_var=; unset $ac_var;} ;;
1755 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1756 *${as_nl}ac_space=\ *)
1758 "s/'\''/'\''\\\\'\'''\''/g;
1759 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1762 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1770 ## ----------------- ##
1771 ## Output variables. ##
1772 ## ----------------- ##
1775 for ac_var in $ac_subst_vars
1777 eval ac_val=\$$ac_var
1779 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1781 $as_echo "$ac_var='\''$ac_val'\''"
1785 if test -n "$ac_subst_files"; then
1787 ## ------------------- ##
1788 ## File substitutions. ##
1789 ## ------------------- ##
1792 for ac_var in $ac_subst_files
1794 eval ac_val=\$$ac_var
1796 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1798 $as_echo "$ac_var='\''$ac_val'\''"
1803 if test -s confdefs.h; then
1813 test "$ac_signal" != 0 &&
1814 $as_echo "$as_me: caught signal $ac_signal"
1815 $as_echo "$as_me: exit $exit_status"
1817 rm -f core *.core core.conftest.* &&
1818 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1821 for ac_signal in 1 2 13 15; do
1822 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1826 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1827 rm -f -r conftest* confdefs.h
1829 $as_echo "/* confdefs.h */" > confdefs.h
1831 # Predefined preprocessor variables.
1833 cat >>confdefs.h <<_ACEOF
1834 #define PACKAGE_NAME "$PACKAGE_NAME"
1837 cat >>confdefs.h <<_ACEOF
1838 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1841 cat >>confdefs.h <<_ACEOF
1842 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1845 cat >>confdefs.h <<_ACEOF
1846 #define PACKAGE_STRING "$PACKAGE_STRING"
1849 cat >>confdefs.h <<_ACEOF
1850 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1853 cat >>confdefs.h <<_ACEOF
1854 #define PACKAGE_URL "$PACKAGE_URL"
1858 # Let the site file select an alternate cache file if it wants to.
1859 # Prefer an explicitly selected file to automatically selected ones.
1862 if test -n "$CONFIG_SITE"; then
1863 ac_site_file1=$CONFIG_SITE
1864 elif test "x$prefix" != xNONE; then
1865 ac_site_file1=$prefix/share/config.site
1866 ac_site_file2=$prefix/etc/config.site
1868 ac_site_file1=$ac_default_prefix/share/config.site
1869 ac_site_file2=$ac_default_prefix/etc/config.site
1871 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1873 test "x$ac_site_file" = xNONE && continue
1874 if test -r "$ac_site_file"; then
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1876 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1877 sed 's/^/| /' "$ac_site_file" >&5
1882 if test -r "$cache_file"; then
1883 # Some versions of bash will fail to source /dev/null (special
1884 # files actually), so we avoid doing that.
1885 if test -f "$cache_file"; then
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1887 $as_echo "$as_me: loading cache $cache_file" >&6;}
1889 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1890 *) . "./$cache_file";;
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1895 $as_echo "$as_me: creating cache $cache_file" >&6;}
1899 # Check that the precious variables saved in the cache have kept the same
1901 ac_cache_corrupted=false
1902 for ac_var in $ac_precious_vars; do
1903 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1904 eval ac_new_set=\$ac_env_${ac_var}_set
1905 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1906 eval ac_new_val=\$ac_env_${ac_var}_value
1907 case $ac_old_set,$ac_new_set in
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1910 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1911 ac_cache_corrupted=: ;;
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1914 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1915 ac_cache_corrupted=: ;;
1918 if test "x$ac_old_val" != "x$ac_new_val"; then
1919 # differences in whitespace do not lead to failure.
1920 ac_old_val_w=`echo x $ac_old_val`
1921 ac_new_val_w=`echo x $ac_new_val`
1922 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1924 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1925 ac_cache_corrupted=:
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1928 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1929 eval $ac_var=\$ac_old_val
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1932 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1934 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1937 # Pass precious variables to config.status.
1938 if test "$ac_new_set" = set; then
1940 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1941 *) ac_arg=$ac_var=$ac_new_val ;;
1943 case " $ac_configure_args " in
1944 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1945 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1949 if $ac_cache_corrupted; then
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1951 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1953 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1954 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1956 ## -------------------- ##
1957 ## Main body of script. ##
1958 ## -------------------- ##
1961 ac_cpp='$CPP $CPPFLAGS'
1962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1972 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1973 for ac_t in install-sh install.sh shtool; do
1974 if test -f "$ac_dir/$ac_t"; then
1976 ac_install_sh="$ac_aux_dir/$ac_t -c"
1981 if test -z "$ac_aux_dir"; then
1982 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1985 # These three variables are undocumented and unsupported,
1986 # and are intended to be withdrawn in a future Autoconf release.
1987 # They can cause serious problems if a builder's source tree is in a directory
1988 # whose full name contains unusual characters.
1989 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1990 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1991 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1994 # Make sure we can run config.sub.
1995 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1996 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1999 $as_echo_n "checking build system type... " >&6; }
2000 if test "${ac_cv_build+set}" = set; then :
2001 $as_echo_n "(cached) " >&6
2003 ac_build_alias=$build_alias
2004 test "x$ac_build_alias" = x &&
2005 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2006 test "x$ac_build_alias" = x &&
2007 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2008 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2009 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2013 $as_echo "$ac_cv_build" >&6; }
2014 case $ac_cv_build in
2016 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2019 ac_save_IFS=$IFS; IFS='-'
2025 # Remember, the first character of IFS is used to create $*,
2026 # except with old shells:
2029 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2033 $as_echo_n "checking host system type... " >&6; }
2034 if test "${ac_cv_host+set}" = set; then :
2035 $as_echo_n "(cached) " >&6
2037 if test "x$host_alias" = x; then
2038 ac_cv_host=$ac_cv_build
2040 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2041 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2046 $as_echo "$ac_cv_host" >&6; }
2049 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2052 ac_save_IFS=$IFS; IFS='-'
2058 # Remember, the first character of IFS is used to create $*,
2059 # except with old shells:
2062 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2066 $as_echo_n "checking target system type... " >&6; }
2067 if test "${ac_cv_target+set}" = set; then :
2068 $as_echo_n "(cached) " >&6
2070 if test "x$target_alias" = x; then
2071 ac_cv_target=$ac_cv_host
2073 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2074 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2079 $as_echo "$ac_cv_target" >&6; }
2080 case $ac_cv_target in
2082 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2084 target=$ac_cv_target
2085 ac_save_IFS=$IFS; IFS='-'
2091 # Remember, the first character of IFS is used to create $*,
2092 # except with old shells:
2095 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2098 # The aliases save the names the user supplied, while $host etc.
2099 # will get canonicalized.
2100 test -n "$target_alias" &&
2101 test "$program_prefix$program_suffix$program_transform_name" = \
2103 program_prefix=${target_alias}-
2105 case ${build_alias} in
2106 "") build_noncanonical=${build} ;;
2107 *) build_noncanonical=${build_alias} ;;
2110 case ${host_alias} in
2111 "") host_noncanonical=${build_noncanonical} ;;
2112 *) host_noncanonical=${host_alias} ;;
2115 case ${target_alias} in
2116 "") target_noncanonical=${host_noncanonical} ;;
2117 *) target_noncanonical=${target_alias} ;;
2123 # Check for the 'make' the user wants to use.
2126 # Extract the first word of "$ac_prog", so it can be a program name with args.
2127 set dummy $ac_prog; ac_word=$2
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2129 $as_echo_n "checking for $ac_word... " >&6; }
2130 if test "${ac_cv_prog_MAKE+set}" = set; then :
2131 $as_echo_n "(cached) " >&6
2133 if test -n "$MAKE"; then
2134 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
2136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2140 test -z "$as_dir" && as_dir=.
2141 for ac_exec_ext in '' $ac_executable_extensions; do
2142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2143 ac_cv_prog_MAKE="$ac_prog"
2144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2153 MAKE=$ac_cv_prog_MAKE
2154 if test -n "$MAKE"; then
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
2156 $as_echo "$MAKE" >&6; }
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2159 $as_echo "no" >&6; }
2163 test -n "$MAKE" && break
2167 case "`$MAKE --version 2>&1 | sed 1q`" in
2174 if test "$MAKE_IS_GNU" = yes; then
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2183 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2185 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2186 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2187 $as_echo_n "(cached) " >&6
2189 cat >conftest.make <<\_ACEOF
2192 @echo '@@@%%%=$(MAKE)=@@@%%%'
2194 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2195 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2197 eval ac_cv_prog_make_${ac_make}_set=yes;;
2199 eval ac_cv_prog_make_${ac_make}_set=no;;
2203 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2205 $as_echo "yes" >&6; }
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2209 $as_echo "no" >&6; }
2210 SET_MAKE="MAKE=${MAKE-make}"
2215 # Check whether --enable-gdbtk was given.
2216 if test "${enable_gdbtk+set}" = set; then :
2217 enableval=$enable_gdbtk;
2219 if test -d $srcdir/../gdbtk && test -d $srcdir/gdb.gdbtk; then
2226 # We unconditionally disable gdbtk tests on selected platforms.
2232 # Add gdbtk tests when appropriate.
2233 if test $enable_gdbtk = yes; then
2236 subdirs="$subdirs gdb.gdbtk"
2240 # Enable shared libraries.
2241 # Check whether --enable-shared was given.
2242 if test "${enable_shared+set}" = set; then :
2243 enableval=$enable_shared;
2249 # If we have shared libraries, try to set RPATH_ENVVAR reasonably,
2250 # such that we can find the shared libraries in the build tree.
2251 if test $enable_shared = no; then
2252 # The variable `RPATH_ENVVAR' itself is not likely to be used on any
2254 RPATH_ENVVAR=RPATH_ENVVAR
2256 # The variable `LD_LIBRARY_PATH' is used on most platforms.
2257 RPATH_ENVVAR=LD_LIBRARY_PATH
2258 # The following exceptions are taken from Libtool 1.4.3.
2261 if test $host_cpu != ia64; then
2262 RPATH_ENVVAR=LIBPATH
2264 darwin* | rhapsody*)
2265 RPATH_ENVVAR=DYLD_LIBRARY_PATH ;;
2267 RPATH_ENVVAR=SHLIB_PATH ;;
2273 ac_cpp='$CPP $CPPFLAGS'
2274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2277 if test -n "$ac_tool_prefix"; then
2278 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2279 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2281 $as_echo_n "checking for $ac_word... " >&6; }
2282 if test "${ac_cv_prog_CC+set}" = set; then :
2283 $as_echo_n "(cached) " >&6
2285 if test -n "$CC"; then
2286 ac_cv_prog_CC="$CC" # Let the user override the test.
2288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2292 test -z "$as_dir" && as_dir=.
2293 for ac_exec_ext in '' $ac_executable_extensions; do
2294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2295 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2306 if test -n "$CC"; then
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2308 $as_echo "$CC" >&6; }
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2311 $as_echo "no" >&6; }
2316 if test -z "$ac_cv_prog_CC"; then
2318 # Extract the first word of "gcc", so it can be a program name with args.
2319 set dummy gcc; ac_word=$2
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2321 $as_echo_n "checking for $ac_word... " >&6; }
2322 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2323 $as_echo_n "(cached) " >&6
2325 if test -n "$ac_ct_CC"; then
2326 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2332 test -z "$as_dir" && as_dir=.
2333 for ac_exec_ext in '' $ac_executable_extensions; do
2334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2335 ac_cv_prog_ac_ct_CC="gcc"
2336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2345 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2346 if test -n "$ac_ct_CC"; then
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2348 $as_echo "$ac_ct_CC" >&6; }
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2351 $as_echo "no" >&6; }
2354 if test "x$ac_ct_CC" = x; then
2357 case $cross_compiling:$ac_tool_warned in
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2361 ac_tool_warned=yes ;;
2369 if test -z "$CC"; then
2370 if test -n "$ac_tool_prefix"; then
2371 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2372 set dummy ${ac_tool_prefix}cc; ac_word=$2
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2374 $as_echo_n "checking for $ac_word... " >&6; }
2375 if test "${ac_cv_prog_CC+set}" = set; then :
2376 $as_echo_n "(cached) " >&6
2378 if test -n "$CC"; then
2379 ac_cv_prog_CC="$CC" # Let the user override the test.
2381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2385 test -z "$as_dir" && as_dir=.
2386 for ac_exec_ext in '' $ac_executable_extensions; do
2387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2388 ac_cv_prog_CC="${ac_tool_prefix}cc"
2389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2399 if test -n "$CC"; then
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2401 $as_echo "$CC" >&6; }
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2404 $as_echo "no" >&6; }
2410 if test -z "$CC"; then
2411 # Extract the first word of "cc", so it can be a program name with args.
2412 set dummy cc; ac_word=$2
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2414 $as_echo_n "checking for $ac_word... " >&6; }
2415 if test "${ac_cv_prog_CC+set}" = set; then :
2416 $as_echo_n "(cached) " >&6
2418 if test -n "$CC"; then
2419 ac_cv_prog_CC="$CC" # Let the user override the test.
2422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2426 test -z "$as_dir" && as_dir=.
2427 for ac_exec_ext in '' $ac_executable_extensions; do
2428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2429 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2430 ac_prog_rejected=yes
2434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2441 if test $ac_prog_rejected = yes; then
2442 # We found a bogon in the path, so make sure we never use it.
2443 set dummy $ac_cv_prog_CC
2445 if test $# != 0; then
2446 # We chose a different compiler from the bogus one.
2447 # However, it has the same basename, so the bogon will be chosen
2448 # first if we set CC to just the basename; use the full file name.
2450 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2456 if test -n "$CC"; then
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2458 $as_echo "$CC" >&6; }
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2461 $as_echo "no" >&6; }
2466 if test -z "$CC"; then
2467 if test -n "$ac_tool_prefix"; then
2468 for ac_prog in cl.exe
2470 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2471 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2473 $as_echo_n "checking for $ac_word... " >&6; }
2474 if test "${ac_cv_prog_CC+set}" = set; then :
2475 $as_echo_n "(cached) " >&6
2477 if test -n "$CC"; then
2478 ac_cv_prog_CC="$CC" # Let the user override the test.
2480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2484 test -z "$as_dir" && as_dir=.
2485 for ac_exec_ext in '' $ac_executable_extensions; do
2486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2487 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2498 if test -n "$CC"; then
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2500 $as_echo "$CC" >&6; }
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2503 $as_echo "no" >&6; }
2507 test -n "$CC" && break
2510 if test -z "$CC"; then
2512 for ac_prog in cl.exe
2514 # Extract the first word of "$ac_prog", so it can be a program name with args.
2515 set dummy $ac_prog; ac_word=$2
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2517 $as_echo_n "checking for $ac_word... " >&6; }
2518 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2519 $as_echo_n "(cached) " >&6
2521 if test -n "$ac_ct_CC"; then
2522 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2528 test -z "$as_dir" && as_dir=.
2529 for ac_exec_ext in '' $ac_executable_extensions; do
2530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2531 ac_cv_prog_ac_ct_CC="$ac_prog"
2532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2541 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2542 if test -n "$ac_ct_CC"; then
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2544 $as_echo "$ac_ct_CC" >&6; }
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2547 $as_echo "no" >&6; }
2551 test -n "$ac_ct_CC" && break
2554 if test "x$ac_ct_CC" = x; then
2557 case $cross_compiling:$ac_tool_warned in
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2561 ac_tool_warned=yes ;;
2570 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2572 as_fn_error "no acceptable C compiler found in \$PATH
2573 See \`config.log' for more details." "$LINENO" 5; }
2575 # Provide some information about the compiler.
2576 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2579 for ac_option in --version -v -V -qversion; do
2580 { { ac_try="$ac_compiler $ac_option >&5"
2582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2583 *) ac_try_echo=$ac_try;;
2585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2586 $as_echo "$ac_try_echo"; } >&5
2587 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2589 if test -s conftest.err; then
2591 ... rest of stderr output deleted ...
2592 10q' conftest.err >conftest.er1
2593 cat conftest.er1 >&5
2594 rm -f conftest.er1 conftest.err
2596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2597 test $ac_status = 0; }
2600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2601 /* end confdefs.h. */
2611 ac_clean_files_save=$ac_clean_files
2612 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2613 # Try to create an executable without -o first, disregard a.out.
2614 # It will help us diagnose broken compilers, and finding out an intuition
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2617 $as_echo_n "checking for C compiler default output file name... " >&6; }
2618 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2620 # The possible output files:
2621 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2624 for ac_file in $ac_files
2627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2628 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2633 if { { ac_try="$ac_link_default"
2635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2636 *) ac_try_echo=$ac_try;;
2638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2639 $as_echo "$ac_try_echo"; } >&5
2640 (eval "$ac_link_default") 2>&5
2642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2643 test $ac_status = 0; }; then :
2644 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2645 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2646 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2647 # so that the user can short-circuit this test for compilers unknown to
2649 for ac_file in $ac_files ''
2651 test -f "$ac_file" || continue
2653 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2656 # We found the default executable, but exeext='' is most
2660 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2662 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2664 # We set ac_cv_exeext here because the later test for it is not
2665 # safe: cross compilers may not add the suffix if given an `-o'
2666 # argument, so we may need to know it at that point already.
2667 # Even if this section looks crufty: it has the advantage of
2674 test "$ac_cv_exeext" = no && ac_cv_exeext=
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2680 $as_echo "$ac_file" >&6; }
2681 if test -z "$ac_file"; then :
2682 $as_echo "$as_me: failed program was:" >&5
2683 sed 's/^/| /' conftest.$ac_ext >&5
2685 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2687 { as_fn_set_status 77
2688 as_fn_error "C compiler cannot create executables
2689 See \`config.log' for more details." "$LINENO" 5; }; }
2691 ac_exeext=$ac_cv_exeext
2693 # Check that the compiler produces executables we can run. If not, either
2694 # the compiler is broken, or we cross compile.
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2696 $as_echo_n "checking whether the C compiler works... " >&6; }
2697 # If not cross compiling, check that we can run a simple program.
2698 if test "$cross_compiling" != yes; then
2699 if { ac_try='./$ac_file'
2700 { { case "(($ac_try" in
2701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2702 *) ac_try_echo=$ac_try;;
2704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2705 $as_echo "$ac_try_echo"; } >&5
2706 (eval "$ac_try") 2>&5
2708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2709 test $ac_status = 0; }; }; then
2712 if test "$cross_compiling" = maybe; then
2715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2717 as_fn_error "cannot run C compiled programs.
2718 If you meant to cross compile, use \`--host'.
2719 See \`config.log' for more details." "$LINENO" 5; }
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2724 $as_echo "yes" >&6; }
2726 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2727 ac_clean_files=$ac_clean_files_save
2728 # Check that the compiler produces executables we can run. If not, either
2729 # the compiler is broken, or we cross compile.
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2731 $as_echo_n "checking whether we are cross compiling... " >&6; }
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2733 $as_echo "$cross_compiling" >&6; }
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2736 $as_echo_n "checking for suffix of executables... " >&6; }
2737 if { { ac_try="$ac_link"
2739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2740 *) ac_try_echo=$ac_try;;
2742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2743 $as_echo "$ac_try_echo"; } >&5
2744 (eval "$ac_link") 2>&5
2746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2747 test $ac_status = 0; }; then :
2748 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2749 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2750 # work properly (i.e., refer to `conftest.exe'), while it won't with
2752 for ac_file in conftest.exe conftest conftest.*; do
2753 test -f "$ac_file" || continue
2755 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2756 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2764 as_fn_error "cannot compute suffix of executables: cannot compile and link
2765 See \`config.log' for more details." "$LINENO" 5; }
2767 rm -f conftest$ac_cv_exeext
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2769 $as_echo "$ac_cv_exeext" >&6; }
2771 rm -f conftest.$ac_ext
2772 EXEEXT=$ac_cv_exeext
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2775 $as_echo_n "checking for suffix of object files... " >&6; }
2776 if test "${ac_cv_objext+set}" = set; then :
2777 $as_echo_n "(cached) " >&6
2779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2780 /* end confdefs.h. */
2790 rm -f conftest.o conftest.obj
2791 if { { ac_try="$ac_compile"
2793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2794 *) ac_try_echo=$ac_try;;
2796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2797 $as_echo "$ac_try_echo"; } >&5
2798 (eval "$ac_compile") 2>&5
2800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2801 test $ac_status = 0; }; then :
2802 for ac_file in conftest.o conftest.obj conftest.*; do
2803 test -f "$ac_file" || continue;
2805 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2806 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2811 $as_echo "$as_me: failed program was:" >&5
2812 sed 's/^/| /' conftest.$ac_ext >&5
2814 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2816 as_fn_error "cannot compute suffix of object files: cannot compile
2817 See \`config.log' for more details." "$LINENO" 5; }
2819 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2822 $as_echo "$ac_cv_objext" >&6; }
2823 OBJEXT=$ac_cv_objext
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2826 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2827 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2828 $as_echo_n "(cached) " >&6
2830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2831 /* end confdefs.h. */
2844 if ac_fn_c_try_compile "$LINENO"; then :
2849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2850 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2854 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2855 if test $ac_compiler_gnu = yes; then
2860 ac_test_CFLAGS=${CFLAGS+set}
2861 ac_save_CFLAGS=$CFLAGS
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2863 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2864 if test "${ac_cv_prog_cc_g+set}" = set; then :
2865 $as_echo_n "(cached) " >&6
2867 ac_save_c_werror_flag=$ac_c_werror_flag
2868 ac_c_werror_flag=yes
2871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2872 /* end confdefs.h. */
2882 if ac_fn_c_try_compile "$LINENO"; then :
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2897 if ac_fn_c_try_compile "$LINENO"; then :
2900 ac_c_werror_flag=$ac_save_c_werror_flag
2902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2903 /* end confdefs.h. */
2913 if ac_fn_c_try_compile "$LINENO"; then :
2916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2921 ac_c_werror_flag=$ac_save_c_werror_flag
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2924 $as_echo "$ac_cv_prog_cc_g" >&6; }
2925 if test "$ac_test_CFLAGS" = set; then
2926 CFLAGS=$ac_save_CFLAGS
2927 elif test $ac_cv_prog_cc_g = yes; then
2928 if test "$GCC" = yes; then
2934 if test "$GCC" = yes; then
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2941 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2942 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2943 $as_echo_n "(cached) " >&6
2945 ac_cv_prog_cc_c89=no
2947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2948 /* end confdefs.h. */
2951 #include <sys/types.h>
2952 #include <sys/stat.h>
2953 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2954 struct buf { int x; };
2955 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2956 static char *e (p, i)
2962 static char *f (char * (*g) (char **, int), char **p, ...)
2967 s = g (p, va_arg (v,int));
2972 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2973 function prototypes and stuff, but not '\xHH' hex character constants.
2974 These don't provoke an error unfortunately, instead are silently treated
2975 as 'x'. The following induces an error, until -std is added to get
2976 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2977 array size at least. It's necessary to write '\x00'==0 to get something
2978 that's true only with -std. */
2979 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2981 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2982 inside strings and character constants. */
2984 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2986 int test (int i, double x);
2987 struct s1 {int (*f) (int a);};
2988 struct s2 {int (*f) (double a);};
2989 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2995 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3000 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3001 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3003 CC="$ac_save_CC $ac_arg"
3004 if ac_fn_c_try_compile "$LINENO"; then :
3005 ac_cv_prog_cc_c89=$ac_arg
3007 rm -f core conftest.err conftest.$ac_objext
3008 test "x$ac_cv_prog_cc_c89" != "xno" && break
3010 rm -f conftest.$ac_ext
3015 case "x$ac_cv_prog_cc_c89" in
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3018 $as_echo "none needed" >&6; } ;;
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3021 $as_echo "unsupported" >&6; } ;;
3023 CC="$CC $ac_cv_prog_cc_c89"
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3025 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3027 if test "x$ac_cv_prog_cc_c89" != xno; then :
3032 ac_cpp='$CPP $CPPFLAGS'
3033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3039 ac_cpp='$CPP $CPPFLAGS'
3040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3044 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3045 # On Suns, sometimes $CPP names a directory.
3046 if test -n "$CPP" && test -d "$CPP"; then
3049 if test -z "$CPP"; then
3050 if test "${ac_cv_prog_CPP+set}" = set; then :
3051 $as_echo_n "(cached) " >&6
3053 # Double quotes because CPP needs to be expanded
3054 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3057 for ac_c_preproc_warn_flag in '' yes
3059 # Use a header file that comes with gcc, so configuring glibc
3060 # with a fresh cross-compiler works.
3061 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3062 # <limits.h> exists even on freestanding compilers.
3063 # On the NeXT, cc -E runs the code through the compiler's parser,
3064 # not just through cpp. "Syntax error" is here to catch this case.
3065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3066 /* end confdefs.h. */
3068 # include <limits.h>
3070 # include <assert.h>
3074 if ac_fn_c_try_cpp "$LINENO"; then :
3077 # Broken: fails on valid input.
3080 rm -f conftest.err conftest.$ac_ext
3082 # OK, works on sane cases. Now check whether nonexistent headers
3083 # can be detected and how.
3084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3085 /* end confdefs.h. */
3086 #include <ac_nonexistent.h>
3088 if ac_fn_c_try_cpp "$LINENO"; then :
3089 # Broken: success on invalid input.
3092 # Passes both tests.
3096 rm -f conftest.err conftest.$ac_ext
3099 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3100 rm -f conftest.err conftest.$ac_ext
3101 if $ac_preproc_ok; then :
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3114 $as_echo "$CPP" >&6; }
3116 for ac_c_preproc_warn_flag in '' yes
3118 # Use a header file that comes with gcc, so configuring glibc
3119 # with a fresh cross-compiler works.
3120 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3121 # <limits.h> exists even on freestanding compilers.
3122 # On the NeXT, cc -E runs the code through the compiler's parser,
3123 # not just through cpp. "Syntax error" is here to catch this case.
3124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3125 /* end confdefs.h. */
3127 # include <limits.h>
3129 # include <assert.h>
3133 if ac_fn_c_try_cpp "$LINENO"; then :
3136 # Broken: fails on valid input.
3139 rm -f conftest.err conftest.$ac_ext
3141 # OK, works on sane cases. Now check whether nonexistent headers
3142 # can be detected and how.
3143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3144 /* end confdefs.h. */
3145 #include <ac_nonexistent.h>
3147 if ac_fn_c_try_cpp "$LINENO"; then :
3148 # Broken: success on invalid input.
3151 # Passes both tests.
3155 rm -f conftest.err conftest.$ac_ext
3158 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3159 rm -f conftest.err conftest.$ac_ext
3160 if $ac_preproc_ok; then :
3163 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3165 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3166 See \`config.log' for more details." "$LINENO" 5; }
3170 ac_cpp='$CPP $CPPFLAGS'
3171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3177 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3178 if test "${ac_cv_path_GREP+set}" = set; then :
3179 $as_echo_n "(cached) " >&6
3181 if test -z "$GREP"; then
3182 ac_path_GREP_found=false
3183 # Loop through the user's path and test for each of PROGNAME-LIST
3184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3185 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3188 test -z "$as_dir" && as_dir=.
3189 for ac_prog in grep ggrep; do
3190 for ac_exec_ext in '' $ac_executable_extensions; do
3191 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3192 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3193 # Check for GNU ac_path_GREP and select it if it is found.
3194 # Check for GNU $ac_path_GREP
3195 case `"$ac_path_GREP" --version 2>&1` in
3197 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3200 $as_echo_n 0123456789 >"conftest.in"
3203 cat "conftest.in" "conftest.in" >"conftest.tmp"
3204 mv "conftest.tmp" "conftest.in"
3205 cp "conftest.in" "conftest.nl"
3206 $as_echo 'GREP' >> "conftest.nl"
3207 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3208 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3209 as_fn_arith $ac_count + 1 && ac_count=$as_val
3210 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3211 # Best one so far, save it but keep looking for a better one
3212 ac_cv_path_GREP="$ac_path_GREP"
3213 ac_path_GREP_max=$ac_count
3215 # 10*(2^10) chars as input seems more than enough
3216 test $ac_count -gt 10 && break
3218 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3221 $ac_path_GREP_found && break 3
3226 if test -z "$ac_cv_path_GREP"; then
3227 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3230 ac_cv_path_GREP=$GREP
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3235 $as_echo "$ac_cv_path_GREP" >&6; }
3236 GREP="$ac_cv_path_GREP"
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3240 $as_echo_n "checking for egrep... " >&6; }
3241 if test "${ac_cv_path_EGREP+set}" = set; then :
3242 $as_echo_n "(cached) " >&6
3244 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3245 then ac_cv_path_EGREP="$GREP -E"
3247 if test -z "$EGREP"; then
3248 ac_path_EGREP_found=false
3249 # Loop through the user's path and test for each of PROGNAME-LIST
3250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3251 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3254 test -z "$as_dir" && as_dir=.
3255 for ac_prog in egrep; do
3256 for ac_exec_ext in '' $ac_executable_extensions; do
3257 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3258 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3259 # Check for GNU ac_path_EGREP and select it if it is found.
3260 # Check for GNU $ac_path_EGREP
3261 case `"$ac_path_EGREP" --version 2>&1` in
3263 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3266 $as_echo_n 0123456789 >"conftest.in"
3269 cat "conftest.in" "conftest.in" >"conftest.tmp"
3270 mv "conftest.tmp" "conftest.in"
3271 cp "conftest.in" "conftest.nl"
3272 $as_echo 'EGREP' >> "conftest.nl"
3273 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3274 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3275 as_fn_arith $ac_count + 1 && ac_count=$as_val
3276 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3277 # Best one so far, save it but keep looking for a better one
3278 ac_cv_path_EGREP="$ac_path_EGREP"
3279 ac_path_EGREP_max=$ac_count
3281 # 10*(2^10) chars as input seems more than enough
3282 test $ac_count -gt 10 && break
3284 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3287 $ac_path_EGREP_found && break 3
3292 if test -z "$ac_cv_path_EGREP"; then
3293 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3296 ac_cv_path_EGREP=$EGREP
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3302 $as_echo "$ac_cv_path_EGREP" >&6; }
3303 EGREP="$ac_cv_path_EGREP"
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3307 $as_echo_n "checking for ANSI C header files... " >&6; }
3308 if test "${ac_cv_header_stdc+set}" = set; then :
3309 $as_echo_n "(cached) " >&6
3311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3312 /* end confdefs.h. */
3326 if ac_fn_c_try_compile "$LINENO"; then :
3327 ac_cv_header_stdc=yes
3329 ac_cv_header_stdc=no
3331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3333 if test $ac_cv_header_stdc = yes; then
3334 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3336 /* end confdefs.h. */
3340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3341 $EGREP "memchr" >/dev/null 2>&1; then :
3344 ac_cv_header_stdc=no
3350 if test $ac_cv_header_stdc = yes; then
3351 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3353 /* end confdefs.h. */
3357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3358 $EGREP "free" >/dev/null 2>&1; then :
3361 ac_cv_header_stdc=no
3367 if test $ac_cv_header_stdc = yes; then
3368 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3369 if test "$cross_compiling" = yes; then :
3372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3373 /* end confdefs.h. */
3376 #if ((' ' & 0x0FF) == 0x020)
3377 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3378 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3380 # define ISLOWER(c) \
3381 (('a' <= (c) && (c) <= 'i') \
3382 || ('j' <= (c) && (c) <= 'r') \
3383 || ('s' <= (c) && (c) <= 'z'))
3384 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3387 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3392 for (i = 0; i < 256; i++)
3393 if (XOR (islower (i), ISLOWER (i))
3394 || toupper (i) != TOUPPER (i))
3399 if ac_fn_c_try_run "$LINENO"; then :
3402 ac_cv_header_stdc=no
3404 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3405 conftest.$ac_objext conftest.beam conftest.$ac_ext
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3411 $as_echo "$ac_cv_header_stdc" >&6; }
3412 if test $ac_cv_header_stdc = yes; then
3414 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3418 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3419 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3420 inttypes.h stdint.h unistd.h
3422 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3423 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3425 eval as_val=\$$as_ac_Header
3426 if test "x$as_val" = x""yes; then :
3427 cat >>confdefs.h <<_ACEOF
3428 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3436 for ac_header in pthread.h
3438 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
3439 if test "x$ac_cv_header_pthread_h" = x""yes; then :
3440 cat >>confdefs.h <<_ACEOF
3441 #define HAVE_PTHREAD_H 1
3451 ac_config_files="$ac_config_files Makefile gdb.ada/Makefile gdb.arch/Makefile gdb.asm/Makefile gdb.base/Makefile gdb.btrace/Makefile gdb.cell/Makefile gdb.cp/Makefile gdb.disasm/Makefile gdb.dwarf2/Makefile gdb.dlang/Makefile gdb.fortran/Makefile gdb.gdb/Makefile gdb.go/Makefile gdb.server/Makefile gdb.java/Makefile gdb.hp/Makefile gdb.hp/gdb.objdbg/Makefile gdb.hp/gdb.base-hp/Makefile gdb.hp/gdb.aCC/Makefile gdb.hp/gdb.compat/Makefile gdb.hp/gdb.defects/Makefile gdb.guile/Makefile gdb.linespec/Makefile gdb.mi/Makefile gdb.modula2/Makefile gdb.multi/Makefile gdb.objc/Makefile gdb.opencl/Makefile gdb.opt/Makefile gdb.pascal/Makefile gdb.perf/Makefile gdb.python/Makefile gdb.reverse/Makefile gdb.stabs/Makefile gdb.threads/Makefile gdb.trace/Makefile gdb.xml/Makefile"
3453 cat >confcache <<\_ACEOF
3454 # This file is a shell script that caches the results of configure
3455 # tests run on this system so they can be shared between configure
3456 # scripts and configure runs, see configure's option --config-cache.
3457 # It is not useful on other systems. If it contains results you don't
3458 # want to keep, you may remove or edit it.
3460 # config.status only pays attention to the cache file if you give it
3461 # the --recheck option to rerun configure.
3463 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3464 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3469 # The following way of writing the cache mishandles newlines in values,
3470 # but we know of no workaround that is simple, portable, and efficient.
3471 # So, we kill variables containing newlines.
3472 # Ultrix sh set writes to stderr and can't be redirected directly,
3473 # and sets the high bit in the cache file unless we assign to the vars.
3475 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3476 eval ac_val=\$$ac_var
3480 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3481 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3484 _ | IFS | as_nl) ;; #(
3485 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3486 *) { eval $ac_var=; unset $ac_var;} ;;
3492 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3493 *${as_nl}ac_space=\ *)
3494 # `set' does not quote correctly, so add quotes: double-quote
3495 # substitution turns \\\\ into \\, and sed turns \\ into \.
3498 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3501 # `set' quotes correctly as required by POSIX, so do not add quotes.
3502 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3511 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3513 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3515 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3516 if test -w "$cache_file"; then
3517 test "x$cache_file" != "x/dev/null" &&
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3519 $as_echo "$as_me: updating cache $cache_file" >&6;}
3520 cat confcache >$cache_file
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3523 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3528 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3529 # Let make expand exec_prefix.
3530 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3532 # Transform confdefs.h into DEFS.
3533 # Protect against shell expansion while executing Makefile rules.
3534 # Protect against Makefile macro expansion.
3536 # If the first sed substitution is executed (which looks for macros that
3537 # take arguments), then branch to the quote section. Otherwise,
3538 # look for a macro that doesn't take arguments.
3548 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3550 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3554 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3567 DEFS=`sed -n "$ac_script" confdefs.h`
3572 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3573 # 1. Remove the extension, and $U if already installed.
3574 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3575 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3576 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3577 # will be set to the directory where LIBOBJS objects are built.
3578 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3579 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3583 LTLIBOBJS=$ac_ltlibobjs
3586 if test -z "${GMAKE_TRUE}" && test -z "${GMAKE_FALSE}"; then
3587 as_fn_error "conditional \"GMAKE\" was never defined.
3588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3591 : ${CONFIG_STATUS=./config.status}
3593 ac_clean_files_save=$ac_clean_files
3594 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3596 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3598 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3600 # Generated by $as_me.
3601 # Run this file to recreate the current configuration.
3602 # Compiler output produced by configure, useful for debugging
3603 # configure, is in config.log if it exists.
3609 SHELL=\${CONFIG_SHELL-$SHELL}
3612 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3613 ## -------------------- ##
3614 ## M4sh Initialization. ##
3615 ## -------------------- ##
3617 # Be more Bourne compatible
3618 DUALCASE=1; export DUALCASE # for MKS sh
3619 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3622 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3623 # is contrary to our usage. Disable this feature.
3624 alias -g '${1+"$@"}'='"$@"'
3625 setopt NO_GLOB_SUBST
3627 case `(set -o) 2>/dev/null` in #(
3639 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3640 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3641 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3642 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3643 # Prefer a ksh shell builtin over an external printf program on Solaris,
3644 # but without wasting forks for bash or zsh.
3645 if test -z "$BASH_VERSION$ZSH_VERSION" \
3646 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3647 as_echo='print -r --'
3648 as_echo_n='print -rn --'
3649 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3650 as_echo='printf %s\n'
3651 as_echo_n='printf %s'
3653 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3654 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3655 as_echo_n='/usr/ucb/echo -n'
3657 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3658 as_echo_n_body='eval
3662 expr "X$arg" : "X\\(.*\\)$as_nl";
3663 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3665 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3667 export as_echo_n_body
3668 as_echo_n='sh -c $as_echo_n_body as_echo'
3671 as_echo='sh -c $as_echo_body as_echo'
3674 # The user is always right.
3675 if test "${PATH_SEPARATOR+set}" != set; then
3677 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3678 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3685 # We need space, tab and new line, in precisely that order. Quoting is
3686 # there to prevent editors from complaining about space-tab.
3687 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3688 # splitting by setting IFS to empty value.)
3691 # Find who we are. Look in the path if we contain no directory separator.
3693 *[\\/]* ) as_myself=$0 ;;
3694 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3698 test -z "$as_dir" && as_dir=.
3699 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3705 # We did not find ourselves, most probably we were run as `sh COMMAND'
3706 # in which case we are not to be found in the path.
3707 if test "x$as_myself" = x; then
3710 if test ! -f "$as_myself"; then
3711 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3715 # Unset variables that we do not need and which cause bugs (e.g. in
3716 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3717 # suppresses any "Segmentation fault" message there. '((' could
3718 # trigger a bug in pdksh 5.2.14.
3719 for as_var in BASH_ENV ENV MAIL MAILPATH
3720 do eval test x\${$as_var+set} = xset \
3721 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3734 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3737 # as_fn_error ERROR [LINENO LOG_FD]
3738 # ---------------------------------
3739 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3740 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3741 # script with status $?, using 1 if that was 0.
3744 as_status=$?; test $as_status -eq 0 && as_status=1
3746 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3747 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3749 $as_echo "$as_me: error: $1" >&2
3750 as_fn_exit $as_status
3754 # as_fn_set_status STATUS
3755 # -----------------------
3756 # Set $? to STATUS, without forking.
3760 } # as_fn_set_status
3764 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3774 # Portably unset VAR.
3777 { eval $1=; unset $1;}
3779 as_unset=as_fn_unset
3780 # as_fn_append VAR VALUE
3781 # ----------------------
3782 # Append the text in VALUE to the end of the definition contained in VAR. Take
3783 # advantage of any shell optimizations that allow amortized linear growth over
3784 # repeated appends, instead of the typical quadratic growth present in naive
3786 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3787 eval 'as_fn_append ()
3798 # as_fn_arith ARG...
3799 # ------------------
3800 # Perform arithmetic evaluation on the ARGs, and store the result in the
3801 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3802 # must be portable across $(()) and expr.
3803 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3804 eval 'as_fn_arith ()
3811 as_val=`expr "$@" || test $? -eq 1`
3816 if expr a : '\(a\)' >/dev/null 2>&1 &&
3817 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3823 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3824 as_basename=basename
3829 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3835 as_me=`$as_basename -- "$0" ||
3836 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3837 X"$0" : 'X\(//\)$' \| \
3838 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3840 sed '/^.*\/\([^/][^/]*\)\/*$/{
3854 # Avoid depending upon Character Ranges.
3855 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3856 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3857 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3858 as_cr_digits='0123456789'
3859 as_cr_alnum=$as_cr_Letters$as_cr_digits
3861 ECHO_C= ECHO_N= ECHO_T=
3862 case `echo -n x` in #(((((
3864 case `echo 'xy\c'` in
3865 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3867 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3874 rm -f conf$$ conf$$.exe conf$$.file
3875 if test -d conf$$.dir; then
3876 rm -f conf$$.dir/conf$$.file
3879 mkdir conf$$.dir 2>/dev/null
3881 if (echo >conf$$.file) 2>/dev/null; then
3882 if ln -s conf$$.file conf$$ 2>/dev/null; then
3884 # ... but there are two gotchas:
3885 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3886 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3887 # In both cases, we have to default to `cp -p'.
3888 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3890 elif ln conf$$.file conf$$ 2>/dev/null; then
3898 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3899 rmdir conf$$.dir 2>/dev/null
3904 # Create "$as_dir" as a directory, including parents if necessary.
3909 -*) as_dir=./$as_dir;;
3911 test -d "$as_dir" || eval $as_mkdir_p || {
3915 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3916 *) as_qdir=$as_dir;;
3918 as_dirs="'$as_qdir' $as_dirs"
3919 as_dir=`$as_dirname -- "$as_dir" ||
3920 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3921 X"$as_dir" : 'X\(//\)[^/]' \| \
3922 X"$as_dir" : 'X\(//\)$' \| \
3923 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3924 $as_echo X"$as_dir" |
3925 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3942 test -d "$as_dir" && break
3944 test -z "$as_dirs" || eval "mkdir $as_dirs"
3945 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
3949 if mkdir -p . 2>/dev/null; then
3950 as_mkdir_p='mkdir -p "$as_dir"'
3952 test -d ./-p && rmdir ./-p
3956 if test -x / >/dev/null 2>&1; then
3959 if ls -dL / >/dev/null 2>&1; then
3966 if test -d "$1"; then
3972 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3973 ???[sx]*):;;*)false;;esac;fi
3977 as_executable_p=$as_test_x
3979 # Sed expression to map a string onto a valid CPP name.
3980 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3982 # Sed expression to map a string onto a valid variable name.
3983 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3987 ## ----------------------------------- ##
3988 ## Main body of $CONFIG_STATUS script. ##
3989 ## ----------------------------------- ##
3991 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3994 # Save the log message, to keep $0 and so on meaningful, and to
3995 # report actual input values of CONFIG_FILES etc. instead of their
3996 # values after options handling.
3998 This file was extended by $as_me, which was
3999 generated by GNU Autoconf 2.64. Invocation command line was
4001 CONFIG_FILES = $CONFIG_FILES
4002 CONFIG_HEADERS = $CONFIG_HEADERS
4003 CONFIG_LINKS = $CONFIG_LINKS
4004 CONFIG_COMMANDS = $CONFIG_COMMANDS
4007 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4012 case $ac_config_files in *"
4013 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4019 # Files that config.status was made for.
4020 config_files="$ac_config_files"
4024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4026 \`$as_me' instantiates files and other configuration actions
4027 from templates according to the current configuration. Unless the files
4028 and actions are specified as TAGs, all are instantiated by default.
4030 Usage: $0 [OPTION]... [TAG]...
4032 -h, --help print this help, then exit
4033 -V, --version print version number and configuration settings, then exit
4034 -q, --quiet, --silent
4035 do not print progress messages
4036 -d, --debug don't remove temporary files
4037 --recheck update $as_me by reconfiguring in the same conditions
4038 --file=FILE[:TEMPLATE]
4039 instantiate the configuration file FILE
4041 Configuration files:
4044 Report bugs to the package provider."
4047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4050 configured by $0, generated by GNU Autoconf 2.64,
4051 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4053 Copyright (C) 2009 Free Software Foundation, Inc.
4054 This config.status script is free software; the Free Software Foundation
4055 gives unlimited permission to copy, distribute and modify it."
4059 test -n "\$AWK" || AWK=awk
4062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4063 # The default lists apply if the user does not specify any file.
4069 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4070 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4081 # Handling of the options.
4082 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4084 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4085 $as_echo "$ac_cs_version"; exit ;;
4086 --debug | --debu | --deb | --de | --d | -d )
4088 --file | --fil | --fi | --f )
4091 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4093 as_fn_append CONFIG_FILES " '$ac_optarg'"
4094 ac_need_defaults=false;;
4095 --he | --h | --help | --hel | -h )
4096 $as_echo "$ac_cs_usage"; exit ;;
4097 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4098 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4102 -*) as_fn_error "unrecognized option: \`$1'
4103 Try \`$0 --help' for more information." ;;
4105 *) as_fn_append ac_config_targets " $1"
4106 ac_need_defaults=false ;;
4112 ac_configure_extra_args=
4114 if $ac_cs_silent; then
4116 ac_configure_extra_args="$ac_configure_extra_args --silent"
4120 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4121 if \$ac_cs_recheck; then
4122 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4124 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4125 CONFIG_SHELL='$SHELL'
4131 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4135 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4136 ## Running $as_me. ##
4142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4145 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4147 # Handling of arguments.
4148 for ac_config_target in $ac_config_targets
4150 case $ac_config_target in
4151 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4152 "gdb.ada/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.ada/Makefile" ;;
4153 "gdb.arch/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.arch/Makefile" ;;
4154 "gdb.asm/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.asm/Makefile" ;;
4155 "gdb.base/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.base/Makefile" ;;
4156 "gdb.btrace/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.btrace/Makefile" ;;
4157 "gdb.cell/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.cell/Makefile" ;;
4158 "gdb.cp/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.cp/Makefile" ;;
4159 "gdb.disasm/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.disasm/Makefile" ;;
4160 "gdb.dwarf2/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.dwarf2/Makefile" ;;
4161 "gdb.dlang/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.dlang/Makefile" ;;
4162 "gdb.fortran/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.fortran/Makefile" ;;
4163 "gdb.gdb/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.gdb/Makefile" ;;
4164 "gdb.go/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.go/Makefile" ;;
4165 "gdb.server/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.server/Makefile" ;;
4166 "gdb.java/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.java/Makefile" ;;
4167 "gdb.hp/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.hp/Makefile" ;;
4168 "gdb.hp/gdb.objdbg/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.hp/gdb.objdbg/Makefile" ;;
4169 "gdb.hp/gdb.base-hp/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.hp/gdb.base-hp/Makefile" ;;
4170 "gdb.hp/gdb.aCC/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.hp/gdb.aCC/Makefile" ;;
4171 "gdb.hp/gdb.compat/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.hp/gdb.compat/Makefile" ;;
4172 "gdb.hp/gdb.defects/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.hp/gdb.defects/Makefile" ;;
4173 "gdb.guile/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.guile/Makefile" ;;
4174 "gdb.linespec/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.linespec/Makefile" ;;
4175 "gdb.mi/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.mi/Makefile" ;;
4176 "gdb.modula2/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.modula2/Makefile" ;;
4177 "gdb.multi/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.multi/Makefile" ;;
4178 "gdb.objc/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.objc/Makefile" ;;
4179 "gdb.opencl/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.opencl/Makefile" ;;
4180 "gdb.opt/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.opt/Makefile" ;;
4181 "gdb.pascal/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.pascal/Makefile" ;;
4182 "gdb.perf/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.perf/Makefile" ;;
4183 "gdb.python/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.python/Makefile" ;;
4184 "gdb.reverse/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.reverse/Makefile" ;;
4185 "gdb.stabs/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.stabs/Makefile" ;;
4186 "gdb.threads/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.threads/Makefile" ;;
4187 "gdb.trace/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.trace/Makefile" ;;
4188 "gdb.xml/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.xml/Makefile" ;;
4190 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4195 # If the user did not use the arguments to specify the items to instantiate,
4196 # then the envvar interface is used. Set only those that are not.
4197 # We use the long form for the default assignment because of an extremely
4198 # bizarre bug on SunOS 4.1.3.
4199 if $ac_need_defaults; then
4200 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4203 # Have a temporary directory for convenience. Make it in the build tree
4204 # simply because there is no reason against having it here, and in addition,
4205 # creating and moving files from /tmp can sometimes cause problems.
4206 # Hook for its removal unless debugging.
4207 # Note that there is a small window in which the directory will not be cleaned:
4208 # after its creation but before its name has been assigned to `$tmp'.
4212 trap 'exit_status=$?
4213 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4215 trap 'as_fn_exit 1' 1 2 13 15
4217 # Create a (secure) tmp directory for tmp files.
4220 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4221 test -n "$tmp" && test -d "$tmp"
4224 tmp=./conf$$-$RANDOM
4225 (umask 077 && mkdir "$tmp")
4226 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4228 # Set up the scripts for CONFIG_FILES section.
4229 # No need to generate them if there are no CONFIG_FILES.
4230 # This happens for instance with `./config.status config.h'.
4231 if test -n "$CONFIG_FILES"; then
4234 ac_cr=`echo X | tr X '\015'`
4235 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4236 # But we know of no other shell where ac_cr would be empty at this
4237 # point, so we can use a bashism as a fallback.
4238 if test "x$ac_cr" = x; then
4239 eval ac_cr=\$\'\\r\'
4241 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4242 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4248 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4253 echo "cat >conf$$subs.awk <<_ACEOF" &&
4254 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4257 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4258 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4260 for ac_last_try in false false false false false :; do
4261 . ./conf$$subs.sh ||
4262 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4264 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4265 if test $ac_delim_n = $ac_delim_num; then
4267 elif $ac_last_try; then
4268 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4270 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4276 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4280 s/^/S["/; s/!.*/"]=/
4290 s/\(.\{148\}\).*/\1/
4292 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4297 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4304 s/\(.\{148\}\).*/\1/
4306 s/["\\]/\\&/g; s/^/"/; s/$/"/
4310 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4315 ' <conf$$subs.awk | sed '
4320 ' >>$CONFIG_STATUS || ac_write_fail=1
4321 rm -f conf$$subs.awk
4322 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4324 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4325 for (key in S) S_is_set[key] = 1
4331 nfields = split(line, field, "@")
4333 len = length(field[1])
4334 for (i = 2; i < nfields; i++) {
4336 keylen = length(key)
4337 if (S_is_set[key]) {
4339 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4340 len += length(value) + length(field[++i])
4351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4352 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4353 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4356 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4357 || as_fn_error "could not setup config files machinery" "$LINENO" 5
4360 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4361 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4362 # trailing colons and then remove the whole line if VPATH becomes empty
4363 # (actually we leave an empty line to preserve line numbers).
4364 if test "x$srcdir" = x.; then
4365 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4369 s/^\([^=]*=[ ]*\):*/\1/
4375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4376 fi # test -n "$CONFIG_FILES"
4379 eval set X " :F $CONFIG_FILES "
4384 :[FHLC]) ac_mode=$ac_tag; continue;;
4386 case $ac_mode$ac_tag in
4388 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4389 :[FH]-) ac_tag=-:-;;
4390 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4407 -) ac_f="$tmp/stdin";;
4408 *) # Look for the file first in the build tree, then in the source tree
4409 # (if the path is not absolute). The absolute path cannot be DOS-style,
4410 # because $ac_f cannot contain `:'.
4414 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4416 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4418 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4419 as_fn_append ac_file_inputs " '$ac_f'"
4422 # Let's still pretend it is `configure' which instantiates (i.e., don't
4423 # use $as_me), people would be surprised to read:
4424 # /* config.h. Generated by config.status. */
4425 configure_input='Generated from '`
4426 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4428 if test x"$ac_file" != x-; then
4429 configure_input="$ac_file. $configure_input"
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4431 $as_echo "$as_me: creating $ac_file" >&6;}
4433 # Neutralize special characters interpreted by sed in replacement strings.
4434 case $configure_input in #(
4435 *\&* | *\|* | *\\* )
4436 ac_sed_conf_input=`$as_echo "$configure_input" |
4437 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4438 *) ac_sed_conf_input=$configure_input;;
4442 *:-:* | *:-) cat >"$tmp/stdin" \
4443 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4448 ac_dir=`$as_dirname -- "$ac_file" ||
4449 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4450 X"$ac_file" : 'X\(//\)[^/]' \| \
4451 X"$ac_file" : 'X\(//\)$' \| \
4452 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4453 $as_echo X"$ac_file" |
4454 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4471 as_dir="$ac_dir"; as_fn_mkdir_p
4475 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4477 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4478 # A ".." for each directory in $ac_dir_suffix.
4479 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4480 case $ac_top_builddir_sub in
4481 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4482 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4485 ac_abs_top_builddir=$ac_pwd
4486 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4487 # for backward compatibility:
4488 ac_top_builddir=$ac_top_build_prefix
4491 .) # We are building in place.
4493 ac_top_srcdir=$ac_top_builddir_sub
4494 ac_abs_top_srcdir=$ac_pwd ;;
4495 [\\/]* | ?:[\\/]* ) # Absolute name.
4496 ac_srcdir=$srcdir$ac_dir_suffix;
4497 ac_top_srcdir=$srcdir
4498 ac_abs_top_srcdir=$srcdir ;;
4500 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4501 ac_top_srcdir=$ac_top_build_prefix$srcdir
4502 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4504 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4516 # If the template does not know about datarootdir, expand it.
4517 # FIXME: This hack should be removed a few years after 2.60.
4518 ac_datarootdir_hack=; ac_datarootdir_seen=
4529 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4530 *datarootdir*) ac_datarootdir_seen=yes;;
4531 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4533 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4535 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4536 ac_datarootdir_hack='
4537 s&@datadir@&$datadir&g
4538 s&@docdir@&$docdir&g
4539 s&@infodir@&$infodir&g
4540 s&@localedir@&$localedir&g
4541 s&@mandir@&$mandir&g
4542 s&\\\${datarootdir}&$datarootdir&g' ;;
4546 # Neutralize VPATH when `$srcdir' = `.'.
4547 # Shell code in configure.ac might set extrasub.
4548 # FIXME: do we really want to maintain this feature?
4549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4550 ac_sed_extra="$ac_vpsub
4553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4555 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4556 s|@configure_input@|$ac_sed_conf_input|;t t
4557 s&@top_builddir@&$ac_top_builddir_sub&;t t
4558 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4559 s&@srcdir@&$ac_srcdir&;t t
4560 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4561 s&@top_srcdir@&$ac_top_srcdir&;t t
4562 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4563 s&@builddir@&$ac_builddir&;t t
4564 s&@abs_builddir@&$ac_abs_builddir&;t t
4565 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4566 $ac_datarootdir_hack
4568 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4569 || as_fn_error "could not create $ac_file" "$LINENO" 5
4571 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4572 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4573 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4575 which seems to be undefined. Please make sure it is defined." >&5
4576 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4577 which seems to be undefined. Please make sure it is defined." >&2;}
4581 -) cat "$tmp/out" && rm -f "$tmp/out";;
4582 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4584 || as_fn_error "could not create $ac_file" "$LINENO" 5
4596 ac_clean_files=$ac_clean_files_save
4598 test $ac_write_fail = 0 ||
4599 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4602 # configure is writing to config.log, and then calls config.status.
4603 # config.status does its own redirection, appending to config.log.
4604 # Unfortunately, on DOS this fails, as config.log is still kept open
4605 # by configure, so config.status won't be able to write to it; its
4606 # output is simply discarded. So we exec the FD to /dev/null,
4607 # effectively closing config.log, so it can be properly (re)opened and
4608 # appended to by config.status. When coming back to configure, we
4609 # need to make the FD available again.
4610 if test "$no_create" != yes; then
4612 ac_config_status_args=
4613 test "$silent" = yes &&
4614 ac_config_status_args="$ac_config_status_args --quiet"
4616 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4618 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4619 # would make configure fail if this is the last instruction.
4620 $ac_cs_success || as_fn_exit $?
4624 # CONFIG_SUBDIRS section.
4626 if test "$no_recursion" != yes; then
4628 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
4629 # so they do not pile up.
4630 ac_sub_configure_args=
4632 eval "set x $ac_configure_args"
4636 if test -n "$ac_prev"; then
4641 -cache-file | --cache-file | --cache-fil | --cache-fi \
4642 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4643 ac_prev=cache_file ;;
4644 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4645 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
4648 --config-cache | -C)
4650 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4652 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4654 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4656 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4658 --disable-option-checking)
4662 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4664 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
4668 # Always prepend --prefix to ensure using the same prefix
4669 # in subdir configurations.
4670 ac_arg="--prefix=$prefix"
4672 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4674 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
4677 if test "$silent" = yes; then
4678 ac_sub_configure_args="--silent $ac_sub_configure_args"
4681 # Always prepend --disable-option-checking to silence warnings, since
4682 # different subdirs can have different --enable and --with options.
4683 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
4686 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
4688 # Do not complain, so a configure script can configure whichever
4689 # parts of a large source tree are present.
4690 test -d "$srcdir/$ac_dir" || continue
4692 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
4693 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
4694 $as_echo "$ac_msg" >&6
4695 as_dir="$ac_dir"; as_fn_mkdir_p
4699 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4701 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4702 # A ".." for each directory in $ac_dir_suffix.
4703 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4704 case $ac_top_builddir_sub in
4705 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4706 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4709 ac_abs_top_builddir=$ac_pwd
4710 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4711 # for backward compatibility:
4712 ac_top_builddir=$ac_top_build_prefix
4715 .) # We are building in place.
4717 ac_top_srcdir=$ac_top_builddir_sub
4718 ac_abs_top_srcdir=$ac_pwd ;;
4719 [\\/]* | ?:[\\/]* ) # Absolute name.
4720 ac_srcdir=$srcdir$ac_dir_suffix;
4721 ac_top_srcdir=$srcdir
4722 ac_abs_top_srcdir=$srcdir ;;
4724 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4725 ac_top_srcdir=$ac_top_build_prefix$srcdir
4726 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4728 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4733 # Check for guested configure; otherwise get Cygnus style configure.
4734 if test -f "$ac_srcdir/configure.gnu"; then
4735 ac_sub_configure=$ac_srcdir/configure.gnu
4736 elif test -f "$ac_srcdir/configure"; then
4737 ac_sub_configure=$ac_srcdir/configure
4738 elif test -f "$ac_srcdir/configure.in"; then
4739 # This should be Cygnus configure.
4740 ac_sub_configure=$ac_aux_dir/configure
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
4743 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
4747 # The recursion is here.
4748 if test -n "$ac_sub_configure"; then
4749 # Make the cache file name correct relative to the subdirectory.
4751 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
4753 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
4756 { $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
4757 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4758 # The eval makes quoting arguments work.
4759 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
4760 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
4761 as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
4767 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4769 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}