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