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