2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
554 ac_unique_file
="gdb.base"
555 enable_option_checking
=no
556 # Factoring default headers for most tests.
557 ac_includes_default
="\
559 #ifdef HAVE_SYS_TYPES_H
560 # include <sys/types.h>
562 #ifdef HAVE_SYS_STAT_H
563 # include <sys/stat.h>
569 # ifdef HAVE_STDLIB_H
574 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
579 #ifdef HAVE_STRINGS_H
580 # include <strings.h>
582 #ifdef HAVE_INTTYPES_H
583 # include <inttypes.h>
592 ac_subst_vars
='LTLIBOBJS
596 READELF_TRANSFORM_NAME
651 program_transform_name
664 enable_option_checking
668 ac_precious_vars
='build_alias
677 ac_subdirs_all
='gdb.gdbtk'
679 # Initialize some variables set by options.
681 ac_init_version
=false
682 ac_unrecognized_opts
=
684 # The variables have the same names as the options, with
685 # dashes changed to underlines.
693 program_transform_name
=s
,x
,x
,
701 # Installation directory options.
702 # These are left unexpanded so users can "make install exec_prefix=/foo"
703 # and all the variables that are supposed to be based on exec_prefix
704 # by default will actually change.
705 # Use braces instead of parens because sh, perl, etc. also accept them.
706 # (The list follows the same order as the GNU Coding Standards.)
707 bindir
='${exec_prefix}/bin'
708 sbindir
='${exec_prefix}/sbin'
709 libexecdir
='${exec_prefix}/libexec'
710 datarootdir
='${prefix}/share'
711 datadir
='${datarootdir}'
712 sysconfdir
='${prefix}/etc'
713 sharedstatedir
='${prefix}/com'
714 localstatedir
='${prefix}/var'
715 includedir
='${prefix}/include'
716 oldincludedir
='/usr/include'
717 docdir
='${datarootdir}/doc/${PACKAGE}'
718 infodir
='${datarootdir}/info'
723 libdir
='${exec_prefix}/lib'
724 localedir
='${datarootdir}/locale'
725 mandir
='${datarootdir}/man'
731 # If the previous option needs an argument, assign it.
732 if test -n "$ac_prev"; then
733 eval $ac_prev=\
$ac_option
739 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
743 # Accept the important Cygnus configure options, so we can diagnose typos.
745 case $ac_dashdash$ac_option in
749 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
751 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
754 -build |
--build |
--buil |
--bui |
--bu)
755 ac_prev
=build_alias
;;
756 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
757 build_alias
=$ac_optarg ;;
759 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
760 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
761 ac_prev
=cache_file
;;
762 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
763 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
764 cache_file
=$ac_optarg ;;
767 cache_file
=config.cache
;;
769 -datadir |
--datadir |
--datadi |
--datad)
771 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
772 datadir
=$ac_optarg ;;
774 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
775 |
--dataroo |
--dataro |
--datar)
776 ac_prev
=datarootdir
;;
777 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
778 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
779 datarootdir
=$ac_optarg ;;
781 -disable-* |
--disable-*)
782 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
785 as_fn_error
"invalid feature name: $ac_useropt"
786 ac_useropt_orig
=$ac_useropt
787 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
788 case $ac_user_opts in
792 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
793 ac_unrecognized_sep
=', ';;
795 eval enable_
$ac_useropt=no
;;
797 -docdir |
--docdir |
--docdi |
--doc |
--do)
799 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
802 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
804 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
807 -enable-* |
--enable-*)
808 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
809 # Reject names that are not valid shell variable names.
810 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
811 as_fn_error
"invalid feature name: $ac_useropt"
812 ac_useropt_orig
=$ac_useropt
813 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
814 case $ac_user_opts in
818 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
819 ac_unrecognized_sep
=', ';;
821 eval enable_
$ac_useropt=\
$ac_optarg ;;
823 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
824 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
825 |
--exec |
--exe |
--ex)
826 ac_prev
=exec_prefix
;;
827 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
828 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
829 |
--exec=* |
--exe=* |
--ex=*)
830 exec_prefix
=$ac_optarg ;;
832 -gas |
--gas |
--ga |
--g)
833 # Obsolete; use --with-gas.
836 -help |
--help |
--hel |
--he |
-h)
838 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
839 ac_init_help
=recursive
;;
840 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
841 ac_init_help
=short
;;
843 -host |
--host |
--hos |
--ho)
844 ac_prev
=host_alias
;;
845 -host=* |
--host=* |
--hos=* |
--ho=*)
846 host_alias
=$ac_optarg ;;
848 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
850 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
852 htmldir
=$ac_optarg ;;
854 -includedir |
--includedir |
--includedi |
--included |
--include \
855 |
--includ |
--inclu |
--incl |
--inc)
856 ac_prev
=includedir
;;
857 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
858 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
859 includedir
=$ac_optarg ;;
861 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
863 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
864 infodir
=$ac_optarg ;;
866 -libdir |
--libdir |
--libdi |
--libd)
868 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
871 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
872 |
--libexe |
--libex |
--libe)
873 ac_prev
=libexecdir
;;
874 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
875 |
--libexe=* |
--libex=* |
--libe=*)
876 libexecdir
=$ac_optarg ;;
878 -localedir |
--localedir |
--localedi |
--localed |
--locale)
880 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
881 localedir
=$ac_optarg ;;
883 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
884 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
885 ac_prev
=localstatedir
;;
886 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
887 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
888 localstatedir
=$ac_optarg ;;
890 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
892 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
896 # Obsolete; use --without-fp.
899 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
900 |
--no-cr |
--no-c |
-n)
903 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
904 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
907 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
908 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
909 |
--oldin |
--oldi |
--old |
--ol |
--o)
910 ac_prev
=oldincludedir
;;
911 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
912 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
913 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
914 oldincludedir
=$ac_optarg ;;
916 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
918 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
921 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
922 |
--program-pre |
--program-pr |
--program-p)
923 ac_prev
=program_prefix
;;
924 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
925 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
926 program_prefix
=$ac_optarg ;;
928 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
929 |
--program-suf |
--program-su |
--program-s)
930 ac_prev
=program_suffix
;;
931 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
932 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
933 program_suffix
=$ac_optarg ;;
935 -program-transform-name |
--program-transform-name \
936 |
--program-transform-nam |
--program-transform-na \
937 |
--program-transform-n |
--program-transform- \
938 |
--program-transform |
--program-transfor \
939 |
--program-transfo |
--program-transf \
940 |
--program-trans |
--program-tran \
941 |
--progr-tra |
--program-tr |
--program-t)
942 ac_prev
=program_transform_name
;;
943 -program-transform-name=* |
--program-transform-name=* \
944 |
--program-transform-nam=* |
--program-transform-na=* \
945 |
--program-transform-n=* |
--program-transform-=* \
946 |
--program-transform=* |
--program-transfor=* \
947 |
--program-transfo=* |
--program-transf=* \
948 |
--program-trans=* |
--program-tran=* \
949 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
950 program_transform_name
=$ac_optarg ;;
952 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
954 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
957 -psdir |
--psdir |
--psdi |
--psd |
--ps)
959 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
962 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
963 |
-silent |
--silent |
--silen |
--sile |
--sil)
966 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
968 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
970 sbindir
=$ac_optarg ;;
972 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
973 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
974 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
976 ac_prev
=sharedstatedir
;;
977 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
978 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
979 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
981 sharedstatedir
=$ac_optarg ;;
983 -site |
--site |
--sit)
985 -site=* |
--site=* |
--sit=*)
988 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
990 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
993 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
994 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
995 ac_prev
=sysconfdir
;;
996 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
997 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
998 sysconfdir
=$ac_optarg ;;
1000 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1001 ac_prev
=target_alias
;;
1002 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1003 target_alias
=$ac_optarg ;;
1005 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1008 -version |
--version |
--versio |
--versi |
--vers |
-V)
1009 ac_init_version
=: ;;
1012 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1013 # Reject names that are not valid shell variable names.
1014 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1015 as_fn_error
"invalid package name: $ac_useropt"
1016 ac_useropt_orig
=$ac_useropt
1017 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1018 case $ac_user_opts in
1022 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1023 ac_unrecognized_sep
=', ';;
1025 eval with_
$ac_useropt=\
$ac_optarg ;;
1027 -without-* |
--without-*)
1028 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1029 # Reject names that are not valid shell variable names.
1030 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1031 as_fn_error
"invalid package name: $ac_useropt"
1032 ac_useropt_orig
=$ac_useropt
1033 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1034 case $ac_user_opts in
1038 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1039 ac_unrecognized_sep
=', ';;
1041 eval with_
$ac_useropt=no
;;
1044 # Obsolete; use --with-x.
1047 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1048 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1049 ac_prev
=x_includes
;;
1050 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1051 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1052 x_includes
=$ac_optarg ;;
1054 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1055 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1056 ac_prev
=x_libraries
;;
1057 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1058 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1059 x_libraries
=$ac_optarg ;;
1061 -*) as_fn_error
"unrecognized option: \`$ac_option'
1062 Try \`$0 --help' for more information."
1066 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1067 # Reject names that are not valid shell variable names.
1068 case $ac_envvar in #(
1069 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1070 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1072 eval $ac_envvar=\
$ac_optarg
1073 export $ac_envvar ;;
1076 # FIXME: should be removed in autoconf 3.0.
1077 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1078 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1079 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1080 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1086 if test -n "$ac_prev"; then
1087 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1088 as_fn_error
"missing argument to $ac_option"
1091 if test -n "$ac_unrecognized_opts"; then
1092 case $enable_option_checking in
1094 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1095 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1099 # Check all directory arguments for consistency.
1100 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1101 datadir sysconfdir sharedstatedir localstatedir includedir \
1102 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1103 libdir localedir mandir
1105 eval ac_val
=\$
$ac_var
1106 # Remove trailing slashes.
1109 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1110 eval $ac_var=\
$ac_val;;
1112 # Be sure to have absolute directory names.
1114 [\\/$
]* | ?
:[\\/]* ) continue;;
1115 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1117 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1120 # There might be people who depend on the old broken behavior: `$host'
1121 # used to hold the argument of --host etc.
1122 # FIXME: To remove some day.
1125 target
=$target_alias
1127 # FIXME: To remove some day.
1128 if test "x$host_alias" != x
; then
1129 if test "x$build_alias" = x
; then
1130 cross_compiling
=maybe
1131 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1132 If a cross compiler is detected then cross compile mode will be used." >&2
1133 elif test "x$build_alias" != "x$host_alias"; then
1139 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1141 test "$silent" = yes && exec 6>/dev
/null
1144 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1145 ac_ls_di
=`ls -di .` &&
1146 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1147 as_fn_error
"working directory cannot be determined"
1148 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1149 as_fn_error
"pwd does not report name of working directory"
1152 # Find the source files, if location was not specified.
1153 if test -z "$srcdir"; then
1154 ac_srcdir_defaulted
=yes
1155 # Try the directory containing this script, then the parent directory.
1156 ac_confdir
=`$as_dirname -- "$as_myself" ||
1157 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1158 X"$as_myself" : 'X\(//\)[^/]' \| \
1159 X"$as_myself" : 'X\(//\)$' \| \
1160 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1161 $as_echo X"$as_myself" |
1162 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1180 if test ! -r "$srcdir/$ac_unique_file"; then
1184 ac_srcdir_defaulted
=no
1186 if test ! -r "$srcdir/$ac_unique_file"; then
1187 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1188 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1190 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1192 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1194 # When building in place, set srcdir=.
1195 if test "$ac_abs_confdir" = "$ac_pwd"; then
1198 # Remove unnecessary trailing slashes from srcdir.
1199 # Double slashes in file names in object file debugging info
1200 # mess up M-x gdb in Emacs.
1202 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1204 for ac_var
in $ac_precious_vars; do
1205 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1206 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1207 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1208 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1212 # Report the --help message.
1214 if test "$ac_init_help" = "long"; then
1215 # Omit some internal or obsolete options to make the list less imposing.
1216 # This message is too long to be a string in the A/UX 3.1 sh.
1218 \`configure' configures this package to adapt to many kinds of systems.
1220 Usage: $0 [OPTION]... [VAR=VALUE]...
1222 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1223 VAR=VALUE. See below for descriptions of some of the useful variables.
1225 Defaults for the options are specified in brackets.
1228 -h, --help display this help and exit
1229 --help=short display options specific to this package
1230 --help=recursive display the short help of all the included packages
1231 -V, --version display version information and exit
1232 -q, --quiet, --silent do not print \`checking...' messages
1233 --cache-file=FILE cache test results in FILE [disabled]
1234 -C, --config-cache alias for \`--cache-file=config.cache'
1235 -n, --no-create do not create output files
1236 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1238 Installation directories:
1239 --prefix=PREFIX install architecture-independent files in PREFIX
1240 [$ac_default_prefix]
1241 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1244 By default, \`make install' will install all the files in
1245 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1246 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1247 for instance \`--prefix=\$HOME'.
1249 For better control, use the options below.
1251 Fine tuning of the installation directories:
1252 --bindir=DIR user executables [EPREFIX/bin]
1253 --sbindir=DIR system admin executables [EPREFIX/sbin]
1254 --libexecdir=DIR program executables [EPREFIX/libexec]
1255 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1256 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1257 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1258 --libdir=DIR object code libraries [EPREFIX/lib]
1259 --includedir=DIR C header files [PREFIX/include]
1260 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1261 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1262 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1263 --infodir=DIR info documentation [DATAROOTDIR/info]
1264 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1265 --mandir=DIR man documentation [DATAROOTDIR/man]
1266 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1267 --htmldir=DIR html documentation [DOCDIR]
1268 --dvidir=DIR dvi documentation [DOCDIR]
1269 --pdfdir=DIR pdf documentation [DOCDIR]
1270 --psdir=DIR ps documentation [DOCDIR]
1276 --program-prefix=PREFIX prepend PREFIX to installed program names
1277 --program-suffix=SUFFIX append SUFFIX to installed program names
1278 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1281 --build=BUILD configure
for building on BUILD
[guessed
]
1282 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1283 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1287 if test -n "$ac_init_help"; then
1292 --disable-option-checking ignore unrecognized
--enable/--with options
1293 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1294 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1295 --enable-gtk enable gdbtk graphical user interface
(GUI
)
1296 --enable-shared build shared libraries deault
=yes
1298 Some influential environment variables
:
1299 CC C compiler
command
1300 CFLAGS C compiler flags
1301 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1302 nonstandard directory
<lib dir
>
1303 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1304 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1305 you have headers
in a nonstandard directory
<include dir
>
1308 Use these variables to override the choices made by
`configure' or to help
1309 it to find libraries and programs with nonstandard names/locations.
1311 Report bugs to the package provider.
1316 if test "$ac_init_help" = "recursive"; then
1317 # If there are subdirs, report their specific --help.
1318 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1319 test -d "$ac_dir" ||
1320 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1325 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1327 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1328 # A ".." for each directory in $ac_dir_suffix.
1329 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1330 case $ac_top_builddir_sub in
1331 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1332 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1335 ac_abs_top_builddir=$ac_pwd
1336 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1337 # for backward compatibility:
1338 ac_top_builddir=$ac_top_build_prefix
1341 .) # We are building in place.
1343 ac_top_srcdir=$ac_top_builddir_sub
1344 ac_abs_top_srcdir=$ac_pwd ;;
1345 [\\/]* | ?:[\\/]* ) # Absolute name.
1346 ac_srcdir=$srcdir$ac_dir_suffix;
1347 ac_top_srcdir=$srcdir
1348 ac_abs_top_srcdir=$srcdir ;;
1350 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1351 ac_top_srcdir=$ac_top_build_prefix$srcdir
1352 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1354 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1356 cd "$ac_dir" || { ac_status=$?; continue; }
1357 # Check for guested configure.
1358 if test -f "$ac_srcdir/configure.gnu"; then
1360 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1361 elif test -f "$ac_srcdir/configure"; then
1363 $SHELL "$ac_srcdir/configure" --help=recursive
1365 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1367 cd "$ac_pwd" || { ac_status=$?; break; }
1371 test -n "$ac_init_help" && exit $ac_status
1372 if $ac_init_version; then
1375 generated by GNU Autoconf 2.64
1377 Copyright (C) 2009 Free Software Foundation, Inc.
1378 This configure script is free software; the Free Software Foundation
1379 gives unlimited permission to copy, distribute and modify it.
1384 ## ------------------------ ##
1385 ## Autoconf initialization. ##
1386 ## ------------------------ ##
1388 # ac_fn_c_try_compile LINENO
1389 # --------------------------
1390 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1391 ac_fn_c_try_compile ()
1393 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1394 rm -f conftest.$ac_objext
1395 if { { ac_try="$ac_compile"
1397 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1398 *) ac_try_echo
=$ac_try;;
1400 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1401 $as_echo "$ac_try_echo"; } >&5
1402 (eval "$ac_compile") 2>conftest.err
1404 if test -s conftest.err
; then
1405 grep -v '^ *+' conftest.err
>conftest.er1
1406 cat conftest.er1
>&5
1407 mv -f conftest.er1 conftest.err
1409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1410 test $ac_status = 0; } && {
1411 test -z "$ac_c_werror_flag" ||
1412 test ! -s conftest.err
1413 } && test -s conftest.
$ac_objext; then :
1416 $as_echo "$as_me: failed program was:" >&5
1417 sed 's/^/| /' conftest.
$ac_ext >&5
1421 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1424 } # ac_fn_c_try_compile
1426 # ac_fn_c_try_cpp LINENO
1427 # ----------------------
1428 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1431 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1432 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1434 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1435 *) ac_try_echo=$ac_try;;
1437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1438 $as_echo "$ac_try_echo"; } >&5
1439 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1441 if test -s conftest.err; then
1442 grep -v '^ *+' conftest.err >conftest.er1
1443 cat conftest.er1 >&5
1444 mv -f conftest.er1 conftest.err
1446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1447 test $ac_status = 0; } >/dev/null && {
1448 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1449 test ! -s conftest.err
1453 $as_echo "$as_me: failed program was:" >&5
1454 sed 's/^/| /' conftest.$ac_ext >&5
1458 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1463 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1464 # -------------------------------------------------------
1465 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1466 # the include files in INCLUDES and setting the cache variable VAR
1468 ac_fn_c_check_header_mongrel ()
1470 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1471 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1473 $as_echo_n "checking for $2... " >&6; }
1474 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1475 $as_echo_n "(cached) " >&6
1478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1479 $as_echo "$ac_res" >&6; }
1481 # Is the header compilable?
1482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1483 $as_echo_n "checking $2 usability... " >&6; }
1484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1485 /* end confdefs.h. */
1489 if ac_fn_c_try_compile "$LINENO"; then :
1490 ac_header_compiler=yes
1492 ac_header_compiler=no
1494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1496 $as_echo "$ac_header_compiler" >&6; }
1498 # Is the header present?
1499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1500 $as_echo_n "checking $2 presence... " >&6; }
1501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1502 /* end confdefs.h. */
1505 if ac_fn_c_try_cpp "$LINENO"; then :
1506 ac_header_preproc=yes
1508 ac_header_preproc=no
1510 rm -f conftest.err conftest.$ac_ext
1511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1512 $as_echo "$ac_header_preproc" >&6; }
1514 # So? What about this header?
1515 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1518 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1520 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1524 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1526 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1528 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1530 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1532 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1536 $as_echo_n "checking for $2... " >&6; }
1537 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1538 $as_echo_n "(cached) " >&6
1540 eval "$3=\$ac_header_compiler"
1543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1544 $as_echo "$ac_res" >&6; }
1546 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1548 } # ac_fn_c_check_header_mongrel
1550 # ac_fn_c_try_run LINENO
1551 # ----------------------
1552 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1553 # that executables *can* be run.
1556 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1557 if { { ac_try="$ac_link"
1559 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1560 *) ac_try_echo
=$ac_try;;
1562 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1563 $as_echo "$ac_try_echo"; } >&5
1564 (eval "$ac_link") 2>&5
1566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1567 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1568 { { case "(($ac_try" in
1569 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1570 *) ac_try_echo=$ac_try;;
1572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1573 $as_echo "$ac_try_echo"; } >&5
1574 (eval "$ac_try") 2>&5
1576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1577 test $ac_status = 0; }; }; then :
1580 $as_echo "$as_me: program exited with status $ac_status" >&5
1581 $as_echo "$as_me: failed program was:" >&5
1582 sed 's/^/| /' conftest.$ac_ext >&5
1584 ac_retval=$ac_status
1586 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1587 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1592 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1593 # -------------------------------------------------------
1594 # Tests whether HEADER exists and can be compiled using the include files in
1595 # INCLUDES, setting the cache variable VAR accordingly.
1596 ac_fn_c_check_header_compile ()
1598 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1600 $as_echo_n "checking for $2... " >&6; }
1601 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1602 $as_echo_n "(cached) " >&6
1604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1605 /* end confdefs.h. */
1609 if ac_fn_c_try_compile "$LINENO"; then :
1614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1618 $as_echo "$ac_res" >&6; }
1619 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1621 } # ac_fn_c_check_header_compile
1622 cat >config.log <<_ACEOF
1623 This file contains any messages produced by compilers while
1624 running configure, to aid debugging if configure makes a mistake.
1626 It was created by $as_me, which was
1627 generated by GNU Autoconf 2.64. Invocation command line was
1639 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1640 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1641 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1642 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1643 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1645 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1646 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1648 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1649 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1650 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1651 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1652 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1653 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1654 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1662 test -z "$as_dir" && as_dir=.
1663 $as_echo "PATH: $as_dir"
1679 # Keep a trace of the command line.
1680 # Strip out --no-create and --no-recursion so they do not pile up.
1681 # Strip out --silent because we don't want to record it for future runs.
1682 # Also quote any args containing shell meta-characters.
1683 # Make two passes to allow for proper duplicate-argument suppression.
1687 ac_must_keep_next=false
1693 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1694 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1695 | -silent | --silent | --silen | --sile | --sil)
1698 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1701 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1703 as_fn_append ac_configure_args1 " '$ac_arg'"
1704 if test $ac_must_keep_next = true; then
1705 ac_must_keep_next=false # Got value, back to normal.
1708 *=* | --config-cache | -C | -disable-* | --disable-* \
1709 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1710 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1711 | -with-* | --with-* | -without-* | --without-* | --x)
1712 case "$ac_configure_args0 " in
1713 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1716 -* ) ac_must_keep_next=true ;;
1719 as_fn_append ac_configure_args " '$ac_arg'"
1724 { ac_configure_args0=; unset ac_configure_args0;}
1725 { ac_configure_args1=; unset ac_configure_args1;}
1727 # When interrupted or exit'd, cleanup temporary files, and complete
1728 # config.log. We remove comments because anyway the quotes in there
1729 # would cause problems or look ugly.
1730 # WARNING: Use '\'' to represent an apostrophe within the trap.
1731 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1732 trap 'exit_status=$?
1733 # Save into config.log some information that might help in debugging.
1738 ## ---------------- ##
1739 ## Cache variables. ##
1740 ## ---------------- ##
1743 # The following way of writing the cache mishandles newlines in values,
1745 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1746 eval ac_val=\$$ac_var
1750 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1751 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1754 _ | IFS | as_nl) ;; #(
1755 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1756 *) { eval $ac_var=; unset $ac_var;} ;;
1761 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1762 *${as_nl}ac_space=\ *)
1764 "s/'\''/'\''\\\\'\'''\''/g;
1765 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1768 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1776 ## ----------------- ##
1777 ## Output variables. ##
1778 ## ----------------- ##
1781 for ac_var in $ac_subst_vars
1783 eval ac_val=\$$ac_var
1785 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1787 $as_echo "$ac_var='\''$ac_val'\''"
1791 if test -n "$ac_subst_files"; then
1793 ## ------------------- ##
1794 ## File substitutions. ##
1795 ## ------------------- ##
1798 for ac_var in $ac_subst_files
1800 eval ac_val=\$$ac_var
1802 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1804 $as_echo "$ac_var='\''$ac_val'\''"
1809 if test -s confdefs.h; then
1819 test "$ac_signal" != 0 &&
1820 $as_echo "$as_me: caught signal $ac_signal"
1821 $as_echo "$as_me: exit $exit_status"
1823 rm -f core *.core core.conftest.* &&
1824 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1827 for ac_signal in 1 2 13 15; do
1828 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1832 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1833 rm -f -r conftest* confdefs.h
1835 $as_echo "/* confdefs.h */" > confdefs.h
1837 # Predefined preprocessor variables.
1839 cat >>confdefs.h <<_ACEOF
1840 #define PACKAGE_NAME "$PACKAGE_NAME"
1843 cat >>confdefs.h <<_ACEOF
1844 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1847 cat >>confdefs.h <<_ACEOF
1848 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1851 cat >>confdefs.h <<_ACEOF
1852 #define PACKAGE_STRING "$PACKAGE_STRING"
1855 cat >>confdefs.h <<_ACEOF
1856 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1859 cat >>confdefs.h <<_ACEOF
1860 #define PACKAGE_URL "$PACKAGE_URL"
1864 # Let the site file select an alternate cache file if it wants to.
1865 # Prefer an explicitly selected file to automatically selected ones.
1868 if test -n "$CONFIG_SITE"; then
1869 ac_site_file1=$CONFIG_SITE
1870 elif test "x$prefix" != xNONE; then
1871 ac_site_file1=$prefix/share/config.site
1872 ac_site_file2=$prefix/etc/config.site
1874 ac_site_file1=$ac_default_prefix/share/config.site
1875 ac_site_file2=$ac_default_prefix/etc/config.site
1877 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1879 test "x$ac_site_file" = xNONE && continue
1880 if test -r "$ac_site_file"; then
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1882 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1883 sed 's/^/| /' "$ac_site_file" >&5
1888 if test -r "$cache_file"; then
1889 # Some versions of bash will fail to source /dev/null (special
1890 # files actually), so we avoid doing that.
1891 if test -f "$cache_file"; then
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1893 $as_echo "$as_me: loading cache $cache_file" >&6;}
1895 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1896 *) . "./$cache_file";;
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1901 $as_echo "$as_me: creating cache $cache_file" >&6;}
1905 # Check that the precious variables saved in the cache have kept the same
1907 ac_cache_corrupted=false
1908 for ac_var in $ac_precious_vars; do
1909 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1910 eval ac_new_set=\$ac_env_${ac_var}_set
1911 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1912 eval ac_new_val=\$ac_env_${ac_var}_value
1913 case $ac_old_set,$ac_new_set in
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1916 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1917 ac_cache_corrupted=: ;;
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1920 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1921 ac_cache_corrupted=: ;;
1924 if test "x$ac_old_val" != "x$ac_new_val"; then
1925 # differences in whitespace do not lead to failure.
1926 ac_old_val_w=`echo x
$ac_old_val`
1927 ac_new_val_w=`echo x
$ac_new_val`
1928 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1930 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1931 ac_cache_corrupted=:
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1934 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1935 eval $ac_var=\$ac_old_val
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1938 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1940 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1943 # Pass precious variables to config.status.
1944 if test "$ac_new_set" = set; then
1946 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1947 *) ac_arg=$ac_var=$ac_new_val ;;
1949 case " $ac_configure_args " in
1950 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1951 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1955 if $ac_cache_corrupted; then
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
1957 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1959 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1960 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
1962 ## -------------------- ##
1963 ## Main body of script. ##
1964 ## -------------------- ##
1967 ac_cpp='$CPP $CPPFLAGS'
1968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1978 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1979 for ac_t in install-sh install.sh shtool; do
1980 if test -f "$ac_dir/$ac_t"; then
1982 ac_install_sh="$ac_aux_dir/$ac_t -c"
1987 if test -z "$ac_aux_dir"; then
1988 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1991 # These three variables are undocumented and unsupported,
1992 # and are intended to be withdrawn in a future Autoconf release.
1993 # They can cause serious problems if a builder's source tree is in a directory
1994 # whose full name contains unusual characters.
1995 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1996 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1997 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2000 # Make sure we can run config.sub.
2001 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2002 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2005 $as_echo_n "checking build system type... " >&6; }
2006 if test "${ac_cv_build+set}" = set; then :
2007 $as_echo_n "(cached) " >&6
2009 ac_build_alias=$build_alias
2010 test "x$ac_build_alias" = x &&
2011 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2012 test "x$ac_build_alias" = x &&
2013 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2014 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2015 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2019 $as_echo "$ac_cv_build" >&6; }
2020 case $ac_cv_build in
2022 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2025 ac_save_IFS=$IFS; IFS='-'
2031 # Remember, the first character of IFS is used to create $*,
2032 # except with old shells:
2035 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2039 $as_echo_n "checking host system type... " >&6; }
2040 if test "${ac_cv_host+set}" = set; then :
2041 $as_echo_n "(cached) " >&6
2043 if test "x$host_alias" = x; then
2044 ac_cv_host=$ac_cv_build
2046 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2047 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2052 $as_echo "$ac_cv_host" >&6; }
2055 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2058 ac_save_IFS=$IFS; IFS='-'
2064 # Remember, the first character of IFS is used to create $*,
2065 # except with old shells:
2068 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2072 $as_echo_n "checking target system type... " >&6; }
2073 if test "${ac_cv_target+set}" = set; then :
2074 $as_echo_n "(cached) " >&6
2076 if test "x$target_alias" = x; then
2077 ac_cv_target=$ac_cv_host
2079 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2080 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2085 $as_echo "$ac_cv_target" >&6; }
2086 case $ac_cv_target in
2088 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2090 target=$ac_cv_target
2091 ac_save_IFS=$IFS; IFS='-'
2097 # Remember, the first character of IFS is used to create $*,
2098 # except with old shells:
2101 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2104 # The aliases save the names the user supplied, while $host etc.
2105 # will get canonicalized.
2106 test -n "$target_alias" &&
2107 test "$program_prefix$program_suffix$program_transform_name" = \
2109 program_prefix=${target_alias}-
2111 case ${build_alias} in
2112 "") build_noncanonical=${build} ;;
2113 *) build_noncanonical=${build_alias} ;;
2116 case ${host_alias} in
2117 "") host_noncanonical=${build_noncanonical} ;;
2118 *) host_noncanonical=${host_alias} ;;
2121 case ${target_alias} in
2122 "") target_noncanonical=${host_noncanonical} ;;
2123 *) target_noncanonical=${target_alias} ;;
2130 # Check whether --enable-gdbtk was given.
2131 if test "${enable_gdbtk+set}" = set; then :
2132 enableval=$enable_gdbtk;
2134 if test -d $srcdir/../gdbtk && test -d $srcdir/gdb.gdbtk; then
2141 # We unconditionally disable gdbtk tests on selected platforms.
2147 # Add gdbtk tests when appropriate.
2148 if test $enable_gdbtk = yes; then
2151 subdirs="$subdirs gdb.gdbtk"
2155 # Enable shared libraries.
2156 # Check whether --enable-shared was given.
2157 if test "${enable_shared+set}" = set; then :
2158 enableval=$enable_shared;
2164 # If we have shared libraries, try to set RPATH_ENVVAR reasonably,
2165 # such that we can find the shared libraries in the build tree.
2166 if test $enable_shared = no; then
2167 # The variable `RPATH_ENVVAR
' itself is not likely to be used on any
2169 RPATH_ENVVAR=RPATH_ENVVAR
2171 # The variable `LD_LIBRARY_PATH' is used on most platforms.
2172 RPATH_ENVVAR
=LD_LIBRARY_PATH
2173 # The following exceptions are taken from Libtool 1.4.3.
2176 if test $host_cpu != ia64
; then
2177 RPATH_ENVVAR
=LIBPATH
2179 darwin
* | rhapsody
*)
2180 RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
2186 ac_cpp
='$CPP $CPPFLAGS'
2187 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2188 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2189 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2190 if test -n "$ac_tool_prefix"; then
2191 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2192 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2194 $as_echo_n "checking for $ac_word... " >&6; }
2195 if test "${ac_cv_prog_CC+set}" = set; then :
2196 $as_echo_n "(cached) " >&6
2198 if test -n "$CC"; then
2199 ac_cv_prog_CC
="$CC" # Let the user override the test.
2201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2205 test -z "$as_dir" && as_dir
=.
2206 for ac_exec_ext
in '' $ac_executable_extensions; do
2207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2208 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2219 if test -n "$CC"; then
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2221 $as_echo "$CC" >&6; }
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2224 $as_echo "no" >&6; }
2229 if test -z "$ac_cv_prog_CC"; then
2231 # Extract the first word of "gcc", so it can be a program name with args.
2232 set dummy gcc
; ac_word
=$2
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2234 $as_echo_n "checking for $ac_word... " >&6; }
2235 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2236 $as_echo_n "(cached) " >&6
2238 if test -n "$ac_ct_CC"; then
2239 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2245 test -z "$as_dir" && as_dir
=.
2246 for ac_exec_ext
in '' $ac_executable_extensions; do
2247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2248 ac_cv_prog_ac_ct_CC
="gcc"
2249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2258 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2259 if test -n "$ac_ct_CC"; then
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2261 $as_echo "$ac_ct_CC" >&6; }
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2264 $as_echo "no" >&6; }
2267 if test "x$ac_ct_CC" = x
; then
2270 case $cross_compiling:$ac_tool_warned in
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2274 ac_tool_warned
=yes ;;
2282 if test -z "$CC"; then
2283 if test -n "$ac_tool_prefix"; then
2284 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2285 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2287 $as_echo_n "checking for $ac_word... " >&6; }
2288 if test "${ac_cv_prog_CC+set}" = set; then :
2289 $as_echo_n "(cached) " >&6
2291 if test -n "$CC"; then
2292 ac_cv_prog_CC
="$CC" # Let the user override the test.
2294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2298 test -z "$as_dir" && as_dir
=.
2299 for ac_exec_ext
in '' $ac_executable_extensions; do
2300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2301 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2312 if test -n "$CC"; then
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2314 $as_echo "$CC" >&6; }
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2317 $as_echo "no" >&6; }
2323 if test -z "$CC"; then
2324 # Extract the first word of "cc", so it can be a program name with args.
2325 set dummy cc
; ac_word
=$2
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2327 $as_echo_n "checking for $ac_word... " >&6; }
2328 if test "${ac_cv_prog_CC+set}" = set; then :
2329 $as_echo_n "(cached) " >&6
2331 if test -n "$CC"; then
2332 ac_cv_prog_CC
="$CC" # Let the user override the test.
2335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2339 test -z "$as_dir" && as_dir
=.
2340 for ac_exec_ext
in '' $ac_executable_extensions; do
2341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2342 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2343 ac_prog_rejected
=yes
2347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2354 if test $ac_prog_rejected = yes; then
2355 # We found a bogon in the path, so make sure we never use it.
2356 set dummy
$ac_cv_prog_CC
2358 if test $# != 0; then
2359 # We chose a different compiler from the bogus one.
2360 # However, it has the same basename, so the bogon will be chosen
2361 # first if we set CC to just the basename; use the full file name.
2363 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2369 if test -n "$CC"; then
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2371 $as_echo "$CC" >&6; }
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2374 $as_echo "no" >&6; }
2379 if test -z "$CC"; then
2380 if test -n "$ac_tool_prefix"; then
2381 for ac_prog
in cl.exe
2383 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2384 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2386 $as_echo_n "checking for $ac_word... " >&6; }
2387 if test "${ac_cv_prog_CC+set}" = set; then :
2388 $as_echo_n "(cached) " >&6
2390 if test -n "$CC"; then
2391 ac_cv_prog_CC
="$CC" # Let the user override the test.
2393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2397 test -z "$as_dir" && as_dir
=.
2398 for ac_exec_ext
in '' $ac_executable_extensions; do
2399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2400 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2411 if test -n "$CC"; then
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2413 $as_echo "$CC" >&6; }
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2416 $as_echo "no" >&6; }
2420 test -n "$CC" && break
2423 if test -z "$CC"; then
2425 for ac_prog
in cl.exe
2427 # Extract the first word of "$ac_prog", so it can be a program name with args.
2428 set dummy
$ac_prog; ac_word
=$2
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2430 $as_echo_n "checking for $ac_word... " >&6; }
2431 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2432 $as_echo_n "(cached) " >&6
2434 if test -n "$ac_ct_CC"; then
2435 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2441 test -z "$as_dir" && as_dir
=.
2442 for ac_exec_ext
in '' $ac_executable_extensions; do
2443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2444 ac_cv_prog_ac_ct_CC
="$ac_prog"
2445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2454 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2455 if test -n "$ac_ct_CC"; then
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2457 $as_echo "$ac_ct_CC" >&6; }
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2460 $as_echo "no" >&6; }
2464 test -n "$ac_ct_CC" && break
2467 if test "x$ac_ct_CC" = x
; then
2470 case $cross_compiling:$ac_tool_warned in
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2474 ac_tool_warned
=yes ;;
2483 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2484 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2485 as_fn_error
"no acceptable C compiler found in \$PATH
2486 See \`config.log' for more details." "$LINENO" 5; }
2488 # Provide some information about the compiler.
2489 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2492 for ac_option
in --version -v -V -qversion; do
2493 { { ac_try
="$ac_compiler $ac_option >&5"
2495 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2496 *) ac_try_echo=$ac_try;;
2498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2499 $as_echo "$ac_try_echo"; } >&5
2500 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2502 if test -s conftest.err; then
2504 ... rest of stderr output deleted ...
2505 10q' conftest.err >conftest.er1
2506 cat conftest.er1 >&5
2507 rm -f conftest.er1 conftest.err
2509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2510 test $ac_status = 0; }
2513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2514 /* end confdefs.h. */
2524 ac_clean_files_save=$ac_clean_files
2525 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2526 # Try to create an executable without -o first, disregard a.out.
2527 # It will help us diagnose broken compilers, and finding out an intuition
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2530 $as_echo_n "checking for C compiler default output file name... " >&6; }
2531 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2533 # The possible output files:
2534 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2537 for ac_file in $ac_files
2540 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2541 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2546 if { { ac_try="$ac_link_default"
2548 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2549 *) ac_try_echo
=$ac_try;;
2551 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2552 $as_echo "$ac_try_echo"; } >&5
2553 (eval "$ac_link_default") 2>&5
2555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2556 test $ac_status = 0; }; then :
2557 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2558 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2559 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2560 # so that the user can short-circuit this test for compilers unknown to
2562 for ac_file
in $ac_files ''
2564 test -f "$ac_file" ||
continue
2566 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2569 # We found the default executable, but exeext='' is most
2573 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2575 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2577 # We set ac_cv_exeext here because the later test for it is not
2578 # safe: cross compilers may not add the suffix if given an `-o'
2579 # argument, so we may need to know it at that point already.
2580 # Even if this section looks crufty: it has the advantage of
2587 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2593 $as_echo "$ac_file" >&6; }
2594 if test -z "$ac_file"; then :
2595 $as_echo "$as_me: failed program was:" >&5
2596 sed 's/^/| /' conftest.
$ac_ext >&5
2598 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2599 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2600 { as_fn_set_status
77
2601 as_fn_error
"C compiler cannot create executables
2602 See \`config.log' for more details." "$LINENO" 5; }; }
2604 ac_exeext
=$ac_cv_exeext
2606 # Check that the compiler produces executables we can run. If not, either
2607 # the compiler is broken, or we cross compile.
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2609 $as_echo_n "checking whether the C compiler works... " >&6; }
2610 # If not cross compiling, check that we can run a simple program.
2611 if test "$cross_compiling" != yes; then
2612 if { ac_try
='./$ac_file'
2613 { { case "(($ac_try" in
2614 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2615 *) ac_try_echo=$ac_try;;
2617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2618 $as_echo "$ac_try_echo"; } >&5
2619 (eval "$ac_try") 2>&5
2621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2622 test $ac_status = 0; }; }; then
2625 if test "$cross_compiling" = maybe; then
2628 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2629 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2630 as_fn_error "cannot run C compiled programs.
2631 If you meant to cross compile
, use \
`--host'.
2632 See \`config.log
' for more details." "$LINENO" 5; }
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2637 $as_echo "yes" >&6; }
2639 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2640 ac_clean_files=$ac_clean_files_save
2641 # Check that the compiler produces executables we can run. If not, either
2642 # the compiler is broken, or we cross compile.
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2644 $as_echo_n "checking whether we are cross compiling... " >&6; }
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2646 $as_echo "$cross_compiling" >&6; }
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2649 $as_echo_n "checking for suffix of executables... " >&6; }
2650 if { { ac_try="$ac_link"
2652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2653 *) ac_try_echo=$ac_try;;
2655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2656 $as_echo "$ac_try_echo"; } >&5
2657 (eval "$ac_link") 2>&5
2659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2660 test $ac_status = 0; }; then :
2661 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2662 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2663 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2665 for ac_file
in conftest.exe conftest conftest.
*; do
2666 test -f "$ac_file" ||
continue
2668 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2669 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2675 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2676 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2677 as_fn_error
"cannot compute suffix of executables: cannot compile and link
2678 See \`config.log' for more details." "$LINENO" 5; }
2680 rm -f conftest
$ac_cv_exeext
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2682 $as_echo "$ac_cv_exeext" >&6; }
2684 rm -f conftest.
$ac_ext
2685 EXEEXT
=$ac_cv_exeext
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2688 $as_echo_n "checking for suffix of object files... " >&6; }
2689 if test "${ac_cv_objext+set}" = set; then :
2690 $as_echo_n "(cached) " >&6
2692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2693 /* end confdefs.h. */
2703 rm -f conftest.o conftest.obj
2704 if { { ac_try
="$ac_compile"
2706 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2707 *) ac_try_echo=$ac_try;;
2709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2710 $as_echo "$ac_try_echo"; } >&5
2711 (eval "$ac_compile") 2>&5
2713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2714 test $ac_status = 0; }; then :
2715 for ac_file in conftest.o conftest.obj conftest.*; do
2716 test -f "$ac_file" || continue;
2718 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2719 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2724 $as_echo "$as_me: failed program was:" >&5
2725 sed 's/^/| /' conftest.$ac_ext >&5
2727 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2729 as_fn_error "cannot compute suffix of object files
: cannot compile
2730 See \
`config.log' for more details." "$LINENO" 5; }
2732 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2735 $as_echo "$ac_cv_objext" >&6; }
2736 OBJEXT=$ac_cv_objext
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2739 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2740 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2741 $as_echo_n "(cached) " >&6
2743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2744 /* end confdefs.h. */
2757 if ac_fn_c_try_compile "$LINENO"; then :
2762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2763 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2767 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2768 if test $ac_compiler_gnu = yes; then
2773 ac_test_CFLAGS=${CFLAGS+set}
2774 ac_save_CFLAGS=$CFLAGS
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2776 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2777 if test "${ac_cv_prog_cc_g+set}" = set; then :
2778 $as_echo_n "(cached) " >&6
2780 ac_save_c_werror_flag=$ac_c_werror_flag
2781 ac_c_werror_flag=yes
2784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2785 /* end confdefs.h. */
2795 if ac_fn_c_try_compile "$LINENO"; then :
2799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2800 /* end confdefs.h. */
2810 if ac_fn_c_try_compile "$LINENO"; then :
2813 ac_c_werror_flag=$ac_save_c_werror_flag
2815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2816 /* end confdefs.h. */
2826 if ac_fn_c_try_compile "$LINENO"; then :
2829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2834 ac_c_werror_flag=$ac_save_c_werror_flag
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2837 $as_echo "$ac_cv_prog_cc_g" >&6; }
2838 if test "$ac_test_CFLAGS" = set; then
2839 CFLAGS=$ac_save_CFLAGS
2840 elif test $ac_cv_prog_cc_g = yes; then
2841 if test "$GCC" = yes; then
2847 if test "$GCC" = yes; then
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2854 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2855 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2856 $as_echo_n "(cached) " >&6
2858 ac_cv_prog_cc_c89=no
2860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2861 /* end confdefs.h. */
2864 #include <sys/types.h>
2865 #include <sys/stat.h>
2866 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2867 struct buf { int x; };
2868 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2869 static char *e (p, i)
2875 static char *f (char * (*g) (char **, int), char **p, ...)
2880 s = g (p, va_arg (v,int));
2885 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2886 function prototypes and stuff, but not '\xHH' hex character constants.
2887 These don't provoke an error unfortunately, instead are silently treated
2888 as 'x'. The following induces an error, until -std is added to get
2889 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2890 array size at least. It's necessary to write '\x00'==0 to get something
2891 that's true only with -std. */
2892 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2894 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2895 inside strings and character constants. */
2897 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2899 int test (int i, double x);
2900 struct s1 {int (*f) (int a);};
2901 struct s2 {int (*f) (double a);};
2902 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2908 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2913 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2914 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2916 CC="$ac_save_CC $ac_arg"
2917 if ac_fn_c_try_compile "$LINENO"; then :
2918 ac_cv_prog_cc_c89=$ac_arg
2920 rm -f core conftest.err conftest.$ac_objext
2921 test "x$ac_cv_prog_cc_c89" != "xno" && break
2923 rm -f conftest.$ac_ext
2928 case "x$ac_cv_prog_cc_c89" in
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2931 $as_echo "none needed" >&6; } ;;
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2934 $as_echo "unsupported" >&6; } ;;
2936 CC="$CC $ac_cv_prog_cc_c89"
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2938 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2940 if test "x$ac_cv_prog_cc_c89" != xno; then :
2945 ac_cpp='$CPP $CPPFLAGS'
2946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2952 ac_cpp='$CPP $CPPFLAGS'
2953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2957 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2958 # On Suns, sometimes $CPP names a directory.
2959 if test -n "$CPP" && test -d "$CPP"; then
2962 if test -z "$CPP"; then
2963 if test "${ac_cv_prog_CPP+set}" = set; then :
2964 $as_echo_n "(cached) " >&6
2966 # Double quotes because CPP needs to be expanded
2967 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2970 for ac_c_preproc_warn_flag in '' yes
2972 # Use a header file that comes with gcc, so configuring glibc
2973 # with a fresh cross-compiler works.
2974 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2975 # <limits.h> exists even on freestanding compilers.
2976 # On the NeXT, cc -E runs the code through the compiler's parser,
2977 # not just through cpp. "Syntax error" is here to catch this case.
2978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2979 /* end confdefs.h. */
2981 # include <limits.h>
2983 # include <assert.h>
2987 if ac_fn_c_try_cpp "$LINENO"; then :
2990 # Broken: fails on valid input.
2993 rm -f conftest.err conftest.$ac_ext
2995 # OK, works on sane cases. Now check whether nonexistent headers
2996 # can be detected and how.
2997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2998 /* end confdefs.h. */
2999 #include <ac_nonexistent.h>
3001 if ac_fn_c_try_cpp "$LINENO"; then :
3002 # Broken: success on invalid input.
3005 # Passes both tests.
3009 rm -f conftest.err conftest.$ac_ext
3012 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3013 rm -f conftest.err conftest.
$ac_ext
3014 if $ac_preproc_ok; then :
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3027 $as_echo "$CPP" >&6; }
3029 for ac_c_preproc_warn_flag
in '' yes
3031 # Use a header file that comes with gcc, so configuring glibc
3032 # with a fresh cross-compiler works.
3033 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3034 # <limits.h> exists even on freestanding compilers.
3035 # On the NeXT, cc -E runs the code through the compiler's parser,
3036 # not just through cpp. "Syntax error" is here to catch this case.
3037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3038 /* end confdefs.h. */
3040 # include <limits.h>
3042 # include <assert.h>
3046 if ac_fn_c_try_cpp
"$LINENO"; then :
3049 # Broken: fails on valid input.
3052 rm -f conftest.err conftest.
$ac_ext
3054 # OK, works on sane cases. Now check whether nonexistent headers
3055 # can be detected and how.
3056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3057 /* end confdefs.h. */
3058 #include <ac_nonexistent.h>
3060 if ac_fn_c_try_cpp
"$LINENO"; then :
3061 # Broken: success on invalid input.
3064 # Passes both tests.
3068 rm -f conftest.err conftest.
$ac_ext
3071 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3072 rm -f conftest.err conftest.
$ac_ext
3073 if $ac_preproc_ok; then :
3076 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3078 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3079 See \`config.log' for more details." "$LINENO" 5; }
3083 ac_cpp
='$CPP $CPPFLAGS'
3084 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3085 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3086 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3090 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3091 if test "${ac_cv_path_GREP+set}" = set; then :
3092 $as_echo_n "(cached) " >&6
3094 if test -z "$GREP"; then
3095 ac_path_GREP_found
=false
3096 # Loop through the user's path and test for each of PROGNAME-LIST
3097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3098 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3101 test -z "$as_dir" && as_dir
=.
3102 for ac_prog
in grep ggrep
; do
3103 for ac_exec_ext
in '' $ac_executable_extensions; do
3104 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3105 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3106 # Check for GNU ac_path_GREP and select it if it is found.
3107 # Check for GNU $ac_path_GREP
3108 case `"$ac_path_GREP" --version 2>&1` in
3110 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3113 $as_echo_n 0123456789 >"conftest.in"
3116 cat "conftest.in" "conftest.in" >"conftest.tmp"
3117 mv "conftest.tmp" "conftest.in"
3118 cp "conftest.in" "conftest.nl"
3119 $as_echo 'GREP' >> "conftest.nl"
3120 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3121 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3122 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3123 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3124 # Best one so far, save it but keep looking for a better one
3125 ac_cv_path_GREP
="$ac_path_GREP"
3126 ac_path_GREP_max
=$ac_count
3128 # 10*(2^10) chars as input seems more than enough
3129 test $ac_count -gt 10 && break
3131 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3134 $ac_path_GREP_found && break 3
3139 if test -z "$ac_cv_path_GREP"; then
3140 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3143 ac_cv_path_GREP
=$GREP
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3148 $as_echo "$ac_cv_path_GREP" >&6; }
3149 GREP
="$ac_cv_path_GREP"
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3153 $as_echo_n "checking for egrep... " >&6; }
3154 if test "${ac_cv_path_EGREP+set}" = set; then :
3155 $as_echo_n "(cached) " >&6
3157 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3158 then ac_cv_path_EGREP
="$GREP -E"
3160 if test -z "$EGREP"; then
3161 ac_path_EGREP_found
=false
3162 # Loop through the user's path and test for each of PROGNAME-LIST
3163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3164 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3167 test -z "$as_dir" && as_dir
=.
3168 for ac_prog
in egrep; do
3169 for ac_exec_ext
in '' $ac_executable_extensions; do
3170 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3171 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3172 # Check for GNU ac_path_EGREP and select it if it is found.
3173 # Check for GNU $ac_path_EGREP
3174 case `"$ac_path_EGREP" --version 2>&1` in
3176 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3179 $as_echo_n 0123456789 >"conftest.in"
3182 cat "conftest.in" "conftest.in" >"conftest.tmp"
3183 mv "conftest.tmp" "conftest.in"
3184 cp "conftest.in" "conftest.nl"
3185 $as_echo 'EGREP' >> "conftest.nl"
3186 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3187 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3188 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3189 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3190 # Best one so far, save it but keep looking for a better one
3191 ac_cv_path_EGREP
="$ac_path_EGREP"
3192 ac_path_EGREP_max
=$ac_count
3194 # 10*(2^10) chars as input seems more than enough
3195 test $ac_count -gt 10 && break
3197 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3200 $ac_path_EGREP_found && break 3
3205 if test -z "$ac_cv_path_EGREP"; then
3206 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3209 ac_cv_path_EGREP
=$EGREP
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3215 $as_echo "$ac_cv_path_EGREP" >&6; }
3216 EGREP
="$ac_cv_path_EGREP"
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3220 $as_echo_n "checking for ANSI C header files... " >&6; }
3221 if test "${ac_cv_header_stdc+set}" = set; then :
3222 $as_echo_n "(cached) " >&6
3224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3225 /* end confdefs.h. */
3239 if ac_fn_c_try_compile
"$LINENO"; then :
3240 ac_cv_header_stdc
=yes
3242 ac_cv_header_stdc
=no
3244 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3246 if test $ac_cv_header_stdc = yes; then
3247 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3249 /* end confdefs.h. */
3253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3254 $EGREP "memchr" >/dev
/null
2>&1; then :
3257 ac_cv_header_stdc
=no
3263 if test $ac_cv_header_stdc = yes; then
3264 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3266 /* end confdefs.h. */
3270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3271 $EGREP "free" >/dev
/null
2>&1; then :
3274 ac_cv_header_stdc
=no
3280 if test $ac_cv_header_stdc = yes; then
3281 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3282 if test "$cross_compiling" = yes; then :
3285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3286 /* end confdefs.h. */
3289 #if ((' ' & 0x0FF) == 0x020)
3290 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3291 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3293 # define ISLOWER(c) \
3294 (('a' <= (c) && (c) <= 'i') \
3295 || ('j' <= (c) && (c) <= 'r') \
3296 || ('s' <= (c) && (c) <= 'z'))
3297 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3300 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3305 for (i = 0; i < 256; i++)
3306 if (XOR (islower (i), ISLOWER (i))
3307 || toupper (i) != TOUPPER (i))
3312 if ac_fn_c_try_run
"$LINENO"; then :
3315 ac_cv_header_stdc
=no
3317 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3318 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3324 $as_echo "$ac_cv_header_stdc" >&6; }
3325 if test $ac_cv_header_stdc = yes; then
3327 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3331 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3332 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3333 inttypes.h stdint.h unistd.h
3335 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3336 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3338 eval as_val
=\$
$as_ac_Header
3339 if test "x$as_val" = x
""yes; then :
3340 cat >>confdefs.h
<<_ACEOF
3341 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3349 for ac_header
in pthread.h
3351 ac_fn_c_check_header_mongrel
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
3352 if test "x$ac_cv_header_pthread_h" = x
""yes; then :
3353 cat >>confdefs.h
<<_ACEOF
3354 #define HAVE_PTHREAD_H 1
3364 if test "${build}" = "${host}" -a "${host}" = "${target}"; then
3373 # Transform the name of some programs and generate the lib/pdtrace
3375 test "$program_prefix" != NONE
&&
3376 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3377 # Use a double $ so make ignores it.
3378 test "$program_suffix" != NONE
&&
3379 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3380 # Double any \ or $.
3381 # By default was `s,x,x', remove it if useless.
3382 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3383 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3386 gdb_ac_transform
=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'`
3387 STRIP_TRANSFORM_NAME
=`echo strip | sed -e "$gdb_ac_transform"`
3388 if test "x$STRIP_TRANSFORM_NAME" = x
; then
3389 STRIP_TRANSFORM_NAME
=strip
3394 gdb_ac_transform
=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'`
3395 READELF_TRANSFORM_NAME
=`echo readelf | sed -e "$gdb_ac_transform"`
3396 if test "x$READELF_TRANSFORM_NAME" = x
; then
3397 READELF_TRANSFORM_NAME
=readelf
3402 gdb_ac_transform
=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'`
3403 GAS_TRANSFORM_NAME
=`echo as | sed -e "$gdb_ac_transform"`
3404 if test "x$GAS_TRANSFORM_NAME" = x
; then
3405 GAS_TRANSFORM_NAME
=as
3410 gdb_ac_transform
=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'`
3411 NM_TRANSFORM_NAME
=`echo nm | sed -e "$gdb_ac_transform"`
3412 if test "x$NM_TRANSFORM_NAME" = x
; then
3413 NM_TRANSFORM_NAME
=nm
3417 ac_config_files
="$ac_config_files lib/pdtrace"
3419 ac_config_files
="$ac_config_files Makefile"
3422 cat >confcache
<<\_ACEOF
3423 # This file is a shell script that caches the results of configure
3424 # tests run on this system so they can be shared between configure
3425 # scripts and configure runs, see configure's option --config-cache.
3426 # It is not useful on other systems. If it contains results you don't
3427 # want to keep, you may remove or edit it.
3429 # config.status only pays attention to the cache file if you give it
3430 # the --recheck option to rerun configure.
3432 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3433 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3438 # The following way of writing the cache mishandles newlines in values,
3439 # but we know of no workaround that is simple, portable, and efficient.
3440 # So, we kill variables containing newlines.
3441 # Ultrix sh set writes to stderr and can't be redirected directly,
3442 # and sets the high bit in the cache file unless we assign to the vars.
3444 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3445 eval ac_val
=\$
$ac_var
3449 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3450 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3453 _ | IFS | as_nl
) ;; #(
3454 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3455 *) { eval $ac_var=; unset $ac_var;} ;;
3461 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3462 *${as_nl}ac_space
=\
*)
3463 # `set' does not quote correctly, so add quotes: double-quote
3464 # substitution turns \\\\ into \\, and sed turns \\ into \.
3467 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3470 # `set' quotes correctly as required by POSIX, so do not add quotes.
3471 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3480 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3482 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3484 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3485 if test -w "$cache_file"; then
3486 test "x$cache_file" != "x/dev/null" &&
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3488 $as_echo "$as_me: updating cache $cache_file" >&6;}
3489 cat confcache
>$cache_file
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3492 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3497 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3498 # Let make expand exec_prefix.
3499 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3501 # Transform confdefs.h into DEFS.
3502 # Protect against shell expansion while executing Makefile rules.
3503 # Protect against Makefile macro expansion.
3505 # If the first sed substitution is executed (which looks for macros that
3506 # take arguments), then branch to the quote section. Otherwise,
3507 # look for a macro that doesn't take arguments.
3517 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3519 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3523 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3536 DEFS
=`sed -n "$ac_script" confdefs.h`
3541 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3542 # 1. Remove the extension, and $U if already installed.
3543 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3544 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3545 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3546 # will be set to the directory where LIBOBJS objects are built.
3547 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3548 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
3552 LTLIBOBJS
=$ac_ltlibobjs
3556 : ${CONFIG_STATUS=./config.status}
3558 ac_clean_files_save
=$ac_clean_files
3559 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3561 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3563 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3565 # Generated by $as_me.
3566 # Run this file to recreate the current configuration.
3567 # Compiler output produced by configure, useful for debugging
3568 # configure, is in config.log if it exists.
3574 SHELL=\${CONFIG_SHELL-$SHELL}
3577 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
3578 ## -------------------- ##
3579 ## M4sh Initialization. ##
3580 ## -------------------- ##
3582 # Be more Bourne compatible
3583 DUALCASE
=1; export DUALCASE
# for MKS sh
3584 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
3587 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3588 # is contrary to our usage. Disable this feature.
3589 alias -g '${1+"$@"}'='"$@"'
3590 setopt NO_GLOB_SUBST
3592 case `(set -o) 2>/dev/null` in #(
3604 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3605 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3606 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3607 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3608 # Prefer a ksh shell builtin over an external printf program on Solaris,
3609 # but without wasting forks for bash or zsh.
3610 if test -z "$BASH_VERSION$ZSH_VERSION" \
3611 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3612 as_echo='print
-r --'
3613 as_echo_n='print
-rn --'
3614 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3615 as_echo='printf %s
\n'
3616 as_echo_n='printf %s
'
3618 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3619 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3620 as_echo_n='/usr
/ucb
/echo -n'
3622 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3623 as_echo_n_body='eval
3627 expr "X$arg" : "X\\(.*\\)$as_nl";
3628 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3630 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3632 export as_echo_n_body
3633 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3636 as_echo='sh
-c $as_echo_body as_echo
'
3639 # The user is always right.
3640 if test "${PATH_SEPARATOR+set}" != set; then
3642 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3643 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3650 # We need space, tab and new line, in precisely that order. Quoting is
3651 # there to prevent editors from complaining about space-tab.
3652 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3653 # splitting by setting IFS to empty value.)
3656 # Find who we are. Look in the path if we contain no directory separator.
3658 *[\\/]* ) as_myself=$0 ;;
3659 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3663 test -z "$as_dir" && as_dir=.
3664 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3670 # We did not find ourselves, most probably we were run as `sh COMMAND'
3671 # in which case we are not to be found in the path.
3672 if test "x$as_myself" = x
; then
3675 if test ! -f "$as_myself"; then
3676 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3680 # Unset variables that we do not need and which cause bugs (e.g. in
3681 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3682 # suppresses any "Segmentation fault" message there. '((' could
3683 # trigger a bug in pdksh 5.2.14.
3684 for as_var
in BASH_ENV ENV MAIL MAILPATH
3685 do eval test x\
${$as_var+set} = xset \
3686 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
3699 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
3702 # as_fn_error ERROR [LINENO LOG_FD]
3703 # ---------------------------------
3704 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3705 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3706 # script with status $?, using 1 if that was 0.
3709 as_status
=$?
; test $as_status -eq 0 && as_status
=1
3711 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3712 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3714 $as_echo "$as_me: error: $1" >&2
3715 as_fn_exit
$as_status
3719 # as_fn_set_status STATUS
3720 # -----------------------
3721 # Set $? to STATUS, without forking.
3725 } # as_fn_set_status
3729 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3739 # Portably unset VAR.
3742 { eval $1=; unset $1;}
3744 as_unset
=as_fn_unset
3745 # as_fn_append VAR VALUE
3746 # ----------------------
3747 # Append the text in VALUE to the end of the definition contained in VAR. Take
3748 # advantage of any shell optimizations that allow amortized linear growth over
3749 # repeated appends, instead of the typical quadratic growth present in naive
3751 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
3752 eval 'as_fn_append ()
3763 # as_fn_arith ARG...
3764 # ------------------
3765 # Perform arithmetic evaluation on the ARGs, and store the result in the
3766 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3767 # must be portable across $(()) and expr.
3768 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
3769 eval 'as_fn_arith ()
3776 as_val
=`expr "$@" || test $? -eq 1`
3781 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3782 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3788 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3789 as_basename
=basename
3794 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3800 as_me
=`$as_basename -- "$0" ||
3801 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3802 X"$0" : 'X\(//\)$' \| \
3803 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3805 sed '/^.*\/\([^/][^/]*\)\/*$/{
3819 # Avoid depending upon Character Ranges.
3820 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3821 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3822 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3823 as_cr_digits
='0123456789'
3824 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3826 ECHO_C
= ECHO_N
= ECHO_T
=
3827 case `echo -n x` in #(((((
3829 case `echo 'xy\c'` in
3830 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3832 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
3839 rm -f conf$$ conf$$.exe conf$$.
file
3840 if test -d conf$$.dir
; then
3841 rm -f conf$$.dir
/conf$$.
file
3844 mkdir conf$$.dir
2>/dev
/null
3846 if (echo >conf$$.
file) 2>/dev
/null
; then
3847 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3849 # ... but there are two gotchas:
3850 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3851 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3852 # In both cases, we have to default to `cp -p'.
3853 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3855 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3863 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3864 rmdir conf$$.dir
2>/dev
/null
3869 # Create "$as_dir" as a directory, including parents if necessary.
3874 -*) as_dir
=.
/$as_dir;;
3876 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
3880 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3881 *) as_qdir
=$as_dir;;
3883 as_dirs
="'$as_qdir' $as_dirs"
3884 as_dir
=`$as_dirname -- "$as_dir" ||
3885 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3886 X"$as_dir" : 'X\(//\)[^/]' \| \
3887 X"$as_dir" : 'X\(//\)$' \| \
3888 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3889 $as_echo X"$as_dir" |
3890 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3907 test -d "$as_dir" && break
3909 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
3910 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
3914 if mkdir
-p .
2>/dev
/null
; then
3915 as_mkdir_p
='mkdir -p "$as_dir"'
3917 test -d .
/-p && rmdir .
/-p
3921 if test -x / >/dev
/null
2>&1; then
3924 if ls -dL / >/dev
/null
2>&1; then
3931 if test -d "$1"; then
3937 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3938 ???[sx]*):;;*)false;;esac;fi
3942 as_executable_p
=$as_test_x
3944 # Sed expression to map a string onto a valid CPP name.
3945 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3947 # Sed expression to map a string onto a valid variable name.
3948 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3952 ## ----------------------------------- ##
3953 ## Main body of $CONFIG_STATUS script. ##
3954 ## ----------------------------------- ##
3956 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
3958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3959 # Save the log message, to keep $0 and so on meaningful, and to
3960 # report actual input values of CONFIG_FILES etc. instead of their
3961 # values after options handling.
3963 This file was extended by $as_me, which was
3964 generated by GNU Autoconf 2.64. Invocation command line was
3966 CONFIG_FILES = $CONFIG_FILES
3967 CONFIG_HEADERS = $CONFIG_HEADERS
3968 CONFIG_LINKS = $CONFIG_LINKS
3969 CONFIG_COMMANDS = $CONFIG_COMMANDS
3972 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3977 case $ac_config_files in *"
3978 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
3983 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3984 # Files that config.status was made for.
3985 config_files="$ac_config_files"
3989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3991 \`$as_me' instantiates files and other configuration actions
3992 from templates according to the current configuration. Unless the files
3993 and actions are specified as TAGs, all are instantiated by default.
3995 Usage: $0 [OPTION]... [TAG]...
3997 -h, --help print this help, then exit
3998 -V, --version print version number and configuration settings, then exit
3999 -q, --quiet, --silent
4000 do not print progress messages
4001 -d, --debug don't remove temporary files
4002 --recheck update $as_me by reconfiguring in the same conditions
4003 --file=FILE[:TEMPLATE]
4004 instantiate the configuration file FILE
4006 Configuration files:
4009 Report bugs to the package provider."
4012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4015 configured by $0, generated by GNU Autoconf 2.64,
4016 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4018 Copyright (C) 2009 Free Software Foundation, Inc.
4019 This config.status script is free software; the Free Software Foundation
4020 gives unlimited permission to copy, distribute and modify it."
4024 test -n "\$AWK" || AWK=awk
4027 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4028 # The default lists apply if the user does not specify any file.
4034 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4035 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4046 # Handling of the options.
4047 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4049 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4050 $as_echo "$ac_cs_version"; exit ;;
4051 --debug |
--debu |
--deb |
--de |
--d |
-d )
4053 --file |
--fil |
--fi |
--f )
4056 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4058 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4059 ac_need_defaults
=false
;;
4060 --he |
--h |
--help |
--hel |
-h )
4061 $as_echo "$ac_cs_usage"; exit ;;
4062 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4063 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4067 -*) as_fn_error
"unrecognized option: \`$1'
4068 Try \`$0 --help' for more information." ;;
4070 *) as_fn_append ac_config_targets
" $1"
4071 ac_need_defaults
=false
;;
4077 ac_configure_extra_args
=
4079 if $ac_cs_silent; then
4081 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4085 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4086 if \$ac_cs_recheck; then
4087 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4089 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4090 CONFIG_SHELL='$SHELL'
4096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4100 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4101 ## Running $as_me. ##
4107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4110 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4112 # Handling of arguments.
4113 for ac_config_target
in $ac_config_targets
4115 case $ac_config_target in
4116 "lib/pdtrace") CONFIG_FILES
="$CONFIG_FILES lib/pdtrace" ;;
4117 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4119 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4124 # If the user did not use the arguments to specify the items to instantiate,
4125 # then the envvar interface is used. Set only those that are not.
4126 # We use the long form for the default assignment because of an extremely
4127 # bizarre bug on SunOS 4.1.3.
4128 if $ac_need_defaults; then
4129 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4132 # Have a temporary directory for convenience. Make it in the build tree
4133 # simply because there is no reason against having it here, and in addition,
4134 # creating and moving files from /tmp can sometimes cause problems.
4135 # Hook for its removal unless debugging.
4136 # Note that there is a small window in which the directory will not be cleaned:
4137 # after its creation but before its name has been assigned to `$tmp'.
4141 trap 'exit_status=$?
4142 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4144 trap 'as_fn_exit 1' 1 2 13 15
4146 # Create a (secure) tmp directory for tmp files.
4149 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4150 test -n "$tmp" && test -d "$tmp"
4153 tmp
=.
/conf$$
-$RANDOM
4154 (umask 077 && mkdir
"$tmp")
4155 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
4157 # Set up the scripts for CONFIG_FILES section.
4158 # No need to generate them if there are no CONFIG_FILES.
4159 # This happens for instance with `./config.status config.h'.
4160 if test -n "$CONFIG_FILES"; then
4163 ac_cr
=`echo X | tr X '\015'`
4164 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4165 # But we know of no other shell where ac_cr would be empty at this
4166 # point, so we can use a bashism as a fallback.
4167 if test "x$ac_cr" = x
; then
4168 eval ac_cr
=\$
\'\\r
\'
4170 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4171 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4177 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4182 echo "cat >conf$$subs.awk <<_ACEOF" &&
4183 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4186 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4187 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4189 for ac_last_try in false false false false false :; do
4190 . ./conf$$subs.sh ||
4191 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4193 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4194 if test $ac_delim_n = $ac_delim_num; then
4196 elif $ac_last_try; then
4197 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4199 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4204 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4205 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
4209 s/^/S["/; s
/!.
*/"]=/
4219 s/\(.\{148\}\).*/\1/
4221 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4226 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4233 s/\(.\{148\}\).*/\1/
4235 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4239 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4244 ' <conf$$subs.awk | sed '
4249 ' >>$CONFIG_STATUS || ac_write_fail=1
4250 rm -f conf$$subs.awk
4251 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4253 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
4254 for (key in S) S_is_set[key] = 1
4260 nfields = split(line, field, "@
")
4262 len = length(field[1])
4263 for (i = 2; i < nfields; i++) {
4265 keylen = length(key)
4266 if (S_is_set[key]) {
4268 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4269 len += length(value) + length(field[++i])
4280 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4281 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4282 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4285 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
4286 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
4289 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4290 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
4291 # trailing colons and then remove the whole line if VPATH becomes empty
4292 # (actually we leave an empty line to preserve line numbers).
4293 if test "x
$srcdir" = x.; then
4294 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4298 s/^\([^=]*=[ ]*\):*/\1/
4304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4305 fi # test -n "$CONFIG_FILES"
4308 eval set X " :F
$CONFIG_FILES "
4313 :[FHLC]) ac_mode=$ac_tag; continue;;
4315 case $ac_mode$ac_tag in
4317 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
4318 :[FH]-) ac_tag=-:-;;
4319 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4336 -) ac_f="$tmp/stdin";;
4337 *) # Look for the file first in the build tree, then in the source tree
4338 # (if the path is not absolute). The absolute path cannot be DOS-style,
4339 # because $ac_f cannot contain `:'.
4343 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4345 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4347 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
4348 as_fn_append ac_file_inputs " '$ac_f'"
4351 # Let's still pretend it is `configure' which instantiates (i.e., don't
4352 # use $as_me), people would be surprised to read:
4353 # /* config.h. Generated by config.status. */
4354 configure_input='Generated from '`
4355 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4357 if test x"$ac_file" != x-; then
4358 configure_input="$ac_file.
$configure_input"
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
4360 $as_echo "$as_me: creating
$ac_file" >&6;}
4362 # Neutralize special characters interpreted by sed in replacement strings.
4363 case $configure_input in #(
4364 *\&* | *\|* | *\\* )
4365 ac_sed_conf_input=`$as_echo "$configure_input" |
4366 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4367 *) ac_sed_conf_input=$configure_input;;
4371 *:-:* | *:-) cat >"$tmp/stdin
" \
4372 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
4377 ac_dir=`$as_dirname -- "$ac_file" ||
4378 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4379 X"$ac_file" : 'X\(//\)[^/]' \| \
4380 X"$ac_file" : 'X\(//\)$' \| \
4381 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4382 $as_echo X"$ac_file" |
4383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4400 as_dir="$ac_dir"; as_fn_mkdir_p
4404 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4406 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4407 # A "..
" for each directory in $ac_dir_suffix.
4408 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4409 case $ac_top_builddir_sub in
4410 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4411 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4414 ac_abs_top_builddir=$ac_pwd
4415 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4416 # for backward compatibility:
4417 ac_top_builddir=$ac_top_build_prefix
4420 .) # We are building in place.
4422 ac_top_srcdir=$ac_top_builddir_sub
4423 ac_abs_top_srcdir=$ac_pwd ;;
4424 [\\/]* | ?:[\\/]* ) # Absolute name.
4425 ac_srcdir=$srcdir$ac_dir_suffix;
4426 ac_top_srcdir=$srcdir
4427 ac_abs_top_srcdir=$srcdir ;;
4429 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4430 ac_top_srcdir=$ac_top_build_prefix$srcdir
4431 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4433 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4445 # If the template does not know about datarootdir, expand it.
4446 # FIXME: This hack should be removed a few years after 2.60.
4447 ac_datarootdir_hack=; ac_datarootdir_seen=
4458 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
4459 *datarootdir*) ac_datarootdir_seen=yes;;
4460 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
4462 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
4464 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4465 ac_datarootdir_hack='
4466 s&@datadir@&$datadir&g
4467 s&@docdir@&$docdir&g
4468 s&@infodir@&$infodir&g
4469 s&@localedir@&$localedir&g
4470 s&@mandir@&$mandir&g
4471 s&\\\${datarootdir}&$datarootdir&g' ;;
4475 # Neutralize VPATH when `$srcdir' = `.'.
4476 # Shell code in configure.ac might set extrasub.
4477 # FIXME: do we really want to maintain this feature?
4478 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4479 ac_sed_extra="$ac_vpsub
4482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4484 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4485 s|@configure_input@|
$ac_sed_conf_input|
;t t
4486 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
4487 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
4488 s
&@srcdir@
&$ac_srcdir&;t t
4489 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
4490 s
&@top_srcdir@
&$ac_top_srcdir&;t t
4491 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
4492 s
&@builddir@
&$ac_builddir&;t t
4493 s
&@abs_builddir@
&$ac_abs_builddir&;t t
4494 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
4495 $ac_datarootdir_hack
4497 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
4498 || as_fn_error "could not create
$ac_file" "$LINENO" 5
4500 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4501 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
4502 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
4504 which seems to be undefined. Please make sure it is defined." >&5
4505 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
4506 which seems to be undefined. Please make sure it is defined." >&2;}
4510 -) cat "$tmp/out" && rm -f "$tmp/out";;
4511 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4513 || as_fn_error "could not create $ac_file" "$LINENO" 5
4521 case $ac_file$ac_mode in
4522 "lib/pdtrace":F) chmod +x lib/pdtrace ;;
4530 ac_clean_files=$ac_clean_files_save
4532 test $ac_write_fail = 0 ||
4533 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4536 # configure is writing to config.log, and then calls config.status.
4537 # config.status does its own redirection, appending to config.log.
4538 # Unfortunately, on DOS this fails, as config.log is still kept open
4539 # by configure, so config.status won't be able to
write to it
; its
4540 # output is simply discarded. So we exec the FD to /dev/null,
4541 # effectively closing config.log, so it can be properly (re)opened and
4542 # appended to by config.status. When coming back to configure, we
4543 # need to make the FD available again.
4544 if test "$no_create" != yes; then
4546 ac_config_status_args
=
4547 test "$silent" = yes &&
4548 ac_config_status_args
="$ac_config_status_args --quiet"
4550 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4552 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4553 # would make configure fail if this is the last instruction.
4554 $ac_cs_success || as_fn_exit $?
4558 # CONFIG_SUBDIRS section.
4560 if test "$no_recursion" != yes; then
4562 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
4563 # so they do not pile up.
4564 ac_sub_configure_args
=
4566 eval "set x $ac_configure_args"
4570 if test -n "$ac_prev"; then
4575 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
4576 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
4577 ac_prev
=cache_file
;;
4578 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
4579 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
4582 --config-cache |
-C)
4584 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
4586 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
4588 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
4590 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
4592 --disable-option-checking)
4596 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4598 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
4602 # Always prepend --prefix to ensure using the same prefix
4603 # in subdir configurations.
4604 ac_arg
="--prefix=$prefix"
4606 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4608 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
4611 if test "$silent" = yes; then
4612 ac_sub_configure_args
="--silent $ac_sub_configure_args"
4615 # Always prepend --disable-option-checking to silence warnings, since
4616 # different subdirs can have different --enable and --with options.
4617 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
4620 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
4622 # Do not complain, so a configure script can configure whichever
4623 # parts of a large source tree are present.
4624 test -d "$srcdir/$ac_dir" ||
continue
4626 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
4627 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
4628 $as_echo "$ac_msg" >&6
4629 as_dir
="$ac_dir"; as_fn_mkdir_p
4633 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4635 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4636 # A ".." for each directory in $ac_dir_suffix.
4637 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4638 case $ac_top_builddir_sub in
4639 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4640 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
4643 ac_abs_top_builddir
=$ac_pwd
4644 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
4645 # for backward compatibility:
4646 ac_top_builddir
=$ac_top_build_prefix
4649 .
) # We are building in place.
4651 ac_top_srcdir
=$ac_top_builddir_sub
4652 ac_abs_top_srcdir
=$ac_pwd ;;
4653 [\\/]* | ?
:[\\/]* ) # Absolute name.
4654 ac_srcdir
=$srcdir$ac_dir_suffix;
4655 ac_top_srcdir
=$srcdir
4656 ac_abs_top_srcdir
=$srcdir ;;
4658 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
4659 ac_top_srcdir
=$ac_top_build_prefix$srcdir
4660 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
4662 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
4667 # Check for guested configure; otherwise get Cygnus style configure.
4668 if test -f "$ac_srcdir/configure.gnu"; then
4669 ac_sub_configure
=$ac_srcdir/configure.gnu
4670 elif test -f "$ac_srcdir/configure"; then
4671 ac_sub_configure
=$ac_srcdir/configure
4672 elif test -f "$ac_srcdir/configure.in"; then
4673 # This should be Cygnus configure.
4674 ac_sub_configure
=$ac_aux_dir/configure
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
4677 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
4681 # The recursion is here.
4682 if test -n "$ac_sub_configure"; then
4683 # Make the cache file name correct relative to the subdirectory.
4685 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
4687 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
4690 { $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
4691 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4692 # The eval makes quoting arguments work.
4693 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
4694 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
4695 as_fn_error
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
4701 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4703 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}