]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/testsuite/configure
config: Sync with GCC
[thirdparty/binutils-gdb.git] / sim / 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## -------------------- ##
b7026657 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 :
b7026657
AC
18 emulate sh
19 NULLCMD=:
81ecdfbb 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
b7026657
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
b7026657 31fi
b7026657 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'
b7026657 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 }
b7026657
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
b7026657
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"
172 if (eval "$as_required") 2>/dev/null; then :
173 as_have_required=yes
174else
175 as_have_required=no
176fi
177 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
178
179else
180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
181as_found=false
182for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
b7026657 183do
81ecdfbb
RW
184 IFS=$as_save_IFS
185 test -z "$as_dir" && as_dir=.
186 as_found=:
187 case $as_dir in #(
188 /*)
189 for as_base in sh bash ksh sh5; do
190 # Try only shells that exist, to save several forks.
191 as_shell=$as_dir/$as_base
192 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
193 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
194 CONFIG_SHELL=$as_shell as_have_required=yes
195 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
196 break 2
197fi
198fi
199 done;;
200 esac
201 as_found=false
202done
203$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
205 CONFIG_SHELL=$SHELL as_have_required=yes
206fi; }
207IFS=$as_save_IFS
208
209
210 if test "x$CONFIG_SHELL" != x; then :
211 # We cannot yet assume a decent shell, so we have to provide a
212 # neutralization value for shells without unset; and this also
213 # works around shells that cannot unset nonexistent variables.
214 BASH_ENV=/dev/null
215 ENV=/dev/null
216 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
217 export CONFIG_SHELL
218 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
219fi
220
221 if test x$as_have_required = xno; then :
222 $as_echo "$0: This script requires a shell more modern than all"
223 $as_echo "$0: the shells that I found on your system."
224 if test x${ZSH_VERSION+set} = xset ; then
225 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
226 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
b7026657 227 else
81ecdfbb
RW
228 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
229$0: including any error possibly output before this
230$0: message. Then install a modern shell, or manually run
231$0: the script under such a shell if you do have one."
b7026657 232 fi
81ecdfbb
RW
233 exit 1
234fi
235fi
236fi
237SHELL=${CONFIG_SHELL-/bin/sh}
238export SHELL
239# Unset more variables known to interfere with behavior of common tools.
240CLICOLOR_FORCE= GREP_OPTIONS=
241unset CLICOLOR_FORCE GREP_OPTIONS
242
243## --------------------- ##
244## M4sh Shell Functions. ##
245## --------------------- ##
246# as_fn_unset VAR
247# ---------------
248# Portably unset VAR.
249as_fn_unset ()
250{
251 { eval $1=; unset $1;}
252}
253as_unset=as_fn_unset
254
255# as_fn_set_status STATUS
256# -----------------------
257# Set $? to STATUS, without forking.
258as_fn_set_status ()
259{
260 return $1
261} # as_fn_set_status
262
263# as_fn_exit STATUS
264# -----------------
265# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
266as_fn_exit ()
267{
268 set +e
269 as_fn_set_status $1
270 exit $1
271} # as_fn_exit
272
273# as_fn_mkdir_p
274# -------------
275# Create "$as_dir" as a directory, including parents if necessary.
276as_fn_mkdir_p ()
277{
278
279 case $as_dir in #(
280 -*) as_dir=./$as_dir;;
281 esac
282 test -d "$as_dir" || eval $as_mkdir_p || {
283 as_dirs=
284 while :; do
285 case $as_dir in #(
286 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
287 *) as_qdir=$as_dir;;
288 esac
289 as_dirs="'$as_qdir' $as_dirs"
290 as_dir=`$as_dirname -- "$as_dir" ||
291$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
292 X"$as_dir" : 'X\(//\)[^/]' \| \
293 X"$as_dir" : 'X\(//\)$' \| \
294 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
295$as_echo X"$as_dir" |
296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
297 s//\1/
298 q
299 }
300 /^X\(\/\/\)[^/].*/{
301 s//\1/
302 q
303 }
304 /^X\(\/\/\)$/{
305 s//\1/
306 q
307 }
308 /^X\(\/\).*/{
309 s//\1/
310 q
311 }
312 s/.*/./; q'`
313 test -d "$as_dir" && break
314 done
315 test -z "$as_dirs" || eval "mkdir $as_dirs"
316 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
317
318
319} # as_fn_mkdir_p
320# as_fn_append VAR VALUE
321# ----------------------
322# Append the text in VALUE to the end of the definition contained in VAR. Take
323# advantage of any shell optimizations that allow amortized linear growth over
324# repeated appends, instead of the typical quadratic growth present in naive
325# implementations.
326if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
327 eval 'as_fn_append ()
328 {
329 eval $1+=\$2
330 }'
331else
332 as_fn_append ()
333 {
334 eval $1=\$$1\$2
335 }
336fi # as_fn_append
337
338# as_fn_arith ARG...
339# ------------------
340# Perform arithmetic evaluation on the ARGs, and store the result in the
341# global $as_val. Take advantage of shells that can avoid forks. The arguments
342# must be portable across $(()) and expr.
343if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
344 eval 'as_fn_arith ()
345 {
346 as_val=$(( $* ))
347 }'
348else
349 as_fn_arith ()
350 {
351 as_val=`expr "$@" || test $? -eq 1`
352 }
353fi # as_fn_arith
354
355
356# as_fn_error ERROR [LINENO LOG_FD]
357# ---------------------------------
358# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
359# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
360# script with status $?, using 1 if that was 0.
361as_fn_error ()
362{
363 as_status=$?; test $as_status -eq 0 && as_status=1
364 if test "$3"; then
365 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
366 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
367 fi
368 $as_echo "$as_me: error: $1" >&2
369 as_fn_exit $as_status
370} # as_fn_error
b7026657 371
81ecdfbb
RW
372if expr a : '\(a\)' >/dev/null 2>&1 &&
373 test "X`expr 00001 : '.*\(...\)'`" = X001; then
b7026657
AC
374 as_expr=expr
375else
376 as_expr=false
377fi
378
81ecdfbb 379if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
b7026657
AC
380 as_basename=basename
381else
382 as_basename=false
383fi
384
81ecdfbb
RW
385if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
386 as_dirname=dirname
387else
388 as_dirname=false
389fi
b7026657 390
81ecdfbb 391as_me=`$as_basename -- "$0" ||
b7026657
AC
392$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
393 X"$0" : 'X\(//\)$' \| \
81ecdfbb
RW
394 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
395$as_echo X/"$0" |
396 sed '/^.*\/\([^/][^/]*\)\/*$/{
397 s//\1/
398 q
399 }
400 /^X\/\(\/\/\)$/{
401 s//\1/
402 q
403 }
404 /^X\/\(\/\).*/{
405 s//\1/
406 q
407 }
408 s/.*/./; q'`
b7026657 409
b7026657
AC
410# Avoid depending upon Character Ranges.
411as_cr_letters='abcdefghijklmnopqrstuvwxyz'
412as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
413as_cr_Letters=$as_cr_letters$as_cr_LETTERS
414as_cr_digits='0123456789'
415as_cr_alnum=$as_cr_Letters$as_cr_digits
416
b7026657 417
81ecdfbb
RW
418 as_lineno_1=$LINENO as_lineno_1a=$LINENO
419 as_lineno_2=$LINENO as_lineno_2a=$LINENO
420 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
421 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
422 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
423 sed -n '
424 p
425 /[$]LINENO/=
426 ' <$as_myself |
b7026657 427 sed '
81ecdfbb
RW
428 s/[$]LINENO.*/&-/
429 t lineno
430 b
431 :lineno
b7026657 432 N
81ecdfbb
RW
433 :loop
434 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
b7026657 435 t loop
81ecdfbb 436 s/-\n.*//
b7026657 437 ' >$as_me.lineno &&
81ecdfbb
RW
438 chmod +x "$as_me.lineno" ||
439 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
b7026657
AC
440
441 # Don't try to exec as it changes $[0], causing all sort of problems
442 # (the dirname of $[0] is not the place where we might find the
81ecdfbb
RW
443 # original and so on. Autoconf is especially sensitive to this).
444 . "./$as_me.lineno"
b7026657
AC
445 # Exit status is that of the last command.
446 exit
447}
448
81ecdfbb
RW
449ECHO_C= ECHO_N= ECHO_T=
450case `echo -n x` in #(((((
451-n*)
452 case `echo 'xy\c'` in
453 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
454 xy) ECHO_C='\c';;
455 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
456 ECHO_T=' ';;
457 esac;;
458*)
459 ECHO_N='-n';;
b7026657
AC
460esac
461
81ecdfbb
RW
462rm -f conf$$ conf$$.exe conf$$.file
463if test -d conf$$.dir; then
464 rm -f conf$$.dir/conf$$.file
b7026657 465else
81ecdfbb
RW
466 rm -f conf$$.dir
467 mkdir conf$$.dir 2>/dev/null
b7026657 468fi
81ecdfbb
RW
469if (echo >conf$$.file) 2>/dev/null; then
470 if ln -s conf$$.file conf$$ 2>/dev/null; then
b7026657 471 as_ln_s='ln -s'
81ecdfbb
RW
472 # ... but there are two gotchas:
473 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
474 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
475 # In both cases, we have to default to `cp -p'.
476 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
477 as_ln_s='cp -p'
478 elif ln conf$$.file conf$$ 2>/dev/null; then
479 as_ln_s=ln
480 else
481 as_ln_s='cp -p'
b7026657 482 fi
b7026657
AC
483else
484 as_ln_s='cp -p'
485fi
81ecdfbb
RW
486rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
487rmdir conf$$.dir 2>/dev/null
b7026657
AC
488
489if mkdir -p . 2>/dev/null; then
81ecdfbb 490 as_mkdir_p='mkdir -p "$as_dir"'
b7026657
AC
491else
492 test -d ./-p && rmdir ./-p
493 as_mkdir_p=false
494fi
495
81ecdfbb
RW
496if test -x / >/dev/null 2>&1; then
497 as_test_x='test -x'
498else
499 if ls -dL / >/dev/null 2>&1; then
500 as_ls_L_option=L
501 else
502 as_ls_L_option=
503 fi
504 as_test_x='
505 eval sh -c '\''
506 if test -d "$1"; then
507 test -d "$1/.";
508 else
509 case $1 in #(
510 -*)set "./$1";;
511 esac;
512 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
513 ???[sx]*):;;*)false;;esac;fi
514 '\'' sh
515 '
516fi
517as_executable_p=$as_test_x
b7026657
AC
518
519# Sed expression to map a string onto a valid CPP name.
520as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
521
522# Sed expression to map a string onto a valid variable name.
523as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
524
525
81ecdfbb 526exec 7<&0 </dev/null 6>&1
c906108c 527
b7026657
AC
528# Name of the host.
529# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
530# so uname gets run too.
531ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
532
b7026657
AC
533#
534# Initializations.
535#
c906108c 536ac_default_prefix=/usr/local
81ecdfbb 537ac_clean_files=
b7026657 538ac_config_libobj_dir=.
81ecdfbb 539LIBOBJS=
b7026657
AC
540cross_compiling=no
541subdirs=
542MFLAGS=
543MAKEFLAGS=
b7026657
AC
544
545# Identity of this package.
546PACKAGE_NAME=
547PACKAGE_TARNAME=
548PACKAGE_VERSION=
549PACKAGE_STRING=
550PACKAGE_BUGREPORT=
81ecdfbb 551PACKAGE_URL=
b7026657
AC
552
553ac_unique_file="common/bits-tst.c"
81ecdfbb
RW
554enable_option_checking=no
555ac_subst_vars='LTLIBOBJS
556LIBOBJS
119da465 557sim_arch
81ecdfbb
RW
558subdirs
559target_os
560target_vendor
561target_cpu
562target
563host_os
564host_vendor
565host_cpu
566host
567build_os
568build_vendor
569build_cpu
570build
571CC
572target_alias
573host_alias
574build_alias
575LIBS
576ECHO_T
577ECHO_N
578ECHO_C
579DEFS
580mandir
581localedir
582libdir
583psdir
584pdfdir
585dvidir
586htmldir
587infodir
588docdir
589oldincludedir
590includedir
591localstatedir
592sharedstatedir
593sysconfdir
594datadir
595datarootdir
596libexecdir
597sbindir
598bindir
599program_transform_name
600prefix
601exec_prefix
602PACKAGE_URL
603PACKAGE_BUGREPORT
604PACKAGE_STRING
605PACKAGE_VERSION
606PACKAGE_TARNAME
607PACKAGE_NAME
608PATH_SEPARATOR
609SHELL'
b7026657 610ac_subst_files=''
81ecdfbb
RW
611ac_user_opts='
612enable_option_checking
613'
614 ac_precious_vars='build_alias
615host_alias
616target_alias'
e8713c0f
MF
617ac_subdirs_all='d10v-elf
618frv-elf
81ecdfbb
RW
619m32r-elf
620mips64el-elf'
c906108c
SS
621
622# Initialize some variables set by options.
b7026657
AC
623ac_init_help=
624ac_init_version=false
81ecdfbb
RW
625ac_unrecognized_opts=
626ac_unrecognized_sep=
c906108c
SS
627# The variables have the same names as the options, with
628# dashes changed to underlines.
b7026657 629cache_file=/dev/null
c906108c 630exec_prefix=NONE
c906108c 631no_create=
c906108c
SS
632no_recursion=
633prefix=NONE
634program_prefix=NONE
635program_suffix=NONE
636program_transform_name=s,x,x,
637silent=
638site=
639srcdir=
c906108c
SS
640verbose=
641x_includes=NONE
642x_libraries=NONE
b7026657
AC
643
644# Installation directory options.
645# These are left unexpanded so users can "make install exec_prefix=/foo"
646# and all the variables that are supposed to be based on exec_prefix
647# by default will actually change.
648# Use braces instead of parens because sh, perl, etc. also accept them.
81ecdfbb 649# (The list follows the same order as the GNU Coding Standards.)
c906108c
SS
650bindir='${exec_prefix}/bin'
651sbindir='${exec_prefix}/sbin'
652libexecdir='${exec_prefix}/libexec'
81ecdfbb
RW
653datarootdir='${prefix}/share'
654datadir='${datarootdir}'
c906108c
SS
655sysconfdir='${prefix}/etc'
656sharedstatedir='${prefix}/com'
657localstatedir='${prefix}/var'
c906108c
SS
658includedir='${prefix}/include'
659oldincludedir='/usr/include'
81ecdfbb
RW
660docdir='${datarootdir}/doc/${PACKAGE}'
661infodir='${datarootdir}/info'
662htmldir='${docdir}'
663dvidir='${docdir}'
664pdfdir='${docdir}'
665psdir='${docdir}'
666libdir='${exec_prefix}/lib'
667localedir='${datarootdir}/locale'
668mandir='${datarootdir}/man'
c906108c 669
c906108c 670ac_prev=
81ecdfbb 671ac_dashdash=
c906108c
SS
672for ac_option
673do
c906108c
SS
674 # If the previous option needs an argument, assign it.
675 if test -n "$ac_prev"; then
81ecdfbb 676 eval $ac_prev=\$ac_option
c906108c
SS
677 ac_prev=
678 continue
679 fi
680
81ecdfbb
RW
681 case $ac_option in
682 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
683 *) ac_optarg=yes ;;
684 esac
c906108c
SS
685
686 # Accept the important Cygnus configure options, so we can diagnose typos.
687
81ecdfbb
RW
688 case $ac_dashdash$ac_option in
689 --)
690 ac_dashdash=yes ;;
c906108c
SS
691
692 -bindir | --bindir | --bindi | --bind | --bin | --bi)
693 ac_prev=bindir ;;
694 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
b7026657 695 bindir=$ac_optarg ;;
c906108c
SS
696
697 -build | --build | --buil | --bui | --bu)
b7026657 698 ac_prev=build_alias ;;
c906108c 699 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
b7026657 700 build_alias=$ac_optarg ;;
c906108c
SS
701
702 -cache-file | --cache-file | --cache-fil | --cache-fi \
703 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
704 ac_prev=cache_file ;;
705 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
706 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
b7026657
AC
707 cache_file=$ac_optarg ;;
708
709 --config-cache | -C)
710 cache_file=config.cache ;;
c906108c 711
81ecdfbb 712 -datadir | --datadir | --datadi | --datad)
c906108c 713 ac_prev=datadir ;;
81ecdfbb 714 -datadir=* | --datadir=* | --datadi=* | --datad=*)
b7026657 715 datadir=$ac_optarg ;;
c906108c 716
81ecdfbb
RW
717 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
718 | --dataroo | --dataro | --datar)
719 ac_prev=datarootdir ;;
720 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
721 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
722 datarootdir=$ac_optarg ;;
723
c906108c 724 -disable-* | --disable-*)
81ecdfbb 725 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
c906108c 726 # Reject names that are not valid shell variable names.
81ecdfbb
RW
727 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
728 as_fn_error "invalid feature name: $ac_useropt"
729 ac_useropt_orig=$ac_useropt
730 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
731 case $ac_user_opts in
732 *"
733"enable_$ac_useropt"
734"*) ;;
735 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
736 ac_unrecognized_sep=', ';;
737 esac
738 eval enable_$ac_useropt=no ;;
739
740 -docdir | --docdir | --docdi | --doc | --do)
741 ac_prev=docdir ;;
742 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
743 docdir=$ac_optarg ;;
744
745 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
746 ac_prev=dvidir ;;
747 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
748 dvidir=$ac_optarg ;;
c906108c
SS
749
750 -enable-* | --enable-*)
81ecdfbb 751 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
c906108c 752 # Reject names that are not valid shell variable names.
81ecdfbb
RW
753 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
754 as_fn_error "invalid feature name: $ac_useropt"
755 ac_useropt_orig=$ac_useropt
756 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
757 case $ac_user_opts in
758 *"
759"enable_$ac_useropt"
760"*) ;;
761 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
762 ac_unrecognized_sep=', ';;
c906108c 763 esac
81ecdfbb 764 eval enable_$ac_useropt=\$ac_optarg ;;
c906108c
SS
765
766 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
767 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
768 | --exec | --exe | --ex)
769 ac_prev=exec_prefix ;;
770 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
771 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
772 | --exec=* | --exe=* | --ex=*)
b7026657 773 exec_prefix=$ac_optarg ;;
c906108c
SS
774
775 -gas | --gas | --ga | --g)
776 # Obsolete; use --with-gas.
777 with_gas=yes ;;
778
b7026657
AC
779 -help | --help | --hel | --he | -h)
780 ac_init_help=long ;;
781 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
782 ac_init_help=recursive ;;
783 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
784 ac_init_help=short ;;
c906108c
SS
785
786 -host | --host | --hos | --ho)
b7026657 787 ac_prev=host_alias ;;
c906108c 788 -host=* | --host=* | --hos=* | --ho=*)
b7026657 789 host_alias=$ac_optarg ;;
c906108c 790
81ecdfbb
RW
791 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
792 ac_prev=htmldir ;;
793 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
794 | --ht=*)
795 htmldir=$ac_optarg ;;
796
c906108c
SS
797 -includedir | --includedir | --includedi | --included | --include \
798 | --includ | --inclu | --incl | --inc)
799 ac_prev=includedir ;;
800 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
801 | --includ=* | --inclu=* | --incl=* | --inc=*)
b7026657 802 includedir=$ac_optarg ;;
c906108c
SS
803
804 -infodir | --infodir | --infodi | --infod | --info | --inf)
805 ac_prev=infodir ;;
806 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
b7026657 807 infodir=$ac_optarg ;;
c906108c
SS
808
809 -libdir | --libdir | --libdi | --libd)
810 ac_prev=libdir ;;
811 -libdir=* | --libdir=* | --libdi=* | --libd=*)
b7026657 812 libdir=$ac_optarg ;;
c906108c
SS
813
814 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
815 | --libexe | --libex | --libe)
816 ac_prev=libexecdir ;;
817 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
818 | --libexe=* | --libex=* | --libe=*)
b7026657 819 libexecdir=$ac_optarg ;;
c906108c 820
81ecdfbb
RW
821 -localedir | --localedir | --localedi | --localed | --locale)
822 ac_prev=localedir ;;
823 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
824 localedir=$ac_optarg ;;
825
c906108c 826 -localstatedir | --localstatedir | --localstatedi | --localstated \
81ecdfbb 827 | --localstate | --localstat | --localsta | --localst | --locals)
c906108c
SS
828 ac_prev=localstatedir ;;
829 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
81ecdfbb 830 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
b7026657 831 localstatedir=$ac_optarg ;;
c906108c
SS
832
833 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
834 ac_prev=mandir ;;
835 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
b7026657 836 mandir=$ac_optarg ;;
c906108c
SS
837
838 -nfp | --nfp | --nf)
839 # Obsolete; use --without-fp.
840 with_fp=no ;;
841
842 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
b7026657 843 | --no-cr | --no-c | -n)
c906108c
SS
844 no_create=yes ;;
845
846 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
847 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
848 no_recursion=yes ;;
849
850 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
851 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
852 | --oldin | --oldi | --old | --ol | --o)
853 ac_prev=oldincludedir ;;
854 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
855 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
856 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
b7026657 857 oldincludedir=$ac_optarg ;;
c906108c
SS
858
859 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
860 ac_prev=prefix ;;
861 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
b7026657 862 prefix=$ac_optarg ;;
c906108c
SS
863
864 -program-prefix | --program-prefix | --program-prefi | --program-pref \
865 | --program-pre | --program-pr | --program-p)
866 ac_prev=program_prefix ;;
867 -program-prefix=* | --program-prefix=* | --program-prefi=* \
868 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
b7026657 869 program_prefix=$ac_optarg ;;
c906108c
SS
870
871 -program-suffix | --program-suffix | --program-suffi | --program-suff \
872 | --program-suf | --program-su | --program-s)
873 ac_prev=program_suffix ;;
874 -program-suffix=* | --program-suffix=* | --program-suffi=* \
875 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
b7026657 876 program_suffix=$ac_optarg ;;
c906108c
SS
877
878 -program-transform-name | --program-transform-name \
879 | --program-transform-nam | --program-transform-na \
880 | --program-transform-n | --program-transform- \
881 | --program-transform | --program-transfor \
882 | --program-transfo | --program-transf \
883 | --program-trans | --program-tran \
884 | --progr-tra | --program-tr | --program-t)
885 ac_prev=program_transform_name ;;
886 -program-transform-name=* | --program-transform-name=* \
887 | --program-transform-nam=* | --program-transform-na=* \
888 | --program-transform-n=* | --program-transform-=* \
889 | --program-transform=* | --program-transfor=* \
890 | --program-transfo=* | --program-transf=* \
891 | --program-trans=* | --program-tran=* \
892 | --progr-tra=* | --program-tr=* | --program-t=*)
b7026657 893 program_transform_name=$ac_optarg ;;
c906108c 894
81ecdfbb
RW
895 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
896 ac_prev=pdfdir ;;
897 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
898 pdfdir=$ac_optarg ;;
899
900 -psdir | --psdir | --psdi | --psd | --ps)
901 ac_prev=psdir ;;
902 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
903 psdir=$ac_optarg ;;
904
c906108c
SS
905 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
906 | -silent | --silent | --silen | --sile | --sil)
907 silent=yes ;;
908
909 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
910 ac_prev=sbindir ;;
911 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
912 | --sbi=* | --sb=*)
b7026657 913 sbindir=$ac_optarg ;;
c906108c
SS
914
915 -sharedstatedir | --sharedstatedir | --sharedstatedi \
916 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
917 | --sharedst | --shareds | --shared | --share | --shar \
918 | --sha | --sh)
919 ac_prev=sharedstatedir ;;
920 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
921 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
922 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
923 | --sha=* | --sh=*)
b7026657 924 sharedstatedir=$ac_optarg ;;
c906108c
SS
925
926 -site | --site | --sit)
927 ac_prev=site ;;
928 -site=* | --site=* | --sit=*)
b7026657 929 site=$ac_optarg ;;
eb2d80b4 930
c906108c
SS
931 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
932 ac_prev=srcdir ;;
933 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
b7026657 934 srcdir=$ac_optarg ;;
c906108c
SS
935
936 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
937 | --syscon | --sysco | --sysc | --sys | --sy)
938 ac_prev=sysconfdir ;;
939 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
940 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
b7026657 941 sysconfdir=$ac_optarg ;;
c906108c
SS
942
943 -target | --target | --targe | --targ | --tar | --ta | --t)
b7026657 944 ac_prev=target_alias ;;
c906108c 945 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
b7026657 946 target_alias=$ac_optarg ;;
c906108c
SS
947
948 -v | -verbose | --verbose | --verbos | --verbo | --verb)
949 verbose=yes ;;
950
b7026657
AC
951 -version | --version | --versio | --versi | --vers | -V)
952 ac_init_version=: ;;
c906108c
SS
953
954 -with-* | --with-*)
81ecdfbb 955 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
c906108c 956 # Reject names that are not valid shell variable names.
81ecdfbb
RW
957 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
958 as_fn_error "invalid package name: $ac_useropt"
959 ac_useropt_orig=$ac_useropt
960 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
961 case $ac_user_opts in
962 *"
963"with_$ac_useropt"
964"*) ;;
965 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
966 ac_unrecognized_sep=', ';;
c906108c 967 esac
81ecdfbb 968 eval with_$ac_useropt=\$ac_optarg ;;
c906108c
SS
969
970 -without-* | --without-*)
81ecdfbb 971 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
c906108c 972 # Reject names that are not valid shell variable names.
81ecdfbb
RW
973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
974 as_fn_error "invalid package name: $ac_useropt"
975 ac_useropt_orig=$ac_useropt
976 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977 case $ac_user_opts in
978 *"
979"with_$ac_useropt"
980"*) ;;
981 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
982 ac_unrecognized_sep=', ';;
983 esac
984 eval with_$ac_useropt=no ;;
c906108c
SS
985
986 --x)
987 # Obsolete; use --with-x.
988 with_x=yes ;;
989
990 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
991 | --x-incl | --x-inc | --x-in | --x-i)
992 ac_prev=x_includes ;;
993 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
994 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
b7026657 995 x_includes=$ac_optarg ;;
c906108c
SS
996
997 -x-libraries | --x-libraries | --x-librarie | --x-librari \
998 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
999 ac_prev=x_libraries ;;
1000 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1001 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
b7026657 1002 x_libraries=$ac_optarg ;;
c906108c 1003
81ecdfbb
RW
1004 -*) as_fn_error "unrecognized option: \`$ac_option'
1005Try \`$0 --help' for more information."
c906108c
SS
1006 ;;
1007
b7026657
AC
1008 *=*)
1009 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1010 # Reject names that are not valid shell variable names.
81ecdfbb
RW
1011 case $ac_envvar in #(
1012 '' | [0-9]* | *[!_$as_cr_alnum]* )
1013 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1014 esac
1015 eval $ac_envvar=\$ac_optarg
b7026657
AC
1016 export $ac_envvar ;;
1017
c906108c 1018 *)
b7026657 1019 # FIXME: should be removed in autoconf 3.0.
81ecdfbb 1020 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
b7026657 1021 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
81ecdfbb 1022 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
b7026657 1023 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
c906108c
SS
1024 ;;
1025
1026 esac
1027done
1028
1029if test -n "$ac_prev"; then
b7026657 1030 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
81ecdfbb 1031 as_fn_error "missing argument to $ac_option"
c906108c 1032fi
c906108c 1033
81ecdfbb
RW
1034if test -n "$ac_unrecognized_opts"; then
1035 case $enable_option_checking in
1036 no) ;;
1037 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1038 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
b7026657 1039 esac
81ecdfbb 1040fi
c906108c 1041
81ecdfbb
RW
1042# Check all directory arguments for consistency.
1043for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1044 datadir sysconfdir sharedstatedir localstatedir includedir \
1045 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1046 libdir localedir mandir
c906108c 1047do
81ecdfbb
RW
1048 eval ac_val=\$$ac_var
1049 # Remove trailing slashes.
b7026657 1050 case $ac_val in
81ecdfbb
RW
1051 */ )
1052 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1053 eval $ac_var=\$ac_val;;
c906108c 1054 esac
81ecdfbb
RW
1055 # Be sure to have absolute directory names.
1056 case $ac_val in
1057 [\\/$]* | ?:[\\/]* ) continue;;
1058 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1059 esac
1060 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
c906108c
SS
1061done
1062
b7026657
AC
1063# There might be people who depend on the old broken behavior: `$host'
1064# used to hold the argument of --host etc.
1065# FIXME: To remove some day.
1066build=$build_alias
1067host=$host_alias
1068target=$target_alias
1069
1070# FIXME: To remove some day.
1071if test "x$host_alias" != x; then
1072 if test "x$build_alias" = x; then
1073 cross_compiling=maybe
81ecdfbb 1074 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
b7026657
AC
1075 If a cross compiler is detected then cross compile mode will be used." >&2
1076 elif test "x$build_alias" != "x$host_alias"; then
1077 cross_compiling=yes
1078 fi
1079fi
c906108c 1080
b7026657
AC
1081ac_tool_prefix=
1082test -n "$host_alias" && ac_tool_prefix=$host_alias-
1083
1084test "$silent" = yes && exec 6>/dev/null
c906108c 1085
c906108c 1086
81ecdfbb
RW
1087ac_pwd=`pwd` && test -n "$ac_pwd" &&
1088ac_ls_di=`ls -di .` &&
1089ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1090 as_fn_error "working directory cannot be determined"
1091test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1092 as_fn_error "pwd does not report name of working directory"
1093
1094
c906108c
SS
1095# Find the source files, if location was not specified.
1096if test -z "$srcdir"; then
1097 ac_srcdir_defaulted=yes
81ecdfbb
RW
1098 # Try the directory containing this script, then the parent directory.
1099 ac_confdir=`$as_dirname -- "$as_myself" ||
1100$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1101 X"$as_myself" : 'X\(//\)[^/]' \| \
1102 X"$as_myself" : 'X\(//\)$' \| \
1103 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1104$as_echo X"$as_myself" |
1105 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1106 s//\1/
1107 q
1108 }
1109 /^X\(\/\/\)[^/].*/{
1110 s//\1/
1111 q
1112 }
1113 /^X\(\/\/\)$/{
1114 s//\1/
1115 q
1116 }
1117 /^X\(\/\).*/{
1118 s//\1/
1119 q
1120 }
1121 s/.*/./; q'`
c906108c 1122 srcdir=$ac_confdir
81ecdfbb 1123 if test ! -r "$srcdir/$ac_unique_file"; then
c906108c
SS
1124 srcdir=..
1125 fi
1126else
1127 ac_srcdir_defaulted=no
1128fi
81ecdfbb
RW
1129if test ! -r "$srcdir/$ac_unique_file"; then
1130 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1131 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1132fi
1133ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1134ac_abs_confdir=`(
1135 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1136 pwd)`
1137# When building in place, set srcdir=.
1138if test "$ac_abs_confdir" = "$ac_pwd"; then
1139 srcdir=.
c906108c 1140fi
81ecdfbb
RW
1141# Remove unnecessary trailing slashes from srcdir.
1142# Double slashes in file names in object file debugging info
1143# mess up M-x gdb in Emacs.
1144case $srcdir in
1145*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1146esac
1147for ac_var in $ac_precious_vars; do
1148 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1149 eval ac_env_${ac_var}_value=\$${ac_var}
1150 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1151 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1152done
c906108c 1153
b7026657
AC
1154#
1155# Report the --help message.
1156#
1157if test "$ac_init_help" = "long"; then
1158 # Omit some internal or obsolete options to make the list less imposing.
1159 # This message is too long to be a string in the A/UX 3.1 sh.
1160 cat <<_ACEOF
1161\`configure' configures this package to adapt to many kinds of systems.
1162
1163Usage: $0 [OPTION]... [VAR=VALUE]...
1164
1165To assign environment variables (e.g., CC, CFLAGS...), specify them as
1166VAR=VALUE. See below for descriptions of some of the useful variables.
1167
1168Defaults for the options are specified in brackets.
1169
1170Configuration:
1171 -h, --help display this help and exit
1172 --help=short display options specific to this package
1173 --help=recursive display the short help of all the included packages
1174 -V, --version display version information and exit
1175 -q, --quiet, --silent do not print \`checking...' messages
1176 --cache-file=FILE cache test results in FILE [disabled]
1177 -C, --config-cache alias for \`--cache-file=config.cache'
1178 -n, --no-create do not create output files
1179 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1180
b7026657
AC
1181Installation directories:
1182 --prefix=PREFIX install architecture-independent files in PREFIX
81ecdfbb 1183 [$ac_default_prefix]
b7026657 1184 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
81ecdfbb 1185 [PREFIX]
b7026657
AC
1186
1187By default, \`make install' will install all the files in
1188\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1189an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1190for instance \`--prefix=\$HOME'.
1191
1192For better control, use the options below.
1193
1194Fine tuning of the installation directories:
81ecdfbb
RW
1195 --bindir=DIR user executables [EPREFIX/bin]
1196 --sbindir=DIR system admin executables [EPREFIX/sbin]
1197 --libexecdir=DIR program executables [EPREFIX/libexec]
1198 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1199 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1200 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1201 --libdir=DIR object code libraries [EPREFIX/lib]
1202 --includedir=DIR C header files [PREFIX/include]
1203 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1204 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1205 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1206 --infodir=DIR info documentation [DATAROOTDIR/info]
1207 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1208 --mandir=DIR man documentation [DATAROOTDIR/man]
1209 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1210 --htmldir=DIR html documentation [DOCDIR]
1211 --dvidir=DIR dvi documentation [DOCDIR]
1212 --pdfdir=DIR pdf documentation [DOCDIR]
1213 --psdir=DIR ps documentation [DOCDIR]
b7026657
AC
1214_ACEOF
1215
1216 cat <<\_ACEOF
1217
1218System types:
1219 --build=BUILD configure for building on BUILD [guessed]
1220 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1221 --target=TARGET configure for building compilers for TARGET [HOST]
1222_ACEOF
1223fi
1224
1225if test -n "$ac_init_help"; then
1226
1227 cat <<\_ACEOF
1228
81ecdfbb 1229Report bugs to the package provider.
b7026657 1230_ACEOF
81ecdfbb 1231ac_status=$?
b7026657
AC
1232fi
1233
1234if test "$ac_init_help" = "recursive"; then
1235 # If there are subdirs, report their specific --help.
b7026657 1236 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
81ecdfbb
RW
1237 test -d "$ac_dir" ||
1238 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1239 continue
b7026657
AC
1240 ac_builddir=.
1241
81ecdfbb
RW
1242case "$ac_dir" in
1243.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1244*)
1245 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1246 # A ".." for each directory in $ac_dir_suffix.
1247 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1248 case $ac_top_builddir_sub in
1249 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1250 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1251 esac ;;
1252esac
1253ac_abs_top_builddir=$ac_pwd
1254ac_abs_builddir=$ac_pwd$ac_dir_suffix
1255# for backward compatibility:
1256ac_top_builddir=$ac_top_build_prefix
b7026657
AC
1257
1258case $srcdir in
81ecdfbb 1259 .) # We are building in place.
b7026657 1260 ac_srcdir=.
81ecdfbb
RW
1261 ac_top_srcdir=$ac_top_builddir_sub
1262 ac_abs_top_srcdir=$ac_pwd ;;
1263 [\\/]* | ?:[\\/]* ) # Absolute name.
b7026657 1264 ac_srcdir=$srcdir$ac_dir_suffix;
81ecdfbb
RW
1265 ac_top_srcdir=$srcdir
1266 ac_abs_top_srcdir=$srcdir ;;
1267 *) # Relative name.
1268 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1269 ac_top_srcdir=$ac_top_build_prefix$srcdir
1270 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
b7026657 1271esac
81ecdfbb
RW
1272ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1273
1274 cd "$ac_dir" || { ac_status=$?; continue; }
1275 # Check for guested configure.
1276 if test -f "$ac_srcdir/configure.gnu"; then
1277 echo &&
1278 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1279 elif test -f "$ac_srcdir/configure"; then
1280 echo &&
1281 $SHELL "$ac_srcdir/configure" --help=recursive
b7026657 1282 else
81ecdfbb
RW
1283 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1284 fi || ac_status=$?
1285 cd "$ac_pwd" || { ac_status=$?; break; }
b7026657
AC
1286 done
1287fi
1288
81ecdfbb 1289test -n "$ac_init_help" && exit $ac_status
b7026657
AC
1290if $ac_init_version; then
1291 cat <<\_ACEOF
81ecdfbb
RW
1292configure
1293generated by GNU Autoconf 2.64
b7026657 1294
81ecdfbb 1295Copyright (C) 2009 Free Software Foundation, Inc.
b7026657
AC
1296This configure script is free software; the Free Software Foundation
1297gives unlimited permission to copy, distribute and modify it.
1298_ACEOF
81ecdfbb 1299 exit
b7026657 1300fi
81ecdfbb
RW
1301
1302## ------------------------ ##
1303## Autoconf initialization. ##
1304## ------------------------ ##
1305cat >config.log <<_ACEOF
b7026657
AC
1306This file contains any messages produced by compilers while
1307running configure, to aid debugging if configure makes a mistake.
1308
1309It was created by $as_me, which was
81ecdfbb 1310generated by GNU Autoconf 2.64. Invocation command line was
b7026657
AC
1311
1312 $ $0 $@
1313
1314_ACEOF
81ecdfbb 1315exec 5>>config.log
b7026657
AC
1316{
1317cat <<_ASUNAME
1318## --------- ##
1319## Platform. ##
1320## --------- ##
1321
1322hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1323uname -m = `(uname -m) 2>/dev/null || echo unknown`
1324uname -r = `(uname -r) 2>/dev/null || echo unknown`
1325uname -s = `(uname -s) 2>/dev/null || echo unknown`
1326uname -v = `(uname -v) 2>/dev/null || echo unknown`
1327
1328/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1329/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1330
1331/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1332/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1333/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
81ecdfbb 1334/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
b7026657
AC
1335/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1336/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1337/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1338
1339_ASUNAME
1340
1341as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1342for as_dir in $PATH
1343do
1344 IFS=$as_save_IFS
1345 test -z "$as_dir" && as_dir=.
81ecdfbb
RW
1346 $as_echo "PATH: $as_dir"
1347 done
1348IFS=$as_save_IFS
b7026657
AC
1349
1350} >&5
1351
1352cat >&5 <<_ACEOF
1353
1354
1355## ----------- ##
1356## Core tests. ##
1357## ----------- ##
1358
1359_ACEOF
1360
1361
1362# Keep a trace of the command line.
1363# Strip out --no-create and --no-recursion so they do not pile up.
1364# Strip out --silent because we don't want to record it for future runs.
1365# Also quote any args containing shell meta-characters.
1366# Make two passes to allow for proper duplicate-argument suppression.
1367ac_configure_args=
1368ac_configure_args0=
1369ac_configure_args1=
b7026657
AC
1370ac_must_keep_next=false
1371for ac_pass in 1 2
1372do
1373 for ac_arg
1374 do
1375 case $ac_arg in
1376 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1377 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1378 | -silent | --silent | --silen | --sile | --sil)
1379 continue ;;
81ecdfbb
RW
1380 *\'*)
1381 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
b7026657
AC
1382 esac
1383 case $ac_pass in
81ecdfbb 1384 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
b7026657 1385 2)
81ecdfbb 1386 as_fn_append ac_configure_args1 " '$ac_arg'"
b7026657
AC
1387 if test $ac_must_keep_next = true; then
1388 ac_must_keep_next=false # Got value, back to normal.
1389 else
1390 case $ac_arg in
1391 *=* | --config-cache | -C | -disable-* | --disable-* \
1392 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1393 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1394 | -with-* | --with-* | -without-* | --without-* | --x)
1395 case "$ac_configure_args0 " in
1396 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1397 esac
1398 ;;
1399 -* ) ac_must_keep_next=true ;;
1400 esac
1401 fi
81ecdfbb 1402 as_fn_append ac_configure_args " '$ac_arg'"
b7026657
AC
1403 ;;
1404 esac
1405 done
1406done
81ecdfbb
RW
1407{ ac_configure_args0=; unset ac_configure_args0;}
1408{ ac_configure_args1=; unset ac_configure_args1;}
b7026657
AC
1409
1410# When interrupted or exit'd, cleanup temporary files, and complete
1411# config.log. We remove comments because anyway the quotes in there
1412# would cause problems or look ugly.
81ecdfbb
RW
1413# WARNING: Use '\'' to represent an apostrophe within the trap.
1414# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
b7026657
AC
1415trap 'exit_status=$?
1416 # Save into config.log some information that might help in debugging.
1417 {
1418 echo
1419
1420 cat <<\_ASBOX
1421## ---------------- ##
1422## Cache variables. ##
1423## ---------------- ##
1424_ASBOX
1425 echo
1426 # The following way of writing the cache mishandles newlines in values,
81ecdfbb
RW
1427(
1428 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1429 eval ac_val=\$$ac_var
1430 case $ac_val in #(
1431 *${as_nl}*)
1432 case $ac_var in #(
1433 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1434$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1435 esac
1436 case $ac_var in #(
1437 _ | IFS | as_nl) ;; #(
1438 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1439 *) { eval $ac_var=; unset $ac_var;} ;;
1440 esac ;;
1441 esac
1442 done
b7026657 1443 (set) 2>&1 |
81ecdfbb
RW
1444 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1445 *${as_nl}ac_space=\ *)
b7026657 1446 sed -n \
81ecdfbb
RW
1447 "s/'\''/'\''\\\\'\'''\''/g;
1448 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1449 ;; #(
b7026657 1450 *)
81ecdfbb 1451 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
b7026657 1452 ;;
81ecdfbb
RW
1453 esac |
1454 sort
1455)
b7026657
AC
1456 echo
1457
1458 cat <<\_ASBOX
1459## ----------------- ##
1460## Output variables. ##
1461## ----------------- ##
1462_ASBOX
1463 echo
1464 for ac_var in $ac_subst_vars
1465 do
81ecdfbb
RW
1466 eval ac_val=\$$ac_var
1467 case $ac_val in
1468 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1469 esac
1470 $as_echo "$ac_var='\''$ac_val'\''"
b7026657
AC
1471 done | sort
1472 echo
1473
1474 if test -n "$ac_subst_files"; then
1475 cat <<\_ASBOX
81ecdfbb
RW
1476## ------------------- ##
1477## File substitutions. ##
1478## ------------------- ##
b7026657
AC
1479_ASBOX
1480 echo
1481 for ac_var in $ac_subst_files
1482 do
81ecdfbb
RW
1483 eval ac_val=\$$ac_var
1484 case $ac_val in
1485 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1486 esac
1487 $as_echo "$ac_var='\''$ac_val'\''"
b7026657
AC
1488 done | sort
1489 echo
eb2d80b4 1490 fi
b7026657
AC
1491
1492 if test -s confdefs.h; then
1493 cat <<\_ASBOX
1494## ----------- ##
1495## confdefs.h. ##
1496## ----------- ##
1497_ASBOX
1498 echo
81ecdfbb 1499 cat confdefs.h
b7026657
AC
1500 echo
1501 fi
1502 test "$ac_signal" != 0 &&
81ecdfbb
RW
1503 $as_echo "$as_me: caught signal $ac_signal"
1504 $as_echo "$as_me: exit $exit_status"
b7026657 1505 } >&5
81ecdfbb
RW
1506 rm -f core *.core core.conftest.* &&
1507 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
b7026657 1508 exit $exit_status
81ecdfbb 1509' 0
b7026657 1510for ac_signal in 1 2 13 15; do
81ecdfbb 1511 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
b7026657
AC
1512done
1513ac_signal=0
1514
1515# confdefs.h avoids OS command line length limits that DEFS can exceed.
81ecdfbb
RW
1516rm -f -r conftest* confdefs.h
1517
1518$as_echo "/* confdefs.h */" > confdefs.h
b7026657
AC
1519
1520# Predefined preprocessor variables.
1521
1522cat >>confdefs.h <<_ACEOF
1523#define PACKAGE_NAME "$PACKAGE_NAME"
1524_ACEOF
1525
b7026657
AC
1526cat >>confdefs.h <<_ACEOF
1527#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1528_ACEOF
1529
b7026657
AC
1530cat >>confdefs.h <<_ACEOF
1531#define PACKAGE_VERSION "$PACKAGE_VERSION"
1532_ACEOF
1533
b7026657
AC
1534cat >>confdefs.h <<_ACEOF
1535#define PACKAGE_STRING "$PACKAGE_STRING"
1536_ACEOF
1537
b7026657
AC
1538cat >>confdefs.h <<_ACEOF
1539#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1540_ACEOF
1541
81ecdfbb
RW
1542cat >>confdefs.h <<_ACEOF
1543#define PACKAGE_URL "$PACKAGE_URL"
1544_ACEOF
1545
b7026657
AC
1546
1547# Let the site file select an alternate cache file if it wants to.
81ecdfbb
RW
1548# Prefer an explicitly selected file to automatically selected ones.
1549ac_site_file1=NONE
1550ac_site_file2=NONE
1551if test -n "$CONFIG_SITE"; then
1552 ac_site_file1=$CONFIG_SITE
1553elif test "x$prefix" != xNONE; then
1554 ac_site_file1=$prefix/share/config.site
1555 ac_site_file2=$prefix/etc/config.site
1556else
1557 ac_site_file1=$ac_default_prefix/share/config.site
1558 ac_site_file2=$ac_default_prefix/etc/config.site
c906108c 1559fi
81ecdfbb
RW
1560for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1561do
1562 test "x$ac_site_file" = xNONE && continue
c906108c 1563 if test -r "$ac_site_file"; then
81ecdfbb
RW
1564 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1565$as_echo "$as_me: loading site script $ac_site_file" >&6;}
b7026657 1566 sed 's/^/| /' "$ac_site_file" >&5
c906108c
SS
1567 . "$ac_site_file"
1568 fi
1569done
1570
1571if test -r "$cache_file"; then
b7026657
AC
1572 # Some versions of bash will fail to source /dev/null (special
1573 # files actually), so we avoid doing that.
1574 if test -f "$cache_file"; then
81ecdfbb
RW
1575 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1576$as_echo "$as_me: loading cache $cache_file" >&6;}
b7026657 1577 case $cache_file in
81ecdfbb
RW
1578 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1579 *) . "./$cache_file";;
b7026657
AC
1580 esac
1581 fi
c906108c 1582else
81ecdfbb
RW
1583 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1584$as_echo "$as_me: creating cache $cache_file" >&6;}
b7026657 1585 >$cache_file
c906108c
SS
1586fi
1587
b7026657
AC
1588# Check that the precious variables saved in the cache have kept the same
1589# value.
1590ac_cache_corrupted=false
81ecdfbb 1591for ac_var in $ac_precious_vars; do
b7026657
AC
1592 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1593 eval ac_new_set=\$ac_env_${ac_var}_set
81ecdfbb
RW
1594 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1595 eval ac_new_val=\$ac_env_${ac_var}_value
b7026657
AC
1596 case $ac_old_set,$ac_new_set in
1597 set,)
81ecdfbb
RW
1598 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1599$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
b7026657
AC
1600 ac_cache_corrupted=: ;;
1601 ,set)
81ecdfbb
RW
1602 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1603$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
b7026657
AC
1604 ac_cache_corrupted=: ;;
1605 ,);;
1606 *)
1607 if test "x$ac_old_val" != "x$ac_new_val"; then
81ecdfbb
RW
1608 # differences in whitespace do not lead to failure.
1609 ac_old_val_w=`echo x $ac_old_val`
1610 ac_new_val_w=`echo x $ac_new_val`
1611 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1613$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1614 ac_cache_corrupted=:
1615 else
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1617$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1618 eval $ac_var=\$ac_old_val
1619 fi
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1621$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1623$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
b7026657
AC
1624 fi;;
1625 esac
1626 # Pass precious variables to config.status.
1627 if test "$ac_new_set" = set; then
1628 case $ac_new_val in
81ecdfbb 1629 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
b7026657
AC
1630 *) ac_arg=$ac_var=$ac_new_val ;;
1631 esac
1632 case " $ac_configure_args " in
1633 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
81ecdfbb 1634 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
b7026657 1635 esac
c906108c 1636 fi
b7026657
AC
1637done
1638if $ac_cache_corrupted; then
81ecdfbb
RW
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1640$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1642$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1643 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
c906108c 1644fi
81ecdfbb
RW
1645## -------------------- ##
1646## Main body of script. ##
1647## -------------------- ##
c906108c 1648
b7026657
AC
1649ac_ext=c
1650ac_cpp='$CPP $CPPFLAGS'
1651ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1652ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1653ac_compiler_gnu=$ac_cv_c_compiler_gnu
1654
1655
1656
c906108c
SS
1657CC=${CC-cc}
1658
1659ac_aux_dir=
81ecdfbb
RW
1660for ac_dir in `cd $srcdir;pwd`/../.. "$srcdir"/`cd $srcdir;pwd`/../..; do
1661 for ac_t in install-sh install.sh shtool; do
1662 if test -f "$ac_dir/$ac_t"; then
1663 ac_aux_dir=$ac_dir
1664 ac_install_sh="$ac_aux_dir/$ac_t -c"
1665 break 2
1666 fi
1667 done
c906108c
SS
1668done
1669if test -z "$ac_aux_dir"; then
81ecdfbb 1670 as_fn_error "cannot find install-sh, install.sh, or shtool in \`cd $srcdir;pwd\`/../.. \"$srcdir\"/\`cd $srcdir;pwd\`/../.." "$LINENO" 5
c906108c 1671fi
c906108c 1672
81ecdfbb
RW
1673# These three variables are undocumented and unsupported,
1674# and are intended to be withdrawn in a future Autoconf release.
1675# They can cause serious problems if a builder's source tree is in a directory
1676# whose full name contains unusual characters.
1677ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1678ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1679ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
c906108c 1680
b7026657 1681
81ecdfbb
RW
1682# Make sure we can run config.sub.
1683$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1684 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
b7026657 1685
81ecdfbb
RW
1686{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1687$as_echo_n "checking build system type... " >&6; }
1688if test "${ac_cv_build+set}" = set; then :
1689 $as_echo_n "(cached) " >&6
b7026657 1690else
81ecdfbb
RW
1691 ac_build_alias=$build_alias
1692test "x$ac_build_alias" = x &&
1693 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1694test "x$ac_build_alias" = x &&
1695 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
1696ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1697 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
c906108c 1698
b7026657 1699fi
81ecdfbb
RW
1700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1701$as_echo "$ac_cv_build" >&6; }
1702case $ac_cv_build in
1703*-*-*) ;;
1704*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
1705esac
1706build=$ac_cv_build
1707ac_save_IFS=$IFS; IFS='-'
1708set x $ac_cv_build
1709shift
1710build_cpu=$1
1711build_vendor=$2
1712shift; shift
1713# Remember, the first character of IFS is used to create $*,
1714# except with old shells:
1715build_os=$*
1716IFS=$ac_save_IFS
1717case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1718
1719
1720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1721$as_echo_n "checking host system type... " >&6; }
1722if test "${ac_cv_host+set}" = set; then :
1723 $as_echo_n "(cached) " >&6
1724else
1725 if test "x$host_alias" = x; then
1726 ac_cv_host=$ac_cv_build
1727else
1728 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1729 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1730fi
b7026657 1731
81ecdfbb
RW
1732fi
1733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1734$as_echo "$ac_cv_host" >&6; }
1735case $ac_cv_host in
1736*-*-*) ;;
1737*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
1738esac
1739host=$ac_cv_host
1740ac_save_IFS=$IFS; IFS='-'
1741set x $ac_cv_host
1742shift
1743host_cpu=$1
1744host_vendor=$2
1745shift; shift
1746# Remember, the first character of IFS is used to create $*,
1747# except with old shells:
1748host_os=$*
1749IFS=$ac_save_IFS
1750case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1751
1752
1753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1754$as_echo_n "checking target system type... " >&6; }
1755if test "${ac_cv_target+set}" = set; then :
1756 $as_echo_n "(cached) " >&6
b7026657 1757else
81ecdfbb
RW
1758 if test "x$target_alias" = x; then
1759 ac_cv_target=$ac_cv_host
1760else
1761 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1762 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1763fi
c906108c 1764
b7026657 1765fi
81ecdfbb
RW
1766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
1767$as_echo "$ac_cv_target" >&6; }
1768case $ac_cv_target in
1769*-*-*) ;;
1770*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
1771esac
b7026657 1772target=$ac_cv_target
81ecdfbb
RW
1773ac_save_IFS=$IFS; IFS='-'
1774set x $ac_cv_target
1775shift
1776target_cpu=$1
1777target_vendor=$2
1778shift; shift
1779# Remember, the first character of IFS is used to create $*,
1780# except with old shells:
1781target_os=$*
1782IFS=$ac_save_IFS
1783case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
c906108c 1784
c906108c 1785
b7026657
AC
1786# The aliases save the names the user supplied, while $host etc.
1787# will get canonicalized.
1788test -n "$target_alias" &&
c906108c
SS
1789 test "$program_prefix$program_suffix$program_transform_name" = \
1790 NONENONEs,x,x, &&
1791 program_prefix=${target_alias}-
1792
81ecdfbb 1793
d0945c9b
AC
1794# Configure sub-directory for appropriate targets
1795case ${target} in
e8713c0f
MF
1796 d10v-*-elf )
1797
b7026657 1798
e8713c0f 1799subdirs="$subdirs d10v-elf"
b7026657 1800
e8713c0f
MF
1801 ;;
1802 frv-*-elf )
1803 subdirs="$subdirs frv-elf"
c906108c 1804
d0945c9b
AC
1805 ;;
1806 m32r-*-elf )
81ecdfbb 1807 subdirs="$subdirs m32r-elf"
c906108c 1808
d0945c9b
AC
1809 ;;
1810 mips64el-*-elf )
81ecdfbb 1811 subdirs="$subdirs mips64el-elf"
d0945c9b
AC
1812
1813 ;;
c906108c
SS
1814esac
1815
119da465
MF
1816
1817# WHEN ADDING ENTRIES TO THIS MATRIX:
1818
1819# Make sure that the left side always has two dashes. Otherwise you
1820# can get spurious matches. Even for unambiguous cases, do this as a
1821# convention, else the table becomes a real mess to understand and
1822# maintain.
1823
1824
1825
119da465
MF
1826sim_igen=no
1827sim_arch=
1828case "${target}" in
2e8cf49e
NC
1829 aarch64*-*-*)
1830 sim_arch=aarch64
1831 ;;
4d393d60 1832 arm*-*-*)
119da465 1833 sim_arch=arm
119da465
MF
1834 ;;
1835 avr*-*-*)
1836 sim_arch=avr
1837 ;;
4d393d60
JM
1838 bfin-*-*)
1839 sim_arch=bfin
1840 ;;
119da465
MF
1841 cr16*-*-*)
1842 sim_arch=cr16
119da465
MF
1843 ;;
1844 cris-*-* | crisv32-*-*)
1845 sim_arch=cris
119da465
MF
1846 ;;
1847 d10v-*-*)
1848 sim_arch=d10v
1849 ;;
1850 frv-*-*)
1851 sim_arch=frv
119da465
MF
1852 ;;
1853 h8300*-*-*)
1854 sim_arch=h8300
119da465
MF
1855 ;;
1856 iq2000-*-*)
1857 sim_arch=iq2000
119da465
MF
1858 ;;
1859 lm32-*-*)
1860 sim_arch=lm32
119da465
MF
1861 ;;
1862 m32c-*-*)
1863 sim_arch=m32c
1864 ;;
1865 m32r-*-*)
1866 sim_arch=m32r
119da465
MF
1867 ;;
1868 m68hc11-*-*|m6811-*-*)
1869 sim_arch=m68hc11
119da465
MF
1870 ;;
1871 mcore-*-*)
1872 sim_arch=mcore
119da465
MF
1873 ;;
1874 microblaze-*-*)
1875 sim_arch=microblaze
119da465
MF
1876 ;;
1877 mips*-*-*)
1878 sim_arch=mips
119da465
MF
1879 sim_igen=yes
1880 ;;
1881 mn10300*-*-*)
1882 sim_arch=mn10300
1883 sim_igen=yes
1884 ;;
1885 moxie-*-*)
1886 sim_arch=moxie
119da465 1887 ;;
bf3d9781
AM
1888 msp430*-*-*)
1889 sim_arch=msp430
1890 ;;
702d582e
PG
1891 or1k-*-* | or1knd-*-*)
1892 sim_arch=or1k
702d582e 1893 ;;
8fe8b601
MF
1894 rl78-*-*)
1895 sim_arch=rl78
1896 ;;
119da465
MF
1897 rx-*-*)
1898 sim_arch=rx
1899 ;;
1900 sh64*-*-*)
1901 sim_arch=sh64
119da465
MF
1902 ;;
1903 sh*-*-*)
1904 sim_arch=sh
119da465 1905 ;;
6bb11ab3 1906 sparc-*-rtems*|sparc-*-elf*)
119da465 1907 sim_arch=erc32
119da465
MF
1908 ;;
1909 powerpc*-*-*)
1910 sim_arch=ppc
1911 ;;
f46e4eb7
JB
1912 ft32-*-*)
1913 sim_arch=ft32
f46e4eb7 1914 ;;
119da465
MF
1915 v850*-*-*)
1916 sim_arch=v850
1917 sim_igen=yes
119da465 1918 ;;
c906108c
SS
1919esac
1920
1921
119da465 1922
81ecdfbb
RW
1923ac_config_files="$ac_config_files Makefile"
1924
b7026657 1925cat >confcache <<\_ACEOF
c906108c
SS
1926# This file is a shell script that caches the results of configure
1927# tests run on this system so they can be shared between configure
b7026657
AC
1928# scripts and configure runs, see configure's option --config-cache.
1929# It is not useful on other systems. If it contains results you don't
1930# want to keep, you may remove or edit it.
c906108c 1931#
b7026657
AC
1932# config.status only pays attention to the cache file if you give it
1933# the --recheck option to rerun configure.
c906108c 1934#
b7026657
AC
1935# `ac_cv_env_foo' variables (set or unset) will be overridden when
1936# loading this file, other *unset* `ac_cv_foo' will be assigned the
1937# following values.
1938
1939_ACEOF
1940
c906108c
SS
1941# The following way of writing the cache mishandles newlines in values,
1942# but we know of no workaround that is simple, portable, and efficient.
81ecdfbb 1943# So, we kill variables containing newlines.
c906108c
SS
1944# Ultrix sh set writes to stderr and can't be redirected directly,
1945# and sets the high bit in the cache file unless we assign to the vars.
81ecdfbb
RW
1946(
1947 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1948 eval ac_val=\$$ac_var
1949 case $ac_val in #(
1950 *${as_nl}*)
1951 case $ac_var in #(
1952 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1953$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1954 esac
1955 case $ac_var in #(
1956 _ | IFS | as_nl) ;; #(
1957 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1958 *) { eval $ac_var=; unset $ac_var;} ;;
1959 esac ;;
1960 esac
1961 done
1962
b7026657 1963 (set) 2>&1 |
81ecdfbb
RW
1964 case $as_nl`(ac_space=' '; set) 2>&1` in #(
1965 *${as_nl}ac_space=\ *)
1966 # `set' does not quote correctly, so add quotes: double-quote
1967 # substitution turns \\\\ into \\, and sed turns \\ into \.
b7026657
AC
1968 sed -n \
1969 "s/'/'\\\\''/g;
1970 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81ecdfbb 1971 ;; #(
b7026657
AC
1972 *)
1973 # `set' quotes correctly as required by POSIX, so do not add quotes.
81ecdfbb 1974 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
b7026657 1975 ;;
81ecdfbb
RW
1976 esac |
1977 sort
1978) |
b7026657 1979 sed '
81ecdfbb 1980 /^ac_cv_env_/b end
b7026657 1981 t clear
81ecdfbb 1982 :clear
b7026657
AC
1983 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1984 t end
81ecdfbb
RW
1985 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1986 :end' >>confcache
1987if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1988 if test -w "$cache_file"; then
1989 test "x$cache_file" != "x/dev/null" &&
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
1991$as_echo "$as_me: updating cache $cache_file" >&6;}
b7026657 1992 cat confcache >$cache_file
c906108c 1993 else
81ecdfbb
RW
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
1995$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
c906108c
SS
1996 fi
1997fi
1998rm -f confcache
1999
c906108c
SS
2000test "x$prefix" = xNONE && prefix=$ac_default_prefix
2001# Let make expand exec_prefix.
2002test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2003
c906108c
SS
2004# Transform confdefs.h into DEFS.
2005# Protect against shell expansion while executing Makefile rules.
2006# Protect against Makefile macro expansion.
b7026657
AC
2007#
2008# If the first sed substitution is executed (which looks for macros that
81ecdfbb 2009# take arguments), then branch to the quote section. Otherwise,
b7026657 2010# look for a macro that doesn't take arguments.
81ecdfbb
RW
2011ac_script='
2012:mline
2013/\\$/{
2014 N
2015 s,\\\n,,
2016 b mline
2017}
b7026657 2018t clear
81ecdfbb
RW
2019:clear
2020s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
b7026657 2021t quote
81ecdfbb 2022s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
b7026657 2023t quote
81ecdfbb
RW
2024b any
2025:quote
2026s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2027s/\[/\\&/g
2028s/\]/\\&/g
2029s/\$/$$/g
2030H
2031:any
2032${
2033 g
2034 s/^\n//
2035 s/\n/ /g
2036 p
2037}
2038'
2039DEFS=`sed -n "$ac_script" confdefs.h`
b7026657
AC
2040
2041
2042ac_libobjs=
2043ac_ltlibobjs=
2044for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2045 # 1. Remove the extension, and $U if already installed.
81ecdfbb
RW
2046 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2047 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2048 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2049 # will be set to the directory where LIBOBJS objects are built.
2050 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2051 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
b7026657
AC
2052done
2053LIBOBJS=$ac_libobjs
c906108c 2054
b7026657
AC
2055LTLIBOBJS=$ac_ltlibobjs
2056
2057
2058
2059: ${CONFIG_STATUS=./config.status}
81ecdfbb 2060ac_write_fail=0
b7026657
AC
2061ac_clean_files_save=$ac_clean_files
2062ac_clean_files="$ac_clean_files $CONFIG_STATUS"
81ecdfbb
RW
2063{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2064$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2065as_write_fail=0
2066cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
b7026657
AC
2067#! $SHELL
2068# Generated by $as_me.
c906108c 2069# Run this file to recreate the current configuration.
c906108c 2070# Compiler output produced by configure, useful for debugging
b7026657
AC
2071# configure, is in config.log if it exists.
2072
2073debug=false
2074ac_cs_recheck=false
2075ac_cs_silent=false
b7026657 2076
81ecdfbb
RW
2077SHELL=\${CONFIG_SHELL-$SHELL}
2078export SHELL
2079_ASEOF
2080cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2081## -------------------- ##
2082## M4sh Initialization. ##
2083## -------------------- ##
2084
2085# Be more Bourne compatible
2086DUALCASE=1; export DUALCASE # for MKS sh
2087if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
b7026657
AC
2088 emulate sh
2089 NULLCMD=:
81ecdfbb 2090 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
b7026657
AC
2091 # is contrary to our usage. Disable this feature.
2092 alias -g '${1+"$@"}'='"$@"'
81ecdfbb
RW
2093 setopt NO_GLOB_SUBST
2094else
2095 case `(set -o) 2>/dev/null` in #(
2096 *posix*) :
2097 set -o posix ;; #(
2098 *) :
2099 ;;
2100esac
b7026657 2101fi
c906108c 2102
81ecdfbb
RW
2103
2104as_nl='
2105'
2106export as_nl
2107# Printing a long string crashes Solaris 7 /usr/bin/printf.
2108as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2109as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2110as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2111# Prefer a ksh shell builtin over an external printf program on Solaris,
2112# but without wasting forks for bash or zsh.
2113if test -z "$BASH_VERSION$ZSH_VERSION" \
2114 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2115 as_echo='print -r --'
2116 as_echo_n='print -rn --'
2117elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2118 as_echo='printf %s\n'
2119 as_echo_n='printf %s'
b7026657 2120else
81ecdfbb
RW
2121 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2122 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2123 as_echo_n='/usr/ucb/echo -n'
2124 else
2125 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2126 as_echo_n_body='eval
2127 arg=$1;
2128 case $arg in #(
2129 *"$as_nl"*)
2130 expr "X$arg" : "X\\(.*\\)$as_nl";
2131 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2132 esac;
2133 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2134 '
2135 export as_echo_n_body
2136 as_echo_n='sh -c $as_echo_n_body as_echo'
2137 fi
2138 export as_echo_body
2139 as_echo='sh -c $as_echo_body as_echo'
b7026657
AC
2140fi
2141
81ecdfbb
RW
2142# The user is always right.
2143if test "${PATH_SEPARATOR+set}" != set; then
2144 PATH_SEPARATOR=:
2145 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2146 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2147 PATH_SEPARATOR=';'
2148 }
2149fi
2150
2151
2152# IFS
2153# We need space, tab and new line, in precisely that order. Quoting is
2154# there to prevent editors from complaining about space-tab.
2155# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2156# splitting by setting IFS to empty value.)
2157IFS=" "" $as_nl"
2158
2159# Find who we are. Look in the path if we contain no directory separator.
2160case $0 in #((
2161 *[\\/]* ) as_myself=$0 ;;
2162 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2163for as_dir in $PATH
2164do
2165 IFS=$as_save_IFS
2166 test -z "$as_dir" && as_dir=.
2167 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2168 done
2169IFS=$as_save_IFS
b7026657 2170
81ecdfbb
RW
2171 ;;
2172esac
2173# We did not find ourselves, most probably we were run as `sh COMMAND'
2174# in which case we are not to be found in the path.
2175if test "x$as_myself" = x; then
2176 as_myself=$0
2177fi
2178if test ! -f "$as_myself"; then
2179 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2180 exit 1
2181fi
2182
2183# Unset variables that we do not need and which cause bugs (e.g. in
2184# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2185# suppresses any "Segmentation fault" message there. '((' could
2186# trigger a bug in pdksh 5.2.14.
2187for as_var in BASH_ENV ENV MAIL MAILPATH
2188do eval test x\${$as_var+set} = xset \
2189 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2190done
b7026657
AC
2191PS1='$ '
2192PS2='> '
2193PS4='+ '
2194
2195# NLS nuisances.
81ecdfbb
RW
2196LC_ALL=C
2197export LC_ALL
2198LANGUAGE=C
2199export LANGUAGE
2200
2201# CDPATH.
2202(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2203
2204
2205# as_fn_error ERROR [LINENO LOG_FD]
2206# ---------------------------------
2207# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2208# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2209# script with status $?, using 1 if that was 0.
2210as_fn_error ()
2211{
2212 as_status=$?; test $as_status -eq 0 && as_status=1
2213 if test "$3"; then
2214 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2215 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
b7026657 2216 fi
81ecdfbb
RW
2217 $as_echo "$as_me: error: $1" >&2
2218 as_fn_exit $as_status
2219} # as_fn_error
2220
2221
2222# as_fn_set_status STATUS
2223# -----------------------
2224# Set $? to STATUS, without forking.
2225as_fn_set_status ()
2226{
2227 return $1
2228} # as_fn_set_status
2229
2230# as_fn_exit STATUS
2231# -----------------
2232# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2233as_fn_exit ()
2234{
2235 set +e
2236 as_fn_set_status $1
2237 exit $1
2238} # as_fn_exit
2239
2240# as_fn_unset VAR
2241# ---------------
2242# Portably unset VAR.
2243as_fn_unset ()
2244{
2245 { eval $1=; unset $1;}
2246}
2247as_unset=as_fn_unset
2248# as_fn_append VAR VALUE
2249# ----------------------
2250# Append the text in VALUE to the end of the definition contained in VAR. Take
2251# advantage of any shell optimizations that allow amortized linear growth over
2252# repeated appends, instead of the typical quadratic growth present in naive
2253# implementations.
2254if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2255 eval 'as_fn_append ()
2256 {
2257 eval $1+=\$2
2258 }'
2259else
2260 as_fn_append ()
2261 {
2262 eval $1=\$$1\$2
2263 }
2264fi # as_fn_append
2265
2266# as_fn_arith ARG...
2267# ------------------
2268# Perform arithmetic evaluation on the ARGs, and store the result in the
2269# global $as_val. Take advantage of shells that can avoid forks. The arguments
2270# must be portable across $(()) and expr.
2271if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2272 eval 'as_fn_arith ()
2273 {
2274 as_val=$(( $* ))
2275 }'
2276else
2277 as_fn_arith ()
2278 {
2279 as_val=`expr "$@" || test $? -eq 1`
2280 }
2281fi # as_fn_arith
2282
c906108c 2283
81ecdfbb
RW
2284if expr a : '\(a\)' >/dev/null 2>&1 &&
2285 test "X`expr 00001 : '.*\(...\)'`" = X001; then
b7026657
AC
2286 as_expr=expr
2287else
2288 as_expr=false
2289fi
c906108c 2290
81ecdfbb 2291if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
b7026657
AC
2292 as_basename=basename
2293else
2294 as_basename=false
2295fi
c906108c 2296
81ecdfbb
RW
2297if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2298 as_dirname=dirname
2299else
2300 as_dirname=false
2301fi
c906108c 2302
81ecdfbb 2303as_me=`$as_basename -- "$0" ||
b7026657
AC
2304$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2305 X"$0" : 'X\(//\)$' \| \
81ecdfbb
RW
2306 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2307$as_echo X/"$0" |
2308 sed '/^.*\/\([^/][^/]*\)\/*$/{
2309 s//\1/
2310 q
2311 }
2312 /^X\/\(\/\/\)$/{
2313 s//\1/
2314 q
2315 }
2316 /^X\/\(\/\).*/{
2317 s//\1/
2318 q
2319 }
2320 s/.*/./; q'`
b7026657 2321
b7026657
AC
2322# Avoid depending upon Character Ranges.
2323as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2324as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2325as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2326as_cr_digits='0123456789'
2327as_cr_alnum=$as_cr_Letters$as_cr_digits
2328
81ecdfbb
RW
2329ECHO_C= ECHO_N= ECHO_T=
2330case `echo -n x` in #(((((
2331-n*)
2332 case `echo 'xy\c'` in
2333 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2334 xy) ECHO_C='\c';;
2335 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2336 ECHO_T=' ';;
2337 esac;;
2338*)
2339 ECHO_N='-n';;
b7026657
AC
2340esac
2341
81ecdfbb
RW
2342rm -f conf$$ conf$$.exe conf$$.file
2343if test -d conf$$.dir; then
2344 rm -f conf$$.dir/conf$$.file
b7026657 2345else
81ecdfbb
RW
2346 rm -f conf$$.dir
2347 mkdir conf$$.dir 2>/dev/null
b7026657 2348fi
81ecdfbb
RW
2349if (echo >conf$$.file) 2>/dev/null; then
2350 if ln -s conf$$.file conf$$ 2>/dev/null; then
b7026657 2351 as_ln_s='ln -s'
81ecdfbb
RW
2352 # ... but there are two gotchas:
2353 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2354 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2355 # In both cases, we have to default to `cp -p'.
2356 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2357 as_ln_s='cp -p'
2358 elif ln conf$$.file conf$$ 2>/dev/null; then
2359 as_ln_s=ln
2360 else
2361 as_ln_s='cp -p'
c906108c 2362 fi
b7026657
AC
2363else
2364 as_ln_s='cp -p'
2365fi
81ecdfbb
RW
2366rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2367rmdir conf$$.dir 2>/dev/null
2368
2369
2370# as_fn_mkdir_p
2371# -------------
2372# Create "$as_dir" as a directory, including parents if necessary.
2373as_fn_mkdir_p ()
2374{
b7026657 2375
81ecdfbb
RW
2376 case $as_dir in #(
2377 -*) as_dir=./$as_dir;;
2378 esac
2379 test -d "$as_dir" || eval $as_mkdir_p || {
2380 as_dirs=
2381 while :; do
2382 case $as_dir in #(
2383 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2384 *) as_qdir=$as_dir;;
2385 esac
2386 as_dirs="'$as_qdir' $as_dirs"
2387 as_dir=`$as_dirname -- "$as_dir" ||
2388$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2389 X"$as_dir" : 'X\(//\)[^/]' \| \
2390 X"$as_dir" : 'X\(//\)$' \| \
2391 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2392$as_echo X"$as_dir" |
2393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2394 s//\1/
2395 q
2396 }
2397 /^X\(\/\/\)[^/].*/{
2398 s//\1/
2399 q
2400 }
2401 /^X\(\/\/\)$/{
2402 s//\1/
2403 q
2404 }
2405 /^X\(\/\).*/{
2406 s//\1/
2407 q
2408 }
2409 s/.*/./; q'`
2410 test -d "$as_dir" && break
2411 done
2412 test -z "$as_dirs" || eval "mkdir $as_dirs"
2413 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
2414
2415
2416} # as_fn_mkdir_p
b7026657 2417if mkdir -p . 2>/dev/null; then
81ecdfbb 2418 as_mkdir_p='mkdir -p "$as_dir"'
b7026657
AC
2419else
2420 test -d ./-p && rmdir ./-p
2421 as_mkdir_p=false
2422fi
2423
81ecdfbb
RW
2424if test -x / >/dev/null 2>&1; then
2425 as_test_x='test -x'
2426else
2427 if ls -dL / >/dev/null 2>&1; then
2428 as_ls_L_option=L
2429 else
2430 as_ls_L_option=
2431 fi
2432 as_test_x='
2433 eval sh -c '\''
2434 if test -d "$1"; then
2435 test -d "$1/.";
2436 else
2437 case $1 in #(
2438 -*)set "./$1";;
2439 esac;
2440 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
2441 ???[sx]*):;;*)false;;esac;fi
2442 '\'' sh
2443 '
2444fi
2445as_executable_p=$as_test_x
b7026657
AC
2446
2447# Sed expression to map a string onto a valid CPP name.
2448as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2449
2450# Sed expression to map a string onto a valid variable name.
2451as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2452
2453
b7026657 2454exec 6>&1
81ecdfbb
RW
2455## ----------------------------------- ##
2456## Main body of $CONFIG_STATUS script. ##
2457## ----------------------------------- ##
2458_ASEOF
2459test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2460
2461cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2462# Save the log message, to keep $0 and so on meaningful, and to
b7026657 2463# report actual input values of CONFIG_FILES etc. instead of their
81ecdfbb
RW
2464# values after options handling.
2465ac_log="
b7026657 2466This file was extended by $as_me, which was
81ecdfbb 2467generated by GNU Autoconf 2.64. Invocation command line was
b7026657
AC
2468
2469 CONFIG_FILES = $CONFIG_FILES
2470 CONFIG_HEADERS = $CONFIG_HEADERS
2471 CONFIG_LINKS = $CONFIG_LINKS
2472 CONFIG_COMMANDS = $CONFIG_COMMANDS
2473 $ $0 $@
2474
81ecdfbb
RW
2475on `(hostname || uname -n) 2>/dev/null | sed 1q`
2476"
2477
b7026657
AC
2478_ACEOF
2479
81ecdfbb
RW
2480case $ac_config_files in *"
2481"*) set x $ac_config_files; shift; ac_config_files=$*;;
2482esac
b7026657 2483
b7026657 2484
b7026657 2485
81ecdfbb
RW
2486cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2487# Files that config.status was made for.
2488config_files="$ac_config_files"
b7026657 2489
81ecdfbb 2490_ACEOF
b7026657 2491
81ecdfbb 2492cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
b7026657 2493ac_cs_usage="\
81ecdfbb
RW
2494\`$as_me' instantiates files and other configuration actions
2495from templates according to the current configuration. Unless the files
2496and actions are specified as TAGs, all are instantiated by default.
b7026657 2497
81ecdfbb 2498Usage: $0 [OPTION]... [TAG]...
b7026657
AC
2499
2500 -h, --help print this help, then exit
81ecdfbb
RW
2501 -V, --version print version number and configuration settings, then exit
2502 -q, --quiet, --silent
2503 do not print progress messages
b7026657
AC
2504 -d, --debug don't remove temporary files
2505 --recheck update $as_me by reconfiguring in the same conditions
81ecdfbb
RW
2506 --file=FILE[:TEMPLATE]
2507 instantiate the configuration file FILE
b7026657
AC
2508
2509Configuration files:
2510$config_files
2511
81ecdfbb 2512Report bugs to the package provider."
b7026657 2513
81ecdfbb
RW
2514_ACEOF
2515cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
b7026657
AC
2516ac_cs_version="\\
2517config.status
81ecdfbb
RW
2518configured by $0, generated by GNU Autoconf 2.64,
2519 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
b7026657 2520
81ecdfbb 2521Copyright (C) 2009 Free Software Foundation, Inc.
b7026657
AC
2522This config.status script is free software; the Free Software Foundation
2523gives unlimited permission to copy, distribute and modify it."
81ecdfbb
RW
2524
2525ac_pwd='$ac_pwd'
2526srcdir='$srcdir'
2527test -n "\$AWK" || AWK=awk
b7026657
AC
2528_ACEOF
2529
81ecdfbb
RW
2530cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2531# The default lists apply if the user does not specify any file.
b7026657
AC
2532ac_need_defaults=:
2533while test $# != 0
2534do
2535 case $1 in
2536 --*=*)
81ecdfbb
RW
2537 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2538 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
b7026657
AC
2539 ac_shift=:
2540 ;;
81ecdfbb 2541 *)
b7026657
AC
2542 ac_option=$1
2543 ac_optarg=$2
2544 ac_shift=shift
2545 ;;
b7026657
AC
2546 esac
2547
2548 case $ac_option in
2549 # Handling of the options.
b7026657
AC
2550 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2551 ac_cs_recheck=: ;;
81ecdfbb
RW
2552 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2553 $as_echo "$ac_cs_version"; exit ;;
2554 --debug | --debu | --deb | --de | --d | -d )
b7026657
AC
2555 debug=: ;;
2556 --file | --fil | --fi | --f )
2557 $ac_shift
81ecdfbb
RW
2558 case $ac_optarg in
2559 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2560 esac
2561 as_fn_append CONFIG_FILES " '$ac_optarg'"
b7026657 2562 ac_need_defaults=false;;
81ecdfbb
RW
2563 --he | --h | --help | --hel | -h )
2564 $as_echo "$ac_cs_usage"; exit ;;
b7026657
AC
2565 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2566 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2567 ac_cs_silent=: ;;
2568
2569 # This is an error.
81ecdfbb
RW
2570 -*) as_fn_error "unrecognized option: \`$1'
2571Try \`$0 --help' for more information." ;;
b7026657 2572
81ecdfbb
RW
2573 *) as_fn_append ac_config_targets " $1"
2574 ac_need_defaults=false ;;
b7026657
AC
2575
2576 esac
2577 shift
c906108c 2578done
b7026657
AC
2579
2580ac_configure_extra_args=
2581
2582if $ac_cs_silent; then
2583 exec 6>/dev/null
2584 ac_configure_extra_args="$ac_configure_extra_args --silent"
c906108c 2585fi
c906108c 2586
b7026657 2587_ACEOF
81ecdfbb 2588cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
b7026657 2589if \$ac_cs_recheck; then
81ecdfbb
RW
2590 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2591 shift
2592 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2593 CONFIG_SHELL='$SHELL'
2594 export CONFIG_SHELL
2595 exec "\$@"
b7026657 2596fi
c906108c 2597
b7026657 2598_ACEOF
81ecdfbb
RW
2599cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2600exec 5>>config.log
2601{
2602 echo
2603 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2604## Running $as_me. ##
2605_ASBOX
2606 $as_echo "$ac_log"
2607} >&5
b7026657 2608
81ecdfbb
RW
2609_ACEOF
2610cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2611_ACEOF
b7026657 2612
81ecdfbb 2613cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
b7026657 2614
81ecdfbb 2615# Handling of arguments.
b7026657
AC
2616for ac_config_target in $ac_config_targets
2617do
81ecdfbb
RW
2618 case $ac_config_target in
2619 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2620
2621 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
c906108c 2622 esac
b7026657 2623done
c906108c 2624
81ecdfbb 2625
b7026657
AC
2626# If the user did not use the arguments to specify the items to instantiate,
2627# then the envvar interface is used. Set only those that are not.
2628# We use the long form for the default assignment because of an extremely
2629# bizarre bug on SunOS 4.1.3.
2630if $ac_need_defaults; then
2631 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2632fi
c906108c 2633
b7026657 2634# Have a temporary directory for convenience. Make it in the build tree
81ecdfbb 2635# simply because there is no reason against having it here, and in addition,
b7026657 2636# creating and moving files from /tmp can sometimes cause problems.
81ecdfbb
RW
2637# Hook for its removal unless debugging.
2638# Note that there is a small window in which the directory will not be cleaned:
2639# after its creation but before its name has been assigned to `$tmp'.
b7026657
AC
2640$debug ||
2641{
81ecdfbb
RW
2642 tmp=
2643 trap 'exit_status=$?
2644 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2645' 0
2646 trap 'as_fn_exit 1' 1 2 13 15
b7026657 2647}
b7026657
AC
2648# Create a (secure) tmp directory for tmp files.
2649
2650{
81ecdfbb 2651 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
b7026657
AC
2652 test -n "$tmp" && test -d "$tmp"
2653} ||
2654{
81ecdfbb
RW
2655 tmp=./conf$$-$RANDOM
2656 (umask 077 && mkdir "$tmp")
2657} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
2658
2659# Set up the scripts for CONFIG_FILES section.
2660# No need to generate them if there are no CONFIG_FILES.
2661# This happens for instance with `./config.status config.h'.
2662if test -n "$CONFIG_FILES"; then
2663
2664
2665ac_cr=`echo X | tr X '\015'`
2666# On cygwin, bash can eat \r inside `` if the user requested igncr.
2667# But we know of no other shell where ac_cr would be empty at this
2668# point, so we can use a bashism as a fallback.
2669if test "x$ac_cr" = x; then
2670 eval ac_cr=\$\'\\r\'
2671fi
2672ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2673if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2674 ac_cs_awk_cr='\r'
2675else
2676 ac_cs_awk_cr=$ac_cr
2677fi
2678
2679echo 'BEGIN {' >"$tmp/subs1.awk" &&
2680_ACEOF
2681
2682
2683{
2684 echo "cat >conf$$subs.awk <<_ACEOF" &&
2685 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2686 echo "_ACEOF"
2687} >conf$$subs.sh ||
2688 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
2689ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
2690ac_delim='%!_!# '
2691for ac_last_try in false false false false false :; do
2692 . ./conf$$subs.sh ||
2693 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
2694
2695 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2696 if test $ac_delim_n = $ac_delim_num; then
2697 break
2698 elif $ac_last_try; then
2699 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
2700 else
2701 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2702 fi
2703done
2704rm -f conf$$subs.sh
2705
2706cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2707cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
2708_ACEOF
2709sed -n '
2710h
2711s/^/S["/; s/!.*/"]=/
2712p
2713g
2714s/^[^!]*!//
2715:repl
2716t repl
2717s/'"$ac_delim"'$//
2718t delim
2719:nl
2720h
2721s/\(.\{148\}\).*/\1/
2722t more1
2723s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2724p
2725n
2726b repl
2727:more1
2728s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2729p
2730g
2731s/.\{148\}//
2732t nl
2733:delim
2734h
2735s/\(.\{148\}\).*/\1/
2736t more2
2737s/["\\]/\\&/g; s/^/"/; s/$/"/
2738p
2739b
2740:more2
2741s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2742p
2743g
2744s/.\{148\}//
2745t delim
2746' <conf$$subs.awk | sed '
2747/^[^""]/{
2748 N
2749 s/\n//
2750}
2751' >>$CONFIG_STATUS || ac_write_fail=1
2752rm -f conf$$subs.awk
2753cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2754_ACAWK
2755cat >>"\$tmp/subs1.awk" <<_ACAWK &&
2756 for (key in S) S_is_set[key] = 1
2757 FS = "\a"
2758
2759}
b7026657 2760{
81ecdfbb
RW
2761 line = $ 0
2762 nfields = split(line, field, "@")
2763 substed = 0
2764 len = length(field[1])
2765 for (i = 2; i < nfields; i++) {
2766 key = field[i]
2767 keylen = length(key)
2768 if (S_is_set[key]) {
2769 value = S[key]
2770 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
2771 len += length(value) + length(field[++i])
2772 substed = 1
2773 } else
2774 len += 1 + keylen
2775 }
2776
2777 print line
b7026657
AC
2778}
2779
81ecdfbb
RW
2780_ACAWK
2781_ACEOF
2782cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2783if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
2784 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
2785else
2786 cat
2787fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
2788 || as_fn_error "could not setup config files machinery" "$LINENO" 5
b7026657
AC
2789_ACEOF
2790
81ecdfbb
RW
2791# VPATH may cause trouble with some makes, so we remove $(srcdir),
2792# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2793# trailing colons and then remove the whole line if VPATH becomes empty
2794# (actually we leave an empty line to preserve line numbers).
2795if test "x$srcdir" = x.; then
2796 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2797s/:*\$(srcdir):*/:/
2798s/:*\${srcdir}:*/:/
2799s/:*@srcdir@:*/:/
2800s/^\([^=]*=[ ]*\):*/\1/
2801s/:*$//
2802s/^[^=]*=[ ]*$//
2803}'
2804fi
b7026657 2805
81ecdfbb
RW
2806cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2807fi # test -n "$CONFIG_FILES"
b7026657 2808
b7026657 2809
81ecdfbb
RW
2810eval set X " :F $CONFIG_FILES "
2811shift
2812for ac_tag
2813do
2814 case $ac_tag in
2815 :[FHLC]) ac_mode=$ac_tag; continue;;
2816 esac
2817 case $ac_mode$ac_tag in
2818 :[FHL]*:*);;
2819 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
2820 :[FH]-) ac_tag=-:-;;
2821 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2822 esac
2823 ac_save_IFS=$IFS
2824 IFS=:
2825 set x $ac_tag
2826 IFS=$ac_save_IFS
2827 shift
2828 ac_file=$1
2829 shift
b7026657 2830
81ecdfbb
RW
2831 case $ac_mode in
2832 :L) ac_source=$1;;
2833 :[FH])
2834 ac_file_inputs=
2835 for ac_f
2836 do
2837 case $ac_f in
2838 -) ac_f="$tmp/stdin";;
2839 *) # Look for the file first in the build tree, then in the source tree
2840 # (if the path is not absolute). The absolute path cannot be DOS-style,
2841 # because $ac_f cannot contain `:'.
2842 test -f "$ac_f" ||
2843 case $ac_f in
2844 [\\/$]*) false;;
2845 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2846 esac ||
2847 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
2848 esac
2849 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
2850 as_fn_append ac_file_inputs " '$ac_f'"
2851 done
2852
2853 # Let's still pretend it is `configure' which instantiates (i.e., don't
2854 # use $as_me), people would be surprised to read:
2855 # /* config.h. Generated by config.status. */
2856 configure_input='Generated from '`
2857 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
2858 `' by configure.'
2859 if test x"$ac_file" != x-; then
2860 configure_input="$ac_file. $configure_input"
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
2862$as_echo "$as_me: creating $ac_file" >&6;}
b7026657 2863 fi
81ecdfbb
RW
2864 # Neutralize special characters interpreted by sed in replacement strings.
2865 case $configure_input in #(
2866 *\&* | *\|* | *\\* )
2867 ac_sed_conf_input=`$as_echo "$configure_input" |
2868 sed 's/[\\\\&|]/\\\\&/g'`;; #(
2869 *) ac_sed_conf_input=$configure_input;;
2870 esac
c906108c 2871
81ecdfbb
RW
2872 case $ac_tag in
2873 *:-:* | *:-) cat >"$tmp/stdin" \
2874 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
2875 esac
2876 ;;
c906108c
SS
2877 esac
2878
81ecdfbb 2879 ac_dir=`$as_dirname -- "$ac_file" ||
b7026657
AC
2880$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2881 X"$ac_file" : 'X\(//\)[^/]' \| \
2882 X"$ac_file" : 'X\(//\)$' \| \
81ecdfbb
RW
2883 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2884$as_echo X"$ac_file" |
2885 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2886 s//\1/
2887 q
2888 }
2889 /^X\(\/\/\)[^/].*/{
2890 s//\1/
2891 q
2892 }
2893 /^X\(\/\/\)$/{
2894 s//\1/
2895 q
2896 }
2897 /^X\(\/\).*/{
2898 s//\1/
2899 q
2900 }
2901 s/.*/./; q'`
2902 as_dir="$ac_dir"; as_fn_mkdir_p
b7026657
AC
2903 ac_builddir=.
2904
81ecdfbb
RW
2905case "$ac_dir" in
2906.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2907*)
2908 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2909 # A ".." for each directory in $ac_dir_suffix.
2910 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2911 case $ac_top_builddir_sub in
2912 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2913 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2914 esac ;;
2915esac
2916ac_abs_top_builddir=$ac_pwd
2917ac_abs_builddir=$ac_pwd$ac_dir_suffix
2918# for backward compatibility:
2919ac_top_builddir=$ac_top_build_prefix
c906108c 2920
b7026657 2921case $srcdir in
81ecdfbb 2922 .) # We are building in place.
b7026657 2923 ac_srcdir=.
81ecdfbb
RW
2924 ac_top_srcdir=$ac_top_builddir_sub
2925 ac_abs_top_srcdir=$ac_pwd ;;
2926 [\\/]* | ?:[\\/]* ) # Absolute name.
b7026657 2927 ac_srcdir=$srcdir$ac_dir_suffix;
81ecdfbb
RW
2928 ac_top_srcdir=$srcdir
2929 ac_abs_top_srcdir=$srcdir ;;
2930 *) # Relative name.
2931 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2932 ac_top_srcdir=$ac_top_build_prefix$srcdir
2933 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
b7026657 2934esac
81ecdfbb 2935ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
c906108c 2936
c906108c 2937
81ecdfbb
RW
2938 case $ac_mode in
2939 :F)
2940 #
2941 # CONFIG_FILE
2942 #
c906108c 2943
81ecdfbb 2944_ACEOF
c906108c 2945
81ecdfbb
RW
2946cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2947# If the template does not know about datarootdir, expand it.
2948# FIXME: This hack should be removed a few years after 2.60.
2949ac_datarootdir_hack=; ac_datarootdir_seen=
2950ac_sed_dataroot='
2951/datarootdir/ {
2952 p
2953 q
2954}
2955/@datadir@/p
2956/@docdir@/p
2957/@infodir@/p
2958/@localedir@/p
2959/@mandir@/p'
2960case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
2961*datarootdir*) ac_datarootdir_seen=yes;;
2962*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2964$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2965_ACEOF
2966cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2967 ac_datarootdir_hack='
2968 s&@datadir@&$datadir&g
2969 s&@docdir@&$docdir&g
2970 s&@infodir@&$infodir&g
2971 s&@localedir@&$localedir&g
2972 s&@mandir@&$mandir&g
2973 s&\\\${datarootdir}&$datarootdir&g' ;;
2974esac
b7026657 2975_ACEOF
81ecdfbb
RW
2976
2977# Neutralize VPATH when `$srcdir' = `.'.
2978# Shell code in configure.ac might set extrasub.
2979# FIXME: do we really want to maintain this feature?
2980cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2981ac_sed_extra="$ac_vpsub
b7026657
AC
2982$extrasub
2983_ACEOF
81ecdfbb 2984cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
b7026657
AC
2985:t
2986/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
81ecdfbb
RW
2987s|@configure_input@|$ac_sed_conf_input|;t t
2988s&@top_builddir@&$ac_top_builddir_sub&;t t
2989s&@top_build_prefix@&$ac_top_build_prefix&;t t
2990s&@srcdir@&$ac_srcdir&;t t
2991s&@abs_srcdir@&$ac_abs_srcdir&;t t
2992s&@top_srcdir@&$ac_top_srcdir&;t t
2993s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2994s&@builddir@&$ac_builddir&;t t
2995s&@abs_builddir@&$ac_abs_builddir&;t t
2996s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2997$ac_datarootdir_hack
2998"
2999eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3000 || as_fn_error "could not create $ac_file" "$LINENO" 5
3001
3002test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3003 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3004 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3006which seems to be undefined. Please make sure it is defined." >&5
3007$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3008which seems to be undefined. Please make sure it is defined." >&2;}
3009
3010 rm -f "$tmp/stdin"
3011 case $ac_file in
3012 -) cat "$tmp/out" && rm -f "$tmp/out";;
3013 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3014 esac \
3015 || as_fn_error "could not create $ac_file" "$LINENO" 5
3016 ;;
b7026657 3017
b7026657 3018
b7026657 3019
81ecdfbb
RW
3020 esac
3021
3022done # for ac_tag
3023
3024
3025as_fn_exit 0
b7026657 3026_ACEOF
b7026657
AC
3027ac_clean_files=$ac_clean_files_save
3028
81ecdfbb
RW
3029test $ac_write_fail = 0 ||
3030 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
3031
b7026657
AC
3032
3033# configure is writing to config.log, and then calls config.status.
3034# config.status does its own redirection, appending to config.log.
3035# Unfortunately, on DOS this fails, as config.log is still kept open
3036# by configure, so config.status won't be able to write to it; its
3037# output is simply discarded. So we exec the FD to /dev/null,
3038# effectively closing config.log, so it can be properly (re)opened and
3039# appended to by config.status. When coming back to configure, we
3040# need to make the FD available again.
3041if test "$no_create" != yes; then
3042 ac_cs_success=:
3043 ac_config_status_args=
3044 test "$silent" = yes &&
3045 ac_config_status_args="$ac_config_status_args --quiet"
3046 exec 5>/dev/null
3047 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3048 exec 5>>config.log
3049 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3050 # would make configure fail if this is the last instruction.
81ecdfbb 3051 $ac_cs_success || as_fn_exit $?
b7026657 3052fi
c906108c 3053
b7026657
AC
3054#
3055# CONFIG_SUBDIRS section.
3056#
c906108c
SS
3057if test "$no_recursion" != yes; then
3058
81ecdfbb
RW
3059 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
3060 # so they do not pile up.
c906108c
SS
3061 ac_sub_configure_args=
3062 ac_prev=
81ecdfbb
RW
3063 eval "set x $ac_configure_args"
3064 shift
3065 for ac_arg
3066 do
c906108c
SS
3067 if test -n "$ac_prev"; then
3068 ac_prev=
3069 continue
3070 fi
b7026657 3071 case $ac_arg in
c906108c
SS
3072 -cache-file | --cache-file | --cache-fil | --cache-fi \
3073 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3074 ac_prev=cache_file ;;
3075 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
b7026657
AC
3076 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3077 | --c=*)
3078 ;;
3079 --config-cache | -C)
c906108c
SS
3080 ;;
3081 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3082 ac_prev=srcdir ;;
3083 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3084 ;;
b7026657
AC
3085 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3086 ac_prev=prefix ;;
3087 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3088 ;;
81ecdfbb
RW
3089 --disable-option-checking)
3090 ;;
3091 *)
3092 case $ac_arg in
3093 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3094 esac
3095 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
c906108c
SS
3096 esac
3097 done
3098
b7026657
AC
3099 # Always prepend --prefix to ensure using the same prefix
3100 # in subdir configurations.
81ecdfbb
RW
3101 ac_arg="--prefix=$prefix"
3102 case $ac_arg in
3103 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3104 esac
3105 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
3106
3107 # Pass --silent
3108 if test "$silent" = yes; then
3109 ac_sub_configure_args="--silent $ac_sub_configure_args"
3110 fi
3111
3112 # Always prepend --disable-option-checking to silence warnings, since
3113 # different subdirs can have different --enable and --with options.
3114 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
b7026657
AC
3115
3116 ac_popdir=`pwd`
3117 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
c906108c
SS
3118
3119 # Do not complain, so a configure script can configure whichever
3120 # parts of a large source tree are present.
81ecdfbb 3121 test -d "$srcdir/$ac_dir" || continue
b7026657 3122
81ecdfbb
RW
3123 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
3124 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
3125 $as_echo "$ac_msg" >&6
3126 as_dir="$ac_dir"; as_fn_mkdir_p
b7026657
AC
3127 ac_builddir=.
3128
81ecdfbb
RW
3129case "$ac_dir" in
3130.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3131*)
3132 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3133 # A ".." for each directory in $ac_dir_suffix.
3134 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3135 case $ac_top_builddir_sub in
3136 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3137 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3138 esac ;;
3139esac
3140ac_abs_top_builddir=$ac_pwd
3141ac_abs_builddir=$ac_pwd$ac_dir_suffix
3142# for backward compatibility:
3143ac_top_builddir=$ac_top_build_prefix
c906108c 3144
b7026657 3145case $srcdir in
81ecdfbb 3146 .) # We are building in place.
b7026657 3147 ac_srcdir=.
81ecdfbb
RW
3148 ac_top_srcdir=$ac_top_builddir_sub
3149 ac_abs_top_srcdir=$ac_pwd ;;
3150 [\\/]* | ?:[\\/]* ) # Absolute name.
b7026657 3151 ac_srcdir=$srcdir$ac_dir_suffix;
81ecdfbb
RW
3152 ac_top_srcdir=$srcdir
3153 ac_abs_top_srcdir=$srcdir ;;
3154 *) # Relative name.
3155 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3156 ac_top_srcdir=$ac_top_build_prefix$srcdir
3157 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
b7026657 3158esac
81ecdfbb 3159ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
c906108c 3160
c906108c 3161
81ecdfbb 3162 cd "$ac_dir"
c906108c
SS
3163
3164 # Check for guested configure; otherwise get Cygnus style configure.
81ecdfbb
RW
3165 if test -f "$ac_srcdir/configure.gnu"; then
3166 ac_sub_configure=$ac_srcdir/configure.gnu
3167 elif test -f "$ac_srcdir/configure"; then
3168 ac_sub_configure=$ac_srcdir/configure
3169 elif test -f "$ac_srcdir/configure.in"; then
3170 # This should be Cygnus configure.
3171 ac_sub_configure=$ac_aux_dir/configure
c906108c 3172 else
81ecdfbb
RW
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
3174$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
c906108c
SS
3175 ac_sub_configure=
3176 fi
3177
3178 # The recursion is here.
3179 if test -n "$ac_sub_configure"; then
c906108c 3180 # Make the cache file name correct relative to the subdirectory.
b7026657
AC
3181 case $cache_file in
3182 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
81ecdfbb
RW
3183 *) # Relative name.
3184 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
c906108c
SS
3185 esac
3186
81ecdfbb
RW
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3188$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
c906108c 3189 # The eval makes quoting arguments work.
81ecdfbb
RW
3190 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
3191 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
3192 as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
c906108c
SS
3193 fi
3194
81ecdfbb 3195 cd "$ac_popdir"
c906108c
SS
3196 done
3197fi
81ecdfbb
RW
3198if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3200$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3201fi
c906108c 3202