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