2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
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+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_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.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
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.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $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
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
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+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || 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'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev
/null
; then :
204 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
209 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
212 test -z "$as_dir" && as_dir
=.
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 :
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
237 if test "x$CONFIG_SHELL" != x
; then :
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.
245 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
247 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
252 exec $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
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."
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."
275 SHELL
=${CONFIG_SHELL-/bin/sh}
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE
= GREP_OPTIONS
=
279 unset CLICOLOR_FORCE GREP_OPTIONS
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
286 # Portably unset VAR.
289 { eval $1=; unset $1;}
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 # Create "$as_dir" as a directory, including parents if necessary.
318 -*) as_dir
=.
/$as_dir;;
320 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
324 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
351 test -d "$as_dir" && break
353 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
354 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p
()
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
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
373 eval 'as_fn_append ()
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.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
397 as_val
=`expr "$@" || test $? -eq 1`
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.
409 as_status
=$1; test $as_status -eq 0 && as_status
=1
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
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit
$as_status
418 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
425 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
431 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
437 as_me
=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
456 # Avoid depending upon Character Ranges.
457 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits
='0123456789'
461 as_cr_alnum
=$as_cr_Letters$as_cr_digits
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. :-)
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }
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).
495 # Exit status is that of the last command.
499 ECHO_C
= ECHO_N
= ECHO_T
=
500 case `echo -n x` in #(((((
502 case `echo 'xy\c'` in
503 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
512 rm -f conf$$ conf$$.exe conf$$.
file
513 if test -d conf$$.dir
; then
514 rm -f conf$$.dir
/conf$$.
file
517 mkdir conf$$.dir
2>/dev
/null
519 if (echo >conf$$.
file) 2>/dev
/null
; then
520 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
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 ||
528 elif ln conf$$.
file conf$$
2>/dev
/null
; then
536 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
537 rmdir conf$$.dir
2>/dev
/null
539 if mkdir
-p .
2>/dev
/null
; then
540 as_mkdir_p
='mkdir -p "$as_dir"'
542 test -d .
/-p && rmdir .
/-p
547 as_executable_p
=as_fn_executable_p
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
567 ac_default_prefix
=/usr
/local
569 ac_config_libobj_dir
=.
576 # Identity of this package.
584 ac_unique_file
="Makefile.in"
585 ac_subst_vars
='LTLIBOBJS
592 MAINTAINER_MODE_FALSE
646 program_transform_name
665 enable_option_checking
666 enable_maintainer_mode
668 enable_sim_default_model
672 ac_precious_vars
='build_alias
682 # Initialize some variables set by options.
684 ac_init_version
=false
685 ac_unrecognized_opts
=
687 # The variables have the same names as the options, with
688 # dashes changed to underlines.
696 program_transform_name
=s
,x
,x
,
704 # Installation directory options.
705 # These are left unexpanded so users can "make install exec_prefix=/foo"
706 # and all the variables that are supposed to be based on exec_prefix
707 # by default will actually change.
708 # Use braces instead of parens because sh, perl, etc. also accept them.
709 # (The list follows the same order as the GNU Coding Standards.)
710 bindir
='${exec_prefix}/bin'
711 sbindir
='${exec_prefix}/sbin'
712 libexecdir
='${exec_prefix}/libexec'
713 datarootdir
='${prefix}/share'
714 datadir
='${datarootdir}'
715 sysconfdir
='${prefix}/etc'
716 sharedstatedir
='${prefix}/com'
717 localstatedir
='${prefix}/var'
718 includedir
='${prefix}/include'
719 oldincludedir
='/usr/include'
720 docdir
='${datarootdir}/doc/${PACKAGE}'
721 infodir
='${datarootdir}/info'
726 libdir
='${exec_prefix}/lib'
727 localedir
='${datarootdir}/locale'
728 mandir
='${datarootdir}/man'
734 # If the previous option needs an argument, assign it.
735 if test -n "$ac_prev"; then
736 eval $ac_prev=\
$ac_option
742 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
747 # Accept the important Cygnus configure options, so we can diagnose typos.
749 case $ac_dashdash$ac_option in
753 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
755 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
758 -build |
--build |
--buil |
--bui |
--bu)
759 ac_prev
=build_alias
;;
760 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
761 build_alias
=$ac_optarg ;;
763 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
764 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
765 ac_prev
=cache_file
;;
766 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
767 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
768 cache_file
=$ac_optarg ;;
771 cache_file
=config.cache
;;
773 -datadir |
--datadir |
--datadi |
--datad)
775 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
776 datadir
=$ac_optarg ;;
778 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
779 |
--dataroo |
--dataro |
--datar)
780 ac_prev
=datarootdir
;;
781 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
782 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
783 datarootdir
=$ac_optarg ;;
785 -disable-* |
--disable-*)
786 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
787 # Reject names that are not valid shell variable names.
788 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
789 as_fn_error $?
"invalid feature name: $ac_useropt"
790 ac_useropt_orig
=$ac_useropt
791 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
792 case $ac_user_opts in
796 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
797 ac_unrecognized_sep
=', ';;
799 eval enable_
$ac_useropt=no
;;
801 -docdir |
--docdir |
--docdi |
--doc |
--do)
803 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
806 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
808 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
811 -enable-* |
--enable-*)
812 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
813 # Reject names that are not valid shell variable names.
814 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
815 as_fn_error $?
"invalid feature name: $ac_useropt"
816 ac_useropt_orig
=$ac_useropt
817 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
818 case $ac_user_opts in
822 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
823 ac_unrecognized_sep
=', ';;
825 eval enable_
$ac_useropt=\
$ac_optarg ;;
827 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
828 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
829 |
--exec |
--exe |
--ex)
830 ac_prev
=exec_prefix
;;
831 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
832 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
833 |
--exec=* |
--exe=* |
--ex=*)
834 exec_prefix
=$ac_optarg ;;
836 -gas |
--gas |
--ga |
--g)
837 # Obsolete; use --with-gas.
840 -help |
--help |
--hel |
--he |
-h)
842 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
843 ac_init_help
=recursive
;;
844 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
845 ac_init_help
=short
;;
847 -host |
--host |
--hos |
--ho)
848 ac_prev
=host_alias
;;
849 -host=* |
--host=* |
--hos=* |
--ho=*)
850 host_alias
=$ac_optarg ;;
852 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
854 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
856 htmldir
=$ac_optarg ;;
858 -includedir |
--includedir |
--includedi |
--included |
--include \
859 |
--includ |
--inclu |
--incl |
--inc)
860 ac_prev
=includedir
;;
861 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
862 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
863 includedir
=$ac_optarg ;;
865 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
867 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
868 infodir
=$ac_optarg ;;
870 -libdir |
--libdir |
--libdi |
--libd)
872 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
875 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
876 |
--libexe |
--libex |
--libe)
877 ac_prev
=libexecdir
;;
878 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
879 |
--libexe=* |
--libex=* |
--libe=*)
880 libexecdir
=$ac_optarg ;;
882 -localedir |
--localedir |
--localedi |
--localed |
--locale)
884 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
885 localedir
=$ac_optarg ;;
887 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
888 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
889 ac_prev
=localstatedir
;;
890 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
891 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
892 localstatedir
=$ac_optarg ;;
894 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
896 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
900 # Obsolete; use --without-fp.
903 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
904 |
--no-cr |
--no-c |
-n)
907 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
908 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
911 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
912 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
913 |
--oldin |
--oldi |
--old |
--ol |
--o)
914 ac_prev
=oldincludedir
;;
915 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
916 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
917 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
918 oldincludedir
=$ac_optarg ;;
920 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
922 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
925 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
926 |
--program-pre |
--program-pr |
--program-p)
927 ac_prev
=program_prefix
;;
928 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
929 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
930 program_prefix
=$ac_optarg ;;
932 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
933 |
--program-suf |
--program-su |
--program-s)
934 ac_prev
=program_suffix
;;
935 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
936 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
937 program_suffix
=$ac_optarg ;;
939 -program-transform-name |
--program-transform-name \
940 |
--program-transform-nam |
--program-transform-na \
941 |
--program-transform-n |
--program-transform- \
942 |
--program-transform |
--program-transfor \
943 |
--program-transfo |
--program-transf \
944 |
--program-trans |
--program-tran \
945 |
--progr-tra |
--program-tr |
--program-t)
946 ac_prev
=program_transform_name
;;
947 -program-transform-name=* |
--program-transform-name=* \
948 |
--program-transform-nam=* |
--program-transform-na=* \
949 |
--program-transform-n=* |
--program-transform-=* \
950 |
--program-transform=* |
--program-transfor=* \
951 |
--program-transfo=* |
--program-transf=* \
952 |
--program-trans=* |
--program-tran=* \
953 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
954 program_transform_name
=$ac_optarg ;;
956 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
958 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
961 -psdir |
--psdir |
--psdi |
--psd |
--ps)
963 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
966 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
967 |
-silent |
--silent |
--silen |
--sile |
--sil)
970 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
972 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
974 sbindir
=$ac_optarg ;;
976 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
977 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
978 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
980 ac_prev
=sharedstatedir
;;
981 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
982 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
983 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
985 sharedstatedir
=$ac_optarg ;;
987 -site |
--site |
--sit)
989 -site=* |
--site=* |
--sit=*)
992 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
994 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
997 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
998 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
999 ac_prev
=sysconfdir
;;
1000 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1001 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1002 sysconfdir
=$ac_optarg ;;
1004 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1005 ac_prev
=target_alias
;;
1006 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1007 target_alias
=$ac_optarg ;;
1009 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1012 -version |
--version |
--versio |
--versi |
--vers |
-V)
1013 ac_init_version
=: ;;
1016 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1019 as_fn_error $?
"invalid package name: $ac_useropt"
1020 ac_useropt_orig
=$ac_useropt
1021 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1022 case $ac_user_opts in
1026 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1027 ac_unrecognized_sep
=', ';;
1029 eval with_
$ac_useropt=\
$ac_optarg ;;
1031 -without-* |
--without-*)
1032 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1035 as_fn_error $?
"invalid package name: $ac_useropt"
1036 ac_useropt_orig
=$ac_useropt
1037 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1042 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1043 ac_unrecognized_sep
=', ';;
1045 eval with_
$ac_useropt=no
;;
1048 # Obsolete; use --with-x.
1051 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1052 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1053 ac_prev
=x_includes
;;
1054 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1055 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1056 x_includes
=$ac_optarg ;;
1058 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1059 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1060 ac_prev
=x_libraries
;;
1061 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1062 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1063 x_libraries
=$ac_optarg ;;
1065 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1066 Try \`$0 --help' for more information"
1070 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1071 # Reject names that are not valid shell variable names.
1072 case $ac_envvar in #(
1073 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1074 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1076 eval $ac_envvar=\
$ac_optarg
1077 export $ac_envvar ;;
1080 # FIXME: should be removed in autoconf 3.0.
1081 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1082 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1083 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1084 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1090 if test -n "$ac_prev"; then
1091 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1092 as_fn_error $?
"missing argument to $ac_option"
1095 if test -n "$ac_unrecognized_opts"; then
1096 case $enable_option_checking in
1098 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1099 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1103 # Check all directory arguments for consistency.
1104 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1105 datadir sysconfdir sharedstatedir localstatedir includedir \
1106 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1107 libdir localedir mandir
1109 eval ac_val
=\$
$ac_var
1110 # Remove trailing slashes.
1113 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1114 eval $ac_var=\
$ac_val;;
1116 # Be sure to have absolute directory names.
1118 [\\/$
]* | ?
:[\\/]* ) continue;;
1119 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1121 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1124 # There might be people who depend on the old broken behavior: `$host'
1125 # used to hold the argument of --host etc.
1126 # FIXME: To remove some day.
1129 target
=$target_alias
1131 # FIXME: To remove some day.
1132 if test "x$host_alias" != x
; then
1133 if test "x$build_alias" = x
; then
1134 cross_compiling
=maybe
1135 elif test "x$build_alias" != "x$host_alias"; then
1141 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1143 test "$silent" = yes && exec 6>/dev
/null
1146 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1147 ac_ls_di
=`ls -di .` &&
1148 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1149 as_fn_error $?
"working directory cannot be determined"
1150 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1151 as_fn_error $?
"pwd does not report name of working directory"
1154 # Find the source files, if location was not specified.
1155 if test -z "$srcdir"; then
1156 ac_srcdir_defaulted
=yes
1157 # Try the directory containing this script, then the parent directory.
1158 ac_confdir
=`$as_dirname -- "$as_myself" ||
1159 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1160 X"$as_myself" : 'X\(//\)[^/]' \| \
1161 X"$as_myself" : 'X\(//\)$' \| \
1162 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1163 $as_echo X"$as_myself" |
1164 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1182 if test ! -r "$srcdir/$ac_unique_file"; then
1186 ac_srcdir_defaulted
=no
1188 if test ! -r "$srcdir/$ac_unique_file"; then
1189 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1190 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1192 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1194 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1196 # When building in place, set srcdir=.
1197 if test "$ac_abs_confdir" = "$ac_pwd"; then
1200 # Remove unnecessary trailing slashes from srcdir.
1201 # Double slashes in file names in object file debugging info
1202 # mess up M-x gdb in Emacs.
1204 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1206 for ac_var
in $ac_precious_vars; do
1207 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1208 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1209 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1210 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1214 # Report the --help message.
1216 if test "$ac_init_help" = "long"; then
1217 # Omit some internal or obsolete options to make the list less imposing.
1218 # This message is too long to be a string in the A/UX 3.1 sh.
1220 \`configure' configures this package to adapt to many kinds of systems.
1222 Usage: $0 [OPTION]... [VAR=VALUE]...
1224 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1225 VAR=VALUE. See below for descriptions of some of the useful variables.
1227 Defaults for the options are specified in brackets.
1230 -h, --help display this help and exit
1231 --help=short display options specific to this package
1232 --help=recursive display the short help of all the included packages
1233 -V, --version display version information and exit
1234 -q, --quiet, --silent do not print \`checking ...' messages
1235 --cache-file=FILE cache test results in FILE [disabled]
1236 -C, --config-cache alias for \`--cache-file=config.cache'
1237 -n, --no-create do not create output files
1238 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1240 Installation directories:
1241 --prefix=PREFIX install architecture-independent files in PREFIX
1242 [$ac_default_prefix]
1243 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1246 By default, \`make install' will install all the files in
1247 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1248 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1249 for instance \`--prefix=\$HOME'.
1251 For better control, use the options below.
1253 Fine tuning of the installation directories:
1254 --bindir=DIR user executables [EPREFIX/bin]
1255 --sbindir=DIR system admin executables [EPREFIX/sbin]
1256 --libexecdir=DIR program executables [EPREFIX/libexec]
1257 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1258 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1259 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1260 --libdir=DIR object code libraries [EPREFIX/lib]
1261 --includedir=DIR C header files [PREFIX/include]
1262 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1263 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1264 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1265 --infodir=DIR info documentation [DATAROOTDIR/info]
1266 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1267 --mandir=DIR man documentation [DATAROOTDIR/man]
1268 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1269 --htmldir=DIR html documentation [DOCDIR]
1270 --dvidir=DIR dvi documentation [DOCDIR]
1271 --pdfdir=DIR pdf documentation [DOCDIR]
1272 --psdir=DIR ps documentation [DOCDIR]
1279 if test -n "$ac_init_help"; then
1284 --disable-option-checking ignore unrecognized
--enable/--with options
1285 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1286 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1287 --enable-maintainer-mode
1288 enable make rules and dependencies not useful
(and
1289 sometimes confusing
) to the casual installer
1290 --enable-sim-inline=inlines
1291 Specify
which functions should be inlined
1292 --enable-sim-default-model=model
1293 Specify default model to simulate
1294 --enable-sim-bitsize=N Specify target bitsize
(32 or
64)
1295 --enable-sim-hardware=LIST
1296 Specify the hardware to be included
in the build.
1298 Some influential environment variables
:
1299 CC C compiler
command
1300 CFLAGS C compiler flags
1301 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1302 nonstandard directory
<lib dir
>
1303 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1304 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1305 you have headers
in a nonstandard directory
<include dir
>
1307 Use these variables to override the choices made by
`configure' or to help
1308 it to find libraries and programs with nonstandard names/locations.
1310 Report bugs to the package provider.
1315 if test "$ac_init_help" = "recursive"; then
1316 # If there are subdirs, report their specific --help.
1317 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1318 test -d "$ac_dir" ||
1319 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1324 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1326 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1327 # A ".." for each directory in $ac_dir_suffix.
1328 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1329 case $ac_top_builddir_sub in
1330 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1331 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1334 ac_abs_top_builddir=$ac_pwd
1335 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1336 # for backward compatibility:
1337 ac_top_builddir=$ac_top_build_prefix
1340 .) # We are building in place.
1342 ac_top_srcdir=$ac_top_builddir_sub
1343 ac_abs_top_srcdir=$ac_pwd ;;
1344 [\\/]* | ?:[\\/]* ) # Absolute name.
1345 ac_srcdir=$srcdir$ac_dir_suffix;
1346 ac_top_srcdir=$srcdir
1347 ac_abs_top_srcdir=$srcdir ;;
1349 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1350 ac_top_srcdir=$ac_top_build_prefix$srcdir
1351 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1353 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1355 cd "$ac_dir" || { ac_status=$?; continue; }
1356 # Check for guested configure.
1357 if test -f "$ac_srcdir/configure.gnu"; then
1359 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1360 elif test -f "$ac_srcdir/configure"; then
1362 $SHELL "$ac_srcdir/configure" --help=recursive
1364 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1366 cd "$ac_pwd" || { ac_status=$?; break; }
1370 test -n "$ac_init_help" && exit $ac_status
1371 if $ac_init_version; then
1374 generated by GNU Autoconf 2.69
1376 Copyright (C) 2012 Free Software Foundation, Inc.
1377 This configure script is free software; the Free Software Foundation
1378 gives unlimited permission to copy, distribute and modify it.
1383 ## ------------------------ ##
1384 ## Autoconf initialization. ##
1385 ## ------------------------ ##
1387 # ac_fn_c_try_compile LINENO
1388 # --------------------------
1389 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1390 ac_fn_c_try_compile ()
1392 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1393 rm -f conftest.$ac_objext
1394 if { { ac_try="$ac_compile"
1396 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1397 *) ac_try_echo
=$ac_try;;
1399 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1400 $as_echo "$ac_try_echo"; } >&5
1401 (eval "$ac_compile") 2>conftest.err
1403 if test -s conftest.err
; then
1404 grep -v '^ *+' conftest.err
>conftest.er1
1405 cat conftest.er1
>&5
1406 mv -f conftest.er1 conftest.err
1408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1409 test $ac_status = 0; } && {
1410 test -z "$ac_c_werror_flag" ||
1411 test ! -s conftest.err
1412 } && test -s conftest.
$ac_objext; then :
1415 $as_echo "$as_me: failed program was:" >&5
1416 sed 's/^/| /' conftest.
$ac_ext >&5
1420 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1421 as_fn_set_status
$ac_retval
1423 } # ac_fn_c_try_compile
1424 cat >config.log
<<_ACEOF
1425 This file contains any messages produced by compilers while
1426 running configure, to aid debugging if configure makes a mistake.
1428 It was created by $as_me, which was
1429 generated by GNU Autoconf 2.69. Invocation command line was
1441 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1442 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1443 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1444 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1445 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1447 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1448 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1450 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1451 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1452 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1453 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1454 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1455 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1456 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1464 test -z "$as_dir" && as_dir
=.
1465 $as_echo "PATH: $as_dir"
1481 # Keep a trace of the command line.
1482 # Strip out --no-create and --no-recursion so they do not pile up.
1483 # Strip out --silent because we don't want to record it for future runs.
1484 # Also quote any args containing shell meta-characters.
1485 # Make two passes to allow for proper duplicate-argument suppression.
1489 ac_must_keep_next
=false
1495 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1496 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1497 |
-silent |
--silent |
--silen |
--sile |
--sil)
1500 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1503 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1505 as_fn_append ac_configure_args1
" '$ac_arg'"
1506 if test $ac_must_keep_next = true
; then
1507 ac_must_keep_next
=false
# Got value, back to normal.
1510 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1511 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1512 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1513 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1514 case "$ac_configure_args0 " in
1515 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1518 -* ) ac_must_keep_next
=true
;;
1521 as_fn_append ac_configure_args
" '$ac_arg'"
1526 { ac_configure_args0
=; unset ac_configure_args0
;}
1527 { ac_configure_args1
=; unset ac_configure_args1
;}
1529 # When interrupted or exit'd, cleanup temporary files, and complete
1530 # config.log. We remove comments because anyway the quotes in there
1531 # would cause problems or look ugly.
1532 # WARNING: Use '\'' to represent an apostrophe within the trap.
1533 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1534 trap 'exit_status=$?
1535 # Save into config.log some information that might help in debugging.
1539 $as_echo "## ---------------- ##
1540 ## Cache variables. ##
1541 ## ---------------- ##"
1543 # The following way of writing the cache mishandles newlines in values,
1545 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1546 eval ac_val=\$$ac_var
1550 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1551 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1554 _ | IFS | as_nl) ;; #(
1555 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1556 *) { eval $ac_var=; unset $ac_var;} ;;
1561 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1562 *${as_nl}ac_space=\ *)
1564 "s/'\''/'\''\\\\'\'''\''/g;
1565 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1568 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1575 $as_echo "## ----------------- ##
1576 ## Output variables. ##
1577 ## ----------------- ##"
1579 for ac_var in $ac_subst_vars
1581 eval ac_val=\$$ac_var
1583 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1585 $as_echo "$ac_var='\''$ac_val'\''"
1589 if test -n "$ac_subst_files"; then
1590 $as_echo "## ------------------- ##
1591 ## File substitutions. ##
1592 ## ------------------- ##"
1594 for ac_var
in $ac_subst_files
1596 eval ac_val
=\$
$ac_var
1598 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1600 $as_echo "$ac_var='\''$ac_val'\''"
1605 if test -s confdefs.h; then
1606 $as_echo "## ----------- ##
1613 test "$ac_signal" != 0 &&
1614 $as_echo "$as_me: caught signal $ac_signal"
1615 $as_echo "$as_me: exit $exit_status"
1617 rm -f core *.core core.conftest.* &&
1618 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1621 for ac_signal
in 1 2 13 15; do
1622 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1626 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1627 rm -f -r conftest
* confdefs.h
1629 $as_echo "/* confdefs.h */" > confdefs.h
1631 # Predefined preprocessor variables.
1633 cat >>confdefs.h
<<_ACEOF
1634 #define PACKAGE_NAME "$PACKAGE_NAME"
1637 cat >>confdefs.h
<<_ACEOF
1638 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1641 cat >>confdefs.h
<<_ACEOF
1642 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1645 cat >>confdefs.h
<<_ACEOF
1646 #define PACKAGE_STRING "$PACKAGE_STRING"
1649 cat >>confdefs.h
<<_ACEOF
1650 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1653 cat >>confdefs.h
<<_ACEOF
1654 #define PACKAGE_URL "$PACKAGE_URL"
1658 # Let the site file select an alternate cache file if it wants to.
1659 # Prefer an explicitly selected file to automatically selected ones.
1662 if test -n "$CONFIG_SITE"; then
1663 # We do not want a PATH search for config.site.
1664 case $CONFIG_SITE in #((
1665 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1666 */*) ac_site_file1
=$CONFIG_SITE;;
1667 *) ac_site_file1
=.
/$CONFIG_SITE;;
1669 elif test "x$prefix" != xNONE
; then
1670 ac_site_file1
=$prefix/share
/config.site
1671 ac_site_file2
=$prefix/etc
/config.site
1673 ac_site_file1
=$ac_default_prefix/share
/config.site
1674 ac_site_file2
=$ac_default_prefix/etc
/config.site
1676 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1678 test "x$ac_site_file" = xNONE
&& continue
1679 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1681 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1682 sed 's/^/| /' "$ac_site_file" >&5
1684 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1685 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1686 as_fn_error $?
"failed to load site script $ac_site_file
1687 See \`config.log' for more details" "$LINENO" 5; }
1691 if test -r "$cache_file"; then
1692 # Some versions of bash will fail to source /dev/null (special files
1693 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1694 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1696 $as_echo "$as_me: loading cache $cache_file" >&6;}
1698 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1699 *) .
"./$cache_file";;
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1704 $as_echo "$as_me: creating cache $cache_file" >&6;}
1708 # Check that the precious variables saved in the cache have kept the same
1710 ac_cache_corrupted
=false
1711 for ac_var
in $ac_precious_vars; do
1712 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1713 eval ac_new_set
=\
$ac_env_${ac_var}_set
1714 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1715 eval ac_new_val
=\
$ac_env_${ac_var}_value
1716 case $ac_old_set,$ac_new_set in
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1719 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1720 ac_cache_corrupted
=: ;;
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1723 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1724 ac_cache_corrupted
=: ;;
1727 if test "x$ac_old_val" != "x$ac_new_val"; then
1728 # differences in whitespace do not lead to failure.
1729 ac_old_val_w
=`echo x $ac_old_val`
1730 ac_new_val_w
=`echo x $ac_new_val`
1731 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1733 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1734 ac_cache_corrupted
=:
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1737 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1738 eval $ac_var=\
$ac_old_val
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1741 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1743 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1746 # Pass precious variables to config.status.
1747 if test "$ac_new_set" = set; then
1749 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1750 *) ac_arg
=$ac_var=$ac_new_val ;;
1752 case " $ac_configure_args " in
1753 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1754 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1758 if $ac_cache_corrupted; then
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1760 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1762 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1763 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1765 ## -------------------- ##
1766 ## Main body of script. ##
1767 ## -------------------- ##
1770 ac_cpp
='$CPP $CPPFLAGS'
1771 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1772 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1773 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1782 ac_cpp
='$CPP $CPPFLAGS'
1783 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1784 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1785 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1786 if test -n "$ac_tool_prefix"; then
1787 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1788 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1790 $as_echo_n "checking for $ac_word... " >&6; }
1791 if ${ac_cv_prog_CC+:} false
; then :
1792 $as_echo_n "(cached) " >&6
1794 if test -n "$CC"; then
1795 ac_cv_prog_CC
="$CC" # Let the user override the test.
1797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1801 test -z "$as_dir" && as_dir
=.
1802 for ac_exec_ext
in '' $ac_executable_extensions; do
1803 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1804 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1815 if test -n "$CC"; then
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1817 $as_echo "$CC" >&6; }
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1820 $as_echo "no" >&6; }
1825 if test -z "$ac_cv_prog_CC"; then
1827 # Extract the first word of "gcc", so it can be a program name with args.
1828 set dummy gcc
; ac_word
=$2
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1830 $as_echo_n "checking for $ac_word... " >&6; }
1831 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
1832 $as_echo_n "(cached) " >&6
1834 if test -n "$ac_ct_CC"; then
1835 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1841 test -z "$as_dir" && as_dir
=.
1842 for ac_exec_ext
in '' $ac_executable_extensions; do
1843 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1844 ac_cv_prog_ac_ct_CC
="gcc"
1845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1854 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1855 if test -n "$ac_ct_CC"; then
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1857 $as_echo "$ac_ct_CC" >&6; }
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1860 $as_echo "no" >&6; }
1863 if test "x$ac_ct_CC" = x
; then
1866 case $cross_compiling:$ac_tool_warned in
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1870 ac_tool_warned
=yes ;;
1878 if test -z "$CC"; then
1879 if test -n "$ac_tool_prefix"; then
1880 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1881 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1883 $as_echo_n "checking for $ac_word... " >&6; }
1884 if ${ac_cv_prog_CC+:} false
; then :
1885 $as_echo_n "(cached) " >&6
1887 if test -n "$CC"; then
1888 ac_cv_prog_CC
="$CC" # Let the user override the test.
1890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1894 test -z "$as_dir" && as_dir
=.
1895 for ac_exec_ext
in '' $ac_executable_extensions; do
1896 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1897 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1908 if test -n "$CC"; then
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1910 $as_echo "$CC" >&6; }
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1913 $as_echo "no" >&6; }
1919 if test -z "$CC"; then
1920 # Extract the first word of "cc", so it can be a program name with args.
1921 set dummy cc
; ac_word
=$2
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1923 $as_echo_n "checking for $ac_word... " >&6; }
1924 if ${ac_cv_prog_CC+:} false
; then :
1925 $as_echo_n "(cached) " >&6
1927 if test -n "$CC"; then
1928 ac_cv_prog_CC
="$CC" # Let the user override the test.
1931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1935 test -z "$as_dir" && as_dir
=.
1936 for ac_exec_ext
in '' $ac_executable_extensions; do
1937 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1938 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1939 ac_prog_rejected
=yes
1943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1950 if test $ac_prog_rejected = yes; then
1951 # We found a bogon in the path, so make sure we never use it.
1952 set dummy
$ac_cv_prog_CC
1954 if test $# != 0; then
1955 # We chose a different compiler from the bogus one.
1956 # However, it has the same basename, so the bogon will be chosen
1957 # first if we set CC to just the basename; use the full file name.
1959 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1965 if test -n "$CC"; then
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1967 $as_echo "$CC" >&6; }
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1970 $as_echo "no" >&6; }
1975 if test -z "$CC"; then
1976 if test -n "$ac_tool_prefix"; then
1977 for ac_prog
in cl.exe
1979 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1980 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1982 $as_echo_n "checking for $ac_word... " >&6; }
1983 if ${ac_cv_prog_CC+:} false
; then :
1984 $as_echo_n "(cached) " >&6
1986 if test -n "$CC"; then
1987 ac_cv_prog_CC
="$CC" # Let the user override the test.
1989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1993 test -z "$as_dir" && as_dir
=.
1994 for ac_exec_ext
in '' $ac_executable_extensions; do
1995 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1996 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2007 if test -n "$CC"; then
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2009 $as_echo "$CC" >&6; }
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2012 $as_echo "no" >&6; }
2016 test -n "$CC" && break
2019 if test -z "$CC"; then
2021 for ac_prog
in cl.exe
2023 # Extract the first word of "$ac_prog", so it can be a program name with args.
2024 set dummy
$ac_prog; ac_word
=$2
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2026 $as_echo_n "checking for $ac_word... " >&6; }
2027 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2028 $as_echo_n "(cached) " >&6
2030 if test -n "$ac_ct_CC"; then
2031 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2037 test -z "$as_dir" && as_dir
=.
2038 for ac_exec_ext
in '' $ac_executable_extensions; do
2039 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2040 ac_cv_prog_ac_ct_CC
="$ac_prog"
2041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2050 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2051 if test -n "$ac_ct_CC"; then
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2053 $as_echo "$ac_ct_CC" >&6; }
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2056 $as_echo "no" >&6; }
2060 test -n "$ac_ct_CC" && break
2063 if test "x$ac_ct_CC" = x
; then
2066 case $cross_compiling:$ac_tool_warned in
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2070 ac_tool_warned
=yes ;;
2079 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2081 as_fn_error $?
"no acceptable C compiler found in \$PATH
2082 See \`config.log' for more details" "$LINENO" 5; }
2084 # Provide some information about the compiler.
2085 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2088 for ac_option
in --version -v -V -qversion; do
2089 { { ac_try
="$ac_compiler $ac_option >&5"
2091 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2092 *) ac_try_echo=$ac_try;;
2094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2095 $as_echo "$ac_try_echo"; } >&5
2096 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2098 if test -s conftest.err; then
2100 ... rest of stderr output deleted ...
2101 10q' conftest.err >conftest.er1
2102 cat conftest.er1 >&5
2104 rm -f conftest.er1 conftest.err
2105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2106 test $ac_status = 0; }
2109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2110 /* end confdefs.h. */
2120 ac_clean_files_save=$ac_clean_files
2121 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2122 # Try to create an executable without -o first, disregard a.out.
2123 # It will help us diagnose broken compilers, and finding out an intuition
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2126 $as_echo_n "checking whether the C compiler works... " >&6; }
2127 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2129 # The possible output files:
2130 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2133 for ac_file in $ac_files
2136 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2137 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2142 if { { ac_try="$ac_link_default"
2144 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2145 *) ac_try_echo
=$ac_try;;
2147 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2148 $as_echo "$ac_try_echo"; } >&5
2149 (eval "$ac_link_default") 2>&5
2151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2152 test $ac_status = 0; }; then :
2153 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2154 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2155 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2156 # so that the user can short-circuit this test for compilers unknown to
2158 for ac_file
in $ac_files ''
2160 test -f "$ac_file" ||
continue
2162 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2165 # We found the default executable, but exeext='' is most
2169 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2171 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2173 # We set ac_cv_exeext here because the later test for it is not
2174 # safe: cross compilers may not add the suffix if given an `-o'
2175 # argument, so we may need to know it at that point already.
2176 # Even if this section looks crufty: it has the advantage of
2183 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2188 if test -z "$ac_file"; then :
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2190 $as_echo "no" >&6; }
2191 $as_echo "$as_me: failed program was:" >&5
2192 sed 's/^/| /' conftest.
$ac_ext >&5
2194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2196 as_fn_error
77 "C compiler cannot create executables
2197 See \`config.log' for more details" "$LINENO" 5; }
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2200 $as_echo "yes" >&6; }
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2203 $as_echo_n "checking for C compiler default output file name... " >&6; }
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2205 $as_echo "$ac_file" >&6; }
2206 ac_exeext
=$ac_cv_exeext
2208 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2209 ac_clean_files
=$ac_clean_files_save
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2211 $as_echo_n "checking for suffix of executables... " >&6; }
2212 if { { ac_try
="$ac_link"
2214 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2215 *) ac_try_echo=$ac_try;;
2217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2218 $as_echo "$ac_try_echo"; } >&5
2219 (eval "$ac_link") 2>&5
2221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2222 test $ac_status = 0; }; then :
2223 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2224 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2225 # work properly (i.e., refer to `conftest.exe'), while it won't with
2227 for ac_file
in conftest.exe conftest conftest.
*; do
2228 test -f "$ac_file" ||
continue
2230 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2231 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2239 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2240 See \`config.log' for more details" "$LINENO" 5; }
2242 rm -f conftest conftest
$ac_cv_exeext
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2244 $as_echo "$ac_cv_exeext" >&6; }
2246 rm -f conftest.
$ac_ext
2247 EXEEXT
=$ac_cv_exeext
2249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2250 /* end confdefs.h. */
2255 FILE *f = fopen ("conftest.out", "w");
2256 return ferror (f) || fclose (f) != 0;
2262 ac_clean_files
="$ac_clean_files conftest.out"
2263 # Check that the compiler produces executables we can run. If not, either
2264 # the compiler is broken, or we cross compile.
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2266 $as_echo_n "checking whether we are cross compiling... " >&6; }
2267 if test "$cross_compiling" != yes; then
2268 { { ac_try
="$ac_link"
2270 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2271 *) ac_try_echo=$ac_try;;
2273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2274 $as_echo "$ac_try_echo"; } >&5
2275 (eval "$ac_link") 2>&5
2277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2278 test $ac_status = 0; }
2279 if { ac_try='./conftest$ac_cv_exeext'
2280 { { case "(($ac_try" in
2281 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2282 *) ac_try_echo
=$ac_try;;
2284 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2285 $as_echo "$ac_try_echo"; } >&5
2286 (eval "$ac_try") 2>&5
2288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2289 test $ac_status = 0; }; }; then
2292 if test "$cross_compiling" = maybe
; then
2295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2297 as_fn_error $?
"cannot run C compiled programs.
2298 If you meant to cross compile, use \`--host'.
2299 See \`config.log' for more details" "$LINENO" 5; }
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2304 $as_echo "$cross_compiling" >&6; }
2306 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2307 ac_clean_files
=$ac_clean_files_save
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2309 $as_echo_n "checking for suffix of object files... " >&6; }
2310 if ${ac_cv_objext+:} false
; then :
2311 $as_echo_n "(cached) " >&6
2313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2314 /* end confdefs.h. */
2324 rm -f conftest.o conftest.obj
2325 if { { ac_try
="$ac_compile"
2327 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2328 *) ac_try_echo=$ac_try;;
2330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2331 $as_echo "$ac_try_echo"; } >&5
2332 (eval "$ac_compile") 2>&5
2334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2335 test $ac_status = 0; }; then :
2336 for ac_file in conftest.o conftest.obj conftest.*; do
2337 test -f "$ac_file" || continue;
2339 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2340 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2345 $as_echo "$as_me: failed program was:" >&5
2346 sed 's/^/| /' conftest.$ac_ext >&5
2348 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2350 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2351 See \
`config.log' for more details" "$LINENO" 5; }
2353 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2356 $as_echo "$ac_cv_objext" >&6; }
2357 OBJEXT=$ac_cv_objext
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2360 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2361 if ${ac_cv_c_compiler_gnu+:} false; then :
2362 $as_echo_n "(cached) " >&6
2364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2365 /* end confdefs.h. */
2378 if ac_fn_c_try_compile "$LINENO"; then :
2383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2384 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2388 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2389 if test $ac_compiler_gnu = yes; then
2394 ac_test_CFLAGS=${CFLAGS+set}
2395 ac_save_CFLAGS=$CFLAGS
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2397 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2398 if ${ac_cv_prog_cc_g+:} false; then :
2399 $as_echo_n "(cached) " >&6
2401 ac_save_c_werror_flag=$ac_c_werror_flag
2402 ac_c_werror_flag=yes
2405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2406 /* end confdefs.h. */
2416 if ac_fn_c_try_compile "$LINENO"; then :
2420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2421 /* end confdefs.h. */
2431 if ac_fn_c_try_compile "$LINENO"; then :
2434 ac_c_werror_flag=$ac_save_c_werror_flag
2436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2437 /* end confdefs.h. */
2447 if ac_fn_c_try_compile "$LINENO"; then :
2450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2455 ac_c_werror_flag=$ac_save_c_werror_flag
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2458 $as_echo "$ac_cv_prog_cc_g" >&6; }
2459 if test "$ac_test_CFLAGS" = set; then
2460 CFLAGS=$ac_save_CFLAGS
2461 elif test $ac_cv_prog_cc_g = yes; then
2462 if test "$GCC" = yes; then
2468 if test "$GCC" = yes; then
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2475 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2476 if ${ac_cv_prog_cc_c89+:} false; then :
2477 $as_echo_n "(cached) " >&6
2479 ac_cv_prog_cc_c89=no
2481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2482 /* end confdefs.h. */
2486 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2487 struct buf { int x; };
2488 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2489 static char *e (p, i)
2495 static char *f (char * (*g) (char **, int), char **p, ...)
2500 s = g (p, va_arg (v,int));
2505 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2506 function prototypes and stuff, but not '\xHH' hex character constants.
2507 These don't provoke an error unfortunately, instead are silently treated
2508 as 'x'. The following induces an error, until -std is added to get
2509 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2510 array size at least. It's necessary to write '\x00'==0 to get something
2511 that's true only with -std. */
2512 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2514 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2515 inside strings and character constants. */
2517 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2519 int test (int i, double x);
2520 struct s1 {int (*f) (int a);};
2521 struct s2 {int (*f) (double a);};
2522 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2528 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2533 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2534 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2536 CC="$ac_save_CC $ac_arg"
2537 if ac_fn_c_try_compile "$LINENO"; then :
2538 ac_cv_prog_cc_c89=$ac_arg
2540 rm -f core conftest.err conftest.$ac_objext
2541 test "x$ac_cv_prog_cc_c89" != "xno" && break
2543 rm -f conftest.$ac_ext
2548 case "x$ac_cv_prog_cc_c89" in
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2551 $as_echo "none needed" >&6; } ;;
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2554 $as_echo "unsupported" >&6; } ;;
2556 CC="$CC $ac_cv_prog_cc_c89"
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2558 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2560 if test "x$ac_cv_prog_cc_c89" != xno; then :
2565 ac_cpp='$CPP $CPPFLAGS'
2566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2571 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2572 if test -f "$ac_dir/install-sh"; then
2574 ac_install_sh="$ac_aux_dir/install-sh -c"
2576 elif test -f "$ac_dir/install.sh"; then
2578 ac_install_sh="$ac_aux_dir/install.sh -c"
2580 elif test -f "$ac_dir/shtool"; then
2582 ac_install_sh="$ac_aux_dir/shtool install -c"
2586 if test -z "$ac_aux_dir"; then
2587 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2590 # These three variables are undocumented and unsupported,
2591 # and are intended to be withdrawn in a future Autoconf release.
2592 # They can cause serious problems if a builder's source tree is in a directory
2593 # whose full name contains unusual characters.
2594 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2595 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2596 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2599 # Find a good install program. We prefer a C program (faster),
2600 # so one script is as good as another. But avoid the broken or
2601 # incompatible versions:
2602 # SysV /etc/install, /usr/sbin/install
2603 # SunOS /usr/etc/install
2604 # IRIX /sbin/install
2606 # AmigaOS /C/install, which installs bootblocks on floppy discs
2607 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2608 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2609 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2610 # OS/2's system install, which has a completely different semantic
2611 # ./install, which can be erroneously created by make from ./install.sh.
2612 # Reject install programs that cannot install multiple files.
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2614 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2615 if test -z "$INSTALL"; then
2616 if ${ac_cv_path_install+:} false; then :
2617 $as_echo_n "(cached) " >&6
2619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2623 test -z "$as_dir" && as_dir=.
2624 # Account for people who put trailing slashes in PATH elements.
2625 case $as_dir/ in #((
2626 ./ | .// | /[cC]/* | \
2627 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2628 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2631 # OSF1 and SCO ODT 3.0 have their own names for install.
2632 # Don't use installbsd from OSF since it installs stuff as root
2634 for ac_prog in ginstall scoinst install; do
2635 for ac_exec_ext in '' $ac_executable_extensions; do
2636 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2637 if test $ac_prog = install &&
2638 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2639 # AIX install. It has an incompatible calling convention.
2641 elif test $ac_prog = install &&
2642 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2643 # program-specific install script used by HP pwplus--don't use.
2646 rm -rf conftest.one conftest.two conftest.dir
2647 echo one > conftest.one
2648 echo two > conftest.two
2650 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2651 test -s conftest.one && test -s conftest.two &&
2652 test -s conftest.dir/conftest.one &&
2653 test -s conftest.dir/conftest.two
2655 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2668 rm -rf conftest.one conftest.two conftest.dir
2671 if test "${ac_cv_path_install+set}" = set; then
2672 INSTALL=$ac_cv_path_install
2674 # As a last resort, use the slow shell script. Don't cache a
2675 # value for INSTALL within a source directory, because that will
2676 # break other packages using the cache if that directory is
2677 # removed, or if the value is a relative name.
2678 INSTALL=$ac_install_sh
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2682 $as_echo "$INSTALL" >&6; }
2684 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2685 # It thinks the first close brace ends the variable substitution.
2686 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2688 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2690 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2692 rm -rf .tst 2>/dev/null
2693 mkdir .tst 2>/dev/null
2694 if test -d .tst; then
2699 rmdir .tst 2>/dev/null
2701 DEPDIR="${am__leading_dot}deps"
2703 # Dependency checking.
2706 ac_config_commands="$ac_config_commands depdir"
2709 depcc="$CC" am_compiler_list=
2711 am_depcomp=$ac_aux_dir/depcomp
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
2713 $as_echo_n "checking dependency style of $depcc... " >&6; }
2714 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
2715 $as_echo_n "(cached) " >&6
2717 if test -f "$am_depcomp"; then
2718 # We make a subdir and do the tests there. Otherwise we can end up
2719 # making bogus files that we don't know about and never remove. For
2720 # instance it was reported that on HP-UX the gcc test will end up
2721 # making a dummy file named `D
' -- because `-MD' means
`put the output
2724 # Copy depcomp to subdir because otherwise we won't find it if we're
2725 # using a relative directory.
2726 cp "$am_depcomp" conftest.dir
2728 # We will build objects and dependencies in a subdirectory because
2729 # it helps to detect inapplicable dependency modes. For instance
2730 # both Tru64's cc and ICC support -MD to output dependencies as a
2731 # side effect of compilation, but ICC will put the dependencies in
2732 # the current directory while Tru64 will put them in the object
2736 am_cv_CC_dependencies_compiler_type=none
2737 if test "$am_compiler_list" = ""; then
2738 am_compiler_list=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
2740 for depmode in $am_compiler_list; do
2741 if test $depmode = none; then break; fi
2743 $as_echo "$as_me:$LINENO: trying $depmode" >&5
2744 # Setup a source with many dependencies, because some compilers
2745 # like to wrap large dependency lists on column 80 (with \), and
2746 # we should not choose a depcomp mode which is confused by this.
2748 # We need to recreate these files for each test, as the compiler may
2749 # overwrite some of them when testing with obscure command lines.
2750 # This happens at least with the AIX C compiler.
2752 for i in 1 2 3 4 5 6; do
2753 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2754 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
2755 # Solaris 8's
{/usr
,}/bin
/sh.
2756 touch sub
/conftst
$i.h
2758 echo "include sub/conftest.Po" > confmf
2760 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2761 # mode. It turns out that the SunPro C++ compiler does not properly
2762 # handle `-M -o', and we need to detect this.
2763 depcmd
="depmode=$depmode \
2764 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2765 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2766 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
2767 echo "| $depcmd" |
sed -e 's/ */ /g' >&5
2768 if env
$depcmd > conftest.err
2>&1 &&
2769 grep sub
/conftst6.h sub
/conftest.Po
>>conftest.err
2>&1 &&
2770 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
>>conftest.err
2>&1 &&
2771 ${MAKE-make} -s -f confmf
>>conftest.err
2>&1; then
2772 # icc doesn't choke on unknown options, it will just issue warnings
2773 # or remarks (even with -Werror). So we grep stderr for any message
2774 # that says an option was ignored or not supported.
2775 # When given -MP, icc 7.0 and 7.1 complain thusly:
2776 # icc: Command line warning: ignoring option '-M'; no argument required
2777 # The diagnosis changed in icc 8.0:
2778 # icc: Command line remark: option '-MP' not supported
2779 if (grep 'ignoring option' conftest.err ||
2780 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2781 am_cv_CC_dependencies_compiler_type
=$depmode
2782 $as_echo "$as_me:$LINENO: success" >&5
2786 $as_echo "$as_me:$LINENO: failure, diagnostics are:" >&5
2787 sed -e 's/^/| /' < conftest.err
>&5
2793 am_cv_CC_dependencies_compiler_type
=none
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
2798 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
2799 if test x
${am_cv_CC_dependencies_compiler_type-none} = xnone
2800 then as_fn_error $?
"no usable dependency style found" "$LINENO" 5
2801 else CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2807 # If we haven't got the data from the intl directory,
2808 # assume NLS is disabled.
2817 if test -f ..
/..
/intl
/config.intl
; then
2818 . ..
/..
/intl
/config.intl
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2821 $as_echo_n "checking whether NLS is requested... " >&6; }
2822 if test x
"$USE_NLS" != xyes
; then
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2824 $as_echo "no" >&6; }
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2827 $as_echo "yes" >&6; }
2829 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
2833 $as_echo_n "checking for catalogs to be installed... " >&6; }
2834 # Look for .po and .gmo files in the source directory.
2837 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
2838 # If there aren't any .gmo files the shell will give us the
2839 # literal string "../path/to/srcdir/po/*.gmo" which has to be
2841 case "$cat" in *\
**)
2844 # The quadruple backslash is collapsed to a double backslash
2845 # by the backticks, then collapsed again by the double quotes,
2846 # leaving us with one backslash in the sed expression (right
2847 # before the dot that mustn't act as a wildcard).
2848 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
2849 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
2850 # The user is allowed to set LINGUAS to a list of languages to
2851 # install catalogs for. If it's empty that means "all of them."
2852 if test "x$LINGUAS" = x
; then
2853 CATALOGS
="$CATALOGS $cat"
2854 XLINGUAS
="$XLINGUAS $lang"
2856 case "$LINGUAS" in *$lang*)
2857 CATALOGS
="$CATALOGS $cat"
2858 XLINGUAS
="$XLINGUAS $lang"
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
2865 $as_echo "$LINGUAS" >&6; }
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2880 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2881 # Check whether --enable-maintainer-mode was given.
2882 if test "${enable_maintainer_mode+set}" = set; then :
2883 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2885 USE_MAINTAINER_MODE
=no
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2889 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2890 if test $USE_MAINTAINER_MODE = yes; then
2891 MAINTAINER_MODE_TRUE
=
2892 MAINTAINER_MODE_FALSE
='#'
2894 MAINTAINER_MODE_TRUE
='#'
2895 MAINTAINER_MODE_FALSE
=
2898 MAINT
=$MAINTAINER_MODE_TRUE
2903 sim_inline
="-DDEFAULT_INLINE=0"
2904 # Check whether --enable-sim-inline was given.
2905 if test "${enable_sim_inline+set}" = set; then :
2906 enableval
=$enable_sim_inline; sim_inline
=""
2907 case "$enableval" in
2908 no
) sim_inline
="-DDEFAULT_INLINE=0";;
2909 0) sim_inline
="-DDEFAULT_INLINE=0";;
2910 yes |
2) sim_inline
="-DDEFAULT_INLINE=ALL_C_INLINE";;
2911 1) sim_inline
="-DDEFAULT_INLINE=INLINE_LOCALS";;
2912 *) for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
2915 *_INLINE
=*) new_flag
="-D$x";;
2916 *=*) new_flag
=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
2917 *_INLINE
) new_flag
="-D$x=ALL_C_INLINE";;
2918 *) new_flag
="-D$x""_INLINE=ALL_C_INLINE";;
2920 if test x
"$sim_inline" = x
""; then
2921 sim_inline
="$new_flag"
2923 sim_inline
="$sim_inline $new_flag"
2927 if test x
"$silent" != x
"yes" && test x
"$sim_inline" != x
""; then
2928 echo "Setting inline flags = $sim_inline" 6>&1
2934 # Select the default model for the target.
2937 riscv32
*) riscv_model
="RV32G" ;;
2938 riscv
*) riscv_model
="RV64G" ;;
2941 default_sim_default_model
="${riscv_model}"
2942 # Check whether --enable-sim-default-model was given.
2943 if test "${enable_sim_default_model+set}" = set; then :
2944 enableval
=$enable_sim_default_model; case "${enableval}" in
2945 yes|no
) as_fn_error $?
"\"Missing argument to --enable-sim-default-model\"" "$LINENO" 5;;
2946 *) sim_default_model
="-DWITH_DEFAULT_MODEL='\"${enableval}\"'";;
2948 if test x
"$silent" != x
"yes" && test x
"$sim_default_model" != x
""; then
2949 echo "Setting default model = $sim_default_model" 6>&1
2952 sim_default_model
="-DWITH_DEFAULT_MODEL='\"${default_sim_default_model}\"'"
2957 # Select the bitsize of the target.
2960 riscv32
*) riscv_addr_bitsize
=32 ;;
2961 riscv
*) riscv_addr_bitsize
=64 ;;
2963 wire_word_bitsize
="$riscv_addr_bitsize"
2965 wire_address_bitsize
=""
2966 wire_cell_bitsize
=""
2967 # Check whether --enable-sim-bitsize was given.
2968 if test "${enable_sim_bitsize+set}" = set; then :
2969 enableval
=$enable_sim_bitsize; sim_bitsize
=
2970 case "${enableval}" in
2971 64,63 |
64,63,* ) sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=64 -DWITH_TARGET_WORD_MSB=63";;
2972 32,31 |
32,31,* ) sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=31";;
2973 64,0 |
64,0,* ) sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=0";;
2974 32,0 |
64,0,* ) sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=0";;
2975 32) if test x
"$wire_word_msb" != x
-a x
"$wire_word_msb" != x0
; then
2976 sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=31"
2978 sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=0"
2980 64) if test x
"$wire_word_msb" != x
-a x
"$wire_word_msb" != x0
; then
2981 sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=64 -DWITH_TARGET_WORD_MSB=63"
2983 sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=64 -DWITH_TARGET_WORD_MSB=0"
2985 *) as_fn_error $?
"\"--enable-sim-bitsize was given $enableval. Expected 32 or 64\"" "$LINENO" 5 ;;
2988 tmp
=`echo "${enableval}" | sed -e "s/^[0-9]*,*[0-9]*,*//"`
2991 x32 | x32
,* ) sim_bitsize
="${sim_bitsize} -DWITH_TARGET_ADDRESS_BITSIZE=32" ;;
2992 x64 | x64
,* ) sim_bitsize
="${sim_bitsize} -DWITH_TARGET_ADDRESS_BITSIZE=64" ;;
2993 * ) as_fn_error $?
"\"--enable-sim-bitsize was given address size $enableval. Expected 32 or 64\"" "$LINENO" 5 ;;
2996 tmp
=`echo "${enableval}" | sed -e "s/^[0-9]*,*[0-9*]*,*[0-9]*,*//"`
2999 x32 | x32
,* ) sim_bitsize
="${sim_bitsize} -DWITH_TARGET_CELL_BITSIZE=32" ;;
3000 x64 | x64
,* ) sim_bitsize
="${sim_bitsize} -DWITH_TARGET_CELL_BITSIZE=64" ;;
3001 * ) as_fn_error $?
"\"--enable-sim-bitsize was given cell size $enableval. Expected 32 or 64\"" "$LINENO" 5 ;;
3003 if test x
"$silent" != x
"yes" && test x
"$sim_bitsize" != x
""; then
3004 echo "Setting bitsize flags = $sim_bitsize" 6>&1
3008 if test x
"$wire_word_bitsize" != x
; then
3009 sim_bitsize
="$sim_bitsize -DWITH_TARGET_WORD_BITSIZE=$wire_word_bitsize"
3011 if test x
"$wire_word_msb" != x
; then
3012 sim_bitsize
="$sim_bitsize -DWITH_TARGET_WORD_MSB=$wire_word_msb"
3014 if test x
"$wire_address_bitsize" != x
; then
3015 sim_bitsize
="$sim_bitsize -DWITH_TARGET_ADDRESS_BITSIZE=$wire_address_bitsize"
3017 if test x
"$wire_cell_bitsize" != x
; then
3018 sim_bitsize
="$sim_bitsize -DWITH_TARGET_CELL_BITSIZE=$wire_cell_bitsize"
3024 hardware
="cfi core pal glue "
3025 sim_hw_cflags
="-DWITH_HW=1"
3027 sim_hw_objs
="\$(SIM_COMMON_HW_OBJS) `echo $sim_hw | sed -e 's/\([^ ][^ ]*\)/dv-\1.o/g'`"
3029 # Check whether --enable-sim-hardware was given.
3030 if test "${enable_sim_hardware+set}" = set; then :
3031 enableval
=$enable_sim_hardware;
3033 enable_sim_hardware
="yes"
3036 case ${enable_sim_hardware} in
3038 ,*) hardware
="${hardware} `echo ${enableval} | sed -e 's/,/ /'`";;
3039 *,) hardware
="`echo ${enableval} | sed -e 's/,/ /'` ${hardware}";;
3040 *) hardware
="`echo ${enableval} | sed -e 's/,/ /'`"'';;
3043 if test "$enable_sim_hardware" = no
; then
3045 sim_hw_cflags
="-DWITH_HW=0"
3048 sim_hw_cflags
="-DWITH_HW=1"
3051 sim_hw_objs
="\$(SIM_COMMON_HW_OBJS)"
3052 for i
in $hardware ; do
3055 *) sim_hw
="$sim_hw $i" ; sim_hw_objs
="$sim_hw_objs dv-$i.o";;
3058 # mingw does not support sockser
3061 *) # TODO: We don't add dv-sockser to sim_hw as it is not a "real" device
3062 # that you instatiate. Instead, other code will call into it directly.
3063 # At some point, we should convert it over.
3064 sim_hw_objs
="$sim_hw_objs dv-sockser.o"
3065 sim_hw_cflags
="$sim_hw_cflags -DHAVE_DV_SOCKSER"
3068 if test x
"$silent" != x
"yes"; then
3069 echo "Setting hardware to $sim_hw_cflags, $sim_hw, $sim_hw_objs"
3075 if grep CGEN_MAINT
$srcdir/Makefile.
in >/dev
/null
; then
3076 cgen_breaks
="break cgen_rtx_error";
3079 ac_config_files
="$ac_config_files Makefile.sim:Makefile.in"
3081 ac_config_files
="$ac_config_files Make-common.sim:../common/Make-common.in"
3083 ac_config_files
="$ac_config_files .gdbinit:../common/gdbinit.in"
3085 ac_config_commands
="$ac_config_commands Makefile"
3087 ac_config_commands
="$ac_config_commands stamp-h"
3099 cat >confcache
<<\_ACEOF
3100 # This file is a shell script that caches the results of configure
3101 # tests run on this system so they can be shared between configure
3102 # scripts and configure runs, see configure's option --config-cache.
3103 # It is not useful on other systems. If it contains results you don't
3104 # want to keep, you may remove or edit it.
3106 # config.status only pays attention to the cache file if you give it
3107 # the --recheck option to rerun configure.
3109 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3110 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3115 # The following way of writing the cache mishandles newlines in values,
3116 # but we know of no workaround that is simple, portable, and efficient.
3117 # So, we kill variables containing newlines.
3118 # Ultrix sh set writes to stderr and can't be redirected directly,
3119 # and sets the high bit in the cache file unless we assign to the vars.
3121 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3122 eval ac_val
=\$
$ac_var
3126 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3127 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3130 _ | IFS | as_nl
) ;; #(
3131 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3132 *) { eval $ac_var=; unset $ac_var;} ;;
3138 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3139 *${as_nl}ac_space
=\
*)
3140 # `set' does not quote correctly, so add quotes: double-quote
3141 # substitution turns \\\\ into \\, and sed turns \\ into \.
3144 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3147 # `set' quotes correctly as required by POSIX, so do not add quotes.
3148 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3157 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3159 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3161 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3162 if test -w "$cache_file"; then
3163 if test "x$cache_file" != "x/dev/null"; then
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3165 $as_echo "$as_me: updating cache $cache_file" >&6;}
3166 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
3167 cat confcache
>"$cache_file"
3169 case $cache_file in #(
3171 mv -f confcache
"$cache_file"$$
&&
3172 mv -f "$cache_file"$$
"$cache_file" ;; #(
3174 mv -f confcache
"$cache_file" ;;
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3180 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3185 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3186 # Let make expand exec_prefix.
3187 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3189 # Transform confdefs.h into DEFS.
3190 # Protect against shell expansion while executing Makefile rules.
3191 # Protect against Makefile macro expansion.
3193 # If the first sed substitution is executed (which looks for macros that
3194 # take arguments), then branch to the quote section. Otherwise,
3195 # look for a macro that doesn't take arguments.
3205 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3207 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3211 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3224 DEFS
=`sed -n "$ac_script" confdefs.h`
3230 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3231 # 1. Remove the extension, and $U if already installed.
3232 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3233 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3234 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3235 # will be set to the directory where LIBOBJS objects are built.
3236 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3237 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
3241 LTLIBOBJS
=$ac_ltlibobjs
3244 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3245 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
3246 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3249 : "${CONFIG_STATUS=./config.status}"
3251 ac_clean_files_save
=$ac_clean_files
3252 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3254 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3256 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3258 # Generated by $as_me.
3259 # Run this file to recreate the current configuration.
3260 # Compiler output produced by configure, useful for debugging
3261 # configure, is in config.log if it exists.
3267 SHELL=\${CONFIG_SHELL-$SHELL}
3270 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
3271 ## -------------------- ##
3272 ## M4sh Initialization. ##
3273 ## -------------------- ##
3275 # Be more Bourne compatible
3276 DUALCASE
=1; export DUALCASE
# for MKS sh
3277 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
3280 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3281 # is contrary to our usage. Disable this feature.
3282 alias -g '${1+"$@"}'='"$@"'
3283 setopt NO_GLOB_SUBST
3285 case `(set -o) 2>/dev/null` in #(
3297 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3298 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3299 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3300 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3301 # Prefer a ksh shell builtin over an external printf program on Solaris,
3302 # but without wasting forks for bash or zsh.
3303 if test -z "$BASH_VERSION$ZSH_VERSION" \
3304 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3305 as_echo='print
-r --'
3306 as_echo_n='print
-rn --'
3307 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3308 as_echo='printf %s
\n'
3309 as_echo_n='printf %s
'
3311 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3312 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3313 as_echo_n='/usr
/ucb
/echo -n'
3315 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3316 as_echo_n_body='eval
3320 expr "X$arg" : "X\\(.*\\)$as_nl";
3321 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3323 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3325 export as_echo_n_body
3326 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3329 as_echo='sh
-c $as_echo_body as_echo
'
3332 # The user is always right.
3333 if test "${PATH_SEPARATOR+set}" != set; then
3335 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3336 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3343 # We need space, tab and new line, in precisely that order. Quoting is
3344 # there to prevent editors from complaining about space-tab.
3345 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3346 # splitting by setting IFS to empty value.)
3349 # Find who we are. Look in the path if we contain no directory separator.
3352 *[\\/]* ) as_myself=$0 ;;
3353 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3357 test -z "$as_dir" && as_dir=.
3358 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3364 # We did not find ourselves, most probably we were run as `sh COMMAND'
3365 # in which case we are not to be found in the path.
3366 if test "x$as_myself" = x
; then
3369 if test ! -f "$as_myself"; then
3370 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3374 # Unset variables that we do not need and which cause bugs (e.g. in
3375 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3376 # suppresses any "Segmentation fault" message there. '((' could
3377 # trigger a bug in pdksh 5.2.14.
3378 for as_var
in BASH_ENV ENV MAIL MAILPATH
3379 do eval test x\
${$as_var+set} = xset \
3380 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
3393 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
3396 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3397 # ----------------------------------------
3398 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3399 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3400 # script with STATUS, using 1 if that was 0.
3403 as_status
=$1; test $as_status -eq 0 && as_status
=1
3405 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3406 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3408 $as_echo "$as_me: error: $2" >&2
3409 as_fn_exit
$as_status
3413 # as_fn_set_status STATUS
3414 # -----------------------
3415 # Set $? to STATUS, without forking.
3419 } # as_fn_set_status
3423 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3433 # Portably unset VAR.
3436 { eval $1=; unset $1;}
3438 as_unset
=as_fn_unset
3439 # as_fn_append VAR VALUE
3440 # ----------------------
3441 # Append the text in VALUE to the end of the definition contained in VAR. Take
3442 # advantage of any shell optimizations that allow amortized linear growth over
3443 # repeated appends, instead of the typical quadratic growth present in naive
3445 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
3446 eval 'as_fn_append ()
3457 # as_fn_arith ARG...
3458 # ------------------
3459 # Perform arithmetic evaluation on the ARGs, and store the result in the
3460 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3461 # must be portable across $(()) and expr.
3462 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
3463 eval 'as_fn_arith ()
3470 as_val
=`expr "$@" || test $? -eq 1`
3475 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3476 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3482 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3483 as_basename
=basename
3488 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3494 as_me
=`$as_basename -- "$0" ||
3495 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3496 X"$0" : 'X\(//\)$' \| \
3497 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3499 sed '/^.*\/\([^/][^/]*\)\/*$/{
3513 # Avoid depending upon Character Ranges.
3514 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3515 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3516 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3517 as_cr_digits
='0123456789'
3518 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3520 ECHO_C
= ECHO_N
= ECHO_T
=
3521 case `echo -n x` in #(((((
3523 case `echo 'xy\c'` in
3524 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3526 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
3533 rm -f conf$$ conf$$.exe conf$$.
file
3534 if test -d conf$$.dir
; then
3535 rm -f conf$$.dir
/conf$$.
file
3538 mkdir conf$$.dir
2>/dev
/null
3540 if (echo >conf$$.
file) 2>/dev
/null
; then
3541 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3543 # ... but there are two gotchas:
3544 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3545 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3546 # In both cases, we have to default to `cp -pR'.
3547 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3549 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3557 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3558 rmdir conf$$.dir
2>/dev
/null
3563 # Create "$as_dir" as a directory, including parents if necessary.
3568 -*) as_dir
=.
/$as_dir;;
3570 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
3574 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3575 *) as_qdir
=$as_dir;;
3577 as_dirs
="'$as_qdir' $as_dirs"
3578 as_dir
=`$as_dirname -- "$as_dir" ||
3579 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3580 X"$as_dir" : 'X\(//\)[^/]' \| \
3581 X"$as_dir" : 'X\(//\)$' \| \
3582 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3583 $as_echo X"$as_dir" |
3584 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3601 test -d "$as_dir" && break
3603 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
3604 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
3608 if mkdir
-p .
2>/dev
/null
; then
3609 as_mkdir_p
='mkdir -p "$as_dir"'
3611 test -d .
/-p && rmdir .
/-p
3616 # as_fn_executable_p FILE
3617 # -----------------------
3618 # Test if FILE is an executable regular file.
3619 as_fn_executable_p
()
3621 test -f "$1" && test -x "$1"
3622 } # as_fn_executable_p
3624 as_executable_p
=as_fn_executable_p
3626 # Sed expression to map a string onto a valid CPP name.
3627 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3629 # Sed expression to map a string onto a valid variable name.
3630 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3634 ## ----------------------------------- ##
3635 ## Main body of $CONFIG_STATUS script. ##
3636 ## ----------------------------------- ##
3638 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
3640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3641 # Save the log message, to keep $0 and so on meaningful, and to
3642 # report actual input values of CONFIG_FILES etc. instead of their
3643 # values after options handling.
3645 This file was extended by $as_me, which was
3646 generated by GNU Autoconf 2.69. Invocation command line was
3648 CONFIG_FILES = $CONFIG_FILES
3649 CONFIG_HEADERS = $CONFIG_HEADERS
3650 CONFIG_LINKS = $CONFIG_LINKS
3651 CONFIG_COMMANDS = $CONFIG_COMMANDS
3654 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3659 case $ac_config_files in *"
3660 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
3665 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3666 # Files that config.status was made for.
3667 config_files="$ac_config_files"
3668 config_commands="$ac_config_commands"
3672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3674 \`$as_me' instantiates files and other configuration actions
3675 from templates according to the current configuration. Unless the files
3676 and actions are specified as TAGs, all are instantiated by default.
3678 Usage: $0 [OPTION]... [TAG]...
3680 -h, --help print this help, then exit
3681 -V, --version print version number and configuration settings, then exit
3682 --config print configuration, then exit
3683 -q, --quiet, --silent
3684 do not print progress messages
3685 -d, --debug don't remove temporary files
3686 --recheck update $as_me by reconfiguring in the same conditions
3687 --file=FILE[:TEMPLATE]
3688 instantiate the configuration file FILE
3690 Configuration files:
3693 Configuration commands:
3696 Report bugs to the package provider."
3699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3700 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3703 configured by $0, generated by GNU Autoconf 2.69,
3704 with options \\"\$ac_cs_config\\"
3706 Copyright (C) 2012 Free Software Foundation, Inc.
3707 This config.status script is free software; the Free Software Foundation
3708 gives unlimited permission to copy, distribute and modify it."
3713 test -n "\$AWK" || AWK=awk
3716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3717 # The default lists apply if the user does not specify any file.
3723 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
3724 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
3728 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
3740 # Handling of the options.
3741 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
3743 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
3744 $as_echo "$ac_cs_version"; exit ;;
3745 --config |
--confi |
--conf |
--con |
--co |
--c )
3746 $as_echo "$ac_cs_config"; exit ;;
3747 --debug |
--debu |
--deb |
--de |
--d |
-d )
3749 --file |
--fil |
--fi |
--f )
3752 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3753 '') as_fn_error $?
"missing file argument" ;;
3755 as_fn_append CONFIG_FILES
" '$ac_optarg'"
3756 ac_need_defaults
=false
;;
3757 --he |
--h |
--help |
--hel |
-h )
3758 $as_echo "$ac_cs_usage"; exit ;;
3759 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3760 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
3764 -*) as_fn_error $?
"unrecognized option: \`$1'
3765 Try \`$0 --help' for more information." ;;
3767 *) as_fn_append ac_config_targets
" $1"
3768 ac_need_defaults
=false
;;
3774 ac_configure_extra_args
=
3776 if $ac_cs_silent; then
3778 ac_configure_extra_args
="$ac_configure_extra_args --silent"
3782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3783 if \$ac_cs_recheck; then
3784 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3786 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3787 CONFIG_SHELL='$SHELL'
3793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3797 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3798 ## Running $as_me. ##
3804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3808 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
3812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3814 # Handling of arguments.
3815 for ac_config_target
in $ac_config_targets
3817 case $ac_config_target in
3818 "depdir") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir" ;;
3819 "Makefile.sim") CONFIG_FILES
="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
3820 "Make-common.sim") CONFIG_FILES
="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
3821 ".gdbinit") CONFIG_FILES
="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
3822 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
3823 "stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS stamp-h" ;;
3825 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3830 # If the user did not use the arguments to specify the items to instantiate,
3831 # then the envvar interface is used. Set only those that are not.
3832 # We use the long form for the default assignment because of an extremely
3833 # bizarre bug on SunOS 4.1.3.
3834 if $ac_need_defaults; then
3835 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3836 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
3839 # Have a temporary directory for convenience. Make it in the build tree
3840 # simply because there is no reason against having it here, and in addition,
3841 # creating and moving files from /tmp can sometimes cause problems.
3842 # Hook for its removal unless debugging.
3843 # Note that there is a small window in which the directory will not be cleaned:
3844 # after its creation but before its name has been assigned to `$tmp'.
3848 trap 'exit_status=$?
3850 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3852 trap 'as_fn_exit 1' 1 2 13 15
3854 # Create a (secure) tmp directory for tmp files.
3857 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3861 tmp
=.
/conf$$
-$RANDOM
3862 (umask 077 && mkdir
"$tmp")
3863 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
3866 # Set up the scripts for CONFIG_FILES section.
3867 # No need to generate them if there are no CONFIG_FILES.
3868 # This happens for instance with `./config.status config.h'.
3869 if test -n "$CONFIG_FILES"; then
3872 ac_cr
=`echo X | tr X '\015'`
3873 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3874 # But we know of no other shell where ac_cr would be empty at this
3875 # point, so we can use a bashism as a fallback.
3876 if test "x$ac_cr" = x
; then
3877 eval ac_cr
=\$
\'\\r
\'
3879 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3880 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3886 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3891 echo "cat >conf$$subs.awk <<_ACEOF" &&
3892 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3895 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
3896 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3898 for ac_last_try in false false false false false :; do
3899 . ./conf$$subs.sh ||
3900 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
3902 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
3903 if test $ac_delim_n = $ac_delim_num; then
3905 elif $ac_last_try; then
3906 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
3908 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
3913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3914 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
3918 s/^/S["/; s
/!.
*/"]=/
3928 s/\(.\{148\}\)..*/\1/
3930 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
3935 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3942 s/\(.\{148\}\)..*/\1/
3944 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
3948 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3953 ' <conf$$subs.awk | sed '
3958 ' >>$CONFIG_STATUS || ac_write_fail=1
3959 rm -f conf$$subs.awk
3960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3962 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
3963 for (key in S) S_is_set[key] = 1
3969 nfields = split(line, field, "@
")
3971 len = length(field[1])
3972 for (i = 2; i < nfields; i++) {
3974 keylen = length(key)
3975 if (S_is_set[key]) {
3977 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3978 len += length(value) + length(field[++i])
3989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3990 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3991 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
3994 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
3995 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
3998 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3999 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
4000 # trailing colons and then remove the whole line if VPATH becomes empty
4001 # (actually we leave an empty line to preserve line numbers).
4002 if test "x
$srcdir" = x.; then
4003 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4021 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4022 fi # test -n "$CONFIG_FILES"
4025 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
4030 :[FHLC]) ac_mode=$ac_tag; continue;;
4032 case $ac_mode$ac_tag in
4034 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
4035 :[FH]-) ac_tag=-:-;;
4036 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4053 -) ac_f="$ac_tmp/stdin";;
4054 *) # Look for the file first in the build tree, then in the source tree
4055 # (if the path is not absolute). The absolute path cannot be DOS-style,
4056 # because $ac_f cannot contain `:'.
4060 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4062 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4064 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
4065 as_fn_append ac_file_inputs " '$ac_f'"
4068 # Let's still pretend it is `configure' which instantiates (i.e., don't
4069 # use $as_me), people would be surprised to read:
4070 # /* config.h. Generated by config.status. */
4071 configure_input='Generated from '`
4072 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4074 if test x"$ac_file" != x-; then
4075 configure_input="$ac_file.
$configure_input"
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
4077 $as_echo "$as_me: creating
$ac_file" >&6;}
4079 # Neutralize special characters interpreted by sed in replacement strings.
4080 case $configure_input in #(
4081 *\&* | *\|* | *\\* )
4082 ac_sed_conf_input=`$as_echo "$configure_input" |
4083 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4084 *) ac_sed_conf_input=$configure_input;;
4088 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
4089 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
4094 ac_dir=`$as_dirname -- "$ac_file" ||
4095 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4096 X"$ac_file" : 'X\(//\)[^/]' \| \
4097 X"$ac_file" : 'X\(//\)$' \| \
4098 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4099 $as_echo X"$ac_file" |
4100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4117 as_dir="$ac_dir"; as_fn_mkdir_p
4121 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4123 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4124 # A "..
" for each directory in $ac_dir_suffix.
4125 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4126 case $ac_top_builddir_sub in
4127 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4128 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4131 ac_abs_top_builddir=$ac_pwd
4132 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4133 # for backward compatibility:
4134 ac_top_builddir=$ac_top_build_prefix
4137 .) # We are building in place.
4139 ac_top_srcdir=$ac_top_builddir_sub
4140 ac_abs_top_srcdir=$ac_pwd ;;
4141 [\\/]* | ?:[\\/]* ) # Absolute name.
4142 ac_srcdir=$srcdir$ac_dir_suffix;
4143 ac_top_srcdir=$srcdir
4144 ac_abs_top_srcdir=$srcdir ;;
4146 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4147 ac_top_srcdir=$ac_top_build_prefix$srcdir
4148 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4150 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4160 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4161 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4166 # If the template does not know about datarootdir, expand it.
4167 # FIXME: This hack should be removed a few years after 2.60.
4168 ac_datarootdir_hack=; ac_datarootdir_seen=
4179 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
4180 *datarootdir*) ac_datarootdir_seen=yes;;
4181 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
4183 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
4185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4186 ac_datarootdir_hack='
4187 s&@datadir@&$datadir&g
4188 s&@docdir@&$docdir&g
4189 s&@infodir@&$infodir&g
4190 s&@localedir@&$localedir&g
4191 s&@mandir@&$mandir&g
4192 s&\\\${datarootdir}&$datarootdir&g' ;;
4196 # Neutralize VPATH when `$srcdir' = `.'.
4197 # Shell code in configure.ac might set extrasub.
4198 # FIXME: do we really want to maintain this feature?
4199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4200 ac_sed_extra="$ac_vpsub
4203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4205 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4206 s|@configure_input@|
$ac_sed_conf_input|
;t t
4207 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
4208 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
4209 s
&@srcdir@
&$ac_srcdir&;t t
4210 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
4211 s
&@top_srcdir@
&$ac_top_srcdir&;t t
4212 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
4213 s
&@builddir@
&$ac_builddir&;t t
4214 s
&@abs_builddir@
&$ac_abs_builddir&;t t
4215 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
4216 s
&@INSTALL@
&$ac_INSTALL&;t t
4217 $ac_datarootdir_hack
4219 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
4220 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
4222 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4223 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
4224 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4225 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
4227 which seems to be undefined. Please make sure it is defined" >&5
4228 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
4229 which seems to be undefined. Please make sure it is defined" >&2;}
4231 rm -f "$ac_tmp/stdin"
4233 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4234 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4236 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4240 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4241 $as_echo "$as_me: executing $ac_file commands" >&6;}
4246 case $ac_file$ac_mode in
4247 "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;;
4248 "Makefile":C) echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
4249 rm -f Makesim1.tmp Makesim2.tmp Makefile
4250 sed -n -e '/^
## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim >Makesim1.tmp
4251 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>Makesim2.tmp
4252 sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \
4253 -e '/^## COMMON_POST_/ r Makesim2.tmp' \
4254 <Makefile.sim
>Makefile
4255 rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp
4257 "stamp-h":C
) echo > stamp-h
;;
4265 ac_clean_files
=$ac_clean_files_save
4267 test $ac_write_fail = 0 ||
4268 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
4271 # configure is writing to config.log, and then calls config.status.
4272 # config.status does its own redirection, appending to config.log.
4273 # Unfortunately, on DOS this fails, as config.log is still kept open
4274 # by configure, so config.status won't be able to write to it; its
4275 # output is simply discarded. So we exec the FD to /dev/null,
4276 # effectively closing config.log, so it can be properly (re)opened and
4277 # appended to by config.status. When coming back to configure, we
4278 # need to make the FD available again.
4279 if test "$no_create" != yes; then
4281 ac_config_status_args
=
4282 test "$silent" = yes &&
4283 ac_config_status_args
="$ac_config_status_args --quiet"
4285 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4287 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4288 # would make configure fail if this is the last instruction.
4289 $ac_cs_success || as_fn_exit
1
4291 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4293 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}