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