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