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