sim: unify toolchain probing logic
[deliverable/binutils-gdb.git] / sim / lm32 / configure
CommitLineData
c28c63d8
JB
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
d0ac1c44
SM
3# Generated by GNU Autoconf 2.69.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
81ecdfbb 7#
c28c63d8 8#
c28c63d8
JB
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
81ecdfbb
RW
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
c28c63d8 14
81ecdfbb
RW
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
c28c63d8
JB
18 emulate sh
19 NULLCMD=:
81ecdfbb 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
c28c63d8
JB
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
81ecdfbb
RW
23 setopt NO_GLOB_SUBST
24else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30esac
c28c63d8
JB
31fi
32
81ecdfbb
RW
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
c28c63d8
JB
79fi
80
81
81ecdfbb
RW
82# IFS
83# We need space, tab and new line, in precisely that order. Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" "" $as_nl"
88
89# Find who we are. Look in the path if we contain no directory separator.
d0ac1c44 90as_myself=
81ecdfbb
RW
91case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100IFS=$as_save_IFS
101
102 ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107 as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there. '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
c28c63d8
JB
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
81ecdfbb
RW
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
d0ac1c44
SM
135# Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
81ecdfbb
RW
160if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
173 ;;
174esac
175fi
176"
177 as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191 exitcode=1; echo positional parameters were not saved.
192fi
d0ac1c44
SM
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
81ecdfbb
RW
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
d3562f83 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
81ecdfbb
RW
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201else
202 as_have_required=no
203fi
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
205
206else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208as_found=false
209for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
d6416cdc 210do
81ecdfbb
RW
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in #(
215 /*)
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
224fi
225fi
226 done;;
227 esac
228 as_found=false
229done
230$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233fi; }
234IFS=$as_save_IFS
235
236
237 if test "x$CONFIG_SHELL" != x; then :
d0ac1c44
SM
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240# neutralization value for shells without unset; and this also
241# works around shells that cannot unset nonexistent variables.
242# Preserve -v and -x to the replacement shell.
243BASH_ENV=/dev/null
244ENV=/dev/null
245(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251esac
252exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253# Admittedly, this is quite paranoid, since all the known shells bail
254# out after a failed `exec'.
255$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256exit 255
81ecdfbb
RW
257fi
258
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
d6416cdc 265 else
81ecdfbb
RW
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267$0: including any error possibly output before this
268$0: message. Then install a modern shell, or manually run
269$0: the script under such a shell if you do have one."
d6416cdc 270 fi
81ecdfbb
RW
271 exit 1
272fi
273fi
274fi
275SHELL=${CONFIG_SHELL-/bin/sh}
276export SHELL
277# Unset more variables known to interfere with behavior of common tools.
278CLICOLOR_FORCE= GREP_OPTIONS=
279unset CLICOLOR_FORCE GREP_OPTIONS
280
281## --------------------- ##
282## M4sh Shell Functions. ##
283## --------------------- ##
284# as_fn_unset VAR
285# ---------------
286# Portably unset VAR.
287as_fn_unset ()
288{
289 { eval $1=; unset $1;}
290}
291as_unset=as_fn_unset
292
293# as_fn_set_status STATUS
294# -----------------------
295# Set $? to STATUS, without forking.
296as_fn_set_status ()
297{
298 return $1
299} # as_fn_set_status
c28c63d8 300
81ecdfbb
RW
301# as_fn_exit STATUS
302# -----------------
303# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304as_fn_exit ()
305{
306 set +e
307 as_fn_set_status $1
308 exit $1
309} # as_fn_exit
310
311# as_fn_mkdir_p
312# -------------
313# Create "$as_dir" as a directory, including parents if necessary.
314as_fn_mkdir_p ()
315{
316
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333$as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
336 q
337 }
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
340 q
341 }
342 /^X\(\/\/\)$/{
343 s//\1/
344 q
345 }
346 /^X\(\/\).*/{
347 s//\1/
348 q
349 }
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
d0ac1c44 354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
81ecdfbb
RW
355
356
357} # as_fn_mkdir_p
d0ac1c44
SM
358
359# as_fn_executable_p FILE
360# -----------------------
361# Test if FILE is an executable regular file.
362as_fn_executable_p ()
363{
364 test -f "$1" && test -x "$1"
365} # as_fn_executable_p
81ecdfbb
RW
366# as_fn_append VAR VALUE
367# ----------------------
368# Append the text in VALUE to the end of the definition contained in VAR. Take
369# advantage of any shell optimizations that allow amortized linear growth over
370# repeated appends, instead of the typical quadratic growth present in naive
371# implementations.
372if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
374 {
375 eval $1+=\$2
376 }'
377else
378 as_fn_append ()
379 {
380 eval $1=\$$1\$2
381 }
382fi # as_fn_append
383
384# as_fn_arith ARG...
385# ------------------
386# Perform arithmetic evaluation on the ARGs, and store the result in the
387# global $as_val. Take advantage of shells that can avoid forks. The arguments
388# must be portable across $(()) and expr.
389if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
391 {
392 as_val=$(( $* ))
393 }'
394else
395 as_fn_arith ()
396 {
397 as_val=`expr "$@" || test $? -eq 1`
398 }
399fi # as_fn_arith
400
401
d0ac1c44
SM
402# as_fn_error STATUS ERROR [LINENO LOG_FD]
403# ----------------------------------------
81ecdfbb
RW
404# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
d0ac1c44 406# script with STATUS, using 1 if that was 0.
81ecdfbb
RW
407as_fn_error ()
408{
d0ac1c44
SM
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
81ecdfbb 413 fi
d0ac1c44 414 $as_echo "$as_me: error: $2" >&2
81ecdfbb
RW
415 as_fn_exit $as_status
416} # as_fn_error
417
418if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
c28c63d8
JB
420 as_expr=expr
421else
422 as_expr=false
423fi
424
81ecdfbb 425if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
c28c63d8
JB
426 as_basename=basename
427else
428 as_basename=false
429fi
430
81ecdfbb
RW
431if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433else
434 as_dirname=false
435fi
c28c63d8 436
81ecdfbb 437as_me=`$as_basename -- "$0" ||
c28c63d8
JB
438$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
81ecdfbb
RW
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441$as_echo X/"$0" |
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
443 s//\1/
444 q
445 }
446 /^X\/\(\/\/\)$/{
447 s//\1/
448 q
449 }
450 /^X\/\(\/\).*/{
451 s//\1/
452 q
453 }
454 s/.*/./; q'`
c28c63d8 455
d6416cdc
RW
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
c28c63d8 462
c28c63d8 463
81ecdfbb
RW
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
469 sed -n '
470 p
471 /[$]LINENO/=
472 ' <$as_myself |
c28c63d8 473 sed '
81ecdfbb
RW
474 s/[$]LINENO.*/&-/
475 t lineno
476 b
477 :lineno
c28c63d8 478 N
81ecdfbb
RW
479 :loop
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
c28c63d8 481 t loop
81ecdfbb 482 s/-\n.*//
c28c63d8 483 ' >$as_me.lineno &&
81ecdfbb
RW
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
c28c63d8 486
d0ac1c44
SM
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
c28c63d8
JB
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
81ecdfbb
RW
493 # original and so on. Autoconf is especially sensitive to this).
494 . "./$as_me.lineno"
c28c63d8
JB
495 # Exit status is that of the last command.
496 exit
497}
498
81ecdfbb
RW
499ECHO_C= ECHO_N= ECHO_T=
500case `echo -n x` in #(((((
501-n*)
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
507 esac;;
508*)
509 ECHO_N='-n';;
c28c63d8 510esac
d6416cdc 511
81ecdfbb
RW
512rm -f conf$$ conf$$.exe conf$$.file
513if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
c28c63d8 515else
81ecdfbb
RW
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
c28c63d8 518fi
81ecdfbb
RW
519if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
d6416cdc 521 as_ln_s='ln -s'
81ecdfbb
RW
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
d0ac1c44 525 # In both cases, we have to default to `cp -pR'.
81ecdfbb 526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
d0ac1c44 527 as_ln_s='cp -pR'
81ecdfbb
RW
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
d0ac1c44 531 as_ln_s='cp -pR'
c28c63d8
JB
532 fi
533else
d0ac1c44 534 as_ln_s='cp -pR'
c28c63d8 535fi
81ecdfbb
RW
536rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537rmdir conf$$.dir 2>/dev/null
c28c63d8
JB
538
539if mkdir -p . 2>/dev/null; then
81ecdfbb 540 as_mkdir_p='mkdir -p "$as_dir"'
c28c63d8
JB
541else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
544fi
545
d0ac1c44
SM
546as_test_x='test -x'
547as_executable_p=as_fn_executable_p
c28c63d8
JB
548
549# Sed expression to map a string onto a valid CPP name.
550as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
551
552# Sed expression to map a string onto a valid variable name.
553as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
555
d0ac1c44
SM
556test -n "$DJDIR" || exec 7<&0 </dev/null
557exec 6>&1
c28c63d8
JB
558
559# Name of the host.
d0ac1c44 560# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
c28c63d8
JB
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
81ecdfbb 568ac_clean_files=
c28c63d8 569ac_config_libobj_dir=.
81ecdfbb 570LIBOBJS=
c28c63d8
JB
571cross_compiling=no
572subdirs=
573MFLAGS=
574MAKEFLAGS=
d6416cdc 575
c28c63d8
JB
576# Identity of this package.
577PACKAGE_NAME=
578PACKAGE_TARNAME=
579PACKAGE_VERSION=
580PACKAGE_STRING=
581PACKAGE_BUGREPORT=
81ecdfbb 582PACKAGE_URL=
c28c63d8
JB
583
584ac_unique_file="Makefile.in"
81ecdfbb
RW
585ac_subst_vars='LTLIBOBJS
586LIBOBJS
760b3e8b
MF
587sim_reserved_bits
588sim_float
589sim_bitsize
81ecdfbb
RW
590cgen_breaks
591cgen
592cgendir
593CGEN_MAINT
81ecdfbb 594MAINT
31e6ad7d
MF
595MAINTAINER_MODE_FALSE
596MAINTAINER_MODE_TRUE
81ecdfbb
RW
597CATOBJEXT
598GENCAT
599INSTOBJEXT
600DATADIRNAME
601CATALOGS
602POSUB
603GMSGFMT
604XGETTEXT
605INCINTL
606LIBINTL_DEP
607LIBINTL
608USE_NLS
db2e4d67
MF
609CCDEPMODE
610DEPDIR
611am__leading_dot
81ecdfbb
RW
612INSTALL_DATA
613INSTALL_SCRIPT
614INSTALL_PROGRAM
c2783492
MF
615OBJEXT
616EXEEXT
617ac_ct_CC
618CPPFLAGS
619LDFLAGS
620CFLAGS
621CC
81ecdfbb
RW
622target_alias
623host_alias
624build_alias
625LIBS
626ECHO_T
627ECHO_N
628ECHO_C
629DEFS
630mandir
631localedir
632libdir
633psdir
634pdfdir
635dvidir
636htmldir
637infodir
638docdir
639oldincludedir
640includedir
641localstatedir
642sharedstatedir
643sysconfdir
644datadir
645datarootdir
646libexecdir
647sbindir
648bindir
649program_transform_name
650prefix
651exec_prefix
652PACKAGE_URL
653PACKAGE_BUGREPORT
654PACKAGE_STRING
655PACKAGE_VERSION
656PACKAGE_TARNAME
657PACKAGE_NAME
658PATH_SEPARATOR
136da8cd 659SHELL
760b3e8b 660sim_scache
136da8cd
MF
661sim_inline
662sim_hw
663sim_hw_objs
664sim_hw_cflags
ba307cdd 665sim_default_model'
c28c63d8 666ac_subst_files=''
81ecdfbb
RW
667ac_user_opts='
668enable_option_checking
669enable_maintainer_mode
347fe5bb 670enable_sim_inline
81ecdfbb
RW
671enable_sim_scache
672enable_sim_default_model
982c3a65
MF
673enable_cgen_maint
674enable_sim_hardware
81ecdfbb
RW
675'
676 ac_precious_vars='build_alias
677host_alias
678target_alias
679CC
680CFLAGS
681LDFLAGS
682LIBS
d3562f83 683CPPFLAGS'
81ecdfbb 684
c28c63d8
JB
685
686# Initialize some variables set by options.
687ac_init_help=
688ac_init_version=false
81ecdfbb
RW
689ac_unrecognized_opts=
690ac_unrecognized_sep=
c28c63d8
JB
691# The variables have the same names as the options, with
692# dashes changed to underlines.
693cache_file=/dev/null
694exec_prefix=NONE
695no_create=
696no_recursion=
697prefix=NONE
698program_prefix=NONE
699program_suffix=NONE
700program_transform_name=s,x,x,
701silent=
702site=
703srcdir=
704verbose=
705x_includes=NONE
706x_libraries=NONE
707
708# Installation directory options.
709# These are left unexpanded so users can "make install exec_prefix=/foo"
710# and all the variables that are supposed to be based on exec_prefix
711# by default will actually change.
712# Use braces instead of parens because sh, perl, etc. also accept them.
81ecdfbb 713# (The list follows the same order as the GNU Coding Standards.)
c28c63d8
JB
714bindir='${exec_prefix}/bin'
715sbindir='${exec_prefix}/sbin'
716libexecdir='${exec_prefix}/libexec'
81ecdfbb
RW
717datarootdir='${prefix}/share'
718datadir='${datarootdir}'
c28c63d8
JB
719sysconfdir='${prefix}/etc'
720sharedstatedir='${prefix}/com'
721localstatedir='${prefix}/var'
722includedir='${prefix}/include'
723oldincludedir='/usr/include'
81ecdfbb
RW
724docdir='${datarootdir}/doc/${PACKAGE}'
725infodir='${datarootdir}/info'
726htmldir='${docdir}'
727dvidir='${docdir}'
728pdfdir='${docdir}'
729psdir='${docdir}'
730libdir='${exec_prefix}/lib'
731localedir='${datarootdir}/locale'
732mandir='${datarootdir}/man'
c28c63d8
JB
733
734ac_prev=
81ecdfbb 735ac_dashdash=
c28c63d8
JB
736for ac_option
737do
738 # If the previous option needs an argument, assign it.
739 if test -n "$ac_prev"; then
81ecdfbb 740 eval $ac_prev=\$ac_option
c28c63d8
JB
741 ac_prev=
742 continue
743 fi
744
81ecdfbb 745 case $ac_option in
d0ac1c44
SM
746 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
747 *=) ac_optarg= ;;
748 *) ac_optarg=yes ;;
81ecdfbb 749 esac
c28c63d8
JB
750
751 # Accept the important Cygnus configure options, so we can diagnose typos.
752
81ecdfbb
RW
753 case $ac_dashdash$ac_option in
754 --)
755 ac_dashdash=yes ;;
c28c63d8
JB
756
757 -bindir | --bindir | --bindi | --bind | --bin | --bi)
758 ac_prev=bindir ;;
759 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
760 bindir=$ac_optarg ;;
761
762 -build | --build | --buil | --bui | --bu)
763 ac_prev=build_alias ;;
764 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
765 build_alias=$ac_optarg ;;
766
767 -cache-file | --cache-file | --cache-fil | --cache-fi \
768 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
769 ac_prev=cache_file ;;
770 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
771 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
772 cache_file=$ac_optarg ;;
773
774 --config-cache | -C)
775 cache_file=config.cache ;;
776
81ecdfbb 777 -datadir | --datadir | --datadi | --datad)
c28c63d8 778 ac_prev=datadir ;;
81ecdfbb 779 -datadir=* | --datadir=* | --datadi=* | --datad=*)
c28c63d8
JB
780 datadir=$ac_optarg ;;
781
81ecdfbb
RW
782 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
783 | --dataroo | --dataro | --datar)
784 ac_prev=datarootdir ;;
785 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
786 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
787 datarootdir=$ac_optarg ;;
788
c28c63d8 789 -disable-* | --disable-*)
81ecdfbb 790 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
c28c63d8 791 # Reject names that are not valid shell variable names.
81ecdfbb 792 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
d0ac1c44 793 as_fn_error $? "invalid feature name: $ac_useropt"
81ecdfbb
RW
794 ac_useropt_orig=$ac_useropt
795 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
796 case $ac_user_opts in
797 *"
798"enable_$ac_useropt"
799"*) ;;
800 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
801 ac_unrecognized_sep=', ';;
802 esac
803 eval enable_$ac_useropt=no ;;
804
805 -docdir | --docdir | --docdi | --doc | --do)
806 ac_prev=docdir ;;
807 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
808 docdir=$ac_optarg ;;
809
810 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
811 ac_prev=dvidir ;;
812 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
813 dvidir=$ac_optarg ;;
c28c63d8
JB
814
815 -enable-* | --enable-*)
81ecdfbb 816 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
c28c63d8 817 # Reject names that are not valid shell variable names.
81ecdfbb 818 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
d0ac1c44 819 as_fn_error $? "invalid feature name: $ac_useropt"
81ecdfbb
RW
820 ac_useropt_orig=$ac_useropt
821 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
822 case $ac_user_opts in
823 *"
824"enable_$ac_useropt"
825"*) ;;
826 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
827 ac_unrecognized_sep=', ';;
c28c63d8 828 esac
81ecdfbb 829 eval enable_$ac_useropt=\$ac_optarg ;;
c28c63d8
JB
830
831 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
832 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
833 | --exec | --exe | --ex)
834 ac_prev=exec_prefix ;;
835 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
836 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
837 | --exec=* | --exe=* | --ex=*)
838 exec_prefix=$ac_optarg ;;
839
840 -gas | --gas | --ga | --g)
841 # Obsolete; use --with-gas.
842 with_gas=yes ;;
843
844 -help | --help | --hel | --he | -h)
845 ac_init_help=long ;;
846 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
847 ac_init_help=recursive ;;
848 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
849 ac_init_help=short ;;
850
851 -host | --host | --hos | --ho)
852 ac_prev=host_alias ;;
853 -host=* | --host=* | --hos=* | --ho=*)
854 host_alias=$ac_optarg ;;
855
81ecdfbb
RW
856 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
857 ac_prev=htmldir ;;
858 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
859 | --ht=*)
860 htmldir=$ac_optarg ;;
861
c28c63d8
JB
862 -includedir | --includedir | --includedi | --included | --include \
863 | --includ | --inclu | --incl | --inc)
864 ac_prev=includedir ;;
865 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
866 | --includ=* | --inclu=* | --incl=* | --inc=*)
867 includedir=$ac_optarg ;;
868
869 -infodir | --infodir | --infodi | --infod | --info | --inf)
870 ac_prev=infodir ;;
871 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
872 infodir=$ac_optarg ;;
873
874 -libdir | --libdir | --libdi | --libd)
875 ac_prev=libdir ;;
876 -libdir=* | --libdir=* | --libdi=* | --libd=*)
877 libdir=$ac_optarg ;;
878
879 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
880 | --libexe | --libex | --libe)
881 ac_prev=libexecdir ;;
882 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
883 | --libexe=* | --libex=* | --libe=*)
884 libexecdir=$ac_optarg ;;
885
81ecdfbb
RW
886 -localedir | --localedir | --localedi | --localed | --locale)
887 ac_prev=localedir ;;
888 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
889 localedir=$ac_optarg ;;
890
c28c63d8 891 -localstatedir | --localstatedir | --localstatedi | --localstated \
81ecdfbb 892 | --localstate | --localstat | --localsta | --localst | --locals)
c28c63d8
JB
893 ac_prev=localstatedir ;;
894 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
81ecdfbb 895 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
c28c63d8
JB
896 localstatedir=$ac_optarg ;;
897
898 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
899 ac_prev=mandir ;;
900 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
901 mandir=$ac_optarg ;;
902
903 -nfp | --nfp | --nf)
904 # Obsolete; use --without-fp.
905 with_fp=no ;;
906
907 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
908 | --no-cr | --no-c | -n)
909 no_create=yes ;;
910
911 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
912 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
913 no_recursion=yes ;;
914
915 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
916 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
917 | --oldin | --oldi | --old | --ol | --o)
918 ac_prev=oldincludedir ;;
919 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
920 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
921 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
922 oldincludedir=$ac_optarg ;;
923
924 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
925 ac_prev=prefix ;;
926 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
927 prefix=$ac_optarg ;;
928
929 -program-prefix | --program-prefix | --program-prefi | --program-pref \
930 | --program-pre | --program-pr | --program-p)
931 ac_prev=program_prefix ;;
932 -program-prefix=* | --program-prefix=* | --program-prefi=* \
933 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
934 program_prefix=$ac_optarg ;;
935
936 -program-suffix | --program-suffix | --program-suffi | --program-suff \
937 | --program-suf | --program-su | --program-s)
938 ac_prev=program_suffix ;;
939 -program-suffix=* | --program-suffix=* | --program-suffi=* \
940 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
941 program_suffix=$ac_optarg ;;
942
943 -program-transform-name | --program-transform-name \
944 | --program-transform-nam | --program-transform-na \
945 | --program-transform-n | --program-transform- \
946 | --program-transform | --program-transfor \
947 | --program-transfo | --program-transf \
948 | --program-trans | --program-tran \
949 | --progr-tra | --program-tr | --program-t)
950 ac_prev=program_transform_name ;;
951 -program-transform-name=* | --program-transform-name=* \
952 | --program-transform-nam=* | --program-transform-na=* \
953 | --program-transform-n=* | --program-transform-=* \
954 | --program-transform=* | --program-transfor=* \
955 | --program-transfo=* | --program-transf=* \
956 | --program-trans=* | --program-tran=* \
957 | --progr-tra=* | --program-tr=* | --program-t=*)
958 program_transform_name=$ac_optarg ;;
959
81ecdfbb
RW
960 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
961 ac_prev=pdfdir ;;
962 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
963 pdfdir=$ac_optarg ;;
964
965 -psdir | --psdir | --psdi | --psd | --ps)
966 ac_prev=psdir ;;
967 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
968 psdir=$ac_optarg ;;
969
c28c63d8
JB
970 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
971 | -silent | --silent | --silen | --sile | --sil)
972 silent=yes ;;
973
974 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
975 ac_prev=sbindir ;;
976 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
977 | --sbi=* | --sb=*)
978 sbindir=$ac_optarg ;;
979
980 -sharedstatedir | --sharedstatedir | --sharedstatedi \
981 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
982 | --sharedst | --shareds | --shared | --share | --shar \
983 | --sha | --sh)
984 ac_prev=sharedstatedir ;;
985 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
986 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
987 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
988 | --sha=* | --sh=*)
989 sharedstatedir=$ac_optarg ;;
990
991 -site | --site | --sit)
992 ac_prev=site ;;
993 -site=* | --site=* | --sit=*)
994 site=$ac_optarg ;;
995
996 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
997 ac_prev=srcdir ;;
998 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
999 srcdir=$ac_optarg ;;
1000
1001 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1002 | --syscon | --sysco | --sysc | --sys | --sy)
1003 ac_prev=sysconfdir ;;
1004 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1005 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1006 sysconfdir=$ac_optarg ;;
1007
1008 -target | --target | --targe | --targ | --tar | --ta | --t)
1009 ac_prev=target_alias ;;
1010 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1011 target_alias=$ac_optarg ;;
1012
1013 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1014 verbose=yes ;;
1015
1016 -version | --version | --versio | --versi | --vers | -V)
1017 ac_init_version=: ;;
1018
1019 -with-* | --with-*)
81ecdfbb 1020 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
c28c63d8 1021 # Reject names that are not valid shell variable names.
81ecdfbb 1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
d0ac1c44 1023 as_fn_error $? "invalid package name: $ac_useropt"
81ecdfbb
RW
1024 ac_useropt_orig=$ac_useropt
1025 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1027 *"
1028"with_$ac_useropt"
1029"*) ;;
1030 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1031 ac_unrecognized_sep=', ';;
c28c63d8 1032 esac
81ecdfbb 1033 eval with_$ac_useropt=\$ac_optarg ;;
c28c63d8
JB
1034
1035 -without-* | --without-*)
81ecdfbb 1036 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
c28c63d8 1037 # Reject names that are not valid shell variable names.
81ecdfbb 1038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
d0ac1c44 1039 as_fn_error $? "invalid package name: $ac_useropt"
81ecdfbb
RW
1040 ac_useropt_orig=$ac_useropt
1041 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1042 case $ac_user_opts in
1043 *"
1044"with_$ac_useropt"
1045"*) ;;
1046 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1047 ac_unrecognized_sep=', ';;
1048 esac
1049 eval with_$ac_useropt=no ;;
c28c63d8
JB
1050
1051 --x)
1052 # Obsolete; use --with-x.
1053 with_x=yes ;;
1054
1055 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1056 | --x-incl | --x-inc | --x-in | --x-i)
1057 ac_prev=x_includes ;;
1058 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1059 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1060 x_includes=$ac_optarg ;;
1061
1062 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1063 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1064 ac_prev=x_libraries ;;
1065 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1066 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1067 x_libraries=$ac_optarg ;;
1068
d0ac1c44
SM
1069 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1070Try \`$0 --help' for more information"
c28c63d8
JB
1071 ;;
1072
1073 *=*)
1074 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1075 # Reject names that are not valid shell variable names.
81ecdfbb
RW
1076 case $ac_envvar in #(
1077 '' | [0-9]* | *[!_$as_cr_alnum]* )
d0ac1c44 1078 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
81ecdfbb
RW
1079 esac
1080 eval $ac_envvar=\$ac_optarg
c28c63d8
JB
1081 export $ac_envvar ;;
1082
1083 *)
1084 # FIXME: should be removed in autoconf 3.0.
81ecdfbb 1085 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
c28c63d8 1086 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
81ecdfbb 1087 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
d0ac1c44 1088 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
c28c63d8
JB
1089 ;;
1090
1091 esac
1092done
1093
1094if test -n "$ac_prev"; then
1095 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
d0ac1c44 1096 as_fn_error $? "missing argument to $ac_option"
c28c63d8
JB
1097fi
1098
81ecdfbb
RW
1099if test -n "$ac_unrecognized_opts"; then
1100 case $enable_option_checking in
1101 no) ;;
d0ac1c44 1102 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
81ecdfbb 1103 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
c28c63d8 1104 esac
81ecdfbb 1105fi
d6416cdc 1106
81ecdfbb
RW
1107# Check all directory arguments for consistency.
1108for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1109 datadir sysconfdir sharedstatedir localstatedir includedir \
1110 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1111 libdir localedir mandir
d6416cdc 1112do
81ecdfbb
RW
1113 eval ac_val=\$$ac_var
1114 # Remove trailing slashes.
1115 case $ac_val in
1116 */ )
1117 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1118 eval $ac_var=\$ac_val;;
1119 esac
1120 # Be sure to have absolute directory names.
c28c63d8 1121 case $ac_val in
81ecdfbb
RW
1122 [\\/$]* | ?:[\\/]* ) continue;;
1123 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
c28c63d8 1124 esac
d0ac1c44 1125 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
c28c63d8
JB
1126done
1127
1128# There might be people who depend on the old broken behavior: `$host'
1129# used to hold the argument of --host etc.
1130# FIXME: To remove some day.
1131build=$build_alias
1132host=$host_alias
1133target=$target_alias
1134
1135# FIXME: To remove some day.
1136if test "x$host_alias" != x; then
1137 if test "x$build_alias" = x; then
1138 cross_compiling=maybe
c28c63d8
JB
1139 elif test "x$build_alias" != "x$host_alias"; then
1140 cross_compiling=yes
1141 fi
1142fi
1143
1144ac_tool_prefix=
1145test -n "$host_alias" && ac_tool_prefix=$host_alias-
1146
1147test "$silent" = yes && exec 6>/dev/null
1148
1149
81ecdfbb
RW
1150ac_pwd=`pwd` && test -n "$ac_pwd" &&
1151ac_ls_di=`ls -di .` &&
1152ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
d0ac1c44 1153 as_fn_error $? "working directory cannot be determined"
81ecdfbb 1154test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
d0ac1c44 1155 as_fn_error $? "pwd does not report name of working directory"
81ecdfbb
RW
1156
1157
c28c63d8
JB
1158# Find the source files, if location was not specified.
1159if test -z "$srcdir"; then
1160 ac_srcdir_defaulted=yes
81ecdfbb
RW
1161 # Try the directory containing this script, then the parent directory.
1162 ac_confdir=`$as_dirname -- "$as_myself" ||
1163$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1164 X"$as_myself" : 'X\(//\)[^/]' \| \
1165 X"$as_myself" : 'X\(//\)$' \| \
1166 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1167$as_echo X"$as_myself" |
1168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1169 s//\1/
1170 q
1171 }
1172 /^X\(\/\/\)[^/].*/{
1173 s//\1/
1174 q
1175 }
1176 /^X\(\/\/\)$/{
1177 s//\1/
1178 q
1179 }
1180 /^X\(\/\).*/{
1181 s//\1/
1182 q
1183 }
1184 s/.*/./; q'`
c28c63d8 1185 srcdir=$ac_confdir
81ecdfbb 1186 if test ! -r "$srcdir/$ac_unique_file"; then
c28c63d8
JB
1187 srcdir=..
1188 fi
1189else
1190 ac_srcdir_defaulted=no
1191fi
81ecdfbb
RW
1192if test ! -r "$srcdir/$ac_unique_file"; then
1193 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
d0ac1c44 1194 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
81ecdfbb
RW
1195fi
1196ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1197ac_abs_confdir=`(
d0ac1c44 1198 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
81ecdfbb
RW
1199 pwd)`
1200# When building in place, set srcdir=.
1201if test "$ac_abs_confdir" = "$ac_pwd"; then
1202 srcdir=.
1203fi
1204# Remove unnecessary trailing slashes from srcdir.
1205# Double slashes in file names in object file debugging info
1206# mess up M-x gdb in Emacs.
1207case $srcdir in
1208*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1209esac
1210for ac_var in $ac_precious_vars; do
1211 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1212 eval ac_env_${ac_var}_value=\$${ac_var}
1213 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1214 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1215done
c28c63d8
JB
1216
1217#
1218# Report the --help message.
1219#
1220if test "$ac_init_help" = "long"; then
1221 # Omit some internal or obsolete options to make the list less imposing.
1222 # This message is too long to be a string in the A/UX 3.1 sh.
1223 cat <<_ACEOF
1224\`configure' configures this package to adapt to many kinds of systems.
1225
1226Usage: $0 [OPTION]... [VAR=VALUE]...
1227
1228To assign environment variables (e.g., CC, CFLAGS...), specify them as
1229VAR=VALUE. See below for descriptions of some of the useful variables.
1230
1231Defaults for the options are specified in brackets.
1232
1233Configuration:
1234 -h, --help display this help and exit
1235 --help=short display options specific to this package
1236 --help=recursive display the short help of all the included packages
1237 -V, --version display version information and exit
d0ac1c44 1238 -q, --quiet, --silent do not print \`checking ...' messages
c28c63d8
JB
1239 --cache-file=FILE cache test results in FILE [disabled]
1240 -C, --config-cache alias for \`--cache-file=config.cache'
1241 -n, --no-create do not create output files
1242 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1243
1244Installation directories:
1245 --prefix=PREFIX install architecture-independent files in PREFIX
81ecdfbb 1246 [$ac_default_prefix]
c28c63d8 1247 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
81ecdfbb 1248 [PREFIX]
c28c63d8
JB
1249
1250By default, \`make install' will install all the files in
1251\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1252an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1253for instance \`--prefix=\$HOME'.
1254
1255For better control, use the options below.
1256
1257Fine tuning of the installation directories:
81ecdfbb
RW
1258 --bindir=DIR user executables [EPREFIX/bin]
1259 --sbindir=DIR system admin executables [EPREFIX/sbin]
1260 --libexecdir=DIR program executables [EPREFIX/libexec]
1261 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1262 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1263 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1264 --libdir=DIR object code libraries [EPREFIX/lib]
1265 --includedir=DIR C header files [PREFIX/include]
1266 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1267 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1268 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1269 --infodir=DIR info documentation [DATAROOTDIR/info]
1270 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1271 --mandir=DIR man documentation [DATAROOTDIR/man]
1272 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1273 --htmldir=DIR html documentation [DOCDIR]
1274 --dvidir=DIR dvi documentation [DOCDIR]
1275 --pdfdir=DIR pdf documentation [DOCDIR]
1276 --psdir=DIR ps documentation [DOCDIR]
c28c63d8
JB
1277_ACEOF
1278
1279 cat <<\_ACEOF
c28c63d8
JB
1280_ACEOF
1281fi
1282
1283if test -n "$ac_init_help"; then
1284
1285 cat <<\_ACEOF
1286
1287Optional Features:
81ecdfbb 1288 --disable-option-checking ignore unrecognized --enable/--with options
c28c63d8
JB
1289 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1290 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
d0ac1c44
SM
1291 --enable-maintainer-mode
1292 enable make rules and dependencies not useful (and
1293 sometimes confusing) to the casual installer
347fe5bb
MF
1294 --enable-sim-inline=inlines
1295 Specify which functions should be inlined
8d0978fb
MF
1296 --enable-sim-scache=size
1297 Specify simulator execution cache size
1298 --enable-sim-default-model=model
1299 Specify default model to simulate
982c3a65
MF
1300 --enable-cgen-maint=DIR build cgen generated files
1301 --enable-sim-hardware=LIST
1302 Specify the hardware to be included in the build.
c28c63d8 1303
c28c63d8
JB
1304Some influential environment variables:
1305 CC C compiler command
1306 CFLAGS C compiler flags
1307 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1308 nonstandard directory <lib dir>
81ecdfbb 1309 LIBS libraries to pass to the linker, e.g. -l<library>
d0ac1c44 1310 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
81ecdfbb 1311 you have headers in a nonstandard directory <include dir>
c28c63d8
JB
1312
1313Use these variables to override the choices made by `configure' or to help
1314it to find libraries and programs with nonstandard names/locations.
1315
81ecdfbb 1316Report bugs to the package provider.
c28c63d8 1317_ACEOF
81ecdfbb 1318ac_status=$?
c28c63d8
JB
1319fi
1320
1321if test "$ac_init_help" = "recursive"; then
1322 # If there are subdirs, report their specific --help.
1323 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
81ecdfbb
RW
1324 test -d "$ac_dir" ||
1325 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1326 continue
c28c63d8
JB
1327 ac_builddir=.
1328
81ecdfbb
RW
1329case "$ac_dir" in
1330.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1331*)
1332 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1333 # A ".." for each directory in $ac_dir_suffix.
1334 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1335 case $ac_top_builddir_sub in
1336 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1338 esac ;;
1339esac
1340ac_abs_top_builddir=$ac_pwd
1341ac_abs_builddir=$ac_pwd$ac_dir_suffix
1342# for backward compatibility:
1343ac_top_builddir=$ac_top_build_prefix
c28c63d8
JB
1344
1345case $srcdir in
81ecdfbb 1346 .) # We are building in place.
c28c63d8 1347 ac_srcdir=.
81ecdfbb
RW
1348 ac_top_srcdir=$ac_top_builddir_sub
1349 ac_abs_top_srcdir=$ac_pwd ;;
1350 [\\/]* | ?:[\\/]* ) # Absolute name.
c28c63d8 1351 ac_srcdir=$srcdir$ac_dir_suffix;
81ecdfbb
RW
1352 ac_top_srcdir=$srcdir
1353 ac_abs_top_srcdir=$srcdir ;;
1354 *) # Relative name.
1355 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1356 ac_top_srcdir=$ac_top_build_prefix$srcdir
1357 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
d6416cdc 1358esac
81ecdfbb
RW
1359ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1360
1361 cd "$ac_dir" || { ac_status=$?; continue; }
1362 # Check for guested configure.
1363 if test -f "$ac_srcdir/configure.gnu"; then
1364 echo &&
1365 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1366 elif test -f "$ac_srcdir/configure"; then
1367 echo &&
1368 $SHELL "$ac_srcdir/configure" --help=recursive
c28c63d8 1369 else
81ecdfbb
RW
1370 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1371 fi || ac_status=$?
1372 cd "$ac_pwd" || { ac_status=$?; break; }
c28c63d8
JB
1373 done
1374fi
1375
81ecdfbb 1376test -n "$ac_init_help" && exit $ac_status
c28c63d8
JB
1377if $ac_init_version; then
1378 cat <<\_ACEOF
81ecdfbb 1379configure
d0ac1c44 1380generated by GNU Autoconf 2.69
c28c63d8 1381
d0ac1c44 1382Copyright (C) 2012 Free Software Foundation, Inc.
c28c63d8
JB
1383This configure script is free software; the Free Software Foundation
1384gives unlimited permission to copy, distribute and modify it.
1385_ACEOF
81ecdfbb 1386 exit
c28c63d8 1387fi
c28c63d8 1388
81ecdfbb
RW
1389## ------------------------ ##
1390## Autoconf initialization. ##
1391## ------------------------ ##
c28c63d8 1392
81ecdfbb
RW
1393# ac_fn_c_try_compile LINENO
1394# --------------------------
1395# Try to compile conftest.$ac_ext, and return whether this succeeded.
1396ac_fn_c_try_compile ()
c28c63d8 1397{
81ecdfbb
RW
1398 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1399 rm -f conftest.$ac_objext
1400 if { { ac_try="$ac_compile"
1401case "(($ac_try" in
1402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1403 *) ac_try_echo=$ac_try;;
1404esac
1405eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1406$as_echo "$ac_try_echo"; } >&5
1407 (eval "$ac_compile") 2>conftest.err
1408 ac_status=$?
1409 if test -s conftest.err; then
1410 grep -v '^ *+' conftest.err >conftest.er1
1411 cat conftest.er1 >&5
1412 mv -f conftest.er1 conftest.err
1413 fi
1414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1415 test $ac_status = 0; } && {
1416 test -z "$ac_c_werror_flag" ||
1417 test ! -s conftest.err
1418 } && test -s conftest.$ac_objext; then :
1419 ac_retval=0
1420else
1421 $as_echo "$as_me: failed program was:" >&5
1422sed 's/^/| /' conftest.$ac_ext >&5
c28c63d8 1423
81ecdfbb
RW
1424 ac_retval=1
1425fi
d0ac1c44
SM
1426 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1427 as_fn_set_status $ac_retval
c28c63d8 1428
81ecdfbb 1429} # ac_fn_c_try_compile
81ecdfbb
RW
1430cat >config.log <<_ACEOF
1431This file contains any messages produced by compilers while
1432running configure, to aid debugging if configure makes a mistake.
1433
1434It was created by $as_me, which was
d0ac1c44 1435generated by GNU Autoconf 2.69. Invocation command line was
81ecdfbb
RW
1436
1437 $ $0 $@
1438
1439_ACEOF
1440exec 5>>config.log
1441{
1442cat <<_ASUNAME
1443## --------- ##
1444## Platform. ##
1445## --------- ##
1446
1447hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1448uname -m = `(uname -m) 2>/dev/null || echo unknown`
1449uname -r = `(uname -r) 2>/dev/null || echo unknown`
1450uname -s = `(uname -s) 2>/dev/null || echo unknown`
1451uname -v = `(uname -v) 2>/dev/null || echo unknown`
1452
1453/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1454/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1455
1456/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1457/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1458/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1459/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1460/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1461/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1462/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1463
1464_ASUNAME
1465
1466as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1467for as_dir in $PATH
1468do
1469 IFS=$as_save_IFS
1470 test -z "$as_dir" && as_dir=.
1471 $as_echo "PATH: $as_dir"
1472 done
1473IFS=$as_save_IFS
1474
1475} >&5
1476
1477cat >&5 <<_ACEOF
1478
1479
1480## ----------- ##
1481## Core tests. ##
c28c63d8
JB
1482## ----------- ##
1483
1484_ACEOF
1485
1486
1487# Keep a trace of the command line.
1488# Strip out --no-create and --no-recursion so they do not pile up.
1489# Strip out --silent because we don't want to record it for future runs.
1490# Also quote any args containing shell meta-characters.
1491# Make two passes to allow for proper duplicate-argument suppression.
1492ac_configure_args=
1493ac_configure_args0=
1494ac_configure_args1=
1495ac_must_keep_next=false
1496for ac_pass in 1 2
1497do
1498 for ac_arg
1499 do
1500 case $ac_arg in
1501 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1502 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1503 | -silent | --silent | --silen | --sile | --sil)
1504 continue ;;
81ecdfbb
RW
1505 *\'*)
1506 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
c28c63d8
JB
1507 esac
1508 case $ac_pass in
81ecdfbb 1509 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
c28c63d8 1510 2)
81ecdfbb 1511 as_fn_append ac_configure_args1 " '$ac_arg'"
c28c63d8
JB
1512 if test $ac_must_keep_next = true; then
1513 ac_must_keep_next=false # Got value, back to normal.
1514 else
1515 case $ac_arg in
1516 *=* | --config-cache | -C | -disable-* | --disable-* \
1517 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1518 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1519 | -with-* | --with-* | -without-* | --without-* | --x)
1520 case "$ac_configure_args0 " in
1521 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1522 esac
1523 ;;
1524 -* ) ac_must_keep_next=true ;;
1525 esac
1526 fi
81ecdfbb 1527 as_fn_append ac_configure_args " '$ac_arg'"
c28c63d8
JB
1528 ;;
1529 esac
1530 done
1531done
81ecdfbb
RW
1532{ ac_configure_args0=; unset ac_configure_args0;}
1533{ ac_configure_args1=; unset ac_configure_args1;}
c28c63d8
JB
1534
1535# When interrupted or exit'd, cleanup temporary files, and complete
1536# config.log. We remove comments because anyway the quotes in there
1537# would cause problems or look ugly.
81ecdfbb
RW
1538# WARNING: Use '\'' to represent an apostrophe within the trap.
1539# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
c28c63d8
JB
1540trap 'exit_status=$?
1541 # Save into config.log some information that might help in debugging.
1542 {
1543 echo
1544
d0ac1c44 1545 $as_echo "## ---------------- ##
c28c63d8 1546## Cache variables. ##
d0ac1c44 1547## ---------------- ##"
c28c63d8
JB
1548 echo
1549 # The following way of writing the cache mishandles newlines in values,
81ecdfbb
RW
1550(
1551 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1552 eval ac_val=\$$ac_var
1553 case $ac_val in #(
1554 *${as_nl}*)
1555 case $ac_var in #(
1556 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1557$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1558 esac
1559 case $ac_var in #(
1560 _ | IFS | as_nl) ;; #(
1561 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1562 *) { eval $ac_var=; unset $ac_var;} ;;
1563 esac ;;
1564 esac
1565 done
c28c63d8 1566 (set) 2>&1 |
81ecdfbb
RW
1567 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1568 *${as_nl}ac_space=\ *)
c28c63d8 1569 sed -n \
81ecdfbb
RW
1570 "s/'\''/'\''\\\\'\'''\''/g;
1571 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1572 ;; #(
c28c63d8 1573 *)
81ecdfbb 1574 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
c28c63d8 1575 ;;
81ecdfbb
RW
1576 esac |
1577 sort
1578)
c28c63d8
JB
1579 echo
1580
d0ac1c44 1581 $as_echo "## ----------------- ##
c28c63d8 1582## Output variables. ##
d0ac1c44 1583## ----------------- ##"
c28c63d8
JB
1584 echo
1585 for ac_var in $ac_subst_vars
1586 do
81ecdfbb
RW
1587 eval ac_val=\$$ac_var
1588 case $ac_val in
1589 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1590 esac
1591 $as_echo "$ac_var='\''$ac_val'\''"
c28c63d8
JB
1592 done | sort
1593 echo
1594
1595 if test -n "$ac_subst_files"; then
d0ac1c44 1596 $as_echo "## ------------------- ##
81ecdfbb 1597## File substitutions. ##
d0ac1c44 1598## ------------------- ##"
c28c63d8
JB
1599 echo
1600 for ac_var in $ac_subst_files
1601 do
81ecdfbb
RW
1602 eval ac_val=\$$ac_var
1603 case $ac_val in
1604 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1605 esac
1606 $as_echo "$ac_var='\''$ac_val'\''"
c28c63d8
JB
1607 done | sort
1608 echo
1609 fi
1610
1611 if test -s confdefs.h; then
d0ac1c44 1612 $as_echo "## ----------- ##
c28c63d8 1613## confdefs.h. ##
d0ac1c44 1614## ----------- ##"
c28c63d8 1615 echo
81ecdfbb 1616 cat confdefs.h
c28c63d8
JB
1617 echo
1618 fi
1619 test "$ac_signal" != 0 &&
81ecdfbb
RW
1620 $as_echo "$as_me: caught signal $ac_signal"
1621 $as_echo "$as_me: exit $exit_status"
c28c63d8 1622 } >&5
81ecdfbb
RW
1623 rm -f core *.core core.conftest.* &&
1624 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
c28c63d8 1625 exit $exit_status
81ecdfbb 1626' 0
c28c63d8 1627for ac_signal in 1 2 13 15; do
81ecdfbb 1628 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
c28c63d8
JB
1629done
1630ac_signal=0
1631
1632# confdefs.h avoids OS command line length limits that DEFS can exceed.
81ecdfbb
RW
1633rm -f -r conftest* confdefs.h
1634
1635$as_echo "/* confdefs.h */" > confdefs.h
c28c63d8
JB
1636
1637# Predefined preprocessor variables.
1638
1639cat >>confdefs.h <<_ACEOF
1640#define PACKAGE_NAME "$PACKAGE_NAME"
1641_ACEOF
1642
c28c63d8
JB
1643cat >>confdefs.h <<_ACEOF
1644#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1645_ACEOF
1646
c28c63d8
JB
1647cat >>confdefs.h <<_ACEOF
1648#define PACKAGE_VERSION "$PACKAGE_VERSION"
1649_ACEOF
1650
c28c63d8
JB
1651cat >>confdefs.h <<_ACEOF
1652#define PACKAGE_STRING "$PACKAGE_STRING"
1653_ACEOF
1654
c28c63d8
JB
1655cat >>confdefs.h <<_ACEOF
1656#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1657_ACEOF
1658
81ecdfbb
RW
1659cat >>confdefs.h <<_ACEOF
1660#define PACKAGE_URL "$PACKAGE_URL"
1661_ACEOF
1662
c28c63d8
JB
1663
1664# Let the site file select an alternate cache file if it wants to.
81ecdfbb
RW
1665# Prefer an explicitly selected file to automatically selected ones.
1666ac_site_file1=NONE
1667ac_site_file2=NONE
1668if test -n "$CONFIG_SITE"; then
d0ac1c44
SM
1669 # We do not want a PATH search for config.site.
1670 case $CONFIG_SITE in #((
1671 -*) ac_site_file1=./$CONFIG_SITE;;
1672 */*) ac_site_file1=$CONFIG_SITE;;
1673 *) ac_site_file1=./$CONFIG_SITE;;
1674 esac
81ecdfbb
RW
1675elif test "x$prefix" != xNONE; then
1676 ac_site_file1=$prefix/share/config.site
1677 ac_site_file2=$prefix/etc/config.site
1678else
1679 ac_site_file1=$ac_default_prefix/share/config.site
1680 ac_site_file2=$ac_default_prefix/etc/config.site
1681fi
1682for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1683do
1684 test "x$ac_site_file" = xNONE && continue
d0ac1c44 1685 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
81ecdfbb
RW
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1687$as_echo "$as_me: loading site script $ac_site_file" >&6;}
c28c63d8 1688 sed 's/^/| /' "$ac_site_file" >&5
d0ac1c44
SM
1689 . "$ac_site_file" \
1690 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1691$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1692as_fn_error $? "failed to load site script $ac_site_file
1693See \`config.log' for more details" "$LINENO" 5; }
c28c63d8
JB
1694 fi
1695done
1696
1697if test -r "$cache_file"; then
d0ac1c44
SM
1698 # Some versions of bash will fail to source /dev/null (special files
1699 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1700 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
81ecdfbb
RW
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1702$as_echo "$as_me: loading cache $cache_file" >&6;}
c28c63d8 1703 case $cache_file in
81ecdfbb
RW
1704 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1705 *) . "./$cache_file";;
c28c63d8
JB
1706 esac
1707 fi
1708else
81ecdfbb
RW
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1710$as_echo "$as_me: creating cache $cache_file" >&6;}
c28c63d8
JB
1711 >$cache_file
1712fi
1713
1714# Check that the precious variables saved in the cache have kept the same
1715# value.
1716ac_cache_corrupted=false
81ecdfbb 1717for ac_var in $ac_precious_vars; do
c28c63d8
JB
1718 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1719 eval ac_new_set=\$ac_env_${ac_var}_set
81ecdfbb
RW
1720 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1721 eval ac_new_val=\$ac_env_${ac_var}_value
c28c63d8
JB
1722 case $ac_old_set,$ac_new_set in
1723 set,)
81ecdfbb
RW
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1725$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
c28c63d8
JB
1726 ac_cache_corrupted=: ;;
1727 ,set)
81ecdfbb
RW
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1729$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
c28c63d8
JB
1730 ac_cache_corrupted=: ;;
1731 ,);;
1732 *)
1733 if test "x$ac_old_val" != "x$ac_new_val"; then
81ecdfbb
RW
1734 # differences in whitespace do not lead to failure.
1735 ac_old_val_w=`echo x $ac_old_val`
1736 ac_new_val_w=`echo x $ac_new_val`
1737 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1739$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1740 ac_cache_corrupted=:
1741 else
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1743$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1744 eval $ac_var=\$ac_old_val
1745 fi
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1747$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1749$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
c28c63d8
JB
1750 fi;;
1751 esac
1752 # Pass precious variables to config.status.
1753 if test "$ac_new_set" = set; then
1754 case $ac_new_val in
81ecdfbb 1755 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
c28c63d8
JB
1756 *) ac_arg=$ac_var=$ac_new_val ;;
1757 esac
1758 case " $ac_configure_args " in
1759 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
81ecdfbb 1760 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
c28c63d8
JB
1761 esac
1762 fi
1763done
1764if $ac_cache_corrupted; then
81ecdfbb
RW
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1766$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1768$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
d0ac1c44 1769 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
c28c63d8 1770fi
81ecdfbb
RW
1771## -------------------- ##
1772## Main body of script. ##
1773## -------------------- ##
c28c63d8 1774
d6416cdc
RW
1775ac_ext=c
1776ac_cpp='$CPP $CPPFLAGS'
1777ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1778ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1779ac_compiler_gnu=$ac_cv_c_compiler_gnu
1780
c28c63d8 1781
6bb11ab3
L
1782
1783
1784
1785
1786
1787ac_ext=c
1788ac_cpp='$CPP $CPPFLAGS'
1789ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1790ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1791ac_compiler_gnu=$ac_cv_c_compiler_gnu
1792if test -n "$ac_tool_prefix"; then
1793 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1794set dummy ${ac_tool_prefix}gcc; ac_word=$2
1795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1796$as_echo_n "checking for $ac_word... " >&6; }
d0ac1c44 1797if ${ac_cv_prog_CC+:} false; then :
6bb11ab3
L
1798 $as_echo_n "(cached) " >&6
1799else
1800 if test -n "$CC"; then
1801 ac_cv_prog_CC="$CC" # Let the user override the test.
1802else
1803as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1804for as_dir in $PATH
1805do
1806 IFS=$as_save_IFS
1807 test -z "$as_dir" && as_dir=.
1808 for ac_exec_ext in '' $ac_executable_extensions; do
d0ac1c44 1809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6bb11ab3
L
1810 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1812 break 2
1813 fi
1814done
1815 done
1816IFS=$as_save_IFS
1817
1818fi
1819fi
1820CC=$ac_cv_prog_CC
1821if test -n "$CC"; then
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1823$as_echo "$CC" >&6; }
1824else
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1826$as_echo "no" >&6; }
1827fi
1828
1829
1830fi
1831if test -z "$ac_cv_prog_CC"; then
1832 ac_ct_CC=$CC
1833 # Extract the first word of "gcc", so it can be a program name with args.
1834set dummy gcc; ac_word=$2
1835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1836$as_echo_n "checking for $ac_word... " >&6; }
d0ac1c44 1837if ${ac_cv_prog_ac_ct_CC+:} false; then :
6bb11ab3
L
1838 $as_echo_n "(cached) " >&6
1839else
1840 if test -n "$ac_ct_CC"; then
1841 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1842else
1843as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1844for as_dir in $PATH
1845do
1846 IFS=$as_save_IFS
1847 test -z "$as_dir" && as_dir=.
1848 for ac_exec_ext in '' $ac_executable_extensions; do
d0ac1c44 1849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6bb11ab3
L
1850 ac_cv_prog_ac_ct_CC="gcc"
1851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1852 break 2
1853 fi
1854done
1855 done
1856IFS=$as_save_IFS
1857
1858fi
1859fi
1860ac_ct_CC=$ac_cv_prog_ac_ct_CC
1861if test -n "$ac_ct_CC"; then
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1863$as_echo "$ac_ct_CC" >&6; }
1864else
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1866$as_echo "no" >&6; }
1867fi
1868
1869 if test "x$ac_ct_CC" = x; then
1870 CC=""
1871 else
1872 case $cross_compiling:$ac_tool_warned in
1873yes:)
1874{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1875$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1876ac_tool_warned=yes ;;
1877esac
1878 CC=$ac_ct_CC
1879 fi
1880else
1881 CC="$ac_cv_prog_CC"
1882fi
1883
1884if test -z "$CC"; then
1885 if test -n "$ac_tool_prefix"; then
1886 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1887set dummy ${ac_tool_prefix}cc; ac_word=$2
1888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1889$as_echo_n "checking for $ac_word... " >&6; }
d0ac1c44 1890if ${ac_cv_prog_CC+:} false; then :
6bb11ab3
L
1891 $as_echo_n "(cached) " >&6
1892else
1893 if test -n "$CC"; then
1894 ac_cv_prog_CC="$CC" # Let the user override the test.
1895else
1896as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1897for as_dir in $PATH
1898do
1899 IFS=$as_save_IFS
1900 test -z "$as_dir" && as_dir=.
1901 for ac_exec_ext in '' $ac_executable_extensions; do
d0ac1c44 1902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6bb11ab3
L
1903 ac_cv_prog_CC="${ac_tool_prefix}cc"
1904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1905 break 2
1906 fi
1907done
1908 done
1909IFS=$as_save_IFS
1910
1911fi
1912fi
1913CC=$ac_cv_prog_CC
1914if test -n "$CC"; then
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1916$as_echo "$CC" >&6; }
1917else
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1919$as_echo "no" >&6; }
1920fi
1921
1922
1923 fi
1924fi
1925if test -z "$CC"; then
1926 # Extract the first word of "cc", so it can be a program name with args.
1927set dummy cc; ac_word=$2
1928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1929$as_echo_n "checking for $ac_word... " >&6; }
d0ac1c44 1930if ${ac_cv_prog_CC+:} false; then :
6bb11ab3
L
1931 $as_echo_n "(cached) " >&6
1932else
1933 if test -n "$CC"; then
1934 ac_cv_prog_CC="$CC" # Let the user override the test.
1935else
1936 ac_prog_rejected=no
1937as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1938for as_dir in $PATH
1939do
1940 IFS=$as_save_IFS
1941 test -z "$as_dir" && as_dir=.
1942 for ac_exec_ext in '' $ac_executable_extensions; do
d0ac1c44 1943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6bb11ab3
L
1944 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1945 ac_prog_rejected=yes
1946 continue
1947 fi
1948 ac_cv_prog_CC="cc"
1949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1950 break 2
1951 fi
1952done
1953 done
1954IFS=$as_save_IFS
1955
1956if test $ac_prog_rejected = yes; then
1957 # We found a bogon in the path, so make sure we never use it.
1958 set dummy $ac_cv_prog_CC
1959 shift
1960 if test $# != 0; then
1961 # We chose a different compiler from the bogus one.
1962 # However, it has the same basename, so the bogon will be chosen
1963 # first if we set CC to just the basename; use the full file name.
1964 shift
1965 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1966 fi
1967fi
1968fi
1969fi
1970CC=$ac_cv_prog_CC
1971if test -n "$CC"; then
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1973$as_echo "$CC" >&6; }
1974else
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1976$as_echo "no" >&6; }
1977fi
1978
1979
1980fi
1981if test -z "$CC"; then
1982 if test -n "$ac_tool_prefix"; then
1983 for ac_prog in cl.exe
1984 do
1985 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1986set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1988$as_echo_n "checking for $ac_word... " >&6; }
d0ac1c44 1989if ${ac_cv_prog_CC+:} false; then :
6bb11ab3
L
1990 $as_echo_n "(cached) " >&6
1991else
1992 if test -n "$CC"; then
1993 ac_cv_prog_CC="$CC" # Let the user override the test.
1994else
1995as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1996for as_dir in $PATH
1997do
1998 IFS=$as_save_IFS
1999 test -z "$as_dir" && as_dir=.
2000 for ac_exec_ext in '' $ac_executable_extensions; do
d0ac1c44 2001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6bb11ab3
L
2002 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2004 break 2
2005 fi
2006done
2007 done
2008IFS=$as_save_IFS
2009
2010fi
2011fi
2012CC=$ac_cv_prog_CC
2013if test -n "$CC"; then
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2015$as_echo "$CC" >&6; }
2016else
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2018$as_echo "no" >&6; }
2019fi
2020
2021
2022 test -n "$CC" && break
2023 done
2024fi
2025if test -z "$CC"; then
2026 ac_ct_CC=$CC
2027 for ac_prog in cl.exe
2028do
2029 # Extract the first word of "$ac_prog", so it can be a program name with args.
2030set dummy $ac_prog; ac_word=$2
2031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2032$as_echo_n "checking for $ac_word... " >&6; }
d0ac1c44 2033if ${ac_cv_prog_ac_ct_CC+:} false; then :
6bb11ab3
L
2034 $as_echo_n "(cached) " >&6
2035else
2036 if test -n "$ac_ct_CC"; then
2037 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2038else
2039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2040for as_dir in $PATH
2041do
2042 IFS=$as_save_IFS
2043 test -z "$as_dir" && as_dir=.
2044 for ac_exec_ext in '' $ac_executable_extensions; do
d0ac1c44 2045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6bb11ab3
L
2046 ac_cv_prog_ac_ct_CC="$ac_prog"
2047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2048 break 2
2049 fi
2050done
2051 done
2052IFS=$as_save_IFS
2053
2054fi
2055fi
2056ac_ct_CC=$ac_cv_prog_ac_ct_CC
2057if test -n "$ac_ct_CC"; then
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2059$as_echo "$ac_ct_CC" >&6; }
2060else
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2062$as_echo "no" >&6; }
2063fi
2064
2065
2066 test -n "$ac_ct_CC" && break
2067done
2068
2069 if test "x$ac_ct_CC" = x; then
2070 CC=""
2071 else
2072 case $cross_compiling:$ac_tool_warned in
2073yes:)
2074{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2075$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2076ac_tool_warned=yes ;;
2077esac
2078 CC=$ac_ct_CC
2079 fi
2080fi
2081
2082fi
2083
2084
2085test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2086$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
d0ac1c44
SM
2087as_fn_error $? "no acceptable C compiler found in \$PATH
2088See \`config.log' for more details" "$LINENO" 5; }
6bb11ab3
L
2089
2090# Provide some information about the compiler.
2091$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2092set X $ac_compile
2093ac_compiler=$2
2094for ac_option in --version -v -V -qversion; do
2095 { { ac_try="$ac_compiler $ac_option >&5"
2096case "(($ac_try" in
2097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2098 *) ac_try_echo=$ac_try;;
2099esac
2100eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2101$as_echo "$ac_try_echo"; } >&5
2102 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2103 ac_status=$?
2104 if test -s conftest.err; then
2105 sed '10a\
2106... rest of stderr output deleted ...
2107 10q' conftest.err >conftest.er1
2108 cat conftest.er1 >&5
6bb11ab3 2109 fi
d0ac1c44 2110 rm -f conftest.er1 conftest.err
6bb11ab3
L
2111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2112 test $ac_status = 0; }
2113done
2114
2115cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2116/* end confdefs.h. */
2117
2118int
2119main ()
2120{
2121
2122 ;
2123 return 0;
2124}
2125_ACEOF
2126ac_clean_files_save=$ac_clean_files
d0ac1c44 2127ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
6bb11ab3
L
2128# Try to create an executable without -o first, disregard a.out.
2129# It will help us diagnose broken compilers, and finding out an intuition
2130# of exeext.
d0ac1c44
SM
2131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2132$as_echo_n "checking whether the C compiler works... " >&6; }
6bb11ab3
L
2133ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2134
2135# The possible output files:
2136ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2137
2138ac_rmfiles=
2139for ac_file in $ac_files
2140do
2141 case $ac_file in
2142 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2143 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2144 esac
2145done
2146rm -f $ac_rmfiles
2147
2148if { { ac_try="$ac_link_default"
2149case "(($ac_try" in
2150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2151 *) ac_try_echo=$ac_try;;
2152esac
2153eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2154$as_echo "$ac_try_echo"; } >&5
2155 (eval "$ac_link_default") 2>&5
2156 ac_status=$?
2157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2158 test $ac_status = 0; }; then :
2159 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2160# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2161# in a Makefile. We should not override ac_cv_exeext if it was cached,
2162# so that the user can short-circuit this test for compilers unknown to
2163# Autoconf.
2164for ac_file in $ac_files ''
2165do
2166 test -f "$ac_file" || continue
2167 case $ac_file in
2168 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2169 ;;
2170 [ab].out )
2171 # We found the default executable, but exeext='' is most
2172 # certainly right.
2173 break;;
2174 *.* )
2175 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2176 then :; else
2177 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2178 fi
2179 # We set ac_cv_exeext here because the later test for it is not
2180 # safe: cross compilers may not add the suffix if given an `-o'
2181 # argument, so we may need to know it at that point already.
2182 # Even if this section looks crufty: it has the advantage of
2183 # actually working.
2184 break;;
2185 * )
2186 break;;
2187 esac
2188done
2189test "$ac_cv_exeext" = no && ac_cv_exeext=
2190
2191else
2192 ac_file=''
2193fi
6bb11ab3 2194if test -z "$ac_file"; then :
d0ac1c44
SM
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2196$as_echo "no" >&6; }
2197$as_echo "$as_me: failed program was:" >&5
6bb11ab3
L
2198sed 's/^/| /' conftest.$ac_ext >&5
2199
2200{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2201$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
d0ac1c44
SM
2202as_fn_error 77 "C compiler cannot create executables
2203See \`config.log' for more details" "$LINENO" 5; }
2204else
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2206$as_echo "yes" >&6; }
6bb11ab3 2207fi
d0ac1c44
SM
2208{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2209$as_echo_n "checking for C compiler default output file name... " >&6; }
2210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2211$as_echo "$ac_file" >&6; }
6bb11ab3
L
2212ac_exeext=$ac_cv_exeext
2213
d0ac1c44 2214rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
6bb11ab3 2215ac_clean_files=$ac_clean_files_save
6bb11ab3
L
2216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2217$as_echo_n "checking for suffix of executables... " >&6; }
2218if { { ac_try="$ac_link"
2219case "(($ac_try" in
2220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2221 *) ac_try_echo=$ac_try;;
2222esac
2223eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2224$as_echo "$ac_try_echo"; } >&5
2225 (eval "$ac_link") 2>&5
2226 ac_status=$?
2227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2228 test $ac_status = 0; }; then :
2229 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2230# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2231# work properly (i.e., refer to `conftest.exe'), while it won't with
2232# `rm'.
2233for ac_file in conftest.exe conftest conftest.*; do
2234 test -f "$ac_file" || continue
2235 case $ac_file in
2236 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2237 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2238 break;;
2239 * ) break;;
2240 esac
2241done
2242else
2243 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2244$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
d0ac1c44
SM
2245as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2246See \`config.log' for more details" "$LINENO" 5; }
6bb11ab3 2247fi
d0ac1c44 2248rm -f conftest conftest$ac_cv_exeext
6bb11ab3
L
2249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2250$as_echo "$ac_cv_exeext" >&6; }
2251
2252rm -f conftest.$ac_ext
2253EXEEXT=$ac_cv_exeext
2254ac_exeext=$EXEEXT
d0ac1c44
SM
2255cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2256/* end confdefs.h. */
2257#include <stdio.h>
2258int
2259main ()
2260{
2261FILE *f = fopen ("conftest.out", "w");
2262 return ferror (f) || fclose (f) != 0;
2263
2264 ;
2265 return 0;
2266}
2267_ACEOF
2268ac_clean_files="$ac_clean_files conftest.out"
2269# Check that the compiler produces executables we can run. If not, either
2270# the compiler is broken, or we cross compile.
2271{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2272$as_echo_n "checking whether we are cross compiling... " >&6; }
2273if test "$cross_compiling" != yes; then
2274 { { ac_try="$ac_link"
2275case "(($ac_try" in
2276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2277 *) ac_try_echo=$ac_try;;
2278esac
2279eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2280$as_echo "$ac_try_echo"; } >&5
2281 (eval "$ac_link") 2>&5
2282 ac_status=$?
2283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2284 test $ac_status = 0; }
2285 if { ac_try='./conftest$ac_cv_exeext'
2286 { { case "(($ac_try" in
2287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2288 *) ac_try_echo=$ac_try;;
2289esac
2290eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2291$as_echo "$ac_try_echo"; } >&5
2292 (eval "$ac_try") 2>&5
2293 ac_status=$?
2294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2295 test $ac_status = 0; }; }; then
2296 cross_compiling=no
2297 else
2298 if test "$cross_compiling" = maybe; then
2299 cross_compiling=yes
2300 else
2301 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2302$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2303as_fn_error $? "cannot run C compiled programs.
2304If you meant to cross compile, use \`--host'.
2305See \`config.log' for more details" "$LINENO" 5; }
2306 fi
2307 fi
2308fi
2309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2310$as_echo "$cross_compiling" >&6; }
2311
2312rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2313ac_clean_files=$ac_clean_files_save
6bb11ab3
L
2314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2315$as_echo_n "checking for suffix of object files... " >&6; }
d0ac1c44 2316if ${ac_cv_objext+:} false; then :
6bb11ab3
L
2317 $as_echo_n "(cached) " >&6
2318else
2319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2320/* end confdefs.h. */
2321
2322int
2323main ()
2324{
2325
2326 ;
2327 return 0;
2328}
2329_ACEOF
2330rm -f conftest.o conftest.obj
2331if { { ac_try="$ac_compile"
2332case "(($ac_try" in
2333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2334 *) ac_try_echo=$ac_try;;
2335esac
2336eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2337$as_echo "$ac_try_echo"; } >&5
2338 (eval "$ac_compile") 2>&5
2339 ac_status=$?
2340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2341 test $ac_status = 0; }; then :
2342 for ac_file in conftest.o conftest.obj conftest.*; do
2343 test -f "$ac_file" || continue;
2344 case $ac_file in
2345 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2346 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2347 break;;
2348 esac
2349done
2350else
2351 $as_echo "$as_me: failed program was:" >&5
2352sed 's/^/| /' conftest.$ac_ext >&5
2353
2354{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2355$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
d0ac1c44
SM
2356as_fn_error $? "cannot compute suffix of object files: cannot compile
2357See \`config.log' for more details" "$LINENO" 5; }
6bb11ab3
L
2358fi
2359rm -f conftest.$ac_cv_objext conftest.$ac_ext
2360fi
2361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2362$as_echo "$ac_cv_objext" >&6; }
2363OBJEXT=$ac_cv_objext
2364ac_objext=$OBJEXT
2365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2366$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
d0ac1c44 2367if ${ac_cv_c_compiler_gnu+:} false; then :
6bb11ab3
L
2368 $as_echo_n "(cached) " >&6
2369else
2370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2371/* end confdefs.h. */
2372
2373int
2374main ()
2375{
2376#ifndef __GNUC__
2377 choke me
2378#endif
2379
2380 ;
2381 return 0;
2382}
2383_ACEOF
2384if ac_fn_c_try_compile "$LINENO"; then :
2385 ac_compiler_gnu=yes
2386else
2387 ac_compiler_gnu=no
2388fi
2389rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2390ac_cv_c_compiler_gnu=$ac_compiler_gnu
2391
2392fi
2393{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2394$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2395if test $ac_compiler_gnu = yes; then
2396 GCC=yes
2397else
2398 GCC=
2399fi
2400ac_test_CFLAGS=${CFLAGS+set}
2401ac_save_CFLAGS=$CFLAGS
2402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2403$as_echo_n "checking whether $CC accepts -g... " >&6; }
d0ac1c44 2404if ${ac_cv_prog_cc_g+:} false; then :
6bb11ab3
L
2405 $as_echo_n "(cached) " >&6
2406else
2407 ac_save_c_werror_flag=$ac_c_werror_flag
2408 ac_c_werror_flag=yes
2409 ac_cv_prog_cc_g=no
2410 CFLAGS="-g"
2411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2412/* end confdefs.h. */
2413
2414int
2415main ()
2416{
2417
2418 ;
2419 return 0;
2420}
2421_ACEOF
2422if ac_fn_c_try_compile "$LINENO"; then :
2423 ac_cv_prog_cc_g=yes
2424else
2425 CFLAGS=""
2426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2427/* end confdefs.h. */
2428
2429int
2430main ()
2431{
2432
2433 ;
2434 return 0;
2435}
2436_ACEOF
2437if ac_fn_c_try_compile "$LINENO"; then :
2438
2439else
2440 ac_c_werror_flag=$ac_save_c_werror_flag
2441 CFLAGS="-g"
2442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2443/* end confdefs.h. */
2444
2445int
2446main ()
2447{
2448
2449 ;
2450 return 0;
2451}
2452_ACEOF
2453if ac_fn_c_try_compile "$LINENO"; then :
2454 ac_cv_prog_cc_g=yes
2455fi
2456rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2457fi
2458rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2459fi
2460rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2461 ac_c_werror_flag=$ac_save_c_werror_flag
2462fi
2463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2464$as_echo "$ac_cv_prog_cc_g" >&6; }
2465if test "$ac_test_CFLAGS" = set; then
2466 CFLAGS=$ac_save_CFLAGS
2467elif test $ac_cv_prog_cc_g = yes; then
2468 if test "$GCC" = yes; then
2469 CFLAGS="-g -O2"
2470 else
2471 CFLAGS="-g"
2472 fi
2473else
2474 if test "$GCC" = yes; then
2475 CFLAGS="-O2"
2476 else
2477 CFLAGS=
2478 fi
2479fi
2480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2481$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
d0ac1c44 2482if ${ac_cv_prog_cc_c89+:} false; then :
6bb11ab3
L
2483 $as_echo_n "(cached) " >&6
2484else
2485 ac_cv_prog_cc_c89=no
2486ac_save_CC=$CC
2487cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2488/* end confdefs.h. */
2489#include <stdarg.h>
2490#include <stdio.h>
d0ac1c44 2491struct stat;
6bb11ab3
L
2492/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2493struct buf { int x; };
2494FILE * (*rcsopen) (struct buf *, struct stat *, int);
2495static char *e (p, i)
2496 char **p;
2497 int i;
2498{
2499 return p[i];
2500}
2501static char *f (char * (*g) (char **, int), char **p, ...)
2502{
2503 char *s;
2504 va_list v;
2505 va_start (v,p);
2506 s = g (p, va_arg (v,int));
2507 va_end (v);
2508 return s;
2509}
2510
2511/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2512 function prototypes and stuff, but not '\xHH' hex character constants.
2513 These don't provoke an error unfortunately, instead are silently treated
2514 as 'x'. The following induces an error, until -std is added to get
2515 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2516 array size at least. It's necessary to write '\x00'==0 to get something
2517 that's true only with -std. */
2518int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2519
2520/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2521 inside strings and character constants. */
2522#define FOO(x) 'x'
2523int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2524
2525int test (int i, double x);
2526struct s1 {int (*f) (int a);};
2527struct s2 {int (*f) (double a);};
2528int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2529int argc;
2530char **argv;
2531int
2532main ()
2533{
2534return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2535 ;
2536 return 0;
2537}
2538_ACEOF
2539for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2540 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2541do
2542 CC="$ac_save_CC $ac_arg"
2543 if ac_fn_c_try_compile "$LINENO"; then :
2544 ac_cv_prog_cc_c89=$ac_arg
2545fi
2546rm -f core conftest.err conftest.$ac_objext
2547 test "x$ac_cv_prog_cc_c89" != "xno" && break
2548done
2549rm -f conftest.$ac_ext
2550CC=$ac_save_CC
2551
2552fi
2553# AC_CACHE_VAL
2554case "x$ac_cv_prog_cc_c89" in
2555 x)
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2557$as_echo "none needed" >&6; } ;;
2558 xno)
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2560$as_echo "unsupported" >&6; } ;;
2561 *)
2562 CC="$CC $ac_cv_prog_cc_c89"
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2564$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2565esac
2566if test "x$ac_cv_prog_cc_c89" != xno; then :
2567
2568fi
2569
2570ac_ext=c
2571ac_cpp='$CPP $CPPFLAGS'
2572ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2573ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2574ac_compiler_gnu=$ac_cv_c_compiler_gnu
2575
d3562f83
MF
2576ac_aux_dir=
2577for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2578 if test -f "$ac_dir/install-sh"; then
2579 ac_aux_dir=$ac_dir
2580 ac_install_sh="$ac_aux_dir/install-sh -c"
2581 break
2582 elif test -f "$ac_dir/install.sh"; then
2583 ac_aux_dir=$ac_dir
2584 ac_install_sh="$ac_aux_dir/install.sh -c"
2585 break
2586 elif test -f "$ac_dir/shtool"; then
2587 ac_aux_dir=$ac_dir
2588 ac_install_sh="$ac_aux_dir/shtool install -c"
2589 break
2590 fi
ebe9564b 2591done
d3562f83
MF
2592if test -z "$ac_aux_dir"; then
2593 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
ebe9564b 2594fi
ebe9564b 2595
d3562f83
MF
2596# These three variables are undocumented and unsupported,
2597# and are intended to be withdrawn in a future Autoconf release.
2598# They can cause serious problems if a builder's source tree is in a directory
2599# whose full name contains unusual characters.
2600ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2601ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2602ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
ebe9564b 2603
ebe9564b 2604
d3562f83
MF
2605# Find a good install program. We prefer a C program (faster),
2606# so one script is as good as another. But avoid the broken or
2607# incompatible versions:
2608# SysV /etc/install, /usr/sbin/install
2609# SunOS /usr/etc/install
2610# IRIX /sbin/install
2611# AIX /bin/install
2612# AmigaOS /C/install, which installs bootblocks on floppy discs
2613# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2614# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2615# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2616# OS/2's system install, which has a completely different semantic
2617# ./install, which can be erroneously created by make from ./install.sh.
2618# Reject install programs that cannot install multiple files.
2619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2620$as_echo_n "checking for a BSD-compatible install... " >&6; }
2621if test -z "$INSTALL"; then
2622if ${ac_cv_path_install+:} false; then :
2623 $as_echo_n "(cached) " >&6
6bb11ab3
L
2624else
2625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2626for as_dir in $PATH
2627do
2628 IFS=$as_save_IFS
2629 test -z "$as_dir" && as_dir=.
2630 # Account for people who put trailing slashes in PATH elements.
2631case $as_dir/ in #((
2632 ./ | .// | /[cC]/* | \
2633 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2634 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2635 /usr/ucb/* ) ;;
2636 *)
2637 # OSF1 and SCO ODT 3.0 have their own names for install.
2638 # Don't use installbsd from OSF since it installs stuff as root
2639 # by default.
2640 for ac_prog in ginstall scoinst install; do
2641 for ac_exec_ext in '' $ac_executable_extensions; do
d0ac1c44 2642 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6bb11ab3
L
2643 if test $ac_prog = install &&
2644 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2645 # AIX install. It has an incompatible calling convention.
2646 :
2647 elif test $ac_prog = install &&
2648 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2649 # program-specific install script used by HP pwplus--don't use.
2650 :
2651 else
2652 rm -rf conftest.one conftest.two conftest.dir
2653 echo one > conftest.one
2654 echo two > conftest.two
2655 mkdir conftest.dir
2656 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2657 test -s conftest.one && test -s conftest.two &&
2658 test -s conftest.dir/conftest.one &&
2659 test -s conftest.dir/conftest.two
2660 then
2661 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2662 break 3
2663 fi
2664 fi
2665 fi
2666 done
2667 done
2668 ;;
2669esac
2670
2671 done
2672IFS=$as_save_IFS
2673
2674rm -rf conftest.one conftest.two conftest.dir
2675
2676fi
2677 if test "${ac_cv_path_install+set}" = set; then
2678 INSTALL=$ac_cv_path_install
2679 else
2680 # As a last resort, use the slow shell script. Don't cache a
2681 # value for INSTALL within a source directory, because that will
2682 # break other packages using the cache if that directory is
2683 # removed, or if the value is a relative name.
2684 INSTALL=$ac_install_sh
2685 fi
2686fi
2687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2688$as_echo "$INSTALL" >&6; }
2689
2690# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2691# It thinks the first close brace ends the variable substitution.
2692test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2693
2694test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2695
2696test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2697
2698rm -rf .tst 2>/dev/null
2699mkdir .tst 2>/dev/null
2700if test -d .tst; then
2701 am__leading_dot=.
2702else
2703 am__leading_dot=_
2704fi
2705rmdir .tst 2>/dev/null
2706
2707DEPDIR="${am__leading_dot}deps"
2708
d3562f83 2709# Dependency checking.
6bb11ab3
L
2710
2711
b5689863 2712ac_config_commands="$ac_config_commands depdir"
6bb11ab3
L
2713
2714
b5689863 2715depcc="$CC" am_compiler_list=
68ed2854 2716
b5689863
MF
2717am_depcomp=$ac_aux_dir/depcomp
2718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
2719$as_echo_n "checking dependency style of $depcc... " >&6; }
2720if ${am_cv_CC_dependencies_compiler_type+:} false; then :
6bb11ab3
L
2721 $as_echo_n "(cached) " >&6
2722else
b5689863
MF
2723 if test -f "$am_depcomp"; then
2724 # We make a subdir and do the tests there. Otherwise we can end up
2725 # making bogus files that we don't know about and never remove. For
2726 # instance it was reported that on HP-UX the gcc test will end up
2727 # making a dummy file named `D' -- because `-MD' means `put the output
2728 # in D'.
2729 mkdir conftest.dir
2730 # Copy depcomp to subdir because otherwise we won't find it if we're
2731 # using a relative directory.
2732 cp "$am_depcomp" conftest.dir
2733 cd conftest.dir
2734 # We will build objects and dependencies in a subdirectory because
2735 # it helps to detect inapplicable dependency modes. For instance
2736 # both Tru64's cc and ICC support -MD to output dependencies as a
2737 # side effect of compilation, but ICC will put the dependencies in
2738 # the current directory while Tru64 will put them in the object
2739 # directory.
2740 mkdir sub
6bb11ab3 2741
b5689863
MF
2742 am_cv_CC_dependencies_compiler_type=none
2743 if test "$am_compiler_list" = ""; then
2744 am_compiler_list=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6bb11ab3 2745 fi
b5689863
MF
2746 for depmode in $am_compiler_list; do
2747 if test $depmode = none; then break; fi
6bb11ab3 2748
b5689863
MF
2749 $as_echo "$as_me:$LINENO: trying $depmode" >&5
2750 # Setup a source with many dependencies, because some compilers
2751 # like to wrap large dependency lists on column 80 (with \), and
2752 # we should not choose a depcomp mode which is confused by this.
2753 #
2754 # We need to recreate these files for each test, as the compiler may
2755 # overwrite some of them when testing with obscure command lines.
2756 # This happens at least with the AIX C compiler.
2757 : > sub/conftest.c
2758 for i in 1 2 3 4 5 6; do
2759 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2760 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2761 # Solaris 8's {/usr,}/bin/sh.
2762 touch sub/conftst$i.h
2763 done
2764 echo "include sub/conftest.Po" > confmf
6bb11ab3 2765
b5689863
MF
2766 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2767 # mode. It turns out that the SunPro C++ compiler does not properly
2768 # handle `-M -o', and we need to detect this.
2769 depcmd="depmode=$depmode \
2770 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2771 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2772 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
2773 echo "| $depcmd" | sed -e 's/ */ /g' >&5
2774 if env $depcmd > conftest.err 2>&1 &&
2775 grep sub/conftst6.h sub/conftest.Po >>conftest.err 2>&1 &&
2776 grep sub/conftest.${OBJEXT-o} sub/conftest.Po >>conftest.err 2>&1 &&
2777 ${MAKE-make} -s -f confmf >>conftest.err 2>&1; then
2778 # icc doesn't choke on unknown options, it will just issue warnings
2779 # or remarks (even with -Werror). So we grep stderr for any message
2780 # that says an option was ignored or not supported.
2781 # When given -MP, icc 7.0 and 7.1 complain thusly:
2782 # icc: Command line warning: ignoring option '-M'; no argument required
2783 # The diagnosis changed in icc 8.0:
2784 # icc: Command line remark: option '-MP' not supported
2785 if (grep 'ignoring option' conftest.err ||
2786 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2787 am_cv_CC_dependencies_compiler_type=$depmode
2788 $as_echo "$as_me:$LINENO: success" >&5
2789 break
2790 fi
aa09469f 2791 fi
b5689863
MF
2792 $as_echo "$as_me:$LINENO: failure, diagnostics are:" >&5
2793 sed -e 's/^/| /' < conftest.err >&5
6bb11ab3 2794 done
6bb11ab3 2795
b5689863
MF
2796 cd ..
2797 rm -rf conftest.dir
6bb11ab3 2798else
b5689863 2799 am_cv_CC_dependencies_compiler_type=none
6bb11ab3 2800fi
6bb11ab3
L
2801
2802fi
b5689863
MF
2803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
2804$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
2805if test x${am_cv_CC_dependencies_compiler_type-none} = xnone
2806then as_fn_error $? "no usable dependency style found" "$LINENO" 5
2807else CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6bb11ab3 2808
6bb11ab3
L
2809fi
2810
6bb11ab3 2811
b5689863
MF
2812ALL_LINGUAS=
2813# If we haven't got the data from the intl directory,
2814# assume NLS is disabled.
2815USE_NLS=no
2816LIBINTL=
2817LIBINTL_DEP=
2818INCINTL=
2819XGETTEXT=
2820GMSGFMT=
2821POSUB=
6bb11ab3 2822
b5689863
MF
2823if test -f ../../intl/config.intl; then
2824 . ../../intl/config.intl
6bb11ab3 2825fi
b5689863
MF
2826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2827$as_echo_n "checking whether NLS is requested... " >&6; }
2828if test x"$USE_NLS" != xyes; then
6bb11ab3
L
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2830$as_echo "no" >&6; }
b5689863
MF
2831else
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2833$as_echo "yes" >&6; }
6bb11ab3 2834
b5689863 2835$as_echo "#define ENABLE_NLS 1" >>confdefs.h
6bb11ab3 2836
6bb11ab3 2837
b5689863
MF
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
2839$as_echo_n "checking for catalogs to be installed... " >&6; }
2840 # Look for .po and .gmo files in the source directory.
2841 CATALOGS=
2842 XLINGUAS=
2843 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
2844 # If there aren't any .gmo files the shell will give us the
2845 # literal string "../path/to/srcdir/po/*.gmo" which has to be
2846 # weeded out.
2847 case "$cat" in *\**)
2848 continue;;
6bb11ab3 2849 esac
b5689863
MF
2850 # The quadruple backslash is collapsed to a double backslash
2851 # by the backticks, then collapsed again by the double quotes,
2852 # leaving us with one backslash in the sed expression (right
2853 # before the dot that mustn't act as a wildcard).
2854 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
2855 lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
2856 # The user is allowed to set LINGUAS to a list of languages to
2857 # install catalogs for. If it's empty that means "all of them."
2858 if test "x$LINGUAS" = x; then
2859 CATALOGS="$CATALOGS $cat"
2860 XLINGUAS="$XLINGUAS $lang"
6bb11ab3 2861 else
b5689863
MF
2862 case "$LINGUAS" in *$lang*)
2863 CATALOGS="$CATALOGS $cat"
2864 XLINGUAS="$XLINGUAS $lang"
2865 ;;
2866 esac
2867 fi
2868 done
2869 LINGUAS="$XLINGUAS"
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
2871$as_echo "$LINGUAS" >&6; }
6bb11ab3
L
2872
2873
b5689863 2874 DATADIRNAME=share
6bb11ab3 2875
b5689863 2876 INSTOBJEXT=.mo
6bb11ab3 2877
b5689863 2878 GENCAT=gencat
6bb11ab3 2879
b5689863 2880 CATOBJEXT=.gmo
5912fadd 2881
b5689863 2882fi
c28c63d8 2883
c28c63d8 2884
31e6ad7d
MF
2885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2886$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2887 # Check whether --enable-maintainer-mode was given.
81ecdfbb 2888if test "${enable_maintainer_mode+set}" = set; then :
31e6ad7d
MF
2889 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2890else
2891 USE_MAINTAINER_MODE=no
c28c63d8 2892fi
31e6ad7d
MF
2893
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2895$as_echo "$USE_MAINTAINER_MODE" >&6; }
2896 if test $USE_MAINTAINER_MODE = yes; then
2897 MAINTAINER_MODE_TRUE=
2898 MAINTAINER_MODE_FALSE='#'
c28c63d8 2899else
31e6ad7d
MF
2900 MAINTAINER_MODE_TRUE='#'
2901 MAINTAINER_MODE_FALSE=
81ecdfbb
RW
2902fi
2903
31e6ad7d
MF
2904 MAINT=$MAINTAINER_MODE_TRUE
2905
2906
c28c63d8
JB
2907
2908
347fe5bb
MF
2909sim_inline="-DDEFAULT_INLINE=0"
2910# Check whether --enable-sim-inline was given.
2911if test "${enable_sim_inline+set}" = set; then :
2912 enableval=$enable_sim_inline; sim_inline=""
2913case "$enableval" in
2914 no) sim_inline="-DDEFAULT_INLINE=0";;
2915 0) sim_inline="-DDEFAULT_INLINE=0";;
2916 yes | 2) sim_inline="-DDEFAULT_INLINE=ALL_C_INLINE";;
2917 1) sim_inline="-DDEFAULT_INLINE=INLINE_LOCALS";;
2918 *) for x in `echo "$enableval" | sed -e "s/,/ /g"`; do
2919 new_flag=""
2920 case "$x" in
2921 *_INLINE=*) new_flag="-D$x";;
2922 *=*) new_flag=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
2923 *_INLINE) new_flag="-D$x=ALL_C_INLINE";;
2924 *) new_flag="-D$x""_INLINE=ALL_C_INLINE";;
2925 esac
2926 if test x"$sim_inline" = x""; then
2927 sim_inline="$new_flag"
2928 else
2929 sim_inline="$sim_inline $new_flag"
2930 fi
2931 done;;
2932esac
2933if test x"$silent" != x"yes" && test x"$sim_inline" != x""; then
2934 echo "Setting inline flags = $sim_inline" 6>&1
2935fi
2936fi
2937
2938
2939
c28c63d8 2940
c28c63d8 2941default_sim_scache="16384"
81ecdfbb
RW
2942# Check whether --enable-sim-scache was given.
2943if test "${enable_sim_scache+set}" = set; then :
2944 enableval=$enable_sim_scache; case "${enableval}" in
c28c63d8
JB
2945 yes) sim_scache="-DWITH_SCACHE=${default_sim_scache}";;
2946 no) sim_scache="-DWITH_SCACHE=0" ;;
2947 [0-9]*) sim_scache="-DWITH_SCACHE=${enableval}";;
d0ac1c44 2948 *) as_fn_error $? "\"Bad value $enableval passed to --enable-sim-scache\"" "$LINENO" 5;
c28c63d8
JB
2949 sim_scache="";;
2950esac
2951if test x"$silent" != x"yes" && test x"$sim_scache" != x""; then
2952 echo "Setting scache size = $sim_scache" 6>&1
2953fi
2954else
2955 sim_scache="-DWITH_SCACHE=${default_sim_scache}"
81ecdfbb
RW
2956fi
2957
c28c63d8
JB
2958
2959
2960default_sim_default_model="lm32"
81ecdfbb
RW
2961# Check whether --enable-sim-default-model was given.
2962if test "${enable_sim_default_model+set}" = set; then :
2963 enableval=$enable_sim_default_model; case "${enableval}" in
d0ac1c44 2964 yes|no) as_fn_error $? "\"Missing argument to --enable-sim-default-model\"" "$LINENO" 5;;
c28c63d8
JB
2965 *) sim_default_model="-DWITH_DEFAULT_MODEL='\"${enableval}\"'";;
2966esac
2967if test x"$silent" != x"yes" && test x"$sim_default_model" != x""; then
2968 echo "Setting default model = $sim_default_model" 6>&1
2969fi
2970else
2971 sim_default_model="-DWITH_DEFAULT_MODEL='\"${default_sim_default_model}\"'"
81ecdfbb 2972fi
c28c63d8
JB
2973
2974
81ecdfbb 2975
c28c63d8
JB
2976cgen_maint=no
2977cgen=guile
2978cgendir='$(srcdir)/../../cgen'
81ecdfbb
RW
2979# Check whether --enable-cgen-maint was given.
2980if test "${enable_cgen_maint+set}" = set; then :
2981 enableval=$enable_cgen_maint; case "${enableval}" in
c28c63d8
JB
2982 yes) cgen_maint=yes ;;
2983 no) cgen_maint=no ;;
2984 *)
7fb45a68
AB
2985 # Argument is a directory where cgen can be found. In some
2986 # future world cgen could be installable, but right now this
2987 # is not the case. Instead we assume the directory is a path
2988 # to the cgen source tree.
2989 cgen_maint=yes
2990 if test -r ${enableval}/iformat.scm; then
2991 # This looks like a cgen source tree.
2992 cgendir=${enableval}
2993 else
2994 as_fn_error $? "${enableval} doesn't look like a cgen source tree" "$LINENO" 5
2995 fi
c28c63d8
JB
2996 ;;
2997esac
81ecdfbb
RW
2998fi
2999if test x${cgen_maint} != xno ; then
c28c63d8
JB
3000 CGEN_MAINT=''
3001else
3002 CGEN_MAINT='#'
3003fi
3004
3005
3006
3007
3008
9d903352 3009hardware="cfi core pal glue lm32cpu lm32timer lm32uart"
c28c63d8
JB
3010sim_hw_cflags="-DWITH_HW=1"
3011sim_hw="$hardware"
3012sim_hw_objs="\$(SIM_COMMON_HW_OBJS) `echo $sim_hw | sed -e 's/\([^ ][^ ]*\)/dv-\1.o/g'`"
1517bd27 3013
81ecdfbb
RW
3014# Check whether --enable-sim-hardware was given.
3015if test "${enable_sim_hardware+set}" = set; then :
3016 enableval=$enable_sim_hardware;
30452bbe
MF
3017else
3018 enable_sim_hardware="yes"
1517bd27
MF
3019fi
3020
3021case ${enable_sim_hardware} in
64dd13df
MF
3022 yes|no) ;;
3023 ,*) hardware="${hardware} `echo ${enableval} | sed -e 's/,/ /'`";;
3024 *,) hardware="`echo ${enableval} | sed -e 's/,/ /'` ${hardware}";;
3025 *) hardware="`echo ${enableval} | sed -e 's/,/ /'`"'';;
c28c63d8 3026esac
1517bd27 3027
64dd13df 3028if test "$enable_sim_hardware" = no; then
c28c63d8
JB
3029 sim_hw_objs=
3030 sim_hw_cflags="-DWITH_HW=0"
3031 sim_hw=
3032else
3033 sim_hw_cflags="-DWITH_HW=1"
3034 # remove duplicates
3035 sim_hw=""
3036 sim_hw_objs="\$(SIM_COMMON_HW_OBJS)"
3037 for i in $hardware ; do
3038 case " $sim_hw " in
3039 *" $i "*) ;;
3040 *) sim_hw="$sim_hw $i" ; sim_hw_objs="$sim_hw_objs dv-$i.o";;
3041 esac
3042 done
1517bd27 3043 # mingw does not support sockser
1517bd27
MF
3044 case ${host} in
3045 *mingw*) ;;
49cd1634
MF
3046 *) # TODO: We don't add dv-sockser to sim_hw as it is not a "real" device
3047 # that you instatiate. Instead, other code will call into it directly.
3048 # At some point, we should convert it over.
3049 sim_hw_objs="$sim_hw_objs dv-sockser.o"
bcaa61f7 3050 sim_hw_cflags="$sim_hw_cflags -DHAVE_DV_SOCKSER"
1517bd27
MF
3051 ;;
3052 esac
1517bd27
MF
3053 if test x"$silent" != x"yes"; then
3054 echo "Setting hardware to $sim_hw_cflags, $sim_hw, $sim_hw_objs"
3055 fi
1517bd27 3056fi
4399a56b 3057
c28c63d8
JB
3058
3059
c28c63d8
JB
3060cgen_breaks=""
3061if grep CGEN_MAINT $srcdir/Makefile.in >/dev/null; then
3062cgen_breaks="break cgen_rtx_error";
3063fi
3064
81ecdfbb 3065ac_config_files="$ac_config_files Makefile.sim:Makefile.in"
c28c63d8 3066
81ecdfbb 3067ac_config_files="$ac_config_files Make-common.sim:../common/Make-common.in"
c28c63d8 3068
81ecdfbb 3069ac_config_files="$ac_config_files .gdbinit:../common/gdbinit.in"
c28c63d8 3070
81ecdfbb 3071ac_config_commands="$ac_config_commands Makefile"
c28c63d8 3072
81ecdfbb 3073ac_config_commands="$ac_config_commands stamp-h"
c28c63d8 3074
760b3e8b
MF
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
c28c63d8
JB
3085cat >confcache <<\_ACEOF
3086# This file is a shell script that caches the results of configure
3087# tests run on this system so they can be shared between configure
3088# scripts and configure runs, see configure's option --config-cache.
3089# It is not useful on other systems. If it contains results you don't
3090# want to keep, you may remove or edit it.
3091#
3092# config.status only pays attention to the cache file if you give it
3093# the --recheck option to rerun configure.
3094#
3095# `ac_cv_env_foo' variables (set or unset) will be overridden when
3096# loading this file, other *unset* `ac_cv_foo' will be assigned the
3097# following values.
3098
3099_ACEOF
3100
3101# The following way of writing the cache mishandles newlines in values,
3102# but we know of no workaround that is simple, portable, and efficient.
81ecdfbb 3103# So, we kill variables containing newlines.
c28c63d8
JB
3104# Ultrix sh set writes to stderr and can't be redirected directly,
3105# and sets the high bit in the cache file unless we assign to the vars.
81ecdfbb
RW
3106(
3107 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3108 eval ac_val=\$$ac_var
3109 case $ac_val in #(
3110 *${as_nl}*)
3111 case $ac_var in #(
3112 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3113$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3114 esac
3115 case $ac_var in #(
3116 _ | IFS | as_nl) ;; #(
3117 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3118 *) { eval $ac_var=; unset $ac_var;} ;;
3119 esac ;;
3120 esac
3121 done
3122
c28c63d8 3123 (set) 2>&1 |
81ecdfbb
RW
3124 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3125 *${as_nl}ac_space=\ *)
3126 # `set' does not quote correctly, so add quotes: double-quote
3127 # substitution turns \\\\ into \\, and sed turns \\ into \.
c28c63d8
JB
3128 sed -n \
3129 "s/'/'\\\\''/g;
3130 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81ecdfbb 3131 ;; #(
c28c63d8
JB
3132 *)
3133 # `set' quotes correctly as required by POSIX, so do not add quotes.
81ecdfbb 3134 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
c28c63d8 3135 ;;
81ecdfbb
RW
3136 esac |
3137 sort
3138) |
c28c63d8 3139 sed '
81ecdfbb 3140 /^ac_cv_env_/b end
c28c63d8 3141 t clear
81ecdfbb 3142 :clear
c28c63d8
JB
3143 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3144 t end
81ecdfbb
RW
3145 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3146 :end' >>confcache
3147if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3148 if test -w "$cache_file"; then
d0ac1c44 3149 if test "x$cache_file" != "x/dev/null"; then
81ecdfbb
RW
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3151$as_echo "$as_me: updating cache $cache_file" >&6;}
d0ac1c44
SM
3152 if test ! -f "$cache_file" || test -h "$cache_file"; then
3153 cat confcache >"$cache_file"
3154 else
3155 case $cache_file in #(
3156 */* | ?:*)
3157 mv -f confcache "$cache_file"$$ &&
3158 mv -f "$cache_file"$$ "$cache_file" ;; #(
3159 *)
3160 mv -f confcache "$cache_file" ;;
3161 esac
3162 fi
3163 fi
c28c63d8 3164 else
81ecdfbb
RW
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3166$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
c28c63d8
JB
3167 fi
3168fi
3169rm -f confcache
3170
3171test "x$prefix" = xNONE && prefix=$ac_default_prefix
3172# Let make expand exec_prefix.
3173test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3174
52d37d2c
MF
3175# Transform confdefs.h into DEFS.
3176# Protect against shell expansion while executing Makefile rules.
3177# Protect against Makefile macro expansion.
3178#
3179# If the first sed substitution is executed (which looks for macros that
3180# take arguments), then branch to the quote section. Otherwise,
3181# look for a macro that doesn't take arguments.
3182ac_script='
3183:mline
3184/\\$/{
3185 N
3186 s,\\\n,,
3187 b mline
3188}
3189t clear
3190:clear
3191s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3192t quote
3193s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3194t quote
3195b any
3196:quote
3197s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3198s/\[/\\&/g
3199s/\]/\\&/g
3200s/\$/$$/g
3201H
3202:any
3203${
3204 g
3205 s/^\n//
3206 s/\n/ /g
3207 p
3208}
3209'
3210DEFS=`sed -n "$ac_script" confdefs.h`
3211
c28c63d8
JB
3212
3213ac_libobjs=
3214ac_ltlibobjs=
d0ac1c44 3215U=
c28c63d8
JB
3216for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3217 # 1. Remove the extension, and $U if already installed.
81ecdfbb
RW
3218 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3219 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3220 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3221 # will be set to the directory where LIBOBJS objects are built.
3222 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3223 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
c28c63d8
JB
3224done
3225LIBOBJS=$ac_libobjs
3226
3227LTLIBOBJS=$ac_ltlibobjs
3228
3229
31e6ad7d 3230if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
d0ac1c44 3231 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
31e6ad7d
MF
3232Usually this means the macro was only invoked conditionally." "$LINENO" 5
3233fi
c28c63d8 3234
d0ac1c44 3235: "${CONFIG_STATUS=./config.status}"
81ecdfbb 3236ac_write_fail=0
c28c63d8
JB
3237ac_clean_files_save=$ac_clean_files
3238ac_clean_files="$ac_clean_files $CONFIG_STATUS"
81ecdfbb
RW
3239{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3240$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3241as_write_fail=0
3242cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
c28c63d8
JB
3243#! $SHELL
3244# Generated by $as_me.
3245# Run this file to recreate the current configuration.
3246# Compiler output produced by configure, useful for debugging
3247# configure, is in config.log if it exists.
3248
3249debug=false
3250ac_cs_recheck=false
3251ac_cs_silent=false
c28c63d8 3252
81ecdfbb
RW
3253SHELL=\${CONFIG_SHELL-$SHELL}
3254export SHELL
3255_ASEOF
3256cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3257## -------------------- ##
3258## M4sh Initialization. ##
3259## -------------------- ##
3260
3261# Be more Bourne compatible
3262DUALCASE=1; export DUALCASE # for MKS sh
3263if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
c28c63d8
JB
3264 emulate sh
3265 NULLCMD=:
81ecdfbb 3266 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
c28c63d8
JB
3267 # is contrary to our usage. Disable this feature.
3268 alias -g '${1+"$@"}'='"$@"'
81ecdfbb
RW
3269 setopt NO_GLOB_SUBST
3270else
3271 case `(set -o) 2>/dev/null` in #(
3272 *posix*) :
3273 set -o posix ;; #(
3274 *) :
3275 ;;
3276esac
c28c63d8
JB
3277fi
3278
81ecdfbb
RW
3279
3280as_nl='
3281'
3282export as_nl
3283# Printing a long string crashes Solaris 7 /usr/bin/printf.
3284as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3285as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3286as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3287# Prefer a ksh shell builtin over an external printf program on Solaris,
3288# but without wasting forks for bash or zsh.
3289if test -z "$BASH_VERSION$ZSH_VERSION" \
3290 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3291 as_echo='print -r --'
3292 as_echo_n='print -rn --'
3293elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3294 as_echo='printf %s\n'
3295 as_echo_n='printf %s'
3296else
3297 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3298 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3299 as_echo_n='/usr/ucb/echo -n'
3300 else
3301 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3302 as_echo_n_body='eval
3303 arg=$1;
3304 case $arg in #(
3305 *"$as_nl"*)
3306 expr "X$arg" : "X\\(.*\\)$as_nl";
3307 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3308 esac;
3309 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3310 '
3311 export as_echo_n_body
3312 as_echo_n='sh -c $as_echo_n_body as_echo'
3313 fi
3314 export as_echo_body
3315 as_echo='sh -c $as_echo_body as_echo'
3316fi
3317
3318# The user is always right.
3319if test "${PATH_SEPARATOR+set}" != set; then
3320 PATH_SEPARATOR=:
3321 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3322 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3323 PATH_SEPARATOR=';'
3324 }
d6416cdc 3325fi
c28c63d8
JB
3326
3327
81ecdfbb
RW
3328# IFS
3329# We need space, tab and new line, in precisely that order. Quoting is
3330# there to prevent editors from complaining about space-tab.
3331# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3332# splitting by setting IFS to empty value.)
3333IFS=" "" $as_nl"
3334
3335# Find who we are. Look in the path if we contain no directory separator.
d0ac1c44 3336as_myself=
81ecdfbb
RW
3337case $0 in #((
3338 *[\\/]* ) as_myself=$0 ;;
3339 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3340for as_dir in $PATH
3341do
3342 IFS=$as_save_IFS
3343 test -z "$as_dir" && as_dir=.
3344 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3345 done
3346IFS=$as_save_IFS
3347
3348 ;;
3349esac
3350# We did not find ourselves, most probably we were run as `sh COMMAND'
3351# in which case we are not to be found in the path.
3352if test "x$as_myself" = x; then
3353 as_myself=$0
3354fi
3355if test ! -f "$as_myself"; then
3356 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3357 exit 1
3358fi
3359
3360# Unset variables that we do not need and which cause bugs (e.g. in
3361# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3362# suppresses any "Segmentation fault" message there. '((' could
3363# trigger a bug in pdksh 5.2.14.
3364for as_var in BASH_ENV ENV MAIL MAILPATH
3365do eval test x\${$as_var+set} = xset \
3366 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3367done
d6416cdc
RW
3368PS1='$ '
3369PS2='> '
3370PS4='+ '
c28c63d8 3371
d6416cdc 3372# NLS nuisances.
81ecdfbb
RW
3373LC_ALL=C
3374export LC_ALL
3375LANGUAGE=C
3376export LANGUAGE
3377
3378# CDPATH.
3379(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3380
3381
d0ac1c44
SM
3382# as_fn_error STATUS ERROR [LINENO LOG_FD]
3383# ----------------------------------------
81ecdfbb
RW
3384# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3385# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
d0ac1c44 3386# script with STATUS, using 1 if that was 0.
81ecdfbb
RW
3387as_fn_error ()
3388{
d0ac1c44
SM
3389 as_status=$1; test $as_status -eq 0 && as_status=1
3390 if test "$4"; then
3391 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3392 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
c28c63d8 3393 fi
d0ac1c44 3394 $as_echo "$as_me: error: $2" >&2
81ecdfbb
RW
3395 as_fn_exit $as_status
3396} # as_fn_error
3397
3398
3399# as_fn_set_status STATUS
3400# -----------------------
3401# Set $? to STATUS, without forking.
3402as_fn_set_status ()
3403{
3404 return $1
3405} # as_fn_set_status
3406
3407# as_fn_exit STATUS
3408# -----------------
3409# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3410as_fn_exit ()
3411{
3412 set +e
3413 as_fn_set_status $1
3414 exit $1
3415} # as_fn_exit
3416
3417# as_fn_unset VAR
3418# ---------------
3419# Portably unset VAR.
3420as_fn_unset ()
3421{
3422 { eval $1=; unset $1;}
3423}
3424as_unset=as_fn_unset
3425# as_fn_append VAR VALUE
3426# ----------------------
3427# Append the text in VALUE to the end of the definition contained in VAR. Take
3428# advantage of any shell optimizations that allow amortized linear growth over
3429# repeated appends, instead of the typical quadratic growth present in naive
3430# implementations.
3431if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3432 eval 'as_fn_append ()
3433 {
3434 eval $1+=\$2
3435 }'
3436else
3437 as_fn_append ()
3438 {
3439 eval $1=\$$1\$2
3440 }
3441fi # as_fn_append
3442
3443# as_fn_arith ARG...
3444# ------------------
3445# Perform arithmetic evaluation on the ARGs, and store the result in the
3446# global $as_val. Take advantage of shells that can avoid forks. The arguments
3447# must be portable across $(()) and expr.
3448if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3449 eval 'as_fn_arith ()
3450 {
3451 as_val=$(( $* ))
3452 }'
3453else
3454 as_fn_arith ()
3455 {
3456 as_val=`expr "$@" || test $? -eq 1`
3457 }
3458fi # as_fn_arith
c28c63d8 3459
81ecdfbb
RW
3460
3461if expr a : '\(a\)' >/dev/null 2>&1 &&
3462 test "X`expr 00001 : '.*\(...\)'`" = X001; then
c28c63d8
JB
3463 as_expr=expr
3464else
3465 as_expr=false
3466fi
3467
81ecdfbb 3468if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
c28c63d8
JB
3469 as_basename=basename
3470else
3471 as_basename=false
3472fi
3473
81ecdfbb
RW
3474if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3475 as_dirname=dirname
3476else
3477 as_dirname=false
3478fi
c28c63d8 3479
81ecdfbb 3480as_me=`$as_basename -- "$0" ||
c28c63d8
JB
3481$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3482 X"$0" : 'X\(//\)$' \| \
81ecdfbb
RW
3483 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3484$as_echo X/"$0" |
3485 sed '/^.*\/\([^/][^/]*\)\/*$/{
3486 s//\1/
3487 q
3488 }
3489 /^X\/\(\/\/\)$/{
3490 s//\1/
3491 q
3492 }
3493 /^X\/\(\/\).*/{
3494 s//\1/
3495 q
3496 }
3497 s/.*/./; q'`
c28c63d8 3498
d6416cdc
RW
3499# Avoid depending upon Character Ranges.
3500as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3501as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3502as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3503as_cr_digits='0123456789'
3504as_cr_alnum=$as_cr_Letters$as_cr_digits
3505
81ecdfbb
RW
3506ECHO_C= ECHO_N= ECHO_T=
3507case `echo -n x` in #(((((
3508-n*)
3509 case `echo 'xy\c'` in
3510 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3511 xy) ECHO_C='\c';;
3512 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3513 ECHO_T=' ';;
3514 esac;;
3515*)
3516 ECHO_N='-n';;
c28c63d8 3517esac
d6416cdc 3518
81ecdfbb
RW
3519rm -f conf$$ conf$$.exe conf$$.file
3520if test -d conf$$.dir; then
3521 rm -f conf$$.dir/conf$$.file
c28c63d8 3522else
81ecdfbb
RW
3523 rm -f conf$$.dir
3524 mkdir conf$$.dir 2>/dev/null
c28c63d8 3525fi
81ecdfbb
RW
3526if (echo >conf$$.file) 2>/dev/null; then
3527 if ln -s conf$$.file conf$$ 2>/dev/null; then
d6416cdc 3528 as_ln_s='ln -s'
81ecdfbb
RW
3529 # ... but there are two gotchas:
3530 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3531 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
d0ac1c44 3532 # In both cases, we have to default to `cp -pR'.
81ecdfbb 3533 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
d0ac1c44 3534 as_ln_s='cp -pR'
81ecdfbb
RW
3535 elif ln conf$$.file conf$$ 2>/dev/null; then
3536 as_ln_s=ln
3537 else
d0ac1c44 3538 as_ln_s='cp -pR'
c28c63d8
JB
3539 fi
3540else
d0ac1c44 3541 as_ln_s='cp -pR'
c28c63d8 3542fi
81ecdfbb
RW
3543rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3544rmdir conf$$.dir 2>/dev/null
3545
3546
3547# as_fn_mkdir_p
3548# -------------
3549# Create "$as_dir" as a directory, including parents if necessary.
3550as_fn_mkdir_p ()
3551{
3552
3553 case $as_dir in #(
3554 -*) as_dir=./$as_dir;;
3555 esac
3556 test -d "$as_dir" || eval $as_mkdir_p || {
3557 as_dirs=
3558 while :; do
3559 case $as_dir in #(
3560 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3561 *) as_qdir=$as_dir;;
3562 esac
3563 as_dirs="'$as_qdir' $as_dirs"
3564 as_dir=`$as_dirname -- "$as_dir" ||
3565$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3566 X"$as_dir" : 'X\(//\)[^/]' \| \
3567 X"$as_dir" : 'X\(//\)$' \| \
3568 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3569$as_echo X"$as_dir" |
3570 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3571 s//\1/
3572 q
3573 }
3574 /^X\(\/\/\)[^/].*/{
3575 s//\1/
3576 q
3577 }
3578 /^X\(\/\/\)$/{
3579 s//\1/
3580 q
3581 }
3582 /^X\(\/\).*/{
3583 s//\1/
3584 q
3585 }
3586 s/.*/./; q'`
3587 test -d "$as_dir" && break
3588 done
3589 test -z "$as_dirs" || eval "mkdir $as_dirs"
d0ac1c44 3590 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
c28c63d8 3591
81ecdfbb
RW
3592
3593} # as_fn_mkdir_p
c28c63d8 3594if mkdir -p . 2>/dev/null; then
81ecdfbb 3595 as_mkdir_p='mkdir -p "$as_dir"'
c28c63d8
JB
3596else
3597 test -d ./-p && rmdir ./-p
3598 as_mkdir_p=false
3599fi
3600
d0ac1c44
SM
3601
3602# as_fn_executable_p FILE
3603# -----------------------
3604# Test if FILE is an executable regular file.
3605as_fn_executable_p ()
3606{
3607 test -f "$1" && test -x "$1"
3608} # as_fn_executable_p
3609as_test_x='test -x'
3610as_executable_p=as_fn_executable_p
c28c63d8
JB
3611
3612# Sed expression to map a string onto a valid CPP name.
3613as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3614
3615# Sed expression to map a string onto a valid variable name.
3616as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3617
3618
3619exec 6>&1
81ecdfbb
RW
3620## ----------------------------------- ##
3621## Main body of $CONFIG_STATUS script. ##
3622## ----------------------------------- ##
3623_ASEOF
3624test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3625
3626cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3627# Save the log message, to keep $0 and so on meaningful, and to
c28c63d8 3628# report actual input values of CONFIG_FILES etc. instead of their
81ecdfbb
RW
3629# values after options handling.
3630ac_log="
c28c63d8 3631This file was extended by $as_me, which was
d0ac1c44 3632generated by GNU Autoconf 2.69. Invocation command line was
c28c63d8
JB
3633
3634 CONFIG_FILES = $CONFIG_FILES
3635 CONFIG_HEADERS = $CONFIG_HEADERS
3636 CONFIG_LINKS = $CONFIG_LINKS
3637 CONFIG_COMMANDS = $CONFIG_COMMANDS
3638 $ $0 $@
3639
81ecdfbb
RW
3640on `(hostname || uname -n) 2>/dev/null | sed 1q`
3641"
3642
c28c63d8
JB
3643_ACEOF
3644
81ecdfbb
RW
3645case $ac_config_files in *"
3646"*) set x $ac_config_files; shift; ac_config_files=$*;;
3647esac
c28c63d8 3648
c28c63d8
JB
3649
3650
81ecdfbb
RW
3651cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3652# Files that config.status was made for.
3653config_files="$ac_config_files"
81ecdfbb 3654config_commands="$ac_config_commands"
c28c63d8 3655
81ecdfbb 3656_ACEOF
c28c63d8 3657
81ecdfbb 3658cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
c28c63d8 3659ac_cs_usage="\
81ecdfbb
RW
3660\`$as_me' instantiates files and other configuration actions
3661from templates according to the current configuration. Unless the files
3662and actions are specified as TAGs, all are instantiated by default.
c28c63d8 3663
81ecdfbb 3664Usage: $0 [OPTION]... [TAG]...
c28c63d8
JB
3665
3666 -h, --help print this help, then exit
81ecdfbb 3667 -V, --version print version number and configuration settings, then exit
d0ac1c44 3668 --config print configuration, then exit
81ecdfbb
RW
3669 -q, --quiet, --silent
3670 do not print progress messages
c28c63d8
JB
3671 -d, --debug don't remove temporary files
3672 --recheck update $as_me by reconfiguring in the same conditions
81ecdfbb
RW
3673 --file=FILE[:TEMPLATE]
3674 instantiate the configuration file FILE
c28c63d8
JB
3675
3676Configuration files:
3677$config_files
3678
c28c63d8
JB
3679Configuration commands:
3680$config_commands
3681
81ecdfbb 3682Report bugs to the package provider."
d6416cdc 3683
81ecdfbb
RW
3684_ACEOF
3685cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
d0ac1c44 3686ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
c28c63d8
JB
3687ac_cs_version="\\
3688config.status
d0ac1c44
SM
3689configured by $0, generated by GNU Autoconf 2.69,
3690 with options \\"\$ac_cs_config\\"
c28c63d8 3691
d0ac1c44 3692Copyright (C) 2012 Free Software Foundation, Inc.
c28c63d8
JB
3693This config.status script is free software; the Free Software Foundation
3694gives unlimited permission to copy, distribute and modify it."
81ecdfbb
RW
3695
3696ac_pwd='$ac_pwd'
3697srcdir='$srcdir'
3698INSTALL='$INSTALL'
3699test -n "\$AWK" || AWK=awk
c28c63d8
JB
3700_ACEOF
3701
81ecdfbb
RW
3702cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3703# The default lists apply if the user does not specify any file.
c28c63d8
JB
3704ac_need_defaults=:
3705while test $# != 0
3706do
3707 case $1 in
d0ac1c44 3708 --*=?*)
81ecdfbb
RW
3709 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3710 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
c28c63d8
JB
3711 ac_shift=:
3712 ;;
d0ac1c44
SM
3713 --*=)
3714 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3715 ac_optarg=
3716 ac_shift=:
3717 ;;
81ecdfbb 3718 *)
c28c63d8
JB
3719 ac_option=$1
3720 ac_optarg=$2
3721 ac_shift=shift
3722 ;;
3723 esac
3724
3725 case $ac_option in
3726 # Handling of the options.
3727 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3728 ac_cs_recheck=: ;;
81ecdfbb
RW
3729 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3730 $as_echo "$ac_cs_version"; exit ;;
d0ac1c44
SM
3731 --config | --confi | --conf | --con | --co | --c )
3732 $as_echo "$ac_cs_config"; exit ;;
81ecdfbb 3733 --debug | --debu | --deb | --de | --d | -d )
c28c63d8
JB
3734 debug=: ;;
3735 --file | --fil | --fi | --f )
3736 $ac_shift
81ecdfbb
RW
3737 case $ac_optarg in
3738 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
d0ac1c44 3739 '') as_fn_error $? "missing file argument" ;;
81ecdfbb
RW
3740 esac
3741 as_fn_append CONFIG_FILES " '$ac_optarg'"
c28c63d8 3742 ac_need_defaults=false;;
52d37d2c 3743 --he | --h | --help | --hel | -h )
81ecdfbb 3744 $as_echo "$ac_cs_usage"; exit ;;
c28c63d8
JB
3745 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3746 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3747 ac_cs_silent=: ;;
3748
3749 # This is an error.
d0ac1c44 3750 -*) as_fn_error $? "unrecognized option: \`$1'
81ecdfbb 3751Try \`$0 --help' for more information." ;;
c28c63d8 3752
81ecdfbb
RW
3753 *) as_fn_append ac_config_targets " $1"
3754 ac_need_defaults=false ;;
c28c63d8
JB
3755
3756 esac
3757 shift
3758done
3759
3760ac_configure_extra_args=
3761
3762if $ac_cs_silent; then
3763 exec 6>/dev/null
3764 ac_configure_extra_args="$ac_configure_extra_args --silent"
3765fi
3766
3767_ACEOF
81ecdfbb 3768cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
c28c63d8 3769if \$ac_cs_recheck; then
d0ac1c44 3770 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
81ecdfbb
RW
3771 shift
3772 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3773 CONFIG_SHELL='$SHELL'
3774 export CONFIG_SHELL
3775 exec "\$@"
c28c63d8
JB
3776fi
3777
3778_ACEOF
81ecdfbb
RW
3779cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3780exec 5>>config.log
3781{
3782 echo
3783 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3784## Running $as_me. ##
3785_ASBOX
3786 $as_echo "$ac_log"
3787} >&5
c28c63d8 3788
81ecdfbb
RW
3789_ACEOF
3790cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
db2e4d67
MF
3791#
3792# INIT-COMMANDS
3793#
3794ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
3795
81ecdfbb 3796_ACEOF
c28c63d8 3797
81ecdfbb 3798cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
c28c63d8 3799
81ecdfbb 3800# Handling of arguments.
c28c63d8
JB
3801for ac_config_target in $ac_config_targets
3802do
81ecdfbb 3803 case $ac_config_target in
db2e4d67 3804 "depdir") CONFIG_COMMANDS="$CONFIG_COMMANDS depdir" ;;
81ecdfbb
RW
3805 "Makefile.sim") CONFIG_FILES="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
3806 "Make-common.sim") CONFIG_FILES="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
3807 ".gdbinit") CONFIG_FILES="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
3808 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
3809 "stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS stamp-h" ;;
3810
d0ac1c44 3811 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
c28c63d8
JB
3812 esac
3813done
3814
81ecdfbb 3815
c28c63d8
JB
3816# If the user did not use the arguments to specify the items to instantiate,
3817# then the envvar interface is used. Set only those that are not.
3818# We use the long form for the default assignment because of an extremely
3819# bizarre bug on SunOS 4.1.3.
3820if $ac_need_defaults; then
3821 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
c28c63d8
JB
3822 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3823fi
3824
3825# Have a temporary directory for convenience. Make it in the build tree
81ecdfbb 3826# simply because there is no reason against having it here, and in addition,
c28c63d8 3827# creating and moving files from /tmp can sometimes cause problems.
81ecdfbb
RW
3828# Hook for its removal unless debugging.
3829# Note that there is a small window in which the directory will not be cleaned:
3830# after its creation but before its name has been assigned to `$tmp'.
c28c63d8
JB
3831$debug ||
3832{
d0ac1c44 3833 tmp= ac_tmp=
81ecdfbb 3834 trap 'exit_status=$?
d0ac1c44
SM
3835 : "${ac_tmp:=$tmp}"
3836 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
81ecdfbb
RW
3837' 0
3838 trap 'as_fn_exit 1' 1 2 13 15
c28c63d8
JB
3839}
3840# Create a (secure) tmp directory for tmp files.
3841
3842{
81ecdfbb 3843 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
d0ac1c44 3844 test -d "$tmp"
c28c63d8
JB
3845} ||
3846{
81ecdfbb
RW
3847 tmp=./conf$$-$RANDOM
3848 (umask 077 && mkdir "$tmp")
d0ac1c44
SM
3849} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3850ac_tmp=$tmp
c28c63d8 3851
81ecdfbb
RW
3852# Set up the scripts for CONFIG_FILES section.
3853# No need to generate them if there are no CONFIG_FILES.
3854# This happens for instance with `./config.status config.h'.
3855if test -n "$CONFIG_FILES"; then
c28c63d8 3856
c28c63d8 3857
81ecdfbb
RW
3858ac_cr=`echo X | tr X '\015'`
3859# On cygwin, bash can eat \r inside `` if the user requested igncr.
3860# But we know of no other shell where ac_cr would be empty at this
3861# point, so we can use a bashism as a fallback.
3862if test "x$ac_cr" = x; then
3863 eval ac_cr=\$\'\\r\'
3864fi
3865ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3866if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
d0ac1c44 3867 ac_cs_awk_cr='\\r'
81ecdfbb
RW
3868else
3869 ac_cs_awk_cr=$ac_cr
3870fi
c28c63d8 3871
d0ac1c44 3872echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
d6416cdc 3873_ACEOF
c28c63d8 3874
81ecdfbb
RW
3875
3876{
3877 echo "cat >conf$$subs.awk <<_ACEOF" &&
3878 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3879 echo "_ACEOF"
3880} >conf$$subs.sh ||
d0ac1c44
SM
3881 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3882ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
81ecdfbb
RW
3883ac_delim='%!_!# '
3884for ac_last_try in false false false false false :; do
3885 . ./conf$$subs.sh ||
d0ac1c44 3886 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
81ecdfbb
RW
3887
3888 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3889 if test $ac_delim_n = $ac_delim_num; then
3890 break
3891 elif $ac_last_try; then
d0ac1c44 3892 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
81ecdfbb
RW
3893 else
3894 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
c28c63d8 3895 fi
81ecdfbb
RW
3896done
3897rm -f conf$$subs.sh
c28c63d8 3898
81ecdfbb 3899cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
d0ac1c44 3900cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
c28c63d8 3901_ACEOF
81ecdfbb
RW
3902sed -n '
3903h
3904s/^/S["/; s/!.*/"]=/
3905p
3906g
3907s/^[^!]*!//
3908:repl
3909t repl
3910s/'"$ac_delim"'$//
3911t delim
3912:nl
3913h
d0ac1c44 3914s/\(.\{148\}\)..*/\1/
81ecdfbb
RW
3915t more1
3916s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3917p
3918n
3919b repl
3920:more1
3921s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3922p
3923g
3924s/.\{148\}//
3925t nl
3926:delim
3927h
d0ac1c44 3928s/\(.\{148\}\)..*/\1/
81ecdfbb
RW
3929t more2
3930s/["\\]/\\&/g; s/^/"/; s/$/"/
3931p
3932b
3933:more2
3934s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3935p
3936g
3937s/.\{148\}//
3938t delim
3939' <conf$$subs.awk | sed '
3940/^[^""]/{
3941 N
3942 s/\n//
3943}
3944' >>$CONFIG_STATUS || ac_write_fail=1
3945rm -f conf$$subs.awk
3946cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3947_ACAWK
d0ac1c44 3948cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
81ecdfbb
RW
3949 for (key in S) S_is_set[key] = 1
3950 FS = "\a"
c28c63d8 3951
81ecdfbb
RW
3952}
3953{
3954 line = $ 0
3955 nfields = split(line, field, "@")
3956 substed = 0
3957 len = length(field[1])
3958 for (i = 2; i < nfields; i++) {
3959 key = field[i]
3960 keylen = length(key)
3961 if (S_is_set[key]) {
3962 value = S[key]
3963 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3964 len += length(value) + length(field[++i])
3965 substed = 1
3966 } else
3967 len += 1 + keylen
3968 }
3969
3970 print line
3971}
c28c63d8 3972
81ecdfbb
RW
3973_ACAWK
3974_ACEOF
3975cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3976if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3977 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
d6416cdc 3978else
81ecdfbb 3979 cat
d0ac1c44
SM
3980fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3981 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
81ecdfbb 3982_ACEOF
c28c63d8 3983
d0ac1c44
SM
3984# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3985# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
81ecdfbb
RW
3986# trailing colons and then remove the whole line if VPATH becomes empty
3987# (actually we leave an empty line to preserve line numbers).
3988if test "x$srcdir" = x.; then
d0ac1c44
SM
3989 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3990h
3991s///
3992s/^/:/
3993s/[ ]*$/:/
3994s/:\$(srcdir):/:/g
3995s/:\${srcdir}:/:/g
3996s/:@srcdir@:/:/g
3997s/^:*//
81ecdfbb 3998s/:*$//
d0ac1c44
SM
3999x
4000s/\(=[ ]*\).*/\1/
4001G
4002s/\n//
81ecdfbb
RW
4003s/^[^=]*=[ ]*$//
4004}'
4005fi
c28c63d8 4006
81ecdfbb
RW
4007cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4008fi # test -n "$CONFIG_FILES"
c28c63d8 4009
81ecdfbb 4010
52d37d2c 4011eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
81ecdfbb
RW
4012shift
4013for ac_tag
4014do
4015 case $ac_tag in
4016 :[FHLC]) ac_mode=$ac_tag; continue;;
4017 esac
4018 case $ac_mode$ac_tag in
4019 :[FHL]*:*);;
d0ac1c44 4020 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
81ecdfbb
RW
4021 :[FH]-) ac_tag=-:-;;
4022 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
c28c63d8 4023 esac
81ecdfbb
RW
4024 ac_save_IFS=$IFS
4025 IFS=:
4026 set x $ac_tag
4027 IFS=$ac_save_IFS
4028 shift
4029 ac_file=$1
4030 shift
c28c63d8 4031
81ecdfbb
RW
4032 case $ac_mode in
4033 :L) ac_source=$1;;
4034 :[FH])
4035 ac_file_inputs=
4036 for ac_f
4037 do
4038 case $ac_f in
d0ac1c44 4039 -) ac_f="$ac_tmp/stdin";;
81ecdfbb
RW
4040 *) # Look for the file first in the build tree, then in the source tree
4041 # (if the path is not absolute). The absolute path cannot be DOS-style,
4042 # because $ac_f cannot contain `:'.
4043 test -f "$ac_f" ||
4044 case $ac_f in
4045 [\\/$]*) false;;
4046 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4047 esac ||
d0ac1c44 4048 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
c28c63d8 4049 esac
81ecdfbb
RW
4050 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4051 as_fn_append ac_file_inputs " '$ac_f'"
4052 done
c28c63d8 4053
81ecdfbb
RW
4054 # Let's still pretend it is `configure' which instantiates (i.e., don't
4055 # use $as_me), people would be surprised to read:
4056 # /* config.h. Generated by config.status. */
4057 configure_input='Generated from '`
4058 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4059 `' by configure.'
4060 if test x"$ac_file" != x-; then
4061 configure_input="$ac_file. $configure_input"
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4063$as_echo "$as_me: creating $ac_file" >&6;}
4064 fi
4065 # Neutralize special characters interpreted by sed in replacement strings.
4066 case $configure_input in #(
4067 *\&* | *\|* | *\\* )
4068 ac_sed_conf_input=`$as_echo "$configure_input" |
4069 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4070 *) ac_sed_conf_input=$configure_input;;
4071 esac
c28c63d8 4072
81ecdfbb 4073 case $ac_tag in
d0ac1c44
SM
4074 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4075 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
81ecdfbb
RW
4076 esac
4077 ;;
4078 esac
c28c63d8 4079
81ecdfbb 4080 ac_dir=`$as_dirname -- "$ac_file" ||
c28c63d8
JB
4081$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4082 X"$ac_file" : 'X\(//\)[^/]' \| \
4083 X"$ac_file" : 'X\(//\)$' \| \
81ecdfbb
RW
4084 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4085$as_echo X"$ac_file" |
4086 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4087 s//\1/
4088 q
4089 }
4090 /^X\(\/\/\)[^/].*/{
4091 s//\1/
4092 q
4093 }
4094 /^X\(\/\/\)$/{
4095 s//\1/
4096 q
4097 }
4098 /^X\(\/\).*/{
4099 s//\1/
4100 q
4101 }
4102 s/.*/./; q'`
4103 as_dir="$ac_dir"; as_fn_mkdir_p
c28c63d8
JB
4104 ac_builddir=.
4105
81ecdfbb
RW
4106case "$ac_dir" in
4107.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4108*)
4109 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4110 # A ".." for each directory in $ac_dir_suffix.
4111 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4112 case $ac_top_builddir_sub in
4113 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4114 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4115 esac ;;
4116esac
4117ac_abs_top_builddir=$ac_pwd
4118ac_abs_builddir=$ac_pwd$ac_dir_suffix
4119# for backward compatibility:
4120ac_top_builddir=$ac_top_build_prefix
c28c63d8
JB
4121
4122case $srcdir in
81ecdfbb 4123 .) # We are building in place.
c28c63d8 4124 ac_srcdir=.
81ecdfbb
RW
4125 ac_top_srcdir=$ac_top_builddir_sub
4126 ac_abs_top_srcdir=$ac_pwd ;;
4127 [\\/]* | ?:[\\/]* ) # Absolute name.
c28c63d8 4128 ac_srcdir=$srcdir$ac_dir_suffix;
81ecdfbb
RW
4129 ac_top_srcdir=$srcdir
4130 ac_abs_top_srcdir=$srcdir ;;
4131 *) # Relative name.
4132 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4133 ac_top_srcdir=$ac_top_build_prefix$srcdir
4134 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
c28c63d8 4135esac
81ecdfbb 4136ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
c28c63d8
JB
4137
4138
81ecdfbb
RW
4139 case $ac_mode in
4140 :F)
4141 #
4142 # CONFIG_FILE
4143 #
c28c63d8 4144
81ecdfbb
RW
4145 case $INSTALL in
4146 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4147 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
c28c63d8 4148 esac
81ecdfbb 4149_ACEOF
c28c63d8 4150
81ecdfbb
RW
4151cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4152# If the template does not know about datarootdir, expand it.
4153# FIXME: This hack should be removed a few years after 2.60.
4154ac_datarootdir_hack=; ac_datarootdir_seen=
4155ac_sed_dataroot='
4156/datarootdir/ {
4157 p
4158 q
4159}
4160/@datadir@/p
4161/@docdir@/p
4162/@infodir@/p
4163/@localedir@/p
4164/@mandir@/p'
4165case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4166*datarootdir*) ac_datarootdir_seen=yes;;
4167*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4169$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4170_ACEOF
4171cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4172 ac_datarootdir_hack='
4173 s&@datadir@&$datadir&g
4174 s&@docdir@&$docdir&g
4175 s&@infodir@&$infodir&g
4176 s&@localedir@&$localedir&g
4177 s&@mandir@&$mandir&g
4178 s&\\\${datarootdir}&$datarootdir&g' ;;
4179esac
d6416cdc 4180_ACEOF
c28c63d8 4181
81ecdfbb
RW
4182# Neutralize VPATH when `$srcdir' = `.'.
4183# Shell code in configure.ac might set extrasub.
4184# FIXME: do we really want to maintain this feature?
4185cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4186ac_sed_extra="$ac_vpsub
4187$extrasub
4188_ACEOF
4189cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4190:t
4191/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4192s|@configure_input@|$ac_sed_conf_input|;t t
4193s&@top_builddir@&$ac_top_builddir_sub&;t t
4194s&@top_build_prefix@&$ac_top_build_prefix&;t t
4195s&@srcdir@&$ac_srcdir&;t t
4196s&@abs_srcdir@&$ac_abs_srcdir&;t t
4197s&@top_srcdir@&$ac_top_srcdir&;t t
4198s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4199s&@builddir@&$ac_builddir&;t t
4200s&@abs_builddir@&$ac_abs_builddir&;t t
4201s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4202s&@INSTALL@&$ac_INSTALL&;t t
4203$ac_datarootdir_hack
4204"
d0ac1c44
SM
4205eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4206 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
81ecdfbb
RW
4207
4208test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
d0ac1c44
SM
4209 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4210 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4211 "$ac_tmp/out"`; test -z "$ac_out"; } &&
81ecdfbb 4212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
d0ac1c44 4213which seems to be undefined. Please make sure it is defined" >&5
81ecdfbb 4214$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
d0ac1c44 4215which seems to be undefined. Please make sure it is defined" >&2;}
81ecdfbb 4216
d0ac1c44 4217 rm -f "$ac_tmp/stdin"
81ecdfbb 4218 case $ac_file in
d0ac1c44
SM
4219 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4220 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
81ecdfbb 4221 esac \
d0ac1c44 4222 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
81ecdfbb 4223 ;;
52d37d2c 4224
c28c63d8 4225
81ecdfbb
RW
4226 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4227$as_echo "$as_me: executing $ac_file commands" >&6;}
4228 ;;
4229 esac
c28c63d8
JB
4230
4231
81ecdfbb 4232 case $ac_file$ac_mode in
db2e4d67 4233 "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;;
81ecdfbb 4234 "Makefile":C) echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
c28c63d8
JB
4235 rm -f Makesim1.tmp Makesim2.tmp Makefile
4236 sed -n -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim >Makesim1.tmp
4237 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim >Makesim2.tmp
4238 sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \
4239 -e '/^## COMMON_POST_/ r Makesim2.tmp' \
4240 <Makefile.sim >Makefile
4241 rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp
4242 ;;
81ecdfbb
RW
4243 "stamp-h":C) echo > stamp-h ;;
4244
c28c63d8 4245 esac
81ecdfbb 4246done # for ac_tag
c28c63d8
JB
4247
4248
81ecdfbb 4249as_fn_exit 0
c28c63d8 4250_ACEOF
c28c63d8
JB
4251ac_clean_files=$ac_clean_files_save
4252
81ecdfbb 4253test $ac_write_fail = 0 ||
d0ac1c44 4254 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
81ecdfbb 4255
c28c63d8
JB
4256
4257# configure is writing to config.log, and then calls config.status.
4258# config.status does its own redirection, appending to config.log.
4259# Unfortunately, on DOS this fails, as config.log is still kept open
4260# by configure, so config.status won't be able to write to it; its
4261# output is simply discarded. So we exec the FD to /dev/null,
4262# effectively closing config.log, so it can be properly (re)opened and
4263# appended to by config.status. When coming back to configure, we
4264# need to make the FD available again.
4265if test "$no_create" != yes; then
4266 ac_cs_success=:
4267 ac_config_status_args=
4268 test "$silent" = yes &&
4269 ac_config_status_args="$ac_config_status_args --quiet"
4270 exec 5>/dev/null
4271 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4272 exec 5>>config.log
4273 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4274 # would make configure fail if this is the last instruction.
d0ac1c44 4275 $ac_cs_success || as_fn_exit 1
81ecdfbb
RW
4276fi
4277if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4279$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
c28c63d8 4280fi
c28c63d8
JB
4281
4282
This page took 0.923787 seconds and 4 git commands to generate.