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