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