[gdb/testsuite] Factor out proc with_lock
[binutils-gdb.git] / gdb / testsuite / configure
blob3b0d4ed8ad352b9859c728746134e4d35120e497
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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 :
18 emulate sh
19 NULLCMD=:
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+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
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
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
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'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
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.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
201 as_have_required=yes
202 else
203 as_have_required=no
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
207 else
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209 as_found=false
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
212 IFS=$as_save_IFS
213 test -z "$as_dir" && as_dir=.
214 as_found=:
215 case $as_dir in #(
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 break 2
227 done;;
228 esac
229 as_found=false
230 done
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
234 fi; }
235 IFS=$as_save_IFS
238 if test "x$CONFIG_SHELL" != x; then :
239 export CONFIG_SHELL
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
244 BASH_ENV=/dev/null
245 ENV=/dev/null
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247 case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252 esac
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257 exit 255
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266 else
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
272 exit 1
276 SHELL=${CONFIG_SHELL-/bin/sh}
277 export SHELL
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
285 # as_fn_unset VAR
286 # ---------------
287 # Portably unset VAR.
288 as_fn_unset ()
290 { eval $1=; unset $1;}
292 as_unset=as_fn_unset
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
297 as_fn_set_status ()
299 return $1
300 } # as_fn_set_status
302 # as_fn_exit STATUS
303 # -----------------
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305 as_fn_exit ()
307 set +e
308 as_fn_set_status $1
309 exit $1
310 } # as_fn_exit
312 # as_fn_mkdir_p
313 # -------------
314 # Create "$as_dir" as a directory, including parents if necessary.
315 as_fn_mkdir_p ()
318 case $as_dir in #(
319 -*) as_dir=./$as_dir;;
320 esac
321 test -d "$as_dir" || eval $as_mkdir_p || {
322 as_dirs=
323 while :; do
324 case $as_dir in #(
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326 *) as_qdir=$as_dir;;
327 esac
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 s//\1/
339 /^X\(\/\/\)[^/].*/{
340 s//\1/
343 /^X\(\/\/\)$/{
344 s//\1/
347 /^X\(\/\).*/{
348 s//\1/
351 s/.*/./; q'`
352 test -d "$as_dir" && break
353 done
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
358 } # as_fn_mkdir_p
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
372 # implementations.
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
376 eval $1+=\$2
378 else
379 as_fn_append ()
381 eval $1=\$$1\$2
383 fi # as_fn_append
385 # as_fn_arith ARG...
386 # ------------------
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391 eval 'as_fn_arith ()
393 as_val=$(( $* ))
395 else
396 as_fn_arith ()
398 as_val=`expr "$@" || test $? -eq 1`
400 fi # as_fn_arith
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
408 as_fn_error ()
410 as_status=$1; test $as_status -eq 0 && as_status=1
411 if test "$4"; then
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
417 } # as_fn_error
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
421 as_expr=expr
422 else
423 as_expr=false
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427 as_basename=basename
428 else
429 as_basename=false
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433 as_dirname=dirname
434 else
435 as_dirname=false
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 $as_echo X/"$0" |
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
444 s//\1/
447 /^X\/\(\/\/\)$/{
448 s//\1/
451 /^X\/\(\/\).*/{
452 s//\1/
455 s/.*/./; q'`
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
470 sed -n '
472 /[$]LINENO/=
473 ' <$as_myself |
474 sed '
475 s/[$]LINENO.*/&-/
476 t lineno
478 :lineno
480 :loop
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482 t loop
483 s/-\n.*//
484 ' >$as_me.lineno &&
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
495 . "./$as_me.lineno"
496 # Exit status is that of the last command.
497 exit
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
502 -n*)
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
505 xy) ECHO_C='\c';;
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
507 ECHO_T=' ';;
508 esac;;
510 ECHO_N='-n';;
511 esac
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
516 else
517 rm -f conf$$.dir
518 mkdir conf$$.dir 2>/dev/null
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
522 as_ln_s='ln -s'
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528 as_ln_s='cp -pR'
529 elif ln conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s=ln
531 else
532 as_ln_s='cp -pR'
534 else
535 as_ln_s='cp -pR'
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
542 else
543 test -d ./-p && rmdir ./-p
544 as_mkdir_p=false
547 as_test_x='test -x'
548 as_executable_p=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" || exec 7<&0 </dev/null
558 exec 6>&1
560 # Name of the host.
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
566 # Initializations.
568 ac_default_prefix=/usr/local
569 ac_clean_files=
570 ac_config_libobj_dir=.
571 LIBOBJS=
572 cross_compiling=no
573 subdirs=
574 MFLAGS=
575 MAKEFLAGS=
577 # Identity of this package.
578 PACKAGE_NAME=
579 PACKAGE_TARNAME=
580 PACKAGE_VERSION=
581 PACKAGE_STRING=
582 PACKAGE_BUGREPORT=
583 PACKAGE_URL=
585 ac_unique_file="gdb.base"
586 enable_option_checking=no
587 # Factoring default headers for most tests.
588 ac_includes_default="\
589 #include <stdio.h>
590 #ifdef HAVE_SYS_TYPES_H
591 # include <sys/types.h>
592 #endif
593 #ifdef HAVE_SYS_STAT_H
594 # include <sys/stat.h>
595 #endif
596 #ifdef STDC_HEADERS
597 # include <stdlib.h>
598 # include <stddef.h>
599 #else
600 # ifdef HAVE_STDLIB_H
601 # include <stdlib.h>
602 # endif
603 #endif
604 #ifdef HAVE_STRING_H
605 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 # include <memory.h>
607 # endif
608 # include <string.h>
609 #endif
610 #ifdef HAVE_STRINGS_H
611 # include <strings.h>
612 #endif
613 #ifdef HAVE_INTTYPES_H
614 # include <inttypes.h>
615 #endif
616 #ifdef HAVE_STDINT_H
617 # include <stdint.h>
618 #endif
619 #ifdef HAVE_UNISTD_H
620 # include <unistd.h>
621 #endif"
623 ac_subst_vars='LTLIBOBJS
624 LIBOBJS
625 NM_TRANSFORM_NAME
626 GAS_TRANSFORM_NAME
627 READELF_TRANSFORM_NAME
628 STRIP_TRANSFORM_NAME
629 EXTRA_RULES
630 EGREP
631 GREP
633 OBJEXT
634 EXEEXT
635 ac_ct_CC
636 CPPFLAGS
637 LDFLAGS
638 CFLAGS
640 RPATH_ENVVAR
641 enable_libctf
642 subdirs
643 target_noncanonical
644 target_os
645 target_vendor
646 target_cpu
647 target
648 host_os
649 host_vendor
650 host_cpu
651 host
652 build_os
653 build_vendor
654 build_cpu
655 build
656 target_alias
657 host_alias
658 build_alias
659 LIBS
660 ECHO_T
661 ECHO_N
662 ECHO_C
663 DEFS
664 mandir
665 localedir
666 libdir
667 psdir
668 pdfdir
669 dvidir
670 htmldir
671 infodir
672 docdir
673 oldincludedir
674 includedir
675 localstatedir
676 sharedstatedir
677 sysconfdir
678 datadir
679 datarootdir
680 libexecdir
681 sbindir
682 bindir
683 program_transform_name
684 prefix
685 exec_prefix
686 PACKAGE_URL
687 PACKAGE_BUGREPORT
688 PACKAGE_STRING
689 PACKAGE_VERSION
690 PACKAGE_TARNAME
691 PACKAGE_NAME
692 PATH_SEPARATOR
693 SHELL'
694 ac_subst_files=''
695 ac_user_opts='
696 enable_option_checking
697 enable_gdbtk
698 enable_libctf
699 enable_shared
701 ac_precious_vars='build_alias
702 host_alias
703 target_alias
705 CFLAGS
706 LDFLAGS
707 LIBS
708 CPPFLAGS
709 CPP'
710 ac_subdirs_all='gdb.gdbtk'
712 # Initialize some variables set by options.
713 ac_init_help=
714 ac_init_version=false
715 ac_unrecognized_opts=
716 ac_unrecognized_sep=
717 # The variables have the same names as the options, with
718 # dashes changed to underlines.
719 cache_file=/dev/null
720 exec_prefix=NONE
721 no_create=
722 no_recursion=
723 prefix=NONE
724 program_prefix=NONE
725 program_suffix=NONE
726 program_transform_name=s,x,x,
727 silent=
728 site=
729 srcdir=
730 verbose=
731 x_includes=NONE
732 x_libraries=NONE
734 # Installation directory options.
735 # These are left unexpanded so users can "make install exec_prefix=/foo"
736 # and all the variables that are supposed to be based on exec_prefix
737 # by default will actually change.
738 # Use braces instead of parens because sh, perl, etc. also accept them.
739 # (The list follows the same order as the GNU Coding Standards.)
740 bindir='${exec_prefix}/bin'
741 sbindir='${exec_prefix}/sbin'
742 libexecdir='${exec_prefix}/libexec'
743 datarootdir='${prefix}/share'
744 datadir='${datarootdir}'
745 sysconfdir='${prefix}/etc'
746 sharedstatedir='${prefix}/com'
747 localstatedir='${prefix}/var'
748 includedir='${prefix}/include'
749 oldincludedir='/usr/include'
750 docdir='${datarootdir}/doc/${PACKAGE}'
751 infodir='${datarootdir}/info'
752 htmldir='${docdir}'
753 dvidir='${docdir}'
754 pdfdir='${docdir}'
755 psdir='${docdir}'
756 libdir='${exec_prefix}/lib'
757 localedir='${datarootdir}/locale'
758 mandir='${datarootdir}/man'
760 ac_prev=
761 ac_dashdash=
762 for ac_option
764 # If the previous option needs an argument, assign it.
765 if test -n "$ac_prev"; then
766 eval $ac_prev=\$ac_option
767 ac_prev=
768 continue
771 case $ac_option in
772 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
773 *=) ac_optarg= ;;
774 *) ac_optarg=yes ;;
775 esac
777 # Accept the important Cygnus configure options, so we can diagnose typos.
779 case $ac_dashdash$ac_option in
781 ac_dashdash=yes ;;
783 -bindir | --bindir | --bindi | --bind | --bin | --bi)
784 ac_prev=bindir ;;
785 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
786 bindir=$ac_optarg ;;
788 -build | --build | --buil | --bui | --bu)
789 ac_prev=build_alias ;;
790 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
791 build_alias=$ac_optarg ;;
793 -cache-file | --cache-file | --cache-fil | --cache-fi \
794 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
795 ac_prev=cache_file ;;
796 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
797 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
798 cache_file=$ac_optarg ;;
800 --config-cache | -C)
801 cache_file=config.cache ;;
803 -datadir | --datadir | --datadi | --datad)
804 ac_prev=datadir ;;
805 -datadir=* | --datadir=* | --datadi=* | --datad=*)
806 datadir=$ac_optarg ;;
808 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
809 | --dataroo | --dataro | --datar)
810 ac_prev=datarootdir ;;
811 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
812 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
813 datarootdir=$ac_optarg ;;
815 -disable-* | --disable-*)
816 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
817 # Reject names that are not valid shell variable names.
818 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
819 as_fn_error $? "invalid feature name: $ac_useropt"
820 ac_useropt_orig=$ac_useropt
821 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
822 case $ac_user_opts in
824 "enable_$ac_useropt"
825 "*) ;;
826 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
827 ac_unrecognized_sep=', ';;
828 esac
829 eval enable_$ac_useropt=no ;;
831 -docdir | --docdir | --docdi | --doc | --do)
832 ac_prev=docdir ;;
833 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
834 docdir=$ac_optarg ;;
836 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
837 ac_prev=dvidir ;;
838 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
839 dvidir=$ac_optarg ;;
841 -enable-* | --enable-*)
842 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
843 # Reject names that are not valid shell variable names.
844 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
845 as_fn_error $? "invalid feature name: $ac_useropt"
846 ac_useropt_orig=$ac_useropt
847 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
848 case $ac_user_opts in
850 "enable_$ac_useropt"
851 "*) ;;
852 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
853 ac_unrecognized_sep=', ';;
854 esac
855 eval enable_$ac_useropt=\$ac_optarg ;;
857 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
858 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
859 | --exec | --exe | --ex)
860 ac_prev=exec_prefix ;;
861 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
862 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
863 | --exec=* | --exe=* | --ex=*)
864 exec_prefix=$ac_optarg ;;
866 -gas | --gas | --ga | --g)
867 # Obsolete; use --with-gas.
868 with_gas=yes ;;
870 -help | --help | --hel | --he | -h)
871 ac_init_help=long ;;
872 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
873 ac_init_help=recursive ;;
874 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
875 ac_init_help=short ;;
877 -host | --host | --hos | --ho)
878 ac_prev=host_alias ;;
879 -host=* | --host=* | --hos=* | --ho=*)
880 host_alias=$ac_optarg ;;
882 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
883 ac_prev=htmldir ;;
884 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
885 | --ht=*)
886 htmldir=$ac_optarg ;;
888 -includedir | --includedir | --includedi | --included | --include \
889 | --includ | --inclu | --incl | --inc)
890 ac_prev=includedir ;;
891 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
892 | --includ=* | --inclu=* | --incl=* | --inc=*)
893 includedir=$ac_optarg ;;
895 -infodir | --infodir | --infodi | --infod | --info | --inf)
896 ac_prev=infodir ;;
897 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
898 infodir=$ac_optarg ;;
900 -libdir | --libdir | --libdi | --libd)
901 ac_prev=libdir ;;
902 -libdir=* | --libdir=* | --libdi=* | --libd=*)
903 libdir=$ac_optarg ;;
905 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
906 | --libexe | --libex | --libe)
907 ac_prev=libexecdir ;;
908 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
909 | --libexe=* | --libex=* | --libe=*)
910 libexecdir=$ac_optarg ;;
912 -localedir | --localedir | --localedi | --localed | --locale)
913 ac_prev=localedir ;;
914 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
915 localedir=$ac_optarg ;;
917 -localstatedir | --localstatedir | --localstatedi | --localstated \
918 | --localstate | --localstat | --localsta | --localst | --locals)
919 ac_prev=localstatedir ;;
920 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
921 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
922 localstatedir=$ac_optarg ;;
924 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
925 ac_prev=mandir ;;
926 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
927 mandir=$ac_optarg ;;
929 -nfp | --nfp | --nf)
930 # Obsolete; use --without-fp.
931 with_fp=no ;;
933 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
934 | --no-cr | --no-c | -n)
935 no_create=yes ;;
937 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
938 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
939 no_recursion=yes ;;
941 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
942 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
943 | --oldin | --oldi | --old | --ol | --o)
944 ac_prev=oldincludedir ;;
945 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
946 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
947 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
948 oldincludedir=$ac_optarg ;;
950 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
951 ac_prev=prefix ;;
952 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
953 prefix=$ac_optarg ;;
955 -program-prefix | --program-prefix | --program-prefi | --program-pref \
956 | --program-pre | --program-pr | --program-p)
957 ac_prev=program_prefix ;;
958 -program-prefix=* | --program-prefix=* | --program-prefi=* \
959 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
960 program_prefix=$ac_optarg ;;
962 -program-suffix | --program-suffix | --program-suffi | --program-suff \
963 | --program-suf | --program-su | --program-s)
964 ac_prev=program_suffix ;;
965 -program-suffix=* | --program-suffix=* | --program-suffi=* \
966 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
967 program_suffix=$ac_optarg ;;
969 -program-transform-name | --program-transform-name \
970 | --program-transform-nam | --program-transform-na \
971 | --program-transform-n | --program-transform- \
972 | --program-transform | --program-transfor \
973 | --program-transfo | --program-transf \
974 | --program-trans | --program-tran \
975 | --progr-tra | --program-tr | --program-t)
976 ac_prev=program_transform_name ;;
977 -program-transform-name=* | --program-transform-name=* \
978 | --program-transform-nam=* | --program-transform-na=* \
979 | --program-transform-n=* | --program-transform-=* \
980 | --program-transform=* | --program-transfor=* \
981 | --program-transfo=* | --program-transf=* \
982 | --program-trans=* | --program-tran=* \
983 | --progr-tra=* | --program-tr=* | --program-t=*)
984 program_transform_name=$ac_optarg ;;
986 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
987 ac_prev=pdfdir ;;
988 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
989 pdfdir=$ac_optarg ;;
991 -psdir | --psdir | --psdi | --psd | --ps)
992 ac_prev=psdir ;;
993 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
994 psdir=$ac_optarg ;;
996 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
997 | -silent | --silent | --silen | --sile | --sil)
998 silent=yes ;;
1000 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1001 ac_prev=sbindir ;;
1002 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1003 | --sbi=* | --sb=*)
1004 sbindir=$ac_optarg ;;
1006 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1007 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1008 | --sharedst | --shareds | --shared | --share | --shar \
1009 | --sha | --sh)
1010 ac_prev=sharedstatedir ;;
1011 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1012 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1013 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1014 | --sha=* | --sh=*)
1015 sharedstatedir=$ac_optarg ;;
1017 -site | --site | --sit)
1018 ac_prev=site ;;
1019 -site=* | --site=* | --sit=*)
1020 site=$ac_optarg ;;
1022 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1023 ac_prev=srcdir ;;
1024 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1025 srcdir=$ac_optarg ;;
1027 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1028 | --syscon | --sysco | --sysc | --sys | --sy)
1029 ac_prev=sysconfdir ;;
1030 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1031 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1032 sysconfdir=$ac_optarg ;;
1034 -target | --target | --targe | --targ | --tar | --ta | --t)
1035 ac_prev=target_alias ;;
1036 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1037 target_alias=$ac_optarg ;;
1039 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1040 verbose=yes ;;
1042 -version | --version | --versio | --versi | --vers | -V)
1043 ac_init_version=: ;;
1045 -with-* | --with-*)
1046 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1047 # Reject names that are not valid shell variable names.
1048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1049 as_fn_error $? "invalid package name: $ac_useropt"
1050 ac_useropt_orig=$ac_useropt
1051 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052 case $ac_user_opts in
1054 "with_$ac_useropt"
1055 "*) ;;
1056 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1057 ac_unrecognized_sep=', ';;
1058 esac
1059 eval with_$ac_useropt=\$ac_optarg ;;
1061 -without-* | --without-*)
1062 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1063 # Reject names that are not valid shell variable names.
1064 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1065 as_fn_error $? "invalid package name: $ac_useropt"
1066 ac_useropt_orig=$ac_useropt
1067 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1068 case $ac_user_opts in
1070 "with_$ac_useropt"
1071 "*) ;;
1072 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1073 ac_unrecognized_sep=', ';;
1074 esac
1075 eval with_$ac_useropt=no ;;
1077 --x)
1078 # Obsolete; use --with-x.
1079 with_x=yes ;;
1081 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1082 | --x-incl | --x-inc | --x-in | --x-i)
1083 ac_prev=x_includes ;;
1084 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1085 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1086 x_includes=$ac_optarg ;;
1088 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1089 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1090 ac_prev=x_libraries ;;
1091 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1092 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1093 x_libraries=$ac_optarg ;;
1095 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1096 Try \`$0 --help' for more information"
1099 *=*)
1100 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1101 # Reject names that are not valid shell variable names.
1102 case $ac_envvar in #(
1103 '' | [0-9]* | *[!_$as_cr_alnum]* )
1104 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1105 esac
1106 eval $ac_envvar=\$ac_optarg
1107 export $ac_envvar ;;
1110 # FIXME: should be removed in autoconf 3.0.
1111 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1112 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1113 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1114 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1117 esac
1118 done
1120 if test -n "$ac_prev"; then
1121 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1122 as_fn_error $? "missing argument to $ac_option"
1125 if test -n "$ac_unrecognized_opts"; then
1126 case $enable_option_checking in
1127 no) ;;
1128 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1129 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1130 esac
1133 # Check all directory arguments for consistency.
1134 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1135 datadir sysconfdir sharedstatedir localstatedir includedir \
1136 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1137 libdir localedir mandir
1139 eval ac_val=\$$ac_var
1140 # Remove trailing slashes.
1141 case $ac_val in
1142 */ )
1143 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1144 eval $ac_var=\$ac_val;;
1145 esac
1146 # Be sure to have absolute directory names.
1147 case $ac_val in
1148 [\\/$]* | ?:[\\/]* ) continue;;
1149 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1150 esac
1151 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1152 done
1154 # There might be people who depend on the old broken behavior: `$host'
1155 # used to hold the argument of --host etc.
1156 # FIXME: To remove some day.
1157 build=$build_alias
1158 host=$host_alias
1159 target=$target_alias
1161 # FIXME: To remove some day.
1162 if test "x$host_alias" != x; then
1163 if test "x$build_alias" = x; then
1164 cross_compiling=maybe
1165 elif test "x$build_alias" != "x$host_alias"; then
1166 cross_compiling=yes
1170 ac_tool_prefix=
1171 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1173 test "$silent" = yes && exec 6>/dev/null
1176 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1177 ac_ls_di=`ls -di .` &&
1178 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1179 as_fn_error $? "working directory cannot be determined"
1180 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1181 as_fn_error $? "pwd does not report name of working directory"
1184 # Find the source files, if location was not specified.
1185 if test -z "$srcdir"; then
1186 ac_srcdir_defaulted=yes
1187 # Try the directory containing this script, then the parent directory.
1188 ac_confdir=`$as_dirname -- "$as_myself" ||
1189 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1190 X"$as_myself" : 'X\(//\)[^/]' \| \
1191 X"$as_myself" : 'X\(//\)$' \| \
1192 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1193 $as_echo X"$as_myself" |
1194 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1195 s//\1/
1198 /^X\(\/\/\)[^/].*/{
1199 s//\1/
1202 /^X\(\/\/\)$/{
1203 s//\1/
1206 /^X\(\/\).*/{
1207 s//\1/
1210 s/.*/./; q'`
1211 srcdir=$ac_confdir
1212 if test ! -r "$srcdir/$ac_unique_file"; then
1213 srcdir=..
1215 else
1216 ac_srcdir_defaulted=no
1218 if test ! -r "$srcdir/$ac_unique_file"; then
1219 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1220 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1222 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1223 ac_abs_confdir=`(
1224 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1225 pwd)`
1226 # When building in place, set srcdir=.
1227 if test "$ac_abs_confdir" = "$ac_pwd"; then
1228 srcdir=.
1230 # Remove unnecessary trailing slashes from srcdir.
1231 # Double slashes in file names in object file debugging info
1232 # mess up M-x gdb in Emacs.
1233 case $srcdir in
1234 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1235 esac
1236 for ac_var in $ac_precious_vars; do
1237 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1238 eval ac_env_${ac_var}_value=\$${ac_var}
1239 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1240 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1241 done
1244 # Report the --help message.
1246 if test "$ac_init_help" = "long"; then
1247 # Omit some internal or obsolete options to make the list less imposing.
1248 # This message is too long to be a string in the A/UX 3.1 sh.
1249 cat <<_ACEOF
1250 \`configure' configures this package to adapt to many kinds of systems.
1252 Usage: $0 [OPTION]... [VAR=VALUE]...
1254 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1255 VAR=VALUE. See below for descriptions of some of the useful variables.
1257 Defaults for the options are specified in brackets.
1259 Configuration:
1260 -h, --help display this help and exit
1261 --help=short display options specific to this package
1262 --help=recursive display the short help of all the included packages
1263 -V, --version display version information and exit
1264 -q, --quiet, --silent do not print \`checking ...' messages
1265 --cache-file=FILE cache test results in FILE [disabled]
1266 -C, --config-cache alias for \`--cache-file=config.cache'
1267 -n, --no-create do not create output files
1268 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1270 Installation directories:
1271 --prefix=PREFIX install architecture-independent files in PREFIX
1272 [$ac_default_prefix]
1273 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1274 [PREFIX]
1276 By default, \`make install' will install all the files in
1277 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1278 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1279 for instance \`--prefix=\$HOME'.
1281 For better control, use the options below.
1283 Fine tuning of the installation directories:
1284 --bindir=DIR user executables [EPREFIX/bin]
1285 --sbindir=DIR system admin executables [EPREFIX/sbin]
1286 --libexecdir=DIR program executables [EPREFIX/libexec]
1287 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1288 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1289 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1290 --libdir=DIR object code libraries [EPREFIX/lib]
1291 --includedir=DIR C header files [PREFIX/include]
1292 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1293 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1294 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1295 --infodir=DIR info documentation [DATAROOTDIR/info]
1296 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1297 --mandir=DIR man documentation [DATAROOTDIR/man]
1298 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1299 --htmldir=DIR html documentation [DOCDIR]
1300 --dvidir=DIR dvi documentation [DOCDIR]
1301 --pdfdir=DIR pdf documentation [DOCDIR]
1302 --psdir=DIR ps documentation [DOCDIR]
1303 _ACEOF
1305 cat <<\_ACEOF
1307 Program names:
1308 --program-prefix=PREFIX prepend PREFIX to installed program names
1309 --program-suffix=SUFFIX append SUFFIX to installed program names
1310 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1312 System types:
1313 --build=BUILD configure for building on BUILD [guessed]
1314 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1315 --target=TARGET configure for building compilers for TARGET [HOST]
1316 _ACEOF
1319 if test -n "$ac_init_help"; then
1321 cat <<\_ACEOF
1323 Optional Features:
1324 --disable-option-checking ignore unrecognized --enable/--with options
1325 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1326 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1327 --enable-gtk enable gdbtk graphical user interface (GUI)
1328 --enable-libctf Handle .ctf type-info sections [default=yes]
1329 --enable-shared build shared libraries deault=yes
1331 Some influential environment variables:
1332 CC C compiler command
1333 CFLAGS C compiler flags
1334 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1335 nonstandard directory <lib dir>
1336 LIBS libraries to pass to the linker, e.g. -l<library>
1337 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1338 you have headers in a nonstandard directory <include dir>
1339 CPP C preprocessor
1341 Use these variables to override the choices made by `configure' or to help
1342 it to find libraries and programs with nonstandard names/locations.
1344 Report bugs to the package provider.
1345 _ACEOF
1346 ac_status=$?
1349 if test "$ac_init_help" = "recursive"; then
1350 # If there are subdirs, report their specific --help.
1351 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1352 test -d "$ac_dir" ||
1353 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1354 continue
1355 ac_builddir=.
1357 case "$ac_dir" in
1358 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1360 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1361 # A ".." for each directory in $ac_dir_suffix.
1362 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1363 case $ac_top_builddir_sub in
1364 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1365 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1366 esac ;;
1367 esac
1368 ac_abs_top_builddir=$ac_pwd
1369 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1370 # for backward compatibility:
1371 ac_top_builddir=$ac_top_build_prefix
1373 case $srcdir in
1374 .) # We are building in place.
1375 ac_srcdir=.
1376 ac_top_srcdir=$ac_top_builddir_sub
1377 ac_abs_top_srcdir=$ac_pwd ;;
1378 [\\/]* | ?:[\\/]* ) # Absolute name.
1379 ac_srcdir=$srcdir$ac_dir_suffix;
1380 ac_top_srcdir=$srcdir
1381 ac_abs_top_srcdir=$srcdir ;;
1382 *) # Relative name.
1383 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1384 ac_top_srcdir=$ac_top_build_prefix$srcdir
1385 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1386 esac
1387 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1389 cd "$ac_dir" || { ac_status=$?; continue; }
1390 # Check for guested configure.
1391 if test -f "$ac_srcdir/configure.gnu"; then
1392 echo &&
1393 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1394 elif test -f "$ac_srcdir/configure"; then
1395 echo &&
1396 $SHELL "$ac_srcdir/configure" --help=recursive
1397 else
1398 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1399 fi || ac_status=$?
1400 cd "$ac_pwd" || { ac_status=$?; break; }
1401 done
1404 test -n "$ac_init_help" && exit $ac_status
1405 if $ac_init_version; then
1406 cat <<\_ACEOF
1407 configure
1408 generated by GNU Autoconf 2.69
1410 Copyright (C) 2012 Free Software Foundation, Inc.
1411 This configure script is free software; the Free Software Foundation
1412 gives unlimited permission to copy, distribute and modify it.
1413 _ACEOF
1414 exit
1417 ## ------------------------ ##
1418 ## Autoconf initialization. ##
1419 ## ------------------------ ##
1421 # ac_fn_c_try_compile LINENO
1422 # --------------------------
1423 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1424 ac_fn_c_try_compile ()
1426 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1427 rm -f conftest.$ac_objext
1428 if { { ac_try="$ac_compile"
1429 case "(($ac_try" in
1430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1431 *) ac_try_echo=$ac_try;;
1432 esac
1433 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1434 $as_echo "$ac_try_echo"; } >&5
1435 (eval "$ac_compile") 2>conftest.err
1436 ac_status=$?
1437 if test -s conftest.err; then
1438 grep -v '^ *+' conftest.err >conftest.er1
1439 cat conftest.er1 >&5
1440 mv -f conftest.er1 conftest.err
1442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1443 test $ac_status = 0; } && {
1444 test -z "$ac_c_werror_flag" ||
1445 test ! -s conftest.err
1446 } && test -s conftest.$ac_objext; then :
1447 ac_retval=0
1448 else
1449 $as_echo "$as_me: failed program was:" >&5
1450 sed 's/^/| /' conftest.$ac_ext >&5
1452 ac_retval=1
1454 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1455 as_fn_set_status $ac_retval
1457 } # ac_fn_c_try_compile
1459 # ac_fn_c_try_cpp LINENO
1460 # ----------------------
1461 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1462 ac_fn_c_try_cpp ()
1464 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1465 if { { ac_try="$ac_cpp conftest.$ac_ext"
1466 case "(($ac_try" in
1467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1468 *) ac_try_echo=$ac_try;;
1469 esac
1470 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1471 $as_echo "$ac_try_echo"; } >&5
1472 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1473 ac_status=$?
1474 if test -s conftest.err; then
1475 grep -v '^ *+' conftest.err >conftest.er1
1476 cat conftest.er1 >&5
1477 mv -f conftest.er1 conftest.err
1479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1480 test $ac_status = 0; } > conftest.i && {
1481 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1482 test ! -s conftest.err
1483 }; then :
1484 ac_retval=0
1485 else
1486 $as_echo "$as_me: failed program was:" >&5
1487 sed 's/^/| /' conftest.$ac_ext >&5
1489 ac_retval=1
1491 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1492 as_fn_set_status $ac_retval
1494 } # ac_fn_c_try_cpp
1496 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1497 # -------------------------------------------------------
1498 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1499 # the include files in INCLUDES and setting the cache variable VAR
1500 # accordingly.
1501 ac_fn_c_check_header_mongrel ()
1503 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1504 if eval \${$3+:} false; then :
1505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1506 $as_echo_n "checking for $2... " >&6; }
1507 if eval \${$3+:} false; then :
1508 $as_echo_n "(cached) " >&6
1510 eval ac_res=\$$3
1511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1512 $as_echo "$ac_res" >&6; }
1513 else
1514 # Is the header compilable?
1515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1516 $as_echo_n "checking $2 usability... " >&6; }
1517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1518 /* end confdefs.h. */
1520 #include <$2>
1521 _ACEOF
1522 if ac_fn_c_try_compile "$LINENO"; then :
1523 ac_header_compiler=yes
1524 else
1525 ac_header_compiler=no
1527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1529 $as_echo "$ac_header_compiler" >&6; }
1531 # Is the header present?
1532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1533 $as_echo_n "checking $2 presence... " >&6; }
1534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1535 /* end confdefs.h. */
1536 #include <$2>
1537 _ACEOF
1538 if ac_fn_c_try_cpp "$LINENO"; then :
1539 ac_header_preproc=yes
1540 else
1541 ac_header_preproc=no
1543 rm -f conftest.err conftest.i conftest.$ac_ext
1544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1545 $as_echo "$ac_header_preproc" >&6; }
1547 # So? What about this header?
1548 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1549 yes:no: )
1550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1551 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1553 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1555 no:yes:* )
1556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1557 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1559 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1561 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1563 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1565 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1567 esac
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1569 $as_echo_n "checking for $2... " >&6; }
1570 if eval \${$3+:} false; then :
1571 $as_echo_n "(cached) " >&6
1572 else
1573 eval "$3=\$ac_header_compiler"
1575 eval ac_res=\$$3
1576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1577 $as_echo "$ac_res" >&6; }
1579 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1581 } # ac_fn_c_check_header_mongrel
1583 # ac_fn_c_try_run LINENO
1584 # ----------------------
1585 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1586 # that executables *can* be run.
1587 ac_fn_c_try_run ()
1589 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1590 if { { ac_try="$ac_link"
1591 case "(($ac_try" in
1592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1593 *) ac_try_echo=$ac_try;;
1594 esac
1595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1596 $as_echo "$ac_try_echo"; } >&5
1597 (eval "$ac_link") 2>&5
1598 ac_status=$?
1599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1600 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1601 { { case "(($ac_try" in
1602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1603 *) ac_try_echo=$ac_try;;
1604 esac
1605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1606 $as_echo "$ac_try_echo"; } >&5
1607 (eval "$ac_try") 2>&5
1608 ac_status=$?
1609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1610 test $ac_status = 0; }; }; then :
1611 ac_retval=0
1612 else
1613 $as_echo "$as_me: program exited with status $ac_status" >&5
1614 $as_echo "$as_me: failed program was:" >&5
1615 sed 's/^/| /' conftest.$ac_ext >&5
1617 ac_retval=$ac_status
1619 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1620 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1621 as_fn_set_status $ac_retval
1623 } # ac_fn_c_try_run
1625 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1626 # -------------------------------------------------------
1627 # Tests whether HEADER exists and can be compiled using the include files in
1628 # INCLUDES, setting the cache variable VAR accordingly.
1629 ac_fn_c_check_header_compile ()
1631 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1633 $as_echo_n "checking for $2... " >&6; }
1634 if eval \${$3+:} false; then :
1635 $as_echo_n "(cached) " >&6
1636 else
1637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1638 /* end confdefs.h. */
1640 #include <$2>
1641 _ACEOF
1642 if ac_fn_c_try_compile "$LINENO"; then :
1643 eval "$3=yes"
1644 else
1645 eval "$3=no"
1647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1649 eval ac_res=\$$3
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1651 $as_echo "$ac_res" >&6; }
1652 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654 } # ac_fn_c_check_header_compile
1655 cat >config.log <<_ACEOF
1656 This file contains any messages produced by compilers while
1657 running configure, to aid debugging if configure makes a mistake.
1659 It was created by $as_me, which was
1660 generated by GNU Autoconf 2.69. Invocation command line was
1662 $ $0 $@
1664 _ACEOF
1665 exec 5>>config.log
1667 cat <<_ASUNAME
1668 ## --------- ##
1669 ## Platform. ##
1670 ## --------- ##
1672 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1673 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1674 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1675 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1676 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1678 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1679 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1681 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1682 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1683 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1684 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1685 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1686 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1687 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1689 _ASUNAME
1691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1692 for as_dir in $PATH
1694 IFS=$as_save_IFS
1695 test -z "$as_dir" && as_dir=.
1696 $as_echo "PATH: $as_dir"
1697 done
1698 IFS=$as_save_IFS
1700 } >&5
1702 cat >&5 <<_ACEOF
1705 ## ----------- ##
1706 ## Core tests. ##
1707 ## ----------- ##
1709 _ACEOF
1712 # Keep a trace of the command line.
1713 # Strip out --no-create and --no-recursion so they do not pile up.
1714 # Strip out --silent because we don't want to record it for future runs.
1715 # Also quote any args containing shell meta-characters.
1716 # Make two passes to allow for proper duplicate-argument suppression.
1717 ac_configure_args=
1718 ac_configure_args0=
1719 ac_configure_args1=
1720 ac_must_keep_next=false
1721 for ac_pass in 1 2
1723 for ac_arg
1725 case $ac_arg in
1726 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1727 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1728 | -silent | --silent | --silen | --sile | --sil)
1729 continue ;;
1730 *\'*)
1731 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1732 esac
1733 case $ac_pass in
1734 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1736 as_fn_append ac_configure_args1 " '$ac_arg'"
1737 if test $ac_must_keep_next = true; then
1738 ac_must_keep_next=false # Got value, back to normal.
1739 else
1740 case $ac_arg in
1741 *=* | --config-cache | -C | -disable-* | --disable-* \
1742 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1743 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1744 | -with-* | --with-* | -without-* | --without-* | --x)
1745 case "$ac_configure_args0 " in
1746 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1747 esac
1749 -* ) ac_must_keep_next=true ;;
1750 esac
1752 as_fn_append ac_configure_args " '$ac_arg'"
1754 esac
1755 done
1756 done
1757 { ac_configure_args0=; unset ac_configure_args0;}
1758 { ac_configure_args1=; unset ac_configure_args1;}
1760 # When interrupted or exit'd, cleanup temporary files, and complete
1761 # config.log. We remove comments because anyway the quotes in there
1762 # would cause problems or look ugly.
1763 # WARNING: Use '\'' to represent an apostrophe within the trap.
1764 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1765 trap 'exit_status=$?
1766 # Save into config.log some information that might help in debugging.
1768 echo
1770 $as_echo "## ---------------- ##
1771 ## Cache variables. ##
1772 ## ---------------- ##"
1773 echo
1774 # The following way of writing the cache mishandles newlines in values,
1776 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1777 eval ac_val=\$$ac_var
1778 case $ac_val in #(
1779 *${as_nl}*)
1780 case $ac_var in #(
1781 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1782 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1783 esac
1784 case $ac_var in #(
1785 _ | IFS | as_nl) ;; #(
1786 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1787 *) { eval $ac_var=; unset $ac_var;} ;;
1788 esac ;;
1789 esac
1790 done
1791 (set) 2>&1 |
1792 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1793 *${as_nl}ac_space=\ *)
1794 sed -n \
1795 "s/'\''/'\''\\\\'\'''\''/g;
1796 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1797 ;; #(
1799 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1801 esac |
1802 sort
1804 echo
1806 $as_echo "## ----------------- ##
1807 ## Output variables. ##
1808 ## ----------------- ##"
1809 echo
1810 for ac_var in $ac_subst_vars
1812 eval ac_val=\$$ac_var
1813 case $ac_val in
1814 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1815 esac
1816 $as_echo "$ac_var='\''$ac_val'\''"
1817 done | sort
1818 echo
1820 if test -n "$ac_subst_files"; then
1821 $as_echo "## ------------------- ##
1822 ## File substitutions. ##
1823 ## ------------------- ##"
1824 echo
1825 for ac_var in $ac_subst_files
1827 eval ac_val=\$$ac_var
1828 case $ac_val in
1829 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1830 esac
1831 $as_echo "$ac_var='\''$ac_val'\''"
1832 done | sort
1833 echo
1836 if test -s confdefs.h; then
1837 $as_echo "## ----------- ##
1838 ## confdefs.h. ##
1839 ## ----------- ##"
1840 echo
1841 cat confdefs.h
1842 echo
1844 test "$ac_signal" != 0 &&
1845 $as_echo "$as_me: caught signal $ac_signal"
1846 $as_echo "$as_me: exit $exit_status"
1847 } >&5
1848 rm -f core *.core core.conftest.* &&
1849 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1850 exit $exit_status
1852 for ac_signal in 1 2 13 15; do
1853 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1854 done
1855 ac_signal=0
1857 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1858 rm -f -r conftest* confdefs.h
1860 $as_echo "/* confdefs.h */" > confdefs.h
1862 # Predefined preprocessor variables.
1864 cat >>confdefs.h <<_ACEOF
1865 #define PACKAGE_NAME "$PACKAGE_NAME"
1866 _ACEOF
1868 cat >>confdefs.h <<_ACEOF
1869 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1870 _ACEOF
1872 cat >>confdefs.h <<_ACEOF
1873 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1874 _ACEOF
1876 cat >>confdefs.h <<_ACEOF
1877 #define PACKAGE_STRING "$PACKAGE_STRING"
1878 _ACEOF
1880 cat >>confdefs.h <<_ACEOF
1881 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1882 _ACEOF
1884 cat >>confdefs.h <<_ACEOF
1885 #define PACKAGE_URL "$PACKAGE_URL"
1886 _ACEOF
1889 # Let the site file select an alternate cache file if it wants to.
1890 # Prefer an explicitly selected file to automatically selected ones.
1891 ac_site_file1=NONE
1892 ac_site_file2=NONE
1893 if test -n "$CONFIG_SITE"; then
1894 # We do not want a PATH search for config.site.
1895 case $CONFIG_SITE in #((
1896 -*) ac_site_file1=./$CONFIG_SITE;;
1897 */*) ac_site_file1=$CONFIG_SITE;;
1898 *) ac_site_file1=./$CONFIG_SITE;;
1899 esac
1900 elif test "x$prefix" != xNONE; then
1901 ac_site_file1=$prefix/share/config.site
1902 ac_site_file2=$prefix/etc/config.site
1903 else
1904 ac_site_file1=$ac_default_prefix/share/config.site
1905 ac_site_file2=$ac_default_prefix/etc/config.site
1907 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1909 test "x$ac_site_file" = xNONE && continue
1910 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1912 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1913 sed 's/^/| /' "$ac_site_file" >&5
1914 . "$ac_site_file" \
1915 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1917 as_fn_error $? "failed to load site script $ac_site_file
1918 See \`config.log' for more details" "$LINENO" 5; }
1920 done
1922 if test -r "$cache_file"; then
1923 # Some versions of bash will fail to source /dev/null (special files
1924 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1925 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1927 $as_echo "$as_me: loading cache $cache_file" >&6;}
1928 case $cache_file in
1929 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1930 *) . "./$cache_file";;
1931 esac
1933 else
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1935 $as_echo "$as_me: creating cache $cache_file" >&6;}
1936 >$cache_file
1939 # Check that the precious variables saved in the cache have kept the same
1940 # value.
1941 ac_cache_corrupted=false
1942 for ac_var in $ac_precious_vars; do
1943 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1944 eval ac_new_set=\$ac_env_${ac_var}_set
1945 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1946 eval ac_new_val=\$ac_env_${ac_var}_value
1947 case $ac_old_set,$ac_new_set in
1948 set,)
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1950 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1951 ac_cache_corrupted=: ;;
1952 ,set)
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1954 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1955 ac_cache_corrupted=: ;;
1956 ,);;
1958 if test "x$ac_old_val" != "x$ac_new_val"; then
1959 # differences in whitespace do not lead to failure.
1960 ac_old_val_w=`echo x $ac_old_val`
1961 ac_new_val_w=`echo x $ac_new_val`
1962 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1964 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1965 ac_cache_corrupted=:
1966 else
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1968 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1969 eval $ac_var=\$ac_old_val
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1972 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1974 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1975 fi;;
1976 esac
1977 # Pass precious variables to config.status.
1978 if test "$ac_new_set" = set; then
1979 case $ac_new_val in
1980 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1981 *) ac_arg=$ac_var=$ac_new_val ;;
1982 esac
1983 case " $ac_configure_args " in
1984 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1985 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1986 esac
1988 done
1989 if $ac_cache_corrupted; then
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1993 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1994 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1996 ## -------------------- ##
1997 ## Main body of script. ##
1998 ## -------------------- ##
2000 ac_ext=c
2001 ac_cpp='$CPP $CPPFLAGS'
2002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2012 ac_aux_dir=
2013 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2014 if test -f "$ac_dir/install-sh"; then
2015 ac_aux_dir=$ac_dir
2016 ac_install_sh="$ac_aux_dir/install-sh -c"
2017 break
2018 elif test -f "$ac_dir/install.sh"; then
2019 ac_aux_dir=$ac_dir
2020 ac_install_sh="$ac_aux_dir/install.sh -c"
2021 break
2022 elif test -f "$ac_dir/shtool"; then
2023 ac_aux_dir=$ac_dir
2024 ac_install_sh="$ac_aux_dir/shtool install -c"
2025 break
2027 done
2028 if test -z "$ac_aux_dir"; then
2029 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2032 # These three variables are undocumented and unsupported,
2033 # and are intended to be withdrawn in a future Autoconf release.
2034 # They can cause serious problems if a builder's source tree is in a directory
2035 # whose full name contains unusual characters.
2036 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2037 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2038 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2041 # Make sure we can run config.sub.
2042 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2043 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2046 $as_echo_n "checking build system type... " >&6; }
2047 if ${ac_cv_build+:} false; then :
2048 $as_echo_n "(cached) " >&6
2049 else
2050 ac_build_alias=$build_alias
2051 test "x$ac_build_alias" = x &&
2052 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2053 test "x$ac_build_alias" = x &&
2054 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2055 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2056 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2060 $as_echo "$ac_cv_build" >&6; }
2061 case $ac_cv_build in
2062 *-*-*) ;;
2063 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2064 esac
2065 build=$ac_cv_build
2066 ac_save_IFS=$IFS; IFS='-'
2067 set x $ac_cv_build
2068 shift
2069 build_cpu=$1
2070 build_vendor=$2
2071 shift; shift
2072 # Remember, the first character of IFS is used to create $*,
2073 # except with old shells:
2074 build_os=$*
2075 IFS=$ac_save_IFS
2076 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2080 $as_echo_n "checking host system type... " >&6; }
2081 if ${ac_cv_host+:} false; then :
2082 $as_echo_n "(cached) " >&6
2083 else
2084 if test "x$host_alias" = x; then
2085 ac_cv_host=$ac_cv_build
2086 else
2087 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2088 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2093 $as_echo "$ac_cv_host" >&6; }
2094 case $ac_cv_host in
2095 *-*-*) ;;
2096 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2097 esac
2098 host=$ac_cv_host
2099 ac_save_IFS=$IFS; IFS='-'
2100 set x $ac_cv_host
2101 shift
2102 host_cpu=$1
2103 host_vendor=$2
2104 shift; shift
2105 # Remember, the first character of IFS is used to create $*,
2106 # except with old shells:
2107 host_os=$*
2108 IFS=$ac_save_IFS
2109 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2113 $as_echo_n "checking target system type... " >&6; }
2114 if ${ac_cv_target+:} false; then :
2115 $as_echo_n "(cached) " >&6
2116 else
2117 if test "x$target_alias" = x; then
2118 ac_cv_target=$ac_cv_host
2119 else
2120 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2121 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2126 $as_echo "$ac_cv_target" >&6; }
2127 case $ac_cv_target in
2128 *-*-*) ;;
2129 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2130 esac
2131 target=$ac_cv_target
2132 ac_save_IFS=$IFS; IFS='-'
2133 set x $ac_cv_target
2134 shift
2135 target_cpu=$1
2136 target_vendor=$2
2137 shift; shift
2138 # Remember, the first character of IFS is used to create $*,
2139 # except with old shells:
2140 target_os=$*
2141 IFS=$ac_save_IFS
2142 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2145 # The aliases save the names the user supplied, while $host etc.
2146 # will get canonicalized.
2147 test -n "$target_alias" &&
2148 test "$program_prefix$program_suffix$program_transform_name" = \
2149 NONENONEs,x,x, &&
2150 program_prefix=${target_alias}-
2152 case ${build_alias} in
2153 "") build_noncanonical=${build} ;;
2154 *) build_noncanonical=${build_alias} ;;
2155 esac
2157 case ${host_alias} in
2158 "") host_noncanonical=${build_noncanonical} ;;
2159 *) host_noncanonical=${host_alias} ;;
2160 esac
2162 case ${target_alias} in
2163 "") target_noncanonical=${host_noncanonical} ;;
2164 *) target_noncanonical=${target_alias} ;;
2165 esac
2170 # Enable gdbtk.
2171 # Check whether --enable-gdbtk was given.
2172 if test "${enable_gdbtk+set}" = set; then :
2173 enableval=$enable_gdbtk;
2174 else
2175 if test -d $srcdir/../gdbtk && test -d $srcdir/gdb.gdbtk; then
2176 enable_gdbtk=yes
2177 else
2178 enable_gdbtk=no
2182 # We unconditionally disable gdbtk tests on selected platforms.
2183 case $host_os in
2184 go32* | windows*)
2185 enable_gdbtk=no ;;
2186 esac
2188 # Add gdbtk tests when appropriate.
2189 if test $enable_gdbtk = yes; then
2192 subdirs="$subdirs gdb.gdbtk"
2196 # Check whether --enable-libctf was given.
2197 if test "${enable_libctf+set}" = set; then :
2198 enableval=$enable_libctf;
2199 case "$enableval" in
2200 yes|no) ;;
2201 *) as_fn_error $? "Argument to enable/disable libctf must be yes or no" "$LINENO" 5 ;;
2202 esac
2204 else
2205 enable_libctf=yes
2211 # Enable shared libraries.
2212 # Check whether --enable-shared was given.
2213 if test "${enable_shared+set}" = set; then :
2214 enableval=$enable_shared;
2215 else
2216 enable_shared=yes
2220 # If we have shared libraries, try to set RPATH_ENVVAR reasonably,
2221 # such that we can find the shared libraries in the build tree.
2222 if test $enable_shared = no; then
2223 # The variable `RPATH_ENVVAR' itself is not likely to be used on any
2224 # platform.
2225 RPATH_ENVVAR=RPATH_ENVVAR
2226 else
2227 # The variable `LD_LIBRARY_PATH' is used on most platforms.
2228 RPATH_ENVVAR=LD_LIBRARY_PATH
2229 # The following exceptions are taken from Libtool 1.4.3.
2230 case $host_os in
2231 aix*)
2232 if test $host_cpu != ia64; then
2233 RPATH_ENVVAR=LIBPATH
2234 fi ;;
2235 darwin* | rhapsody*)
2236 RPATH_ENVVAR=DYLD_LIBRARY_PATH ;;
2237 esac
2241 ac_ext=c
2242 ac_cpp='$CPP $CPPFLAGS'
2243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2246 if test -n "$ac_tool_prefix"; then
2247 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2248 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2250 $as_echo_n "checking for $ac_word... " >&6; }
2251 if ${ac_cv_prog_CC+:} false; then :
2252 $as_echo_n "(cached) " >&6
2253 else
2254 if test -n "$CC"; then
2255 ac_cv_prog_CC="$CC" # Let the user override the test.
2256 else
2257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2258 for as_dir in $PATH
2260 IFS=$as_save_IFS
2261 test -z "$as_dir" && as_dir=.
2262 for ac_exec_ext in '' $ac_executable_extensions; do
2263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2264 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2266 break 2
2268 done
2269 done
2270 IFS=$as_save_IFS
2274 CC=$ac_cv_prog_CC
2275 if test -n "$CC"; then
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2277 $as_echo "$CC" >&6; }
2278 else
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2280 $as_echo "no" >&6; }
2285 if test -z "$ac_cv_prog_CC"; then
2286 ac_ct_CC=$CC
2287 # Extract the first word of "gcc", so it can be a program name with args.
2288 set dummy gcc; ac_word=$2
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2290 $as_echo_n "checking for $ac_word... " >&6; }
2291 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2292 $as_echo_n "(cached) " >&6
2293 else
2294 if test -n "$ac_ct_CC"; then
2295 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2296 else
2297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2298 for as_dir in $PATH
2300 IFS=$as_save_IFS
2301 test -z "$as_dir" && as_dir=.
2302 for ac_exec_ext in '' $ac_executable_extensions; do
2303 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2304 ac_cv_prog_ac_ct_CC="gcc"
2305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2306 break 2
2308 done
2309 done
2310 IFS=$as_save_IFS
2314 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2315 if test -n "$ac_ct_CC"; then
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2317 $as_echo "$ac_ct_CC" >&6; }
2318 else
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2320 $as_echo "no" >&6; }
2323 if test "x$ac_ct_CC" = x; then
2324 CC=""
2325 else
2326 case $cross_compiling:$ac_tool_warned in
2327 yes:)
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2330 ac_tool_warned=yes ;;
2331 esac
2332 CC=$ac_ct_CC
2334 else
2335 CC="$ac_cv_prog_CC"
2338 if test -z "$CC"; then
2339 if test -n "$ac_tool_prefix"; then
2340 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2341 set dummy ${ac_tool_prefix}cc; ac_word=$2
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2343 $as_echo_n "checking for $ac_word... " >&6; }
2344 if ${ac_cv_prog_CC+:} false; then :
2345 $as_echo_n "(cached) " >&6
2346 else
2347 if test -n "$CC"; then
2348 ac_cv_prog_CC="$CC" # Let the user override the test.
2349 else
2350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2351 for as_dir in $PATH
2353 IFS=$as_save_IFS
2354 test -z "$as_dir" && as_dir=.
2355 for ac_exec_ext in '' $ac_executable_extensions; do
2356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2357 ac_cv_prog_CC="${ac_tool_prefix}cc"
2358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2359 break 2
2361 done
2362 done
2363 IFS=$as_save_IFS
2367 CC=$ac_cv_prog_CC
2368 if test -n "$CC"; then
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2370 $as_echo "$CC" >&6; }
2371 else
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2373 $as_echo "no" >&6; }
2379 if test -z "$CC"; then
2380 # Extract the first word of "cc", so it can be a program name with args.
2381 set dummy cc; ac_word=$2
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2383 $as_echo_n "checking for $ac_word... " >&6; }
2384 if ${ac_cv_prog_CC+:} false; then :
2385 $as_echo_n "(cached) " >&6
2386 else
2387 if test -n "$CC"; then
2388 ac_cv_prog_CC="$CC" # Let the user override the test.
2389 else
2390 ac_prog_rejected=no
2391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2392 for as_dir in $PATH
2394 IFS=$as_save_IFS
2395 test -z "$as_dir" && as_dir=.
2396 for ac_exec_ext in '' $ac_executable_extensions; do
2397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2398 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2399 ac_prog_rejected=yes
2400 continue
2402 ac_cv_prog_CC="cc"
2403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2404 break 2
2406 done
2407 done
2408 IFS=$as_save_IFS
2410 if test $ac_prog_rejected = yes; then
2411 # We found a bogon in the path, so make sure we never use it.
2412 set dummy $ac_cv_prog_CC
2413 shift
2414 if test $# != 0; then
2415 # We chose a different compiler from the bogus one.
2416 # However, it has the same basename, so the bogon will be chosen
2417 # first if we set CC to just the basename; use the full file name.
2418 shift
2419 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2424 CC=$ac_cv_prog_CC
2425 if test -n "$CC"; then
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2427 $as_echo "$CC" >&6; }
2428 else
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2430 $as_echo "no" >&6; }
2435 if test -z "$CC"; then
2436 if test -n "$ac_tool_prefix"; then
2437 for ac_prog in cl.exe
2439 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2440 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2442 $as_echo_n "checking for $ac_word... " >&6; }
2443 if ${ac_cv_prog_CC+:} false; then :
2444 $as_echo_n "(cached) " >&6
2445 else
2446 if test -n "$CC"; then
2447 ac_cv_prog_CC="$CC" # Let the user override the test.
2448 else
2449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2450 for as_dir in $PATH
2452 IFS=$as_save_IFS
2453 test -z "$as_dir" && as_dir=.
2454 for ac_exec_ext in '' $ac_executable_extensions; do
2455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2456 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2458 break 2
2460 done
2461 done
2462 IFS=$as_save_IFS
2466 CC=$ac_cv_prog_CC
2467 if test -n "$CC"; then
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2469 $as_echo "$CC" >&6; }
2470 else
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2472 $as_echo "no" >&6; }
2476 test -n "$CC" && break
2477 done
2479 if test -z "$CC"; then
2480 ac_ct_CC=$CC
2481 for ac_prog in cl.exe
2483 # Extract the first word of "$ac_prog", so it can be a program name with args.
2484 set dummy $ac_prog; ac_word=$2
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2486 $as_echo_n "checking for $ac_word... " >&6; }
2487 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2488 $as_echo_n "(cached) " >&6
2489 else
2490 if test -n "$ac_ct_CC"; then
2491 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2492 else
2493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2494 for as_dir in $PATH
2496 IFS=$as_save_IFS
2497 test -z "$as_dir" && as_dir=.
2498 for ac_exec_ext in '' $ac_executable_extensions; do
2499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2500 ac_cv_prog_ac_ct_CC="$ac_prog"
2501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2502 break 2
2504 done
2505 done
2506 IFS=$as_save_IFS
2510 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2511 if test -n "$ac_ct_CC"; then
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2513 $as_echo "$ac_ct_CC" >&6; }
2514 else
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2516 $as_echo "no" >&6; }
2520 test -n "$ac_ct_CC" && break
2521 done
2523 if test "x$ac_ct_CC" = x; then
2524 CC=""
2525 else
2526 case $cross_compiling:$ac_tool_warned in
2527 yes:)
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2530 ac_tool_warned=yes ;;
2531 esac
2532 CC=$ac_ct_CC
2539 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2541 as_fn_error $? "no acceptable C compiler found in \$PATH
2542 See \`config.log' for more details" "$LINENO" 5; }
2544 # Provide some information about the compiler.
2545 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2546 set X $ac_compile
2547 ac_compiler=$2
2548 for ac_option in --version -v -V -qversion; do
2549 { { ac_try="$ac_compiler $ac_option >&5"
2550 case "(($ac_try" in
2551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2552 *) ac_try_echo=$ac_try;;
2553 esac
2554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2555 $as_echo "$ac_try_echo"; } >&5
2556 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2557 ac_status=$?
2558 if test -s conftest.err; then
2559 sed '10a\
2560 ... rest of stderr output deleted ...
2561 10q' conftest.err >conftest.er1
2562 cat conftest.er1 >&5
2564 rm -f conftest.er1 conftest.err
2565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2566 test $ac_status = 0; }
2567 done
2569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2570 /* end confdefs.h. */
2573 main ()
2577 return 0;
2579 _ACEOF
2580 ac_clean_files_save=$ac_clean_files
2581 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2582 # Try to create an executable without -o first, disregard a.out.
2583 # It will help us diagnose broken compilers, and finding out an intuition
2584 # of exeext.
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2586 $as_echo_n "checking whether the C compiler works... " >&6; }
2587 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2589 # The possible output files:
2590 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2592 ac_rmfiles=
2593 for ac_file in $ac_files
2595 case $ac_file in
2596 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2597 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2598 esac
2599 done
2600 rm -f $ac_rmfiles
2602 if { { ac_try="$ac_link_default"
2603 case "(($ac_try" in
2604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2605 *) ac_try_echo=$ac_try;;
2606 esac
2607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2608 $as_echo "$ac_try_echo"; } >&5
2609 (eval "$ac_link_default") 2>&5
2610 ac_status=$?
2611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2612 test $ac_status = 0; }; then :
2613 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2614 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2615 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2616 # so that the user can short-circuit this test for compilers unknown to
2617 # Autoconf.
2618 for ac_file in $ac_files ''
2620 test -f "$ac_file" || continue
2621 case $ac_file in
2622 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2624 [ab].out )
2625 # We found the default executable, but exeext='' is most
2626 # certainly right.
2627 break;;
2628 *.* )
2629 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2630 then :; else
2631 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2633 # We set ac_cv_exeext here because the later test for it is not
2634 # safe: cross compilers may not add the suffix if given an `-o'
2635 # argument, so we may need to know it at that point already.
2636 # Even if this section looks crufty: it has the advantage of
2637 # actually working.
2638 break;;
2640 break;;
2641 esac
2642 done
2643 test "$ac_cv_exeext" = no && ac_cv_exeext=
2645 else
2646 ac_file=''
2648 if test -z "$ac_file"; then :
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2650 $as_echo "no" >&6; }
2651 $as_echo "$as_me: failed program was:" >&5
2652 sed 's/^/| /' conftest.$ac_ext >&5
2654 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2656 as_fn_error 77 "C compiler cannot create executables
2657 See \`config.log' for more details" "$LINENO" 5; }
2658 else
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2660 $as_echo "yes" >&6; }
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2663 $as_echo_n "checking for C compiler default output file name... " >&6; }
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2665 $as_echo "$ac_file" >&6; }
2666 ac_exeext=$ac_cv_exeext
2668 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2669 ac_clean_files=$ac_clean_files_save
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2671 $as_echo_n "checking for suffix of executables... " >&6; }
2672 if { { ac_try="$ac_link"
2673 case "(($ac_try" in
2674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2675 *) ac_try_echo=$ac_try;;
2676 esac
2677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2678 $as_echo "$ac_try_echo"; } >&5
2679 (eval "$ac_link") 2>&5
2680 ac_status=$?
2681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2682 test $ac_status = 0; }; then :
2683 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2684 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2685 # work properly (i.e., refer to `conftest.exe'), while it won't with
2686 # `rm'.
2687 for ac_file in conftest.exe conftest conftest.*; do
2688 test -f "$ac_file" || continue
2689 case $ac_file in
2690 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2691 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2692 break;;
2693 * ) break;;
2694 esac
2695 done
2696 else
2697 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2699 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2700 See \`config.log' for more details" "$LINENO" 5; }
2702 rm -f conftest conftest$ac_cv_exeext
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2704 $as_echo "$ac_cv_exeext" >&6; }
2706 rm -f conftest.$ac_ext
2707 EXEEXT=$ac_cv_exeext
2708 ac_exeext=$EXEEXT
2709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2710 /* end confdefs.h. */
2711 #include <stdio.h>
2713 main ()
2715 FILE *f = fopen ("conftest.out", "w");
2716 return ferror (f) || fclose (f) != 0;
2719 return 0;
2721 _ACEOF
2722 ac_clean_files="$ac_clean_files conftest.out"
2723 # Check that the compiler produces executables we can run. If not, either
2724 # the compiler is broken, or we cross compile.
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2726 $as_echo_n "checking whether we are cross compiling... " >&6; }
2727 if test "$cross_compiling" != yes; then
2728 { { ac_try="$ac_link"
2729 case "(($ac_try" in
2730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2731 *) ac_try_echo=$ac_try;;
2732 esac
2733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2734 $as_echo "$ac_try_echo"; } >&5
2735 (eval "$ac_link") 2>&5
2736 ac_status=$?
2737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2738 test $ac_status = 0; }
2739 if { ac_try='./conftest$ac_cv_exeext'
2740 { { case "(($ac_try" in
2741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2742 *) ac_try_echo=$ac_try;;
2743 esac
2744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2745 $as_echo "$ac_try_echo"; } >&5
2746 (eval "$ac_try") 2>&5
2747 ac_status=$?
2748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2749 test $ac_status = 0; }; }; then
2750 cross_compiling=no
2751 else
2752 if test "$cross_compiling" = maybe; then
2753 cross_compiling=yes
2754 else
2755 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2756 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2757 as_fn_error $? "cannot run C compiled programs.
2758 If you meant to cross compile, use \`--host'.
2759 See \`config.log' for more details" "$LINENO" 5; }
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2764 $as_echo "$cross_compiling" >&6; }
2766 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2767 ac_clean_files=$ac_clean_files_save
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2769 $as_echo_n "checking for suffix of object files... " >&6; }
2770 if ${ac_cv_objext+:} false; then :
2771 $as_echo_n "(cached) " >&6
2772 else
2773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2774 /* end confdefs.h. */
2777 main ()
2781 return 0;
2783 _ACEOF
2784 rm -f conftest.o conftest.obj
2785 if { { ac_try="$ac_compile"
2786 case "(($ac_try" in
2787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2788 *) ac_try_echo=$ac_try;;
2789 esac
2790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2791 $as_echo "$ac_try_echo"; } >&5
2792 (eval "$ac_compile") 2>&5
2793 ac_status=$?
2794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2795 test $ac_status = 0; }; then :
2796 for ac_file in conftest.o conftest.obj conftest.*; do
2797 test -f "$ac_file" || continue;
2798 case $ac_file in
2799 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2800 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2801 break;;
2802 esac
2803 done
2804 else
2805 $as_echo "$as_me: failed program was:" >&5
2806 sed 's/^/| /' conftest.$ac_ext >&5
2808 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2810 as_fn_error $? "cannot compute suffix of object files: cannot compile
2811 See \`config.log' for more details" "$LINENO" 5; }
2813 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2816 $as_echo "$ac_cv_objext" >&6; }
2817 OBJEXT=$ac_cv_objext
2818 ac_objext=$OBJEXT
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2820 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2821 if ${ac_cv_c_compiler_gnu+:} false; then :
2822 $as_echo_n "(cached) " >&6
2823 else
2824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2825 /* end confdefs.h. */
2828 main ()
2830 #ifndef __GNUC__
2831 choke me
2832 #endif
2835 return 0;
2837 _ACEOF
2838 if ac_fn_c_try_compile "$LINENO"; then :
2839 ac_compiler_gnu=yes
2840 else
2841 ac_compiler_gnu=no
2843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2844 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2848 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2849 if test $ac_compiler_gnu = yes; then
2850 GCC=yes
2851 else
2852 GCC=
2854 ac_test_CFLAGS=${CFLAGS+set}
2855 ac_save_CFLAGS=$CFLAGS
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2857 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2858 if ${ac_cv_prog_cc_g+:} false; then :
2859 $as_echo_n "(cached) " >&6
2860 else
2861 ac_save_c_werror_flag=$ac_c_werror_flag
2862 ac_c_werror_flag=yes
2863 ac_cv_prog_cc_g=no
2864 CFLAGS="-g"
2865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2866 /* end confdefs.h. */
2869 main ()
2873 return 0;
2875 _ACEOF
2876 if ac_fn_c_try_compile "$LINENO"; then :
2877 ac_cv_prog_cc_g=yes
2878 else
2879 CFLAGS=""
2880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2881 /* end confdefs.h. */
2884 main ()
2888 return 0;
2890 _ACEOF
2891 if ac_fn_c_try_compile "$LINENO"; then :
2893 else
2894 ac_c_werror_flag=$ac_save_c_werror_flag
2895 CFLAGS="-g"
2896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2897 /* end confdefs.h. */
2900 main ()
2904 return 0;
2906 _ACEOF
2907 if ac_fn_c_try_compile "$LINENO"; then :
2908 ac_cv_prog_cc_g=yes
2910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2915 ac_c_werror_flag=$ac_save_c_werror_flag
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2918 $as_echo "$ac_cv_prog_cc_g" >&6; }
2919 if test "$ac_test_CFLAGS" = set; then
2920 CFLAGS=$ac_save_CFLAGS
2921 elif test $ac_cv_prog_cc_g = yes; then
2922 if test "$GCC" = yes; then
2923 CFLAGS="-g -O2"
2924 else
2925 CFLAGS="-g"
2927 else
2928 if test "$GCC" = yes; then
2929 CFLAGS="-O2"
2930 else
2931 CFLAGS=
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2935 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2936 if ${ac_cv_prog_cc_c89+:} false; then :
2937 $as_echo_n "(cached) " >&6
2938 else
2939 ac_cv_prog_cc_c89=no
2940 ac_save_CC=$CC
2941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2942 /* end confdefs.h. */
2943 #include <stdarg.h>
2944 #include <stdio.h>
2945 struct stat;
2946 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2947 struct buf { int x; };
2948 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2949 static char *e (p, i)
2950 char **p;
2951 int i;
2953 return p[i];
2955 static char *f (char * (*g) (char **, int), char **p, ...)
2957 char *s;
2958 va_list v;
2959 va_start (v,p);
2960 s = g (p, va_arg (v,int));
2961 va_end (v);
2962 return s;
2965 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2966 function prototypes and stuff, but not '\xHH' hex character constants.
2967 These don't provoke an error unfortunately, instead are silently treated
2968 as 'x'. The following induces an error, until -std is added to get
2969 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2970 array size at least. It's necessary to write '\x00'==0 to get something
2971 that's true only with -std. */
2972 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2974 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2975 inside strings and character constants. */
2976 #define FOO(x) 'x'
2977 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2979 int test (int i, double x);
2980 struct s1 {int (*f) (int a);};
2981 struct s2 {int (*f) (double a);};
2982 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2983 int argc;
2984 char **argv;
2986 main ()
2988 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2990 return 0;
2992 _ACEOF
2993 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2994 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2996 CC="$ac_save_CC $ac_arg"
2997 if ac_fn_c_try_compile "$LINENO"; then :
2998 ac_cv_prog_cc_c89=$ac_arg
3000 rm -f core conftest.err conftest.$ac_objext
3001 test "x$ac_cv_prog_cc_c89" != "xno" && break
3002 done
3003 rm -f conftest.$ac_ext
3004 CC=$ac_save_CC
3007 # AC_CACHE_VAL
3008 case "x$ac_cv_prog_cc_c89" in
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3011 $as_echo "none needed" >&6; } ;;
3012 xno)
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3014 $as_echo "unsupported" >&6; } ;;
3016 CC="$CC $ac_cv_prog_cc_c89"
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3018 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3019 esac
3020 if test "x$ac_cv_prog_cc_c89" != xno; then :
3024 ac_ext=c
3025 ac_cpp='$CPP $CPPFLAGS'
3026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3031 ac_ext=c
3032 ac_cpp='$CPP $CPPFLAGS'
3033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3037 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3038 # On Suns, sometimes $CPP names a directory.
3039 if test -n "$CPP" && test -d "$CPP"; then
3040 CPP=
3042 if test -z "$CPP"; then
3043 if ${ac_cv_prog_CPP+:} false; then :
3044 $as_echo_n "(cached) " >&6
3045 else
3046 # Double quotes because CPP needs to be expanded
3047 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3049 ac_preproc_ok=false
3050 for ac_c_preproc_warn_flag in '' yes
3052 # Use a header file that comes with gcc, so configuring glibc
3053 # with a fresh cross-compiler works.
3054 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3055 # <limits.h> exists even on freestanding compilers.
3056 # On the NeXT, cc -E runs the code through the compiler's parser,
3057 # not just through cpp. "Syntax error" is here to catch this case.
3058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3059 /* end confdefs.h. */
3060 #ifdef __STDC__
3061 # include <limits.h>
3062 #else
3063 # include <assert.h>
3064 #endif
3065 Syntax error
3066 _ACEOF
3067 if ac_fn_c_try_cpp "$LINENO"; then :
3069 else
3070 # Broken: fails on valid input.
3071 continue
3073 rm -f conftest.err conftest.i conftest.$ac_ext
3075 # OK, works on sane cases. Now check whether nonexistent headers
3076 # can be detected and how.
3077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3078 /* end confdefs.h. */
3079 #include <ac_nonexistent.h>
3080 _ACEOF
3081 if ac_fn_c_try_cpp "$LINENO"; then :
3082 # Broken: success on invalid input.
3083 continue
3084 else
3085 # Passes both tests.
3086 ac_preproc_ok=:
3087 break
3089 rm -f conftest.err conftest.i conftest.$ac_ext
3091 done
3092 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3093 rm -f conftest.i conftest.err conftest.$ac_ext
3094 if $ac_preproc_ok; then :
3095 break
3098 done
3099 ac_cv_prog_CPP=$CPP
3102 CPP=$ac_cv_prog_CPP
3103 else
3104 ac_cv_prog_CPP=$CPP
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3107 $as_echo "$CPP" >&6; }
3108 ac_preproc_ok=false
3109 for ac_c_preproc_warn_flag in '' yes
3111 # Use a header file that comes with gcc, so configuring glibc
3112 # with a fresh cross-compiler works.
3113 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3114 # <limits.h> exists even on freestanding compilers.
3115 # On the NeXT, cc -E runs the code through the compiler's parser,
3116 # not just through cpp. "Syntax error" is here to catch this case.
3117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3118 /* end confdefs.h. */
3119 #ifdef __STDC__
3120 # include <limits.h>
3121 #else
3122 # include <assert.h>
3123 #endif
3124 Syntax error
3125 _ACEOF
3126 if ac_fn_c_try_cpp "$LINENO"; then :
3128 else
3129 # Broken: fails on valid input.
3130 continue
3132 rm -f conftest.err conftest.i conftest.$ac_ext
3134 # OK, works on sane cases. Now check whether nonexistent headers
3135 # can be detected and how.
3136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3137 /* end confdefs.h. */
3138 #include <ac_nonexistent.h>
3139 _ACEOF
3140 if ac_fn_c_try_cpp "$LINENO"; then :
3141 # Broken: success on invalid input.
3142 continue
3143 else
3144 # Passes both tests.
3145 ac_preproc_ok=:
3146 break
3148 rm -f conftest.err conftest.i conftest.$ac_ext
3150 done
3151 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3152 rm -f conftest.i conftest.err conftest.$ac_ext
3153 if $ac_preproc_ok; then :
3155 else
3156 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3158 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3159 See \`config.log' for more details" "$LINENO" 5; }
3162 ac_ext=c
3163 ac_cpp='$CPP $CPPFLAGS'
3164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3170 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3171 if ${ac_cv_path_GREP+:} false; then :
3172 $as_echo_n "(cached) " >&6
3173 else
3174 if test -z "$GREP"; then
3175 ac_path_GREP_found=false
3176 # Loop through the user's path and test for each of PROGNAME-LIST
3177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3178 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3180 IFS=$as_save_IFS
3181 test -z "$as_dir" && as_dir=.
3182 for ac_prog in grep ggrep; do
3183 for ac_exec_ext in '' $ac_executable_extensions; do
3184 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3185 as_fn_executable_p "$ac_path_GREP" || continue
3186 # Check for GNU ac_path_GREP and select it if it is found.
3187 # Check for GNU $ac_path_GREP
3188 case `"$ac_path_GREP" --version 2>&1` in
3189 *GNU*)
3190 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3192 ac_count=0
3193 $as_echo_n 0123456789 >"conftest.in"
3194 while :
3196 cat "conftest.in" "conftest.in" >"conftest.tmp"
3197 mv "conftest.tmp" "conftest.in"
3198 cp "conftest.in" "conftest.nl"
3199 $as_echo 'GREP' >> "conftest.nl"
3200 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3201 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3202 as_fn_arith $ac_count + 1 && ac_count=$as_val
3203 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3204 # Best one so far, save it but keep looking for a better one
3205 ac_cv_path_GREP="$ac_path_GREP"
3206 ac_path_GREP_max=$ac_count
3208 # 10*(2^10) chars as input seems more than enough
3209 test $ac_count -gt 10 && break
3210 done
3211 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3212 esac
3214 $ac_path_GREP_found && break 3
3215 done
3216 done
3217 done
3218 IFS=$as_save_IFS
3219 if test -z "$ac_cv_path_GREP"; then
3220 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3222 else
3223 ac_cv_path_GREP=$GREP
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3228 $as_echo "$ac_cv_path_GREP" >&6; }
3229 GREP="$ac_cv_path_GREP"
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3233 $as_echo_n "checking for egrep... " >&6; }
3234 if ${ac_cv_path_EGREP+:} false; then :
3235 $as_echo_n "(cached) " >&6
3236 else
3237 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3238 then ac_cv_path_EGREP="$GREP -E"
3239 else
3240 if test -z "$EGREP"; then
3241 ac_path_EGREP_found=false
3242 # Loop through the user's path and test for each of PROGNAME-LIST
3243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3244 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3246 IFS=$as_save_IFS
3247 test -z "$as_dir" && as_dir=.
3248 for ac_prog in egrep; do
3249 for ac_exec_ext in '' $ac_executable_extensions; do
3250 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3251 as_fn_executable_p "$ac_path_EGREP" || continue
3252 # Check for GNU ac_path_EGREP and select it if it is found.
3253 # Check for GNU $ac_path_EGREP
3254 case `"$ac_path_EGREP" --version 2>&1` in
3255 *GNU*)
3256 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3258 ac_count=0
3259 $as_echo_n 0123456789 >"conftest.in"
3260 while :
3262 cat "conftest.in" "conftest.in" >"conftest.tmp"
3263 mv "conftest.tmp" "conftest.in"
3264 cp "conftest.in" "conftest.nl"
3265 $as_echo 'EGREP' >> "conftest.nl"
3266 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3267 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3268 as_fn_arith $ac_count + 1 && ac_count=$as_val
3269 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3270 # Best one so far, save it but keep looking for a better one
3271 ac_cv_path_EGREP="$ac_path_EGREP"
3272 ac_path_EGREP_max=$ac_count
3274 # 10*(2^10) chars as input seems more than enough
3275 test $ac_count -gt 10 && break
3276 done
3277 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3278 esac
3280 $ac_path_EGREP_found && break 3
3281 done
3282 done
3283 done
3284 IFS=$as_save_IFS
3285 if test -z "$ac_cv_path_EGREP"; then
3286 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3288 else
3289 ac_cv_path_EGREP=$EGREP
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3295 $as_echo "$ac_cv_path_EGREP" >&6; }
3296 EGREP="$ac_cv_path_EGREP"
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3300 $as_echo_n "checking for ANSI C header files... " >&6; }
3301 if ${ac_cv_header_stdc+:} false; then :
3302 $as_echo_n "(cached) " >&6
3303 else
3304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3305 /* end confdefs.h. */
3306 #include <stdlib.h>
3307 #include <stdarg.h>
3308 #include <string.h>
3309 #include <float.h>
3312 main ()
3316 return 0;
3318 _ACEOF
3319 if ac_fn_c_try_compile "$LINENO"; then :
3320 ac_cv_header_stdc=yes
3321 else
3322 ac_cv_header_stdc=no
3324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3326 if test $ac_cv_header_stdc = yes; then
3327 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3329 /* end confdefs.h. */
3330 #include <string.h>
3332 _ACEOF
3333 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3334 $EGREP "memchr" >/dev/null 2>&1; then :
3336 else
3337 ac_cv_header_stdc=no
3339 rm -f conftest*
3343 if test $ac_cv_header_stdc = yes; then
3344 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3346 /* end confdefs.h. */
3347 #include <stdlib.h>
3349 _ACEOF
3350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3351 $EGREP "free" >/dev/null 2>&1; then :
3353 else
3354 ac_cv_header_stdc=no
3356 rm -f conftest*
3360 if test $ac_cv_header_stdc = yes; then
3361 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3362 if test "$cross_compiling" = yes; then :
3364 else
3365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3366 /* end confdefs.h. */
3367 #include <ctype.h>
3368 #include <stdlib.h>
3369 #if ((' ' & 0x0FF) == 0x020)
3370 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3371 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3372 #else
3373 # define ISLOWER(c) \
3374 (('a' <= (c) && (c) <= 'i') \
3375 || ('j' <= (c) && (c) <= 'r') \
3376 || ('s' <= (c) && (c) <= 'z'))
3377 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3378 #endif
3380 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3382 main ()
3384 int i;
3385 for (i = 0; i < 256; i++)
3386 if (XOR (islower (i), ISLOWER (i))
3387 || toupper (i) != TOUPPER (i))
3388 return 2;
3389 return 0;
3391 _ACEOF
3392 if ac_fn_c_try_run "$LINENO"; then :
3394 else
3395 ac_cv_header_stdc=no
3397 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3398 conftest.$ac_objext conftest.beam conftest.$ac_ext
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3404 $as_echo "$ac_cv_header_stdc" >&6; }
3405 if test $ac_cv_header_stdc = yes; then
3407 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3411 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3412 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3413 inttypes.h stdint.h unistd.h
3414 do :
3415 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3416 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3418 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3419 cat >>confdefs.h <<_ACEOF
3420 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3421 _ACEOF
3425 done
3428 for ac_header in pthread.h
3429 do :
3430 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
3431 if test "x$ac_cv_header_pthread_h" = xyes; then :
3432 cat >>confdefs.h <<_ACEOF
3433 #define HAVE_PTHREAD_H 1
3434 _ACEOF
3438 done
3443 if test "${build}" = "${host}" -a "${host}" = "${target}"; then
3444 case "${host}" in
3445 *gnu*)
3446 EXTRA_RULES=read1
3448 esac
3452 # Transform the name of some programs and generate the lib/pdtrace
3453 # test tool.
3454 test "$program_prefix" != NONE &&
3455 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3456 # Use a double $ so make ignores it.
3457 test "$program_suffix" != NONE &&
3458 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3459 # Double any \ or $.
3460 # By default was `s,x,x', remove it if useless.
3461 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3462 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3465 gdb_ac_transform=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'`
3466 STRIP_TRANSFORM_NAME=`echo strip | sed -e "$gdb_ac_transform"`
3467 if test "x$STRIP_TRANSFORM_NAME" = x; then
3468 STRIP_TRANSFORM_NAME=strip
3473 gdb_ac_transform=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'`
3474 READELF_TRANSFORM_NAME=`echo readelf | sed -e "$gdb_ac_transform"`
3475 if test "x$READELF_TRANSFORM_NAME" = x; then
3476 READELF_TRANSFORM_NAME=readelf
3481 gdb_ac_transform=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'`
3482 GAS_TRANSFORM_NAME=`echo as | sed -e "$gdb_ac_transform"`
3483 if test "x$GAS_TRANSFORM_NAME" = x; then
3484 GAS_TRANSFORM_NAME=as
3489 gdb_ac_transform=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'`
3490 NM_TRANSFORM_NAME=`echo nm | sed -e "$gdb_ac_transform"`
3491 if test "x$NM_TRANSFORM_NAME" = x; then
3492 NM_TRANSFORM_NAME=nm
3496 ac_config_files="$ac_config_files lib/pdtrace"
3498 ac_config_files="$ac_config_files Makefile"
3501 cat >confcache <<\_ACEOF
3502 # This file is a shell script that caches the results of configure
3503 # tests run on this system so they can be shared between configure
3504 # scripts and configure runs, see configure's option --config-cache.
3505 # It is not useful on other systems. If it contains results you don't
3506 # want to keep, you may remove or edit it.
3508 # config.status only pays attention to the cache file if you give it
3509 # the --recheck option to rerun configure.
3511 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3512 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3513 # following values.
3515 _ACEOF
3517 # The following way of writing the cache mishandles newlines in values,
3518 # but we know of no workaround that is simple, portable, and efficient.
3519 # So, we kill variables containing newlines.
3520 # Ultrix sh set writes to stderr and can't be redirected directly,
3521 # and sets the high bit in the cache file unless we assign to the vars.
3523 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3524 eval ac_val=\$$ac_var
3525 case $ac_val in #(
3526 *${as_nl}*)
3527 case $ac_var in #(
3528 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3529 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3530 esac
3531 case $ac_var in #(
3532 _ | IFS | as_nl) ;; #(
3533 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3534 *) { eval $ac_var=; unset $ac_var;} ;;
3535 esac ;;
3536 esac
3537 done
3539 (set) 2>&1 |
3540 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3541 *${as_nl}ac_space=\ *)
3542 # `set' does not quote correctly, so add quotes: double-quote
3543 # substitution turns \\\\ into \\, and sed turns \\ into \.
3544 sed -n \
3545 "s/'/'\\\\''/g;
3546 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3547 ;; #(
3549 # `set' quotes correctly as required by POSIX, so do not add quotes.
3550 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3552 esac |
3553 sort
3555 sed '
3556 /^ac_cv_env_/b end
3557 t clear
3558 :clear
3559 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3560 t end
3561 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3562 :end' >>confcache
3563 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3564 if test -w "$cache_file"; then
3565 if test "x$cache_file" != "x/dev/null"; then
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3567 $as_echo "$as_me: updating cache $cache_file" >&6;}
3568 if test ! -f "$cache_file" || test -h "$cache_file"; then
3569 cat confcache >"$cache_file"
3570 else
3571 case $cache_file in #(
3572 */* | ?:*)
3573 mv -f confcache "$cache_file"$$ &&
3574 mv -f "$cache_file"$$ "$cache_file" ;; #(
3576 mv -f confcache "$cache_file" ;;
3577 esac
3580 else
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3582 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3585 rm -f confcache
3587 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3588 # Let make expand exec_prefix.
3589 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3591 # Transform confdefs.h into DEFS.
3592 # Protect against shell expansion while executing Makefile rules.
3593 # Protect against Makefile macro expansion.
3595 # If the first sed substitution is executed (which looks for macros that
3596 # take arguments), then branch to the quote section. Otherwise,
3597 # look for a macro that doesn't take arguments.
3598 ac_script='
3599 :mline
3600 /\\$/{
3602 s,\\\n,,
3603 b mline
3605 t clear
3606 :clear
3607 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3608 t quote
3609 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3610 t quote
3611 b any
3612 :quote
3613 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3614 s/\[/\\&/g
3615 s/\]/\\&/g
3616 s/\$/$$/g
3618 :any
3621 s/^\n//
3622 s/\n/ /g
3626 DEFS=`sed -n "$ac_script" confdefs.h`
3629 ac_libobjs=
3630 ac_ltlibobjs=
3632 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3633 # 1. Remove the extension, and $U if already installed.
3634 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3635 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3636 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3637 # will be set to the directory where LIBOBJS objects are built.
3638 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3639 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3640 done
3641 LIBOBJS=$ac_libobjs
3643 LTLIBOBJS=$ac_ltlibobjs
3647 : "${CONFIG_STATUS=./config.status}"
3648 ac_write_fail=0
3649 ac_clean_files_save=$ac_clean_files
3650 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3652 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3653 as_write_fail=0
3654 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3655 #! $SHELL
3656 # Generated by $as_me.
3657 # Run this file to recreate the current configuration.
3658 # Compiler output produced by configure, useful for debugging
3659 # configure, is in config.log if it exists.
3661 debug=false
3662 ac_cs_recheck=false
3663 ac_cs_silent=false
3665 SHELL=\${CONFIG_SHELL-$SHELL}
3666 export SHELL
3667 _ASEOF
3668 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3669 ## -------------------- ##
3670 ## M4sh Initialization. ##
3671 ## -------------------- ##
3673 # Be more Bourne compatible
3674 DUALCASE=1; export DUALCASE # for MKS sh
3675 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3676 emulate sh
3677 NULLCMD=:
3678 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3679 # is contrary to our usage. Disable this feature.
3680 alias -g '${1+"$@"}'='"$@"'
3681 setopt NO_GLOB_SUBST
3682 else
3683 case `(set -o) 2>/dev/null` in #(
3684 *posix*) :
3685 set -o posix ;; #(
3686 *) :
3688 esac
3692 as_nl='
3694 export as_nl
3695 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3696 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3697 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3698 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3699 # Prefer a ksh shell builtin over an external printf program on Solaris,
3700 # but without wasting forks for bash or zsh.
3701 if test -z "$BASH_VERSION$ZSH_VERSION" \
3702 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3703 as_echo='print -r --'
3704 as_echo_n='print -rn --'
3705 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3706 as_echo='printf %s\n'
3707 as_echo_n='printf %s'
3708 else
3709 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3710 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3711 as_echo_n='/usr/ucb/echo -n'
3712 else
3713 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3714 as_echo_n_body='eval
3715 arg=$1;
3716 case $arg in #(
3717 *"$as_nl"*)
3718 expr "X$arg" : "X\\(.*\\)$as_nl";
3719 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3720 esac;
3721 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3723 export as_echo_n_body
3724 as_echo_n='sh -c $as_echo_n_body as_echo'
3726 export as_echo_body
3727 as_echo='sh -c $as_echo_body as_echo'
3730 # The user is always right.
3731 if test "${PATH_SEPARATOR+set}" != set; then
3732 PATH_SEPARATOR=:
3733 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3734 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3735 PATH_SEPARATOR=';'
3740 # IFS
3741 # We need space, tab and new line, in precisely that order. Quoting is
3742 # there to prevent editors from complaining about space-tab.
3743 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3744 # splitting by setting IFS to empty value.)
3745 IFS=" "" $as_nl"
3747 # Find who we are. Look in the path if we contain no directory separator.
3748 as_myself=
3749 case $0 in #((
3750 *[\\/]* ) as_myself=$0 ;;
3751 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3752 for as_dir in $PATH
3754 IFS=$as_save_IFS
3755 test -z "$as_dir" && as_dir=.
3756 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3757 done
3758 IFS=$as_save_IFS
3761 esac
3762 # We did not find ourselves, most probably we were run as `sh COMMAND'
3763 # in which case we are not to be found in the path.
3764 if test "x$as_myself" = x; then
3765 as_myself=$0
3767 if test ! -f "$as_myself"; then
3768 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3769 exit 1
3772 # Unset variables that we do not need and which cause bugs (e.g. in
3773 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3774 # suppresses any "Segmentation fault" message there. '((' could
3775 # trigger a bug in pdksh 5.2.14.
3776 for as_var in BASH_ENV ENV MAIL MAILPATH
3777 do eval test x\${$as_var+set} = xset \
3778 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3779 done
3780 PS1='$ '
3781 PS2='> '
3782 PS4='+ '
3784 # NLS nuisances.
3785 LC_ALL=C
3786 export LC_ALL
3787 LANGUAGE=C
3788 export LANGUAGE
3790 # CDPATH.
3791 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3794 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3795 # ----------------------------------------
3796 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3797 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3798 # script with STATUS, using 1 if that was 0.
3799 as_fn_error ()
3801 as_status=$1; test $as_status -eq 0 && as_status=1
3802 if test "$4"; then
3803 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3804 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3806 $as_echo "$as_me: error: $2" >&2
3807 as_fn_exit $as_status
3808 } # as_fn_error
3811 # as_fn_set_status STATUS
3812 # -----------------------
3813 # Set $? to STATUS, without forking.
3814 as_fn_set_status ()
3816 return $1
3817 } # as_fn_set_status
3819 # as_fn_exit STATUS
3820 # -----------------
3821 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3822 as_fn_exit ()
3824 set +e
3825 as_fn_set_status $1
3826 exit $1
3827 } # as_fn_exit
3829 # as_fn_unset VAR
3830 # ---------------
3831 # Portably unset VAR.
3832 as_fn_unset ()
3834 { eval $1=; unset $1;}
3836 as_unset=as_fn_unset
3837 # as_fn_append VAR VALUE
3838 # ----------------------
3839 # Append the text in VALUE to the end of the definition contained in VAR. Take
3840 # advantage of any shell optimizations that allow amortized linear growth over
3841 # repeated appends, instead of the typical quadratic growth present in naive
3842 # implementations.
3843 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3844 eval 'as_fn_append ()
3846 eval $1+=\$2
3848 else
3849 as_fn_append ()
3851 eval $1=\$$1\$2
3853 fi # as_fn_append
3855 # as_fn_arith ARG...
3856 # ------------------
3857 # Perform arithmetic evaluation on the ARGs, and store the result in the
3858 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3859 # must be portable across $(()) and expr.
3860 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3861 eval 'as_fn_arith ()
3863 as_val=$(( $* ))
3865 else
3866 as_fn_arith ()
3868 as_val=`expr "$@" || test $? -eq 1`
3870 fi # as_fn_arith
3873 if expr a : '\(a\)' >/dev/null 2>&1 &&
3874 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3875 as_expr=expr
3876 else
3877 as_expr=false
3880 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3881 as_basename=basename
3882 else
3883 as_basename=false
3886 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3887 as_dirname=dirname
3888 else
3889 as_dirname=false
3892 as_me=`$as_basename -- "$0" ||
3893 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3894 X"$0" : 'X\(//\)$' \| \
3895 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3896 $as_echo X/"$0" |
3897 sed '/^.*\/\([^/][^/]*\)\/*$/{
3898 s//\1/
3901 /^X\/\(\/\/\)$/{
3902 s//\1/
3905 /^X\/\(\/\).*/{
3906 s//\1/
3909 s/.*/./; q'`
3911 # Avoid depending upon Character Ranges.
3912 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3913 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3914 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3915 as_cr_digits='0123456789'
3916 as_cr_alnum=$as_cr_Letters$as_cr_digits
3918 ECHO_C= ECHO_N= ECHO_T=
3919 case `echo -n x` in #(((((
3920 -n*)
3921 case `echo 'xy\c'` in
3922 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3923 xy) ECHO_C='\c';;
3924 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3925 ECHO_T=' ';;
3926 esac;;
3928 ECHO_N='-n';;
3929 esac
3931 rm -f conf$$ conf$$.exe conf$$.file
3932 if test -d conf$$.dir; then
3933 rm -f conf$$.dir/conf$$.file
3934 else
3935 rm -f conf$$.dir
3936 mkdir conf$$.dir 2>/dev/null
3938 if (echo >conf$$.file) 2>/dev/null; then
3939 if ln -s conf$$.file conf$$ 2>/dev/null; then
3940 as_ln_s='ln -s'
3941 # ... but there are two gotchas:
3942 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3943 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3944 # In both cases, we have to default to `cp -pR'.
3945 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3946 as_ln_s='cp -pR'
3947 elif ln conf$$.file conf$$ 2>/dev/null; then
3948 as_ln_s=ln
3949 else
3950 as_ln_s='cp -pR'
3952 else
3953 as_ln_s='cp -pR'
3955 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3956 rmdir conf$$.dir 2>/dev/null
3959 # as_fn_mkdir_p
3960 # -------------
3961 # Create "$as_dir" as a directory, including parents if necessary.
3962 as_fn_mkdir_p ()
3965 case $as_dir in #(
3966 -*) as_dir=./$as_dir;;
3967 esac
3968 test -d "$as_dir" || eval $as_mkdir_p || {
3969 as_dirs=
3970 while :; do
3971 case $as_dir in #(
3972 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3973 *) as_qdir=$as_dir;;
3974 esac
3975 as_dirs="'$as_qdir' $as_dirs"
3976 as_dir=`$as_dirname -- "$as_dir" ||
3977 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3978 X"$as_dir" : 'X\(//\)[^/]' \| \
3979 X"$as_dir" : 'X\(//\)$' \| \
3980 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3981 $as_echo X"$as_dir" |
3982 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3983 s//\1/
3986 /^X\(\/\/\)[^/].*/{
3987 s//\1/
3990 /^X\(\/\/\)$/{
3991 s//\1/
3994 /^X\(\/\).*/{
3995 s//\1/
3998 s/.*/./; q'`
3999 test -d "$as_dir" && break
4000 done
4001 test -z "$as_dirs" || eval "mkdir $as_dirs"
4002 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4005 } # as_fn_mkdir_p
4006 if mkdir -p . 2>/dev/null; then
4007 as_mkdir_p='mkdir -p "$as_dir"'
4008 else
4009 test -d ./-p && rmdir ./-p
4010 as_mkdir_p=false
4014 # as_fn_executable_p FILE
4015 # -----------------------
4016 # Test if FILE is an executable regular file.
4017 as_fn_executable_p ()
4019 test -f "$1" && test -x "$1"
4020 } # as_fn_executable_p
4021 as_test_x='test -x'
4022 as_executable_p=as_fn_executable_p
4024 # Sed expression to map a string onto a valid CPP name.
4025 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4027 # Sed expression to map a string onto a valid variable name.
4028 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4031 exec 6>&1
4032 ## ----------------------------------- ##
4033 ## Main body of $CONFIG_STATUS script. ##
4034 ## ----------------------------------- ##
4035 _ASEOF
4036 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4038 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4039 # Save the log message, to keep $0 and so on meaningful, and to
4040 # report actual input values of CONFIG_FILES etc. instead of their
4041 # values after options handling.
4042 ac_log="
4043 This file was extended by $as_me, which was
4044 generated by GNU Autoconf 2.69. Invocation command line was
4046 CONFIG_FILES = $CONFIG_FILES
4047 CONFIG_HEADERS = $CONFIG_HEADERS
4048 CONFIG_LINKS = $CONFIG_LINKS
4049 CONFIG_COMMANDS = $CONFIG_COMMANDS
4050 $ $0 $@
4052 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4055 _ACEOF
4057 case $ac_config_files in *"
4058 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4059 esac
4063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4064 # Files that config.status was made for.
4065 config_files="$ac_config_files"
4067 _ACEOF
4069 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4070 ac_cs_usage="\
4071 \`$as_me' instantiates files and other configuration actions
4072 from templates according to the current configuration. Unless the files
4073 and actions are specified as TAGs, all are instantiated by default.
4075 Usage: $0 [OPTION]... [TAG]...
4077 -h, --help print this help, then exit
4078 -V, --version print version number and configuration settings, then exit
4079 --config print configuration, then exit
4080 -q, --quiet, --silent
4081 do not print progress messages
4082 -d, --debug don't remove temporary files
4083 --recheck update $as_me by reconfiguring in the same conditions
4084 --file=FILE[:TEMPLATE]
4085 instantiate the configuration file FILE
4087 Configuration files:
4088 $config_files
4090 Report bugs to the package provider."
4092 _ACEOF
4093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4094 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4095 ac_cs_version="\\
4096 config.status
4097 configured by $0, generated by GNU Autoconf 2.69,
4098 with options \\"\$ac_cs_config\\"
4100 Copyright (C) 2012 Free Software Foundation, Inc.
4101 This config.status script is free software; the Free Software Foundation
4102 gives unlimited permission to copy, distribute and modify it."
4104 ac_pwd='$ac_pwd'
4105 srcdir='$srcdir'
4106 test -n "\$AWK" || AWK=awk
4107 _ACEOF
4109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4110 # The default lists apply if the user does not specify any file.
4111 ac_need_defaults=:
4112 while test $# != 0
4114 case $1 in
4115 --*=?*)
4116 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4117 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4118 ac_shift=:
4120 --*=)
4121 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4122 ac_optarg=
4123 ac_shift=:
4126 ac_option=$1
4127 ac_optarg=$2
4128 ac_shift=shift
4130 esac
4132 case $ac_option in
4133 # Handling of the options.
4134 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4135 ac_cs_recheck=: ;;
4136 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4137 $as_echo "$ac_cs_version"; exit ;;
4138 --config | --confi | --conf | --con | --co | --c )
4139 $as_echo "$ac_cs_config"; exit ;;
4140 --debug | --debu | --deb | --de | --d | -d )
4141 debug=: ;;
4142 --file | --fil | --fi | --f )
4143 $ac_shift
4144 case $ac_optarg in
4145 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4146 '') as_fn_error $? "missing file argument" ;;
4147 esac
4148 as_fn_append CONFIG_FILES " '$ac_optarg'"
4149 ac_need_defaults=false;;
4150 --he | --h | --help | --hel | -h )
4151 $as_echo "$ac_cs_usage"; exit ;;
4152 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4153 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4154 ac_cs_silent=: ;;
4156 # This is an error.
4157 -*) as_fn_error $? "unrecognized option: \`$1'
4158 Try \`$0 --help' for more information." ;;
4160 *) as_fn_append ac_config_targets " $1"
4161 ac_need_defaults=false ;;
4163 esac
4164 shift
4165 done
4167 ac_configure_extra_args=
4169 if $ac_cs_silent; then
4170 exec 6>/dev/null
4171 ac_configure_extra_args="$ac_configure_extra_args --silent"
4174 _ACEOF
4175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4176 if \$ac_cs_recheck; then
4177 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4178 shift
4179 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4180 CONFIG_SHELL='$SHELL'
4181 export CONFIG_SHELL
4182 exec "\$@"
4185 _ACEOF
4186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4187 exec 5>>config.log
4189 echo
4190 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4191 ## Running $as_me. ##
4192 _ASBOX
4193 $as_echo "$ac_log"
4194 } >&5
4196 _ACEOF
4197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4198 _ACEOF
4200 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4202 # Handling of arguments.
4203 for ac_config_target in $ac_config_targets
4205 case $ac_config_target in
4206 "lib/pdtrace") CONFIG_FILES="$CONFIG_FILES lib/pdtrace" ;;
4207 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4209 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4210 esac
4211 done
4214 # If the user did not use the arguments to specify the items to instantiate,
4215 # then the envvar interface is used. Set only those that are not.
4216 # We use the long form for the default assignment because of an extremely
4217 # bizarre bug on SunOS 4.1.3.
4218 if $ac_need_defaults; then
4219 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4222 # Have a temporary directory for convenience. Make it in the build tree
4223 # simply because there is no reason against having it here, and in addition,
4224 # creating and moving files from /tmp can sometimes cause problems.
4225 # Hook for its removal unless debugging.
4226 # Note that there is a small window in which the directory will not be cleaned:
4227 # after its creation but before its name has been assigned to `$tmp'.
4228 $debug ||
4230 tmp= ac_tmp=
4231 trap 'exit_status=$?
4232 : "${ac_tmp:=$tmp}"
4233 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4235 trap 'as_fn_exit 1' 1 2 13 15
4237 # Create a (secure) tmp directory for tmp files.
4240 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4241 test -d "$tmp"
4242 } ||
4244 tmp=./conf$$-$RANDOM
4245 (umask 077 && mkdir "$tmp")
4246 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4247 ac_tmp=$tmp
4249 # Set up the scripts for CONFIG_FILES section.
4250 # No need to generate them if there are no CONFIG_FILES.
4251 # This happens for instance with `./config.status config.h'.
4252 if test -n "$CONFIG_FILES"; then
4255 ac_cr=`echo X | tr X '\015'`
4256 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4257 # But we know of no other shell where ac_cr would be empty at this
4258 # point, so we can use a bashism as a fallback.
4259 if test "x$ac_cr" = x; then
4260 eval ac_cr=\$\'\\r\'
4262 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4263 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4264 ac_cs_awk_cr='\\r'
4265 else
4266 ac_cs_awk_cr=$ac_cr
4269 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4270 _ACEOF
4274 echo "cat >conf$$subs.awk <<_ACEOF" &&
4275 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4276 echo "_ACEOF"
4277 } >conf$$subs.sh ||
4278 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4279 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4280 ac_delim='%!_!# '
4281 for ac_last_try in false false false false false :; do
4282 . ./conf$$subs.sh ||
4283 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4285 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4286 if test $ac_delim_n = $ac_delim_num; then
4287 break
4288 elif $ac_last_try; then
4289 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4290 else
4291 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4293 done
4294 rm -f conf$$subs.sh
4296 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4297 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4298 _ACEOF
4299 sed -n '
4301 s/^/S["/; s/!.*/"]=/
4304 s/^[^!]*!//
4305 :repl
4306 t repl
4307 s/'"$ac_delim"'$//
4308 t delim
4311 s/\(.\{148\}\)..*/\1/
4312 t more1
4313 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4316 b repl
4317 :more1
4318 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4321 s/.\{148\}//
4322 t nl
4323 :delim
4325 s/\(.\{148\}\)..*/\1/
4326 t more2
4327 s/["\\]/\\&/g; s/^/"/; s/$/"/
4330 :more2
4331 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4334 s/.\{148\}//
4335 t delim
4336 ' <conf$$subs.awk | sed '
4337 /^[^""]/{
4339 s/\n//
4341 ' >>$CONFIG_STATUS || ac_write_fail=1
4342 rm -f conf$$subs.awk
4343 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4344 _ACAWK
4345 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4346 for (key in S) S_is_set[key] = 1
4347 FS = "\a"
4351 line = $ 0
4352 nfields = split(line, field, "@")
4353 substed = 0
4354 len = length(field[1])
4355 for (i = 2; i < nfields; i++) {
4356 key = field[i]
4357 keylen = length(key)
4358 if (S_is_set[key]) {
4359 value = S[key]
4360 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4361 len += length(value) + length(field[++i])
4362 substed = 1
4363 } else
4364 len += 1 + keylen
4367 print line
4370 _ACAWK
4371 _ACEOF
4372 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4373 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4374 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4375 else
4377 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4378 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4379 _ACEOF
4381 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4382 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4383 # trailing colons and then remove the whole line if VPATH becomes empty
4384 # (actually we leave an empty line to preserve line numbers).
4385 if test "x$srcdir" = x.; then
4386 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4388 s///
4389 s/^/:/
4390 s/[ ]*$/:/
4391 s/:\$(srcdir):/:/g
4392 s/:\${srcdir}:/:/g
4393 s/:@srcdir@:/:/g
4394 s/^:*//
4395 s/:*$//
4397 s/\(=[ ]*\).*/\1/
4399 s/\n//
4400 s/^[^=]*=[ ]*$//
4404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4405 fi # test -n "$CONFIG_FILES"
4408 eval set X " :F $CONFIG_FILES "
4409 shift
4410 for ac_tag
4412 case $ac_tag in
4413 :[FHLC]) ac_mode=$ac_tag; continue;;
4414 esac
4415 case $ac_mode$ac_tag in
4416 :[FHL]*:*);;
4417 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4418 :[FH]-) ac_tag=-:-;;
4419 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4420 esac
4421 ac_save_IFS=$IFS
4422 IFS=:
4423 set x $ac_tag
4424 IFS=$ac_save_IFS
4425 shift
4426 ac_file=$1
4427 shift
4429 case $ac_mode in
4430 :L) ac_source=$1;;
4431 :[FH])
4432 ac_file_inputs=
4433 for ac_f
4435 case $ac_f in
4436 -) ac_f="$ac_tmp/stdin";;
4437 *) # Look for the file first in the build tree, then in the source tree
4438 # (if the path is not absolute). The absolute path cannot be DOS-style,
4439 # because $ac_f cannot contain `:'.
4440 test -f "$ac_f" ||
4441 case $ac_f in
4442 [\\/$]*) false;;
4443 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4444 esac ||
4445 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4446 esac
4447 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4448 as_fn_append ac_file_inputs " '$ac_f'"
4449 done
4451 # Let's still pretend it is `configure' which instantiates (i.e., don't
4452 # use $as_me), people would be surprised to read:
4453 # /* config.h. Generated by config.status. */
4454 configure_input='Generated from '`
4455 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4456 `' by configure.'
4457 if test x"$ac_file" != x-; then
4458 configure_input="$ac_file. $configure_input"
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4460 $as_echo "$as_me: creating $ac_file" >&6;}
4462 # Neutralize special characters interpreted by sed in replacement strings.
4463 case $configure_input in #(
4464 *\&* | *\|* | *\\* )
4465 ac_sed_conf_input=`$as_echo "$configure_input" |
4466 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4467 *) ac_sed_conf_input=$configure_input;;
4468 esac
4470 case $ac_tag in
4471 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4472 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4473 esac
4475 esac
4477 ac_dir=`$as_dirname -- "$ac_file" ||
4478 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4479 X"$ac_file" : 'X\(//\)[^/]' \| \
4480 X"$ac_file" : 'X\(//\)$' \| \
4481 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4482 $as_echo X"$ac_file" |
4483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4484 s//\1/
4487 /^X\(\/\/\)[^/].*/{
4488 s//\1/
4491 /^X\(\/\/\)$/{
4492 s//\1/
4495 /^X\(\/\).*/{
4496 s//\1/
4499 s/.*/./; q'`
4500 as_dir="$ac_dir"; as_fn_mkdir_p
4501 ac_builddir=.
4503 case "$ac_dir" in
4504 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4506 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4507 # A ".." for each directory in $ac_dir_suffix.
4508 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4509 case $ac_top_builddir_sub in
4510 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4511 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4512 esac ;;
4513 esac
4514 ac_abs_top_builddir=$ac_pwd
4515 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4516 # for backward compatibility:
4517 ac_top_builddir=$ac_top_build_prefix
4519 case $srcdir in
4520 .) # We are building in place.
4521 ac_srcdir=.
4522 ac_top_srcdir=$ac_top_builddir_sub
4523 ac_abs_top_srcdir=$ac_pwd ;;
4524 [\\/]* | ?:[\\/]* ) # Absolute name.
4525 ac_srcdir=$srcdir$ac_dir_suffix;
4526 ac_top_srcdir=$srcdir
4527 ac_abs_top_srcdir=$srcdir ;;
4528 *) # Relative name.
4529 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4530 ac_top_srcdir=$ac_top_build_prefix$srcdir
4531 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4532 esac
4533 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4536 case $ac_mode in
4539 # CONFIG_FILE
4542 _ACEOF
4544 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4545 # If the template does not know about datarootdir, expand it.
4546 # FIXME: This hack should be removed a few years after 2.60.
4547 ac_datarootdir_hack=; ac_datarootdir_seen=
4548 ac_sed_dataroot='
4549 /datarootdir/ {
4553 /@datadir@/p
4554 /@docdir@/p
4555 /@infodir@/p
4556 /@localedir@/p
4557 /@mandir@/p'
4558 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4559 *datarootdir*) ac_datarootdir_seen=yes;;
4560 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4562 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4563 _ACEOF
4564 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4565 ac_datarootdir_hack='
4566 s&@datadir@&$datadir&g
4567 s&@docdir@&$docdir&g
4568 s&@infodir@&$infodir&g
4569 s&@localedir@&$localedir&g
4570 s&@mandir@&$mandir&g
4571 s&\\\${datarootdir}&$datarootdir&g' ;;
4572 esac
4573 _ACEOF
4575 # Neutralize VPATH when `$srcdir' = `.'.
4576 # Shell code in configure.ac might set extrasub.
4577 # FIXME: do we really want to maintain this feature?
4578 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4579 ac_sed_extra="$ac_vpsub
4580 $extrasub
4581 _ACEOF
4582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4584 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4585 s|@configure_input@|$ac_sed_conf_input|;t t
4586 s&@top_builddir@&$ac_top_builddir_sub&;t t
4587 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4588 s&@srcdir@&$ac_srcdir&;t t
4589 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4590 s&@top_srcdir@&$ac_top_srcdir&;t t
4591 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4592 s&@builddir@&$ac_builddir&;t t
4593 s&@abs_builddir@&$ac_abs_builddir&;t t
4594 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4595 $ac_datarootdir_hack
4597 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4598 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4600 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4601 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4602 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4603 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4605 which seems to be undefined. Please make sure it is defined" >&5
4606 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4607 which seems to be undefined. Please make sure it is defined" >&2;}
4609 rm -f "$ac_tmp/stdin"
4610 case $ac_file in
4611 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4612 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4613 esac \
4614 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4619 esac
4622 case $ac_file$ac_mode in
4623 "lib/pdtrace":F) chmod +x lib/pdtrace ;;
4625 esac
4626 done # for ac_tag
4629 as_fn_exit 0
4630 _ACEOF
4631 ac_clean_files=$ac_clean_files_save
4633 test $ac_write_fail = 0 ||
4634 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4637 # configure is writing to config.log, and then calls config.status.
4638 # config.status does its own redirection, appending to config.log.
4639 # Unfortunately, on DOS this fails, as config.log is still kept open
4640 # by configure, so config.status won't be able to write to it; its
4641 # output is simply discarded. So we exec the FD to /dev/null,
4642 # effectively closing config.log, so it can be properly (re)opened and
4643 # appended to by config.status. When coming back to configure, we
4644 # need to make the FD available again.
4645 if test "$no_create" != yes; then
4646 ac_cs_success=:
4647 ac_config_status_args=
4648 test "$silent" = yes &&
4649 ac_config_status_args="$ac_config_status_args --quiet"
4650 exec 5>/dev/null
4651 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4652 exec 5>>config.log
4653 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4654 # would make configure fail if this is the last instruction.
4655 $ac_cs_success || as_fn_exit 1
4659 # CONFIG_SUBDIRS section.
4661 if test "$no_recursion" != yes; then
4663 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
4664 # so they do not pile up.
4665 ac_sub_configure_args=
4666 ac_prev=
4667 eval "set x $ac_configure_args"
4668 shift
4669 for ac_arg
4671 if test -n "$ac_prev"; then
4672 ac_prev=
4673 continue
4675 case $ac_arg in
4676 -cache-file | --cache-file | --cache-fil | --cache-fi \
4677 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4678 ac_prev=cache_file ;;
4679 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4680 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
4681 | --c=*)
4683 --config-cache | -C)
4685 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4686 ac_prev=srcdir ;;
4687 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4689 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4690 ac_prev=prefix ;;
4691 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4693 --disable-option-checking)
4696 case $ac_arg in
4697 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4698 esac
4699 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
4700 esac
4701 done
4703 # Always prepend --prefix to ensure using the same prefix
4704 # in subdir configurations.
4705 ac_arg="--prefix=$prefix"
4706 case $ac_arg in
4707 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4708 esac
4709 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
4711 # Pass --silent
4712 if test "$silent" = yes; then
4713 ac_sub_configure_args="--silent $ac_sub_configure_args"
4716 # Always prepend --disable-option-checking to silence warnings, since
4717 # different subdirs can have different --enable and --with options.
4718 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
4720 ac_popdir=`pwd`
4721 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
4723 # Do not complain, so a configure script can configure whichever
4724 # parts of a large source tree are present.
4725 test -d "$srcdir/$ac_dir" || continue
4727 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
4728 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
4729 $as_echo "$ac_msg" >&6
4730 as_dir="$ac_dir"; as_fn_mkdir_p
4731 ac_builddir=.
4733 case "$ac_dir" in
4734 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4736 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4737 # A ".." for each directory in $ac_dir_suffix.
4738 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4739 case $ac_top_builddir_sub in
4740 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4741 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4742 esac ;;
4743 esac
4744 ac_abs_top_builddir=$ac_pwd
4745 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4746 # for backward compatibility:
4747 ac_top_builddir=$ac_top_build_prefix
4749 case $srcdir in
4750 .) # We are building in place.
4751 ac_srcdir=.
4752 ac_top_srcdir=$ac_top_builddir_sub
4753 ac_abs_top_srcdir=$ac_pwd ;;
4754 [\\/]* | ?:[\\/]* ) # Absolute name.
4755 ac_srcdir=$srcdir$ac_dir_suffix;
4756 ac_top_srcdir=$srcdir
4757 ac_abs_top_srcdir=$srcdir ;;
4758 *) # Relative name.
4759 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4760 ac_top_srcdir=$ac_top_build_prefix$srcdir
4761 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4762 esac
4763 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4766 cd "$ac_dir"
4768 # Check for guested configure; otherwise get Cygnus style configure.
4769 if test -f "$ac_srcdir/configure.gnu"; then
4770 ac_sub_configure=$ac_srcdir/configure.gnu
4771 elif test -f "$ac_srcdir/configure"; then
4772 ac_sub_configure=$ac_srcdir/configure
4773 elif test -f "$ac_srcdir/configure.in"; then
4774 # This should be Cygnus configure.
4775 ac_sub_configure=$ac_aux_dir/configure
4776 else
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
4778 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
4779 ac_sub_configure=
4782 # The recursion is here.
4783 if test -n "$ac_sub_configure"; then
4784 # Make the cache file name correct relative to the subdirectory.
4785 case $cache_file in
4786 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
4787 *) # Relative name.
4788 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
4789 esac
4791 { $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
4792 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4793 # The eval makes quoting arguments work.
4794 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
4795 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
4796 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
4799 cd "$ac_popdir"
4800 done
4802 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4804 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}