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