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 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="Makefile.in"
586 # Factoring default headers for most tests.
587 ac_includes_default
="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
622 ac_subst_vars
='LTLIBOBJS
632 MAINTAINER_MODE_FALSE
709 program_transform_name
728 enable_option_checking
729 enable_maintainer_mode
732 enable_sim_default_model
736 ac_precious_vars
='build_alias
747 # Initialize some variables set by options.
749 ac_init_version
=false
750 ac_unrecognized_opts
=
752 # The variables have the same names as the options, with
753 # dashes changed to underlines.
761 program_transform_name
=s
,x
,x
,
769 # Installation directory options.
770 # These are left unexpanded so users can "make install exec_prefix=/foo"
771 # and all the variables that are supposed to be based on exec_prefix
772 # by default will actually change.
773 # Use braces instead of parens because sh, perl, etc. also accept them.
774 # (The list follows the same order as the GNU Coding Standards.)
775 bindir
='${exec_prefix}/bin'
776 sbindir
='${exec_prefix}/sbin'
777 libexecdir
='${exec_prefix}/libexec'
778 datarootdir
='${prefix}/share'
779 datadir
='${datarootdir}'
780 sysconfdir
='${prefix}/etc'
781 sharedstatedir
='${prefix}/com'
782 localstatedir
='${prefix}/var'
783 includedir
='${prefix}/include'
784 oldincludedir
='/usr/include'
785 docdir
='${datarootdir}/doc/${PACKAGE}'
786 infodir
='${datarootdir}/info'
791 libdir
='${exec_prefix}/lib'
792 localedir
='${datarootdir}/locale'
793 mandir
='${datarootdir}/man'
799 # If the previous option needs an argument, assign it.
800 if test -n "$ac_prev"; then
801 eval $ac_prev=\
$ac_option
807 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
812 # Accept the important Cygnus configure options, so we can diagnose typos.
814 case $ac_dashdash$ac_option in
818 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
820 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
823 -build |
--build |
--buil |
--bui |
--bu)
824 ac_prev
=build_alias
;;
825 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
826 build_alias
=$ac_optarg ;;
828 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
829 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
830 ac_prev
=cache_file
;;
831 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
832 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
833 cache_file
=$ac_optarg ;;
836 cache_file
=config.cache
;;
838 -datadir |
--datadir |
--datadi |
--datad)
840 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
841 datadir
=$ac_optarg ;;
843 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
844 |
--dataroo |
--dataro |
--datar)
845 ac_prev
=datarootdir
;;
846 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
847 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
848 datarootdir
=$ac_optarg ;;
850 -disable-* |
--disable-*)
851 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
852 # Reject names that are not valid shell variable names.
853 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
854 as_fn_error $?
"invalid feature name: $ac_useropt"
855 ac_useropt_orig
=$ac_useropt
856 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
857 case $ac_user_opts in
861 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
862 ac_unrecognized_sep
=', ';;
864 eval enable_
$ac_useropt=no
;;
866 -docdir |
--docdir |
--docdi |
--doc |
--do)
868 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
871 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
873 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
876 -enable-* |
--enable-*)
877 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
878 # Reject names that are not valid shell variable names.
879 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
880 as_fn_error $?
"invalid feature name: $ac_useropt"
881 ac_useropt_orig
=$ac_useropt
882 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
883 case $ac_user_opts in
887 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
888 ac_unrecognized_sep
=', ';;
890 eval enable_
$ac_useropt=\
$ac_optarg ;;
892 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
893 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
894 |
--exec |
--exe |
--ex)
895 ac_prev
=exec_prefix
;;
896 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
897 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
898 |
--exec=* |
--exe=* |
--ex=*)
899 exec_prefix
=$ac_optarg ;;
901 -gas |
--gas |
--ga |
--g)
902 # Obsolete; use --with-gas.
905 -help |
--help |
--hel |
--he |
-h)
907 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
908 ac_init_help
=recursive
;;
909 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
910 ac_init_help
=short
;;
912 -host |
--host |
--hos |
--ho)
913 ac_prev
=host_alias
;;
914 -host=* |
--host=* |
--hos=* |
--ho=*)
915 host_alias
=$ac_optarg ;;
917 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
919 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
921 htmldir
=$ac_optarg ;;
923 -includedir |
--includedir |
--includedi |
--included |
--include \
924 |
--includ |
--inclu |
--incl |
--inc)
925 ac_prev
=includedir
;;
926 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
927 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
928 includedir
=$ac_optarg ;;
930 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
932 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
933 infodir
=$ac_optarg ;;
935 -libdir |
--libdir |
--libdi |
--libd)
937 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
940 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
941 |
--libexe |
--libex |
--libe)
942 ac_prev
=libexecdir
;;
943 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
944 |
--libexe=* |
--libex=* |
--libe=*)
945 libexecdir
=$ac_optarg ;;
947 -localedir |
--localedir |
--localedi |
--localed |
--locale)
949 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
950 localedir
=$ac_optarg ;;
952 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
953 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
954 ac_prev
=localstatedir
;;
955 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
956 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
957 localstatedir
=$ac_optarg ;;
959 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
961 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
965 # Obsolete; use --without-fp.
968 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
969 |
--no-cr |
--no-c |
-n)
972 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
973 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
976 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
977 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
978 |
--oldin |
--oldi |
--old |
--ol |
--o)
979 ac_prev
=oldincludedir
;;
980 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
981 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
982 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
983 oldincludedir
=$ac_optarg ;;
985 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
987 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
990 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
991 |
--program-pre |
--program-pr |
--program-p)
992 ac_prev
=program_prefix
;;
993 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
994 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
995 program_prefix
=$ac_optarg ;;
997 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
998 |
--program-suf |
--program-su |
--program-s)
999 ac_prev
=program_suffix
;;
1000 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1001 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1002 program_suffix
=$ac_optarg ;;
1004 -program-transform-name |
--program-transform-name \
1005 |
--program-transform-nam |
--program-transform-na \
1006 |
--program-transform-n |
--program-transform- \
1007 |
--program-transform |
--program-transfor \
1008 |
--program-transfo |
--program-transf \
1009 |
--program-trans |
--program-tran \
1010 |
--progr-tra |
--program-tr |
--program-t)
1011 ac_prev
=program_transform_name
;;
1012 -program-transform-name=* |
--program-transform-name=* \
1013 |
--program-transform-nam=* |
--program-transform-na=* \
1014 |
--program-transform-n=* |
--program-transform-=* \
1015 |
--program-transform=* |
--program-transfor=* \
1016 |
--program-transfo=* |
--program-transf=* \
1017 |
--program-trans=* |
--program-tran=* \
1018 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1019 program_transform_name
=$ac_optarg ;;
1021 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1023 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1024 pdfdir
=$ac_optarg ;;
1026 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1028 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1031 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1032 |
-silent |
--silent |
--silen |
--sile |
--sil)
1035 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1037 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1039 sbindir
=$ac_optarg ;;
1041 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1042 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1043 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1045 ac_prev
=sharedstatedir
;;
1046 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1047 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1048 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1050 sharedstatedir
=$ac_optarg ;;
1052 -site |
--site |
--sit)
1054 -site=* |
--site=* |
--sit=*)
1057 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1059 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1060 srcdir
=$ac_optarg ;;
1062 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1063 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1064 ac_prev
=sysconfdir
;;
1065 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1066 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1067 sysconfdir
=$ac_optarg ;;
1069 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1070 ac_prev
=target_alias
;;
1071 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1072 target_alias
=$ac_optarg ;;
1074 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1077 -version |
--version |
--versio |
--versi |
--vers |
-V)
1078 ac_init_version
=: ;;
1081 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1082 # Reject names that are not valid shell variable names.
1083 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1084 as_fn_error $?
"invalid package name: $ac_useropt"
1085 ac_useropt_orig
=$ac_useropt
1086 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1087 case $ac_user_opts in
1091 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1092 ac_unrecognized_sep
=', ';;
1094 eval with_
$ac_useropt=\
$ac_optarg ;;
1096 -without-* |
--without-*)
1097 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1100 as_fn_error $?
"invalid package name: $ac_useropt"
1101 ac_useropt_orig
=$ac_useropt
1102 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1103 case $ac_user_opts in
1107 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1108 ac_unrecognized_sep
=', ';;
1110 eval with_
$ac_useropt=no
;;
1113 # Obsolete; use --with-x.
1116 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1117 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1118 ac_prev
=x_includes
;;
1119 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1120 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1121 x_includes
=$ac_optarg ;;
1123 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1124 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1125 ac_prev
=x_libraries
;;
1126 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1127 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1128 x_libraries
=$ac_optarg ;;
1130 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1131 Try \`$0 --help' for more information"
1135 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1136 # Reject names that are not valid shell variable names.
1137 case $ac_envvar in #(
1138 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1139 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1141 eval $ac_envvar=\
$ac_optarg
1142 export $ac_envvar ;;
1145 # FIXME: should be removed in autoconf 3.0.
1146 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1147 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1148 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1149 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1155 if test -n "$ac_prev"; then
1156 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1157 as_fn_error $?
"missing argument to $ac_option"
1160 if test -n "$ac_unrecognized_opts"; then
1161 case $enable_option_checking in
1163 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1164 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1168 # Check all directory arguments for consistency.
1169 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1170 datadir sysconfdir sharedstatedir localstatedir includedir \
1171 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1172 libdir localedir mandir
1174 eval ac_val
=\$
$ac_var
1175 # Remove trailing slashes.
1178 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1179 eval $ac_var=\
$ac_val;;
1181 # Be sure to have absolute directory names.
1183 [\\/$
]* | ?
:[\\/]* ) continue;;
1184 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1186 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1189 # There might be people who depend on the old broken behavior: `$host'
1190 # used to hold the argument of --host etc.
1191 # FIXME: To remove some day.
1194 target
=$target_alias
1196 # FIXME: To remove some day.
1197 if test "x$host_alias" != x
; then
1198 if test "x$build_alias" = x
; then
1199 cross_compiling
=maybe
1200 elif test "x$build_alias" != "x$host_alias"; then
1206 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1208 test "$silent" = yes && exec 6>/dev
/null
1211 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1212 ac_ls_di
=`ls -di .` &&
1213 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1214 as_fn_error $?
"working directory cannot be determined"
1215 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1216 as_fn_error $?
"pwd does not report name of working directory"
1219 # Find the source files, if location was not specified.
1220 if test -z "$srcdir"; then
1221 ac_srcdir_defaulted
=yes
1222 # Try the directory containing this script, then the parent directory.
1223 ac_confdir
=`$as_dirname -- "$as_myself" ||
1224 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1225 X"$as_myself" : 'X\(//\)[^/]' \| \
1226 X"$as_myself" : 'X\(//\)$' \| \
1227 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1228 $as_echo X"$as_myself" |
1229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1247 if test ! -r "$srcdir/$ac_unique_file"; then
1251 ac_srcdir_defaulted
=no
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1254 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1255 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1257 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1259 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1261 # When building in place, set srcdir=.
1262 if test "$ac_abs_confdir" = "$ac_pwd"; then
1265 # Remove unnecessary trailing slashes from srcdir.
1266 # Double slashes in file names in object file debugging info
1267 # mess up M-x gdb in Emacs.
1269 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1271 for ac_var
in $ac_precious_vars; do
1272 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1273 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1274 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1275 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1279 # Report the --help message.
1281 if test "$ac_init_help" = "long"; then
1282 # Omit some internal or obsolete options to make the list less imposing.
1283 # This message is too long to be a string in the A/UX 3.1 sh.
1285 \`configure' configures this package to adapt to many kinds of systems.
1287 Usage: $0 [OPTION]... [VAR=VALUE]...
1289 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1290 VAR=VALUE. See below for descriptions of some of the useful variables.
1292 Defaults for the options are specified in brackets.
1295 -h, --help display this help and exit
1296 --help=short display options specific to this package
1297 --help=recursive display the short help of all the included packages
1298 -V, --version display version information and exit
1299 -q, --quiet, --silent do not print \`checking ...' messages
1300 --cache-file=FILE cache test results in FILE [disabled]
1301 -C, --config-cache alias for \`--cache-file=config.cache'
1302 -n, --no-create do not create output files
1303 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1305 Installation directories:
1306 --prefix=PREFIX install architecture-independent files in PREFIX
1307 [$ac_default_prefix]
1308 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1311 By default, \`make install' will install all the files in
1312 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1313 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1314 for instance \`--prefix=\$HOME'.
1316 For better control, use the options below.
1318 Fine tuning of the installation directories:
1319 --bindir=DIR user executables [EPREFIX/bin]
1320 --sbindir=DIR system admin executables [EPREFIX/sbin]
1321 --libexecdir=DIR program executables [EPREFIX/libexec]
1322 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1323 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1324 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1325 --libdir=DIR object code libraries [EPREFIX/lib]
1326 --includedir=DIR C header files [PREFIX/include]
1327 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1328 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1329 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1330 --infodir=DIR info documentation [DATAROOTDIR/info]
1331 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1332 --mandir=DIR man documentation [DATAROOTDIR/man]
1333 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1334 --htmldir=DIR html documentation [DOCDIR]
1335 --dvidir=DIR dvi documentation [DOCDIR]
1336 --pdfdir=DIR pdf documentation [DOCDIR]
1337 --psdir=DIR ps documentation [DOCDIR]
1343 --program-prefix=PREFIX prepend PREFIX to installed program names
1344 --program-suffix=SUFFIX append SUFFIX to installed program names
1345 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1348 --build=BUILD configure
for building on BUILD
[guessed
]
1349 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1350 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1354 if test -n "$ac_init_help"; then
1359 --disable-option-checking ignore unrecognized
--enable/--with options
1360 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1361 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1362 --enable-maintainer-mode
1363 enable make rules and dependencies not useful
(and
1364 sometimes confusing
) to the casual installer
1365 --enable-sim-inline=inlines
1366 Specify
which functions should be inlined
1367 --enable-sim-scache=size
1368 Specify simulator execution cache size
1369 --enable-sim-default-model=model
1370 Specify default model to simulate
1371 --enable-cgen-maint=DIR build cgen generated files
1372 --enable-sim-hardware=LIST
1373 Specify the hardware to be included
in the build.
1375 Some influential environment variables
:
1376 CC C compiler
command
1377 CFLAGS C compiler flags
1378 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1379 nonstandard directory
<lib dir
>
1380 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1381 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1382 you have headers
in a nonstandard directory
<include dir
>
1385 Use these variables to override the choices made by
`configure' or to help
1386 it to find libraries and programs with nonstandard names/locations.
1388 Report bugs to the package provider.
1393 if test "$ac_init_help" = "recursive"; then
1394 # If there are subdirs, report their specific --help.
1395 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1396 test -d "$ac_dir" ||
1397 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1402 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1404 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1405 # A ".." for each directory in $ac_dir_suffix.
1406 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1407 case $ac_top_builddir_sub in
1408 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1409 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1412 ac_abs_top_builddir=$ac_pwd
1413 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1414 # for backward compatibility:
1415 ac_top_builddir=$ac_top_build_prefix
1418 .) # We are building in place.
1420 ac_top_srcdir=$ac_top_builddir_sub
1421 ac_abs_top_srcdir=$ac_pwd ;;
1422 [\\/]* | ?:[\\/]* ) # Absolute name.
1423 ac_srcdir=$srcdir$ac_dir_suffix;
1424 ac_top_srcdir=$srcdir
1425 ac_abs_top_srcdir=$srcdir ;;
1427 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1428 ac_top_srcdir=$ac_top_build_prefix$srcdir
1429 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1431 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1433 cd "$ac_dir" || { ac_status=$?; continue; }
1434 # Check for guested configure.
1435 if test -f "$ac_srcdir/configure.gnu"; then
1437 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1438 elif test -f "$ac_srcdir/configure"; then
1440 $SHELL "$ac_srcdir/configure" --help=recursive
1442 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1444 cd "$ac_pwd" || { ac_status=$?; break; }
1448 test -n "$ac_init_help" && exit $ac_status
1449 if $ac_init_version; then
1452 generated by GNU Autoconf 2.69
1454 Copyright (C) 2012 Free Software Foundation, Inc.
1455 This configure script is free software; the Free Software Foundation
1456 gives unlimited permission to copy, distribute and modify it.
1461 ## ------------------------ ##
1462 ## Autoconf initialization. ##
1463 ## ------------------------ ##
1465 # ac_fn_c_try_compile LINENO
1466 # --------------------------
1467 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1468 ac_fn_c_try_compile ()
1470 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1471 rm -f conftest.$ac_objext
1472 if { { ac_try="$ac_compile"
1474 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1475 *) ac_try_echo
=$ac_try;;
1477 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1478 $as_echo "$ac_try_echo"; } >&5
1479 (eval "$ac_compile") 2>conftest.err
1481 if test -s conftest.err
; then
1482 grep -v '^ *+' conftest.err
>conftest.er1
1483 cat conftest.er1
>&5
1484 mv -f conftest.er1 conftest.err
1486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1487 test $ac_status = 0; } && {
1488 test -z "$ac_c_werror_flag" ||
1489 test ! -s conftest.err
1490 } && test -s conftest.
$ac_objext; then :
1493 $as_echo "$as_me: failed program was:" >&5
1494 sed 's/^/| /' conftest.
$ac_ext >&5
1498 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1499 as_fn_set_status
$ac_retval
1501 } # ac_fn_c_try_compile
1503 # ac_fn_c_try_cpp LINENO
1504 # ----------------------
1505 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1508 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1509 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1511 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1512 *) ac_try_echo=$ac_try;;
1514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1515 $as_echo "$ac_try_echo"; } >&5
1516 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1518 if test -s conftest.err; then
1519 grep -v '^ *+' conftest.err >conftest.er1
1520 cat conftest.er1 >&5
1521 mv -f conftest.er1 conftest.err
1523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1524 test $ac_status = 0; } > conftest.i && {
1525 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1526 test ! -s conftest.err
1530 $as_echo "$as_me: failed program was:" >&5
1531 sed 's/^/| /' conftest.$ac_ext >&5
1535 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1536 as_fn_set_status $ac_retval
1540 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1541 # -------------------------------------------------------
1542 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1543 # the include files in INCLUDES and setting the cache variable VAR
1545 ac_fn_c_check_header_mongrel ()
1547 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1548 if eval \${$3+:} false; then :
1549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1550 $as_echo_n "checking for $2... " >&6; }
1551 if eval \${$3+:} false; then :
1552 $as_echo_n "(cached) " >&6
1555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1556 $as_echo "$ac_res" >&6; }
1558 # Is the header compilable?
1559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1560 $as_echo_n "checking $2 usability... " >&6; }
1561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1562 /* end confdefs.h. */
1566 if ac_fn_c_try_compile "$LINENO"; then :
1567 ac_header_compiler=yes
1569 ac_header_compiler=no
1571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1573 $as_echo "$ac_header_compiler" >&6; }
1575 # Is the header present?
1576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1577 $as_echo_n "checking $2 presence... " >&6; }
1578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1579 /* end confdefs.h. */
1582 if ac_fn_c_try_cpp "$LINENO"; then :
1583 ac_header_preproc=yes
1585 ac_header_preproc=no
1587 rm -f conftest.err conftest.i conftest.$ac_ext
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1589 $as_echo "$ac_header_preproc" >&6; }
1591 # So? What about this header?
1592 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1595 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1597 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1601 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1603 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1605 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1607 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1609 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1613 $as_echo_n "checking for $2... " >&6; }
1614 if eval \${$3+:} false; then :
1615 $as_echo_n "(cached) " >&6
1617 eval "$3=\$ac_header_compiler"
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1621 $as_echo "$ac_res" >&6; }
1623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1625 } # ac_fn_c_check_header_mongrel
1627 # ac_fn_c_try_run LINENO
1628 # ----------------------
1629 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1630 # that executables *can* be run.
1633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1634 if { { ac_try="$ac_link"
1636 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1637 *) ac_try_echo
=$ac_try;;
1639 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1640 $as_echo "$ac_try_echo"; } >&5
1641 (eval "$ac_link") 2>&5
1643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1644 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1645 { { case "(($ac_try" in
1646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1647 *) ac_try_echo=$ac_try;;
1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1650 $as_echo "$ac_try_echo"; } >&5
1651 (eval "$ac_try") 2>&5
1653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1654 test $ac_status = 0; }; }; then :
1657 $as_echo "$as_me: program exited with status $ac_status" >&5
1658 $as_echo "$as_me: failed program was:" >&5
1659 sed 's/^/| /' conftest.$ac_ext >&5
1661 ac_retval=$ac_status
1663 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1664 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1665 as_fn_set_status $ac_retval
1669 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1670 # -------------------------------------------------------
1671 # Tests whether HEADER exists and can be compiled using the include files in
1672 # INCLUDES, setting the cache variable VAR accordingly.
1673 ac_fn_c_check_header_compile ()
1675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677 $as_echo_n "checking for $2... " >&6; }
1678 if eval \${$3+:} false; then :
1679 $as_echo_n "(cached) " >&6
1681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1682 /* end confdefs.h. */
1686 if ac_fn_c_try_compile "$LINENO"; then :
1691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1695 $as_echo "$ac_res" >&6; }
1696 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1698 } # ac_fn_c_check_header_compile
1699 cat >config.log <<_ACEOF
1700 This file contains any messages produced by compilers while
1701 running configure, to aid debugging if configure makes a mistake.
1703 It was created by $as_me, which was
1704 generated by GNU Autoconf 2.69. Invocation command line was
1716 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1717 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1718 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1719 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1720 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1722 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1723 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1725 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1726 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1727 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1728 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1729 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1730 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1731 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1739 test -z "$as_dir" && as_dir=.
1740 $as_echo "PATH: $as_dir"
1756 # Keep a trace of the command line.
1757 # Strip out --no-create and --no-recursion so they do not pile up.
1758 # Strip out --silent because we don't want to record it for future runs.
1759 # Also quote any args containing shell meta-characters.
1760 # Make two passes to allow for proper duplicate-argument suppression.
1764 ac_must_keep_next=false
1770 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1771 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1772 | -silent | --silent | --silen | --sile | --sil)
1775 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1778 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1780 as_fn_append ac_configure_args1 " '$ac_arg'"
1781 if test $ac_must_keep_next = true; then
1782 ac_must_keep_next=false # Got value, back to normal.
1785 *=* | --config-cache | -C | -disable-* | --disable-* \
1786 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1787 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1788 | -with-* | --with-* | -without-* | --without-* | --x)
1789 case "$ac_configure_args0 " in
1790 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1793 -* ) ac_must_keep_next=true ;;
1796 as_fn_append ac_configure_args " '$ac_arg'"
1801 { ac_configure_args0=; unset ac_configure_args0;}
1802 { ac_configure_args1=; unset ac_configure_args1;}
1804 # When interrupted or exit'd, cleanup temporary files, and complete
1805 # config.log. We remove comments because anyway the quotes in there
1806 # would cause problems or look ugly.
1807 # WARNING: Use '\'' to represent an apostrophe within the trap.
1808 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1809 trap 'exit_status=$?
1810 # Save into config.log some information that might help in debugging.
1814 $as_echo "## ---------------- ##
1815 ## Cache variables. ##
1816 ## ---------------- ##"
1818 # The following way of writing the cache mishandles newlines in values,
1820 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1821 eval ac_val=\$$ac_var
1825 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1826 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1829 _ | IFS | as_nl) ;; #(
1830 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1831 *) { eval $ac_var=; unset $ac_var;} ;;
1836 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1837 *${as_nl}ac_space=\ *)
1839 "s/'\''/'\''\\\\'\'''\''/g;
1840 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1843 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1850 $as_echo "## ----------------- ##
1851 ## Output variables. ##
1852 ## ----------------- ##"
1854 for ac_var in $ac_subst_vars
1856 eval ac_val=\$$ac_var
1858 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1860 $as_echo "$ac_var='\''$ac_val'\''"
1864 if test -n "$ac_subst_files"; then
1865 $as_echo "## ------------------- ##
1866 ## File substitutions. ##
1867 ## ------------------- ##"
1869 for ac_var in $ac_subst_files
1871 eval ac_val=\$$ac_var
1873 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1875 $as_echo "$ac_var='\''$ac_val'\''"
1880 if test -s confdefs.h; then
1881 $as_echo "## ----------- ##
1888 test "$ac_signal" != 0 &&
1889 $as_echo "$as_me: caught signal $ac_signal"
1890 $as_echo "$as_me: exit $exit_status"
1892 rm -f core *.core core.conftest.* &&
1893 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1896 for ac_signal in 1 2 13 15; do
1897 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1901 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1902 rm -f -r conftest* confdefs.h
1904 $as_echo "/* confdefs.h */" > confdefs.h
1906 # Predefined preprocessor variables.
1908 cat >>confdefs.h <<_ACEOF
1909 #define PACKAGE_NAME "$PACKAGE_NAME"
1912 cat >>confdefs.h <<_ACEOF
1913 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1916 cat >>confdefs.h <<_ACEOF
1917 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1920 cat >>confdefs.h <<_ACEOF
1921 #define PACKAGE_STRING "$PACKAGE_STRING"
1924 cat >>confdefs.h <<_ACEOF
1925 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1928 cat >>confdefs.h <<_ACEOF
1929 #define PACKAGE_URL "$PACKAGE_URL"
1933 # Let the site file select an alternate cache file if it wants to.
1934 # Prefer an explicitly selected file to automatically selected ones.
1937 if test -n "$CONFIG_SITE"; then
1938 # We do not want a PATH search for config.site.
1939 case $CONFIG_SITE in #((
1940 -*) ac_site_file1=./$CONFIG_SITE;;
1941 */*) ac_site_file1=$CONFIG_SITE;;
1942 *) ac_site_file1=./$CONFIG_SITE;;
1944 elif test "x$prefix" != xNONE; then
1945 ac_site_file1=$prefix/share/config.site
1946 ac_site_file2=$prefix/etc/config.site
1948 ac_site_file1=$ac_default_prefix/share/config.site
1949 ac_site_file2=$ac_default_prefix/etc/config.site
1951 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1953 test "x$ac_site_file" = xNONE && continue
1954 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1956 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1957 sed 's/^/| /' "$ac_site_file" >&5
1959 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1960 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1961 as_fn_error $? "failed to load site
script $ac_site_file
1962 See \
`config.log' for more details" "$LINENO" 5; }
1966 if test -r "$cache_file"; then
1967 # Some versions of bash will fail to source /dev/null (special files
1968 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1969 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1971 $as_echo "$as_me: loading cache $cache_file" >&6;}
1973 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1974 *) . "./$cache_file";;
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1979 $as_echo "$as_me: creating cache $cache_file" >&6;}
1983 # Check that the precious variables saved in the cache have kept the same
1985 ac_cache_corrupted=false
1986 for ac_var in $ac_precious_vars; do
1987 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1988 eval ac_new_set=\$ac_env_${ac_var}_set
1989 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1990 eval ac_new_val=\$ac_env_${ac_var}_value
1991 case $ac_old_set,$ac_new_set in
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1994 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1995 ac_cache_corrupted=: ;;
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1998 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1999 ac_cache_corrupted=: ;;
2002 if test "x$ac_old_val" != "x$ac_new_val"; then
2003 # differences in whitespace do not lead to failure.
2004 ac_old_val_w=`echo x
$ac_old_val`
2005 ac_new_val_w=`echo x
$ac_new_val`
2006 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2008 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2009 ac_cache_corrupted=:
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2012 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2013 eval $ac_var=\$ac_old_val
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2016 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2018 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2021 # Pass precious variables to config.status.
2022 if test "$ac_new_set" = set; then
2024 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2025 *) ac_arg=$ac_var=$ac_new_val ;;
2027 case " $ac_configure_args " in
2028 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2029 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2033 if $ac_cache_corrupted; then
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2037 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2038 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2040 ## -------------------- ##
2041 ## Main body of script. ##
2042 ## -------------------- ##
2045 ac_cpp='$CPP $CPPFLAGS'
2046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2057 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2058 if test -f "$ac_dir/install-sh"; then
2060 ac_install_sh="$ac_aux_dir/install-sh -c"
2062 elif test -f "$ac_dir/install.sh"; then
2064 ac_install_sh="$ac_aux_dir/install.sh -c"
2066 elif test -f "$ac_dir/shtool"; then
2068 ac_install_sh="$ac_aux_dir/shtool install -c"
2072 if test -z "$ac_aux_dir"; then
2073 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2076 # These three variables are undocumented and unsupported,
2077 # and are intended to be withdrawn in a future Autoconf release.
2078 # They can cause serious problems if a builder's source tree is in a directory
2079 # whose full name contains unusual characters.
2080 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2081 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2082 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2085 # Make sure we can run config.sub.
2086 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2087 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2090 $as_echo_n "checking build system type... " >&6; }
2091 if ${ac_cv_build+:} false; then :
2092 $as_echo_n "(cached) " >&6
2094 ac_build_alias=$build_alias
2095 test "x$ac_build_alias" = x &&
2096 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2097 test "x$ac_build_alias" = x &&
2098 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2099 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2100 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2104 $as_echo "$ac_cv_build" >&6; }
2105 case $ac_cv_build in
2107 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2110 ac_save_IFS=$IFS; IFS='-'
2116 # Remember, the first character of IFS is used to create $*,
2117 # except with old shells:
2120 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2124 $as_echo_n "checking host system type... " >&6; }
2125 if ${ac_cv_host+:} false; then :
2126 $as_echo_n "(cached) " >&6
2128 if test "x$host_alias" = x; then
2129 ac_cv_host=$ac_cv_build
2131 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2132 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2137 $as_echo "$ac_cv_host" >&6; }
2140 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2143 ac_save_IFS=$IFS; IFS='-'
2149 # Remember, the first character of IFS is used to create $*,
2150 # except with old shells:
2153 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2157 $as_echo_n "checking target system type... " >&6; }
2158 if ${ac_cv_target+:} false; then :
2159 $as_echo_n "(cached) " >&6
2161 if test "x$target_alias" = x; then
2162 ac_cv_target=$ac_cv_host
2164 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2165 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2170 $as_echo "$ac_cv_target" >&6; }
2171 case $ac_cv_target in
2173 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2175 target=$ac_cv_target
2176 ac_save_IFS=$IFS; IFS='-'
2182 # Remember, the first character of IFS is used to create $*,
2183 # except with old shells:
2186 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2189 # The aliases save the names the user supplied, while $host etc.
2190 # will get canonicalized.
2191 test -n "$target_alias" &&
2192 test "$program_prefix$program_suffix$program_transform_name" = \
2194 program_prefix=${target_alias}-
2196 ac_cpp='$CPP $CPPFLAGS'
2197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2200 if test -n "$ac_tool_prefix"; then
2201 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2202 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2204 $as_echo_n "checking for $ac_word... " >&6; }
2205 if ${ac_cv_prog_CC+:} false; then :
2206 $as_echo_n "(cached) " >&6
2208 if test -n "$CC"; then
2209 ac_cv_prog_CC="$CC" # Let the user override the test.
2211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2215 test -z "$as_dir" && as_dir=.
2216 for ac_exec_ext in '' $ac_executable_extensions; do
2217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2218 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2229 if test -n "$CC"; then
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2231 $as_echo "$CC" >&6; }
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2234 $as_echo "no" >&6; }
2239 if test -z "$ac_cv_prog_CC"; then
2241 # Extract the first word of "gcc", so it can be a program name with args.
2242 set dummy gcc; ac_word=$2
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2244 $as_echo_n "checking for $ac_word... " >&6; }
2245 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2246 $as_echo_n "(cached) " >&6
2248 if test -n "$ac_ct_CC"; then
2249 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2255 test -z "$as_dir" && as_dir=.
2256 for ac_exec_ext in '' $ac_executable_extensions; do
2257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2258 ac_cv_prog_ac_ct_CC="gcc"
2259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2268 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2269 if test -n "$ac_ct_CC"; then
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2271 $as_echo "$ac_ct_CC" >&6; }
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2274 $as_echo "no" >&6; }
2277 if test "x$ac_ct_CC" = x; then
2280 case $cross_compiling:$ac_tool_warned in
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2284 ac_tool_warned=yes ;;
2292 if test -z "$CC"; then
2293 if test -n "$ac_tool_prefix"; then
2294 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2295 set dummy ${ac_tool_prefix}cc; ac_word=$2
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2297 $as_echo_n "checking for $ac_word... " >&6; }
2298 if ${ac_cv_prog_CC+:} false; then :
2299 $as_echo_n "(cached) " >&6
2301 if test -n "$CC"; then
2302 ac_cv_prog_CC="$CC" # Let the user override the test.
2304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 test -z "$as_dir" && as_dir=.
2309 for ac_exec_ext in '' $ac_executable_extensions; do
2310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2311 ac_cv_prog_CC="${ac_tool_prefix}cc"
2312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2322 if test -n "$CC"; then
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2324 $as_echo "$CC" >&6; }
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2327 $as_echo "no" >&6; }
2333 if test -z "$CC"; then
2334 # Extract the first word of "cc", so it can be a program name with args.
2335 set dummy cc; ac_word=$2
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2337 $as_echo_n "checking for $ac_word... " >&6; }
2338 if ${ac_cv_prog_CC+:} false; then :
2339 $as_echo_n "(cached) " >&6
2341 if test -n "$CC"; then
2342 ac_cv_prog_CC="$CC" # Let the user override the test.
2345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2349 test -z "$as_dir" && as_dir=.
2350 for ac_exec_ext in '' $ac_executable_extensions; do
2351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2352 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2353 ac_prog_rejected=yes
2357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2364 if test $ac_prog_rejected = yes; then
2365 # We found a bogon in the path, so make sure we never use it.
2366 set dummy $ac_cv_prog_CC
2368 if test $# != 0; then
2369 # We chose a different compiler from the bogus one.
2370 # However, it has the same basename, so the bogon will be chosen
2371 # first if we set CC to just the basename; use the full file name.
2373 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2379 if test -n "$CC"; then
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2381 $as_echo "$CC" >&6; }
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2384 $as_echo "no" >&6; }
2389 if test -z "$CC"; then
2390 if test -n "$ac_tool_prefix"; then
2391 for ac_prog in cl.exe
2393 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2394 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2396 $as_echo_n "checking for $ac_word... " >&6; }
2397 if ${ac_cv_prog_CC+:} false; then :
2398 $as_echo_n "(cached) " >&6
2400 if test -n "$CC"; then
2401 ac_cv_prog_CC="$CC" # Let the user override the test.
2403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2407 test -z "$as_dir" && as_dir=.
2408 for ac_exec_ext in '' $ac_executable_extensions; do
2409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2410 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2421 if test -n "$CC"; then
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2423 $as_echo "$CC" >&6; }
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2426 $as_echo "no" >&6; }
2430 test -n "$CC" && break
2433 if test -z "$CC"; then
2435 for ac_prog in cl.exe
2437 # Extract the first word of "$ac_prog", so it can be a program name with args.
2438 set dummy $ac_prog; ac_word=$2
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2440 $as_echo_n "checking for $ac_word... " >&6; }
2441 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2442 $as_echo_n "(cached) " >&6
2444 if test -n "$ac_ct_CC"; then
2445 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2451 test -z "$as_dir" && as_dir=.
2452 for ac_exec_ext in '' $ac_executable_extensions; do
2453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2454 ac_cv_prog_ac_ct_CC="$ac_prog"
2455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2464 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2465 if test -n "$ac_ct_CC"; then
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2467 $as_echo "$ac_ct_CC" >&6; }
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2470 $as_echo "no" >&6; }
2474 test -n "$ac_ct_CC" && break
2477 if test "x$ac_ct_CC" = x; then
2480 case $cross_compiling:$ac_tool_warned in
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2484 ac_tool_warned=yes ;;
2493 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2495 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2496 See \
`config.log' for more details" "$LINENO" 5; }
2498 # Provide some information about the compiler.
2499 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2502 for ac_option in --version -v -V -qversion; do
2503 { { ac_try="$ac_compiler $ac_option >&5"
2505 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2506 *) ac_try_echo
=$ac_try;;
2508 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2509 $as_echo "$ac_try_echo"; } >&5
2510 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2512 if test -s conftest.err
; then
2514 ... rest of stderr output deleted ...
2515 10q' conftest.err
>conftest.er1
2516 cat conftest.er1
>&5
2518 rm -f conftest.er1 conftest.err
2519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2520 test $ac_status = 0; }
2523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2524 /* end confdefs.h. */
2534 ac_clean_files_save
=$ac_clean_files
2535 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2536 # Try to create an executable without -o first, disregard a.out.
2537 # It will help us diagnose broken compilers, and finding out an intuition
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2540 $as_echo_n "checking whether the C compiler works... " >&6; }
2541 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2543 # The possible output files:
2544 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2547 for ac_file
in $ac_files
2550 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2551 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2556 if { { ac_try
="$ac_link_default"
2558 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2559 *) ac_try_echo=$ac_try;;
2561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2562 $as_echo "$ac_try_echo"; } >&5
2563 (eval "$ac_link_default") 2>&5
2565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2566 test $ac_status = 0; }; then :
2567 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2568 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2569 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2570 # so that the user can short-circuit this test for compilers unknown to
2572 for ac_file in $ac_files ''
2574 test -f "$ac_file" || continue
2576 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2579 # We found the default executable, but exeext='' is most
2583 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2585 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2587 # We set ac_cv_exeext here because the later test for it is not
2588 # safe: cross compilers may not add the suffix if given an `-o'
2589 # argument, so we may need to know it at that point already.
2590 # Even if this section looks crufty: it has the advantage of
2597 test "$ac_cv_exeext" = no && ac_cv_exeext=
2602 if test -z "$ac_file"; then :
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2604 $as_echo "no" >&6; }
2605 $as_echo "$as_me: failed program was:" >&5
2606 sed 's
/^
/|
/' conftest.$ac_ext >&5
2608 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2609 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2610 as_fn_error 77 "C compiler cannot create executables
2611 See \`config.log
' for more details" "$LINENO" 5; }
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2614 $as_echo "yes" >&6; }
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2617 $as_echo_n "checking for C compiler default output file name... " >&6; }
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2619 $as_echo "$ac_file" >&6; }
2620 ac_exeext=$ac_cv_exeext
2622 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2623 ac_clean_files=$ac_clean_files_save
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2625 $as_echo_n "checking for suffix of executables... " >&6; }
2626 if { { ac_try="$ac_link"
2628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2629 *) ac_try_echo=$ac_try;;
2631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2632 $as_echo "$ac_try_echo"; } >&5
2633 (eval "$ac_link") 2>&5
2635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2636 test $ac_status = 0; }; then :
2637 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2638 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2639 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2641 for ac_file
in conftest.exe conftest conftest.
*; do
2642 test -f "$ac_file" ||
continue
2644 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2645 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2651 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2652 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2653 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2654 See \`config.log' for more details" "$LINENO" 5; }
2656 rm -f conftest conftest
$ac_cv_exeext
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2658 $as_echo "$ac_cv_exeext" >&6; }
2660 rm -f conftest.
$ac_ext
2661 EXEEXT
=$ac_cv_exeext
2663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2664 /* end confdefs.h. */
2669 FILE *f = fopen ("conftest.out", "w");
2670 return ferror (f) || fclose (f) != 0;
2676 ac_clean_files
="$ac_clean_files conftest.out"
2677 # Check that the compiler produces executables we can run. If not, either
2678 # the compiler is broken, or we cross compile.
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2680 $as_echo_n "checking whether we are cross compiling... " >&6; }
2681 if test "$cross_compiling" != yes; then
2682 { { ac_try
="$ac_link"
2684 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2685 *) ac_try_echo=$ac_try;;
2687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2688 $as_echo "$ac_try_echo"; } >&5
2689 (eval "$ac_link") 2>&5
2691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2692 test $ac_status = 0; }
2693 if { ac_try='./conftest$ac_cv_exeext'
2694 { { case "(($ac_try" in
2695 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2696 *) ac_try_echo
=$ac_try;;
2698 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2699 $as_echo "$ac_try_echo"; } >&5
2700 (eval "$ac_try") 2>&5
2702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2703 test $ac_status = 0; }; }; then
2706 if test "$cross_compiling" = maybe
; then
2709 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2710 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2711 as_fn_error $?
"cannot run C compiled programs.
2712 If you meant to cross compile, use \`--host'.
2713 See \`config.log' for more details" "$LINENO" 5; }
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2718 $as_echo "$cross_compiling" >&6; }
2720 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2721 ac_clean_files
=$ac_clean_files_save
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2723 $as_echo_n "checking for suffix of object files... " >&6; }
2724 if ${ac_cv_objext+:} false
; then :
2725 $as_echo_n "(cached) " >&6
2727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2728 /* end confdefs.h. */
2738 rm -f conftest.o conftest.obj
2739 if { { ac_try
="$ac_compile"
2741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2742 *) ac_try_echo=$ac_try;;
2744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2745 $as_echo "$ac_try_echo"; } >&5
2746 (eval "$ac_compile") 2>&5
2748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2749 test $ac_status = 0; }; then :
2750 for ac_file in conftest.o conftest.obj conftest.*; do
2751 test -f "$ac_file" || continue;
2753 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2754 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2759 $as_echo "$as_me: failed program was:" >&5
2760 sed 's/^/| /' conftest.$ac_ext >&5
2762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2764 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2765 See \
`config.log' for more details" "$LINENO" 5; }
2767 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2770 $as_echo "$ac_cv_objext" >&6; }
2771 OBJEXT=$ac_cv_objext
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2774 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2775 if ${ac_cv_c_compiler_gnu+:} false; then :
2776 $as_echo_n "(cached) " >&6
2778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2779 /* end confdefs.h. */
2792 if ac_fn_c_try_compile "$LINENO"; then :
2797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2798 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2802 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2803 if test $ac_compiler_gnu = yes; then
2808 ac_test_CFLAGS=${CFLAGS+set}
2809 ac_save_CFLAGS=$CFLAGS
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2811 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2812 if ${ac_cv_prog_cc_g+:} false; then :
2813 $as_echo_n "(cached) " >&6
2815 ac_save_c_werror_flag=$ac_c_werror_flag
2816 ac_c_werror_flag=yes
2819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2820 /* end confdefs.h. */
2830 if ac_fn_c_try_compile "$LINENO"; then :
2834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2835 /* end confdefs.h. */
2845 if ac_fn_c_try_compile "$LINENO"; then :
2848 ac_c_werror_flag=$ac_save_c_werror_flag
2850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2851 /* end confdefs.h. */
2861 if ac_fn_c_try_compile "$LINENO"; then :
2864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2869 ac_c_werror_flag=$ac_save_c_werror_flag
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2872 $as_echo "$ac_cv_prog_cc_g" >&6; }
2873 if test "$ac_test_CFLAGS" = set; then
2874 CFLAGS=$ac_save_CFLAGS
2875 elif test $ac_cv_prog_cc_g = yes; then
2876 if test "$GCC" = yes; then
2882 if test "$GCC" = yes; then
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2889 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2890 if ${ac_cv_prog_cc_c89+:} false; then :
2891 $as_echo_n "(cached) " >&6
2893 ac_cv_prog_cc_c89=no
2895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2896 /* end confdefs.h. */
2900 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2901 struct buf { int x; };
2902 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2903 static char *e (p, i)
2909 static char *f (char * (*g) (char **, int), char **p, ...)
2914 s = g (p, va_arg (v,int));
2919 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2920 function prototypes and stuff, but not '\xHH' hex character constants.
2921 These don't provoke an error unfortunately, instead are silently treated
2922 as 'x'. The following induces an error, until -std is added to get
2923 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2924 array size at least. It's necessary to write '\x00'==0 to get something
2925 that's true only with -std. */
2926 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2928 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2929 inside strings and character constants. */
2931 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2933 int test (int i, double x);
2934 struct s1 {int (*f) (int a);};
2935 struct s2 {int (*f) (double a);};
2936 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2942 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2947 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2948 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2950 CC="$ac_save_CC $ac_arg"
2951 if ac_fn_c_try_compile "$LINENO"; then :
2952 ac_cv_prog_cc_c89=$ac_arg
2954 rm -f core conftest.err conftest.$ac_objext
2955 test "x$ac_cv_prog_cc_c89" != "xno" && break
2957 rm -f conftest.$ac_ext
2962 case "x$ac_cv_prog_cc_c89" in
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2965 $as_echo "none needed" >&6; } ;;
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2968 $as_echo "unsupported" >&6; } ;;
2970 CC="$CC $ac_cv_prog_cc_c89"
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2972 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2974 if test "x$ac_cv_prog_cc_c89" != xno; then :
2979 ac_cpp='$CPP $CPPFLAGS'
2980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2986 ac_cpp='$CPP $CPPFLAGS'
2987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2991 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2992 # On Suns, sometimes $CPP names a directory.
2993 if test -n "$CPP" && test -d "$CPP"; then
2996 if test -z "$CPP"; then
2997 if ${ac_cv_prog_CPP+:} false; then :
2998 $as_echo_n "(cached) " >&6
3000 # Double quotes because CPP needs to be expanded
3001 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3004 for ac_c_preproc_warn_flag in '' yes
3006 # Use a header file that comes with gcc, so configuring glibc
3007 # with a fresh cross-compiler works.
3008 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3009 # <limits.h> exists even on freestanding compilers.
3010 # On the NeXT, cc -E runs the code through the compiler's parser,
3011 # not just through cpp. "Syntax error" is here to catch this case.
3012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3013 /* end confdefs.h. */
3015 # include <limits.h>
3017 # include <assert.h>
3021 if ac_fn_c_try_cpp "$LINENO"; then :
3024 # Broken: fails on valid input.
3027 rm -f conftest.err conftest.i conftest.$ac_ext
3029 # OK, works on sane cases. Now check whether nonexistent headers
3030 # can be detected and how.
3031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3032 /* end confdefs.h. */
3033 #include <ac_nonexistent.h>
3035 if ac_fn_c_try_cpp "$LINENO"; then :
3036 # Broken: success on invalid input.
3039 # Passes both tests.
3043 rm -f conftest.err conftest.i conftest.$ac_ext
3046 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3047 rm -f conftest.i conftest.err conftest.
$ac_ext
3048 if $ac_preproc_ok; then :
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3061 $as_echo "$CPP" >&6; }
3063 for ac_c_preproc_warn_flag
in '' yes
3065 # Use a header file that comes with gcc, so configuring glibc
3066 # with a fresh cross-compiler works.
3067 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3068 # <limits.h> exists even on freestanding compilers.
3069 # On the NeXT, cc -E runs the code through the compiler's parser,
3070 # not just through cpp. "Syntax error" is here to catch this case.
3071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3072 /* end confdefs.h. */
3074 # include <limits.h>
3076 # include <assert.h>
3080 if ac_fn_c_try_cpp
"$LINENO"; then :
3083 # Broken: fails on valid input.
3086 rm -f conftest.err conftest.i conftest.
$ac_ext
3088 # OK, works on sane cases. Now check whether nonexistent headers
3089 # can be detected and how.
3090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3091 /* end confdefs.h. */
3092 #include <ac_nonexistent.h>
3094 if ac_fn_c_try_cpp
"$LINENO"; then :
3095 # Broken: success on invalid input.
3098 # Passes both tests.
3102 rm -f conftest.err conftest.i conftest.
$ac_ext
3105 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3106 rm -f conftest.i conftest.err conftest.
$ac_ext
3107 if $ac_preproc_ok; then :
3110 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3112 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3113 See \`config.log' for more details" "$LINENO" 5; }
3117 ac_cpp
='$CPP $CPPFLAGS'
3118 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3119 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3120 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3124 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3125 if ${ac_cv_path_GREP+:} false
; then :
3126 $as_echo_n "(cached) " >&6
3128 if test -z "$GREP"; then
3129 ac_path_GREP_found
=false
3130 # Loop through the user's path and test for each of PROGNAME-LIST
3131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3132 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3135 test -z "$as_dir" && as_dir
=.
3136 for ac_prog
in grep ggrep
; do
3137 for ac_exec_ext
in '' $ac_executable_extensions; do
3138 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3139 as_fn_executable_p
"$ac_path_GREP" ||
continue
3140 # Check for GNU ac_path_GREP and select it if it is found.
3141 # Check for GNU $ac_path_GREP
3142 case `"$ac_path_GREP" --version 2>&1` in
3144 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3147 $as_echo_n 0123456789 >"conftest.in"
3150 cat "conftest.in" "conftest.in" >"conftest.tmp"
3151 mv "conftest.tmp" "conftest.in"
3152 cp "conftest.in" "conftest.nl"
3153 $as_echo 'GREP' >> "conftest.nl"
3154 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3155 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3156 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3157 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3158 # Best one so far, save it but keep looking for a better one
3159 ac_cv_path_GREP
="$ac_path_GREP"
3160 ac_path_GREP_max
=$ac_count
3162 # 10*(2^10) chars as input seems more than enough
3163 test $ac_count -gt 10 && break
3165 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3168 $ac_path_GREP_found && break 3
3173 if test -z "$ac_cv_path_GREP"; then
3174 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3177 ac_cv_path_GREP
=$GREP
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3182 $as_echo "$ac_cv_path_GREP" >&6; }
3183 GREP
="$ac_cv_path_GREP"
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3187 $as_echo_n "checking for egrep... " >&6; }
3188 if ${ac_cv_path_EGREP+:} false
; then :
3189 $as_echo_n "(cached) " >&6
3191 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3192 then ac_cv_path_EGREP
="$GREP -E"
3194 if test -z "$EGREP"; then
3195 ac_path_EGREP_found
=false
3196 # Loop through the user's path and test for each of PROGNAME-LIST
3197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3198 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3201 test -z "$as_dir" && as_dir
=.
3202 for ac_prog
in egrep; do
3203 for ac_exec_ext
in '' $ac_executable_extensions; do
3204 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3205 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3206 # Check for GNU ac_path_EGREP and select it if it is found.
3207 # Check for GNU $ac_path_EGREP
3208 case `"$ac_path_EGREP" --version 2>&1` in
3210 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3213 $as_echo_n 0123456789 >"conftest.in"
3216 cat "conftest.in" "conftest.in" >"conftest.tmp"
3217 mv "conftest.tmp" "conftest.in"
3218 cp "conftest.in" "conftest.nl"
3219 $as_echo 'EGREP' >> "conftest.nl"
3220 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3221 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3222 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3223 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3224 # Best one so far, save it but keep looking for a better one
3225 ac_cv_path_EGREP
="$ac_path_EGREP"
3226 ac_path_EGREP_max
=$ac_count
3228 # 10*(2^10) chars as input seems more than enough
3229 test $ac_count -gt 10 && break
3231 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3234 $ac_path_EGREP_found && break 3
3239 if test -z "$ac_cv_path_EGREP"; then
3240 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3243 ac_cv_path_EGREP
=$EGREP
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3249 $as_echo "$ac_cv_path_EGREP" >&6; }
3250 EGREP
="$ac_cv_path_EGREP"
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3254 $as_echo_n "checking for ANSI C header files... " >&6; }
3255 if ${ac_cv_header_stdc+:} false
; then :
3256 $as_echo_n "(cached) " >&6
3258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3259 /* end confdefs.h. */
3273 if ac_fn_c_try_compile
"$LINENO"; then :
3274 ac_cv_header_stdc
=yes
3276 ac_cv_header_stdc
=no
3278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3280 if test $ac_cv_header_stdc = yes; then
3281 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3283 /* end confdefs.h. */
3287 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3288 $EGREP "memchr" >/dev
/null
2>&1; then :
3291 ac_cv_header_stdc
=no
3297 if test $ac_cv_header_stdc = yes; then
3298 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3300 /* end confdefs.h. */
3304 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3305 $EGREP "free" >/dev
/null
2>&1; then :
3308 ac_cv_header_stdc
=no
3314 if test $ac_cv_header_stdc = yes; then
3315 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3316 if test "$cross_compiling" = yes; then :
3319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3320 /* end confdefs.h. */
3323 #if ((' ' & 0x0FF) == 0x020)
3324 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3325 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3327 # define ISLOWER(c) \
3328 (('a' <= (c) && (c) <= 'i') \
3329 || ('j' <= (c) && (c) <= 'r') \
3330 || ('s' <= (c) && (c) <= 'z'))
3331 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3334 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3339 for (i = 0; i < 256; i++)
3340 if (XOR (islower (i), ISLOWER (i))
3341 || toupper (i) != TOUPPER (i))
3346 if ac_fn_c_try_run
"$LINENO"; then :
3349 ac_cv_header_stdc
=no
3351 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3352 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3358 $as_echo "$ac_cv_header_stdc" >&6; }
3359 if test $ac_cv_header_stdc = yes; then
3361 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3365 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3366 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3367 inttypes.h stdint.h unistd.h
3369 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3370 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3372 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3373 cat >>confdefs.h
<<_ACEOF
3374 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3383 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3384 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3391 if test "$MINIX" = yes; then
3393 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3396 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3399 $as_echo "#define _MINIX 1" >>confdefs.h
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3405 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3406 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3407 $as_echo_n "(cached) " >&6
3409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3410 /* end confdefs.h. */
3412 # define __EXTENSIONS__ 1
3413 $ac_includes_default
3422 if ac_fn_c_try_compile
"$LINENO"; then :
3423 ac_cv_safe_to_define___extensions__
=yes
3425 ac_cv_safe_to_define___extensions__
=no
3427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3430 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3431 test $ac_cv_safe_to_define___extensions__ = yes &&
3432 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3434 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3436 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3438 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3440 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3443 test "$program_prefix" != NONE
&&
3444 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3445 # Use a double $ so make ignores it.
3446 test "$program_suffix" != NONE
&&
3447 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3448 # Double any \ or $.
3449 # By default was `s,x,x', remove it if useless.
3450 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3451 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3453 # Find a good install program. We prefer a C program (faster),
3454 # so one script is as good as another. But avoid the broken or
3455 # incompatible versions:
3456 # SysV /etc/install, /usr/sbin/install
3457 # SunOS /usr/etc/install
3458 # IRIX /sbin/install
3460 # AmigaOS /C/install, which installs bootblocks on floppy discs
3461 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3462 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3463 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3464 # OS/2's system install, which has a completely different semantic
3465 # ./install, which can be erroneously created by make from ./install.sh.
3466 # Reject install programs that cannot install multiple files.
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3468 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3469 if test -z "$INSTALL"; then
3470 if ${ac_cv_path_install+:} false
; then :
3471 $as_echo_n "(cached) " >&6
3473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3477 test -z "$as_dir" && as_dir
=.
3478 # Account for people who put trailing slashes in PATH elements.
3479 case $as_dir/ in #((
3480 .
/ | .
// |
/[cC
]/* | \
3481 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3482 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3485 # OSF1 and SCO ODT 3.0 have their own names for install.
3486 # Don't use installbsd from OSF since it installs stuff as root
3488 for ac_prog
in ginstall scoinst
install; do
3489 for ac_exec_ext
in '' $ac_executable_extensions; do
3490 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3491 if test $ac_prog = install &&
3492 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3493 # AIX install. It has an incompatible calling convention.
3495 elif test $ac_prog = install &&
3496 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3497 # program-specific install script used by HP pwplus--don't use.
3500 rm -rf conftest.one conftest.two conftest.dir
3501 echo one
> conftest.one
3502 echo two
> conftest.two
3504 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3505 test -s conftest.one
&& test -s conftest.two
&&
3506 test -s conftest.dir
/conftest.one
&&
3507 test -s conftest.dir
/conftest.two
3509 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3522 rm -rf conftest.one conftest.two conftest.dir
3525 if test "${ac_cv_path_install+set}" = set; then
3526 INSTALL
=$ac_cv_path_install
3528 # As a last resort, use the slow shell script. Don't cache a
3529 # value for INSTALL within a source directory, because that will
3530 # break other packages using the cache if that directory is
3531 # removed, or if the value is a relative name.
3532 INSTALL
=$ac_install_sh
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3536 $as_echo "$INSTALL" >&6; }
3538 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3539 # It thinks the first close brace ends the variable substitution.
3540 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3542 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3544 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3546 rm -rf .tst
2>/dev
/null
3547 mkdir .tst
2>/dev
/null
3548 if test -d .tst
; then
3553 rmdir .tst
2>/dev
/null
3555 DEPDIR
="${am__leading_dot}deps"
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
3562 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
3563 if ${ac_cv_c_bigendian+:} false
; then :
3564 $as_echo_n "(cached) " >&6
3566 ac_cv_c_bigendian
=unknown
3567 # See if we're dealing with a universal compiler.
3568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3569 /* end confdefs.h. */
3570 #ifndef __APPLE_CC__
3571 not a universal capable compiler
3576 if ac_fn_c_try_compile
"$LINENO"; then :
3578 # Check for potential -arch flags. It is not universal unless
3579 # there are at least two -arch flags with different values.
3582 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
3583 if test -n "$ac_prev"; then
3585 i?
86 | x86_64 | ppc | ppc64
)
3586 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
3589 ac_cv_c_bigendian
=universal
3595 elif test "x$ac_word" = "x-arch"; then
3600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3601 if test $ac_cv_c_bigendian = unknown
; then
3602 # See if sys/param.h defines the BYTE_ORDER macro.
3603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3604 /* end confdefs.h. */
3605 #include <sys/types.h>
3606 #include <sys/param.h>
3611 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
3612 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
3621 if ac_fn_c_try_compile
"$LINENO"; then :
3622 # It does; now see whether it defined to BIG_ENDIAN or not.
3623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3624 /* end confdefs.h. */
3625 #include <sys/types.h>
3626 #include <sys/param.h>
3631 #if BYTE_ORDER != BIG_ENDIAN
3639 if ac_fn_c_try_compile
"$LINENO"; then :
3640 ac_cv_c_bigendian
=yes
3642 ac_cv_c_bigendian
=no
3644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3646 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3648 if test $ac_cv_c_bigendian = unknown
; then
3649 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
3650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3651 /* end confdefs.h. */
3657 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
3665 if ac_fn_c_try_compile
"$LINENO"; then :
3666 # It does; now see whether it defined to _BIG_ENDIAN or not.
3667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3668 /* end confdefs.h. */
3682 if ac_fn_c_try_compile
"$LINENO"; then :
3683 ac_cv_c_bigendian
=yes
3685 ac_cv_c_bigendian
=no
3687 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3691 if test $ac_cv_c_bigendian = unknown
; then
3692 # Compile a test program.
3693 if test "$cross_compiling" = yes; then :
3694 # Try to guess by grepping values from an object file.
3695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3696 /* end confdefs.h. */
3697 short int ascii_mm[] =
3698 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3699 short int ascii_ii[] =
3700 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3701 int use_ascii (int i) {
3702 return ascii_mm[i] + ascii_ii[i];
3704 short int ebcdic_ii[] =
3705 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3706 short int ebcdic_mm[] =
3707 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3708 int use_ebcdic (int i) {
3709 return ebcdic_mm[i] + ebcdic_ii[i];
3716 return use_ascii (foo) == use_ebcdic (foo);
3721 if ac_fn_c_try_compile
"$LINENO"; then :
3722 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
3723 ac_cv_c_bigendian
=yes
3725 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
3726 if test "$ac_cv_c_bigendian" = unknown
; then
3727 ac_cv_c_bigendian
=no
3729 # finding both strings is unlikely to happen, but who knows?
3730 ac_cv_c_bigendian
=unknown
3734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3737 /* end confdefs.h. */
3738 $ac_includes_default
3743 /* Are we little or big endian? From Harbison&Steele. */
3747 char c[sizeof (long int)];
3750 return u.c[sizeof (long int) - 1] == 1;
3756 if ac_fn_c_try_run
"$LINENO"; then :
3757 ac_cv_c_bigendian
=no
3759 ac_cv_c_bigendian
=yes
3761 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3762 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
3768 $as_echo "$ac_cv_c_bigendian" >&6; }
3769 case $ac_cv_c_bigendian in #(
3771 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
3777 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
3781 as_fn_error $?
"unknown endianness
3782 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
3788 if test "x$cross_compiling" = "xno"; then
3789 : "${AR_FOR_BUILD:=\$(AR)}"
3790 : "${CC_FOR_BUILD:=\$(CC)}"
3791 : "${RANLIB_FOR_BUILD:=\$(RANLIB)}"
3792 : "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
3793 : "${LDFLAGS_FOR_BUILD:=\$(LDFLAGS)}"
3795 : "${AR_FOR_BUILD:=ar}"
3796 : "${CC_FOR_BUILD:=gcc}"
3797 : "${RANLIB_FOR_BUILD:=ranlib}"
3798 : "${CFLAGS_FOR_BUILD:=-g -O}"
3799 : "${LDLFAGS_FOR_BUILD:=}"
3808 if test -n "$ac_tool_prefix"; then
3809 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3810 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3812 $as_echo_n "checking for $ac_word... " >&6; }
3813 if ${ac_cv_prog_AR+:} false
; then :
3814 $as_echo_n "(cached) " >&6
3816 if test -n "$AR"; then
3817 ac_cv_prog_AR
="$AR" # Let the user override the test.
3819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3823 test -z "$as_dir" && as_dir
=.
3824 for ac_exec_ext
in '' $ac_executable_extensions; do
3825 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3826 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3837 if test -n "$AR"; then
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3839 $as_echo "$AR" >&6; }
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3842 $as_echo "no" >&6; }
3847 if test -z "$ac_cv_prog_AR"; then
3849 # Extract the first word of "ar", so it can be a program name with args.
3850 set dummy
ar; ac_word
=$2
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3852 $as_echo_n "checking for $ac_word... " >&6; }
3853 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
3854 $as_echo_n "(cached) " >&6
3856 if test -n "$ac_ct_AR"; then
3857 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3863 test -z "$as_dir" && as_dir
=.
3864 for ac_exec_ext
in '' $ac_executable_extensions; do
3865 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3866 ac_cv_prog_ac_ct_AR
="ar"
3867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3876 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3877 if test -n "$ac_ct_AR"; then
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3879 $as_echo "$ac_ct_AR" >&6; }
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3882 $as_echo "no" >&6; }
3885 if test "x$ac_ct_AR" = x
; then
3888 case $cross_compiling:$ac_tool_warned in
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3892 ac_tool_warned
=yes ;;
3900 if test -n "$ac_tool_prefix"; then
3901 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3902 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3904 $as_echo_n "checking for $ac_word... " >&6; }
3905 if ${ac_cv_prog_RANLIB+:} false
; then :
3906 $as_echo_n "(cached) " >&6
3908 if test -n "$RANLIB"; then
3909 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3915 test -z "$as_dir" && as_dir
=.
3916 for ac_exec_ext
in '' $ac_executable_extensions; do
3917 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3918 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3928 RANLIB
=$ac_cv_prog_RANLIB
3929 if test -n "$RANLIB"; then
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3931 $as_echo "$RANLIB" >&6; }
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3934 $as_echo "no" >&6; }
3939 if test -z "$ac_cv_prog_RANLIB"; then
3940 ac_ct_RANLIB
=$RANLIB
3941 # Extract the first word of "ranlib", so it can be a program name with args.
3942 set dummy ranlib
; ac_word
=$2
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3944 $as_echo_n "checking for $ac_word... " >&6; }
3945 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
3946 $as_echo_n "(cached) " >&6
3948 if test -n "$ac_ct_RANLIB"; then
3949 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3955 test -z "$as_dir" && as_dir
=.
3956 for ac_exec_ext
in '' $ac_executable_extensions; do
3957 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3958 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3968 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3969 if test -n "$ac_ct_RANLIB"; then
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3971 $as_echo "$ac_ct_RANLIB" >&6; }
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3974 $as_echo "no" >&6; }
3977 if test "x$ac_ct_RANLIB" = x
; then
3980 case $cross_compiling:$ac_tool_warned in
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3984 ac_tool_warned
=yes ;;
3986 RANLIB
=$ac_ct_RANLIB
3989 RANLIB
="$ac_cv_prog_RANLIB"
3993 # Require C11 or newer. Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
3994 # AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
3995 # is C99. So handle it ourselves.
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
3999 $as_echo_n "checking whether C11 is supported by default... " >&6; }
4000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4001 /* end confdefs.h. */
4003 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4004 # error "C11 support not found"
4008 if ac_fn_c_try_compile
"$LINENO"; then :
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4010 $as_echo "yes" >&6; }
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4014 $as_echo "no" >&6; }
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
4016 $as_echo_n "checking for -std=c11 support... " >&6; }
4019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4020 /* end confdefs.h. */
4022 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4023 # error "C11 support not found"
4027 if ac_fn_c_try_compile
"$LINENO"; then :
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4030 $as_echo "yes" >&6; }
4032 C_DIALECT
="-std=c11"
4035 as_fn_error $?
"C11 is required" "$LINENO" 5
4037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4039 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4043 # Dependency checking.
4044 ac_config_commands
="$ac_config_commands depdir"
4047 depcc
="$CC" am_compiler_list
=
4049 am_depcomp
=$ac_aux_dir/depcomp
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4051 $as_echo_n "checking dependency style of $depcc... " >&6; }
4052 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4053 $as_echo_n "(cached) " >&6
4055 if test -f "$am_depcomp"; then
4056 # We make a subdir and do the tests there. Otherwise we can end up
4057 # making bogus files that we don't know about and never remove. For
4058 # instance it was reported that on HP-UX the gcc test will end up
4059 # making a dummy file named `D' -- because `-MD' means `put the output
4062 # Copy depcomp to subdir because otherwise we won't find it if we're
4063 # using a relative directory.
4064 cp "$am_depcomp" conftest.dir
4066 # We will build objects and dependencies in a subdirectory because
4067 # it helps to detect inapplicable dependency modes. For instance
4068 # both Tru64's cc and ICC support -MD to output dependencies as a
4069 # side effect of compilation, but ICC will put the dependencies in
4070 # the current directory while Tru64 will put them in the object
4074 am_cv_CC_dependencies_compiler_type
=none
4075 if test "$am_compiler_list" = ""; then
4076 am_compiler_list
=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4078 for depmode
in $am_compiler_list; do
4079 if test $depmode = none
; then break; fi
4081 $as_echo "$as_me:$LINENO: trying $depmode" >&5
4082 # Setup a source with many dependencies, because some compilers
4083 # like to wrap large dependency lists on column 80 (with \), and
4084 # we should not choose a depcomp mode which is confused by this.
4086 # We need to recreate these files for each test, as the compiler may
4087 # overwrite some of them when testing with obscure command lines.
4088 # This happens at least with the AIX C compiler.
4090 for i
in 1 2 3 4 5 6; do
4091 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4092 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4093 # Solaris 8's {/usr,}/bin/sh.
4094 touch sub
/conftst
$i.h
4096 echo "include sub/conftest.Po" > confmf
4098 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4099 # mode. It turns out that the SunPro C++ compiler does not properly
4100 # handle `-M -o', and we need to detect this.
4101 depcmd
="depmode=$depmode \
4102 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4103 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4104 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
4105 echo "| $depcmd" |
sed -e 's/ */ /g' >&5
4106 if env
$depcmd > conftest.err
2>&1 &&
4107 grep sub
/conftst6.h sub
/conftest.Po
>>conftest.err
2>&1 &&
4108 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
>>conftest.err
2>&1 &&
4109 ${MAKE-make} -s -f confmf
>>conftest.err
2>&1; then
4110 # icc doesn't choke on unknown options, it will just issue warnings
4111 # or remarks (even with -Werror). So we grep stderr for any message
4112 # that says an option was ignored or not supported.
4113 # When given -MP, icc 7.0 and 7.1 complain thusly:
4114 # icc: Command line warning: ignoring option '-M'; no argument required
4115 # The diagnosis changed in icc 8.0:
4116 # icc: Command line remark: option '-MP' not supported
4117 if (grep 'ignoring option' conftest.err ||
4118 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4119 am_cv_CC_dependencies_compiler_type
=$depmode
4120 $as_echo "$as_me:$LINENO: success" >&5
4124 $as_echo "$as_me:$LINENO: failure, diagnostics are:" >&5
4125 sed -e 's/^/| /' < conftest.err
>&5
4131 am_cv_CC_dependencies_compiler_type
=none
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4136 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4137 if test x
${am_cv_CC_dependencies_compiler_type-none} = xnone
4138 then as_fn_error $?
"no usable dependency style found" "$LINENO" 5
4139 else CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4145 # If we haven't got the data from the intl directory,
4146 # assume NLS is disabled.
4155 if test -f ..
/..
/intl
/config.intl
; then
4156 . ..
/..
/intl
/config.intl
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4159 $as_echo_n "checking whether NLS is requested... " >&6; }
4160 if test x
"$USE_NLS" != xyes
; then
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4162 $as_echo "no" >&6; }
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4165 $as_echo "yes" >&6; }
4167 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
4171 $as_echo_n "checking for catalogs to be installed... " >&6; }
4172 # Look for .po and .gmo files in the source directory.
4175 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
4176 # If there aren't any .gmo files the shell will give us the
4177 # literal string "../path/to/srcdir/po/*.gmo" which has to be
4179 case "$cat" in *\
**)
4182 # The quadruple backslash is collapsed to a double backslash
4183 # by the backticks, then collapsed again by the double quotes,
4184 # leaving us with one backslash in the sed expression (right
4185 # before the dot that mustn't act as a wildcard).
4186 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
4187 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
4188 # The user is allowed to set LINGUAS to a list of languages to
4189 # install catalogs for. If it's empty that means "all of them."
4190 if test "x$LINGUAS" = x
; then
4191 CATALOGS
="$CATALOGS $cat"
4192 XLINGUAS
="$XLINGUAS $lang"
4194 case "$LINGUAS" in *$lang*)
4195 CATALOGS
="$CATALOGS $cat"
4196 XLINGUAS
="$XLINGUAS $lang"
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
4203 $as_echo "$LINGUAS" >&6; }
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4218 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4219 # Check whether --enable-maintainer-mode was given.
4220 if test "${enable_maintainer_mode+set}" = set; then :
4221 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4223 USE_MAINTAINER_MODE
=no
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4227 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4228 if test $USE_MAINTAINER_MODE = yes; then
4229 MAINTAINER_MODE_TRUE
=
4230 MAINTAINER_MODE_FALSE
='#'
4232 MAINTAINER_MODE_TRUE
='#'
4233 MAINTAINER_MODE_FALSE
=
4236 MAINT
=$MAINTAINER_MODE_TRUE
4241 sim_inline
="-DDEFAULT_INLINE=0"
4242 # Check whether --enable-sim-inline was given.
4243 if test "${enable_sim_inline+set}" = set; then :
4244 enableval
=$enable_sim_inline; sim_inline
=""
4245 case "$enableval" in
4246 no
) sim_inline
="-DDEFAULT_INLINE=0";;
4247 0) sim_inline
="-DDEFAULT_INLINE=0";;
4248 yes |
2) sim_inline
="-DDEFAULT_INLINE=ALL_C_INLINE";;
4249 1) sim_inline
="-DDEFAULT_INLINE=INLINE_LOCALS";;
4250 *) for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4253 *_INLINE
=*) new_flag
="-D$x";;
4254 *=*) new_flag
=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
4255 *_INLINE
) new_flag
="-D$x=ALL_C_INLINE";;
4256 *) new_flag
="-D$x""_INLINE=ALL_C_INLINE";;
4258 if test x
"$sim_inline" = x
""; then
4259 sim_inline
="$new_flag"
4261 sim_inline
="$sim_inline $new_flag"
4265 if test x
"$silent" != x
"yes" && test x
"$sim_inline" != x
""; then
4266 echo "Setting inline flags = $sim_inline" 6>&1
4273 default_sim_scache
="16384"
4274 # Check whether --enable-sim-scache was given.
4275 if test "${enable_sim_scache+set}" = set; then :
4276 enableval
=$enable_sim_scache; case "${enableval}" in
4277 yes) sim_scache
="-DWITH_SCACHE=${default_sim_scache}";;
4278 no
) sim_scache
="-DWITH_SCACHE=0" ;;
4279 [0-9]*) sim_scache
="-DWITH_SCACHE=${enableval}";;
4280 *) as_fn_error $?
"\"Bad value $enableval passed to --enable-sim-scache\"" "$LINENO" 5;
4283 if test x
"$silent" != x
"yes" && test x
"$sim_scache" != x
""; then
4284 echo "Setting scache size = $sim_scache" 6>&1
4287 sim_scache
="-DWITH_SCACHE=${default_sim_scache}"
4292 default_sim_default_model
="iq2000"
4293 # Check whether --enable-sim-default-model was given.
4294 if test "${enable_sim_default_model+set}" = set; then :
4295 enableval
=$enable_sim_default_model; case "${enableval}" in
4296 yes|no
) as_fn_error $?
"\"Missing argument to --enable-sim-default-model\"" "$LINENO" 5;;
4297 *) sim_default_model
="-DWITH_DEFAULT_MODEL='\"${enableval}\"'";;
4299 if test x
"$silent" != x
"yes" && test x
"$sim_default_model" != x
""; then
4300 echo "Setting default model = $sim_default_model" 6>&1
4303 sim_default_model
="-DWITH_DEFAULT_MODEL='\"${default_sim_default_model}\"'"
4310 cgendir
='$(srcdir)/../../cgen'
4311 # Check whether --enable-cgen-maint was given.
4312 if test "${enable_cgen_maint+set}" = set; then :
4313 enableval
=$enable_cgen_maint; case "${enableval}" in
4314 yes) cgen_maint
=yes ;;
4315 no
) cgen_maint
=no
;;
4317 # Argument is a directory where cgen can be found. In some
4318 # future world cgen could be installable, but right now this
4319 # is not the case. Instead we assume the directory is a path
4320 # to the cgen source tree.
4322 if test -r ${enableval}/iformat.scm
; then
4323 # This looks like a cgen source tree.
4324 cgendir
=${enableval}
4326 as_fn_error $?
"${enableval} doesn't look like a cgen source tree" "$LINENO" 5
4331 if test x
${cgen_maint} != xno
; then
4342 hardware
="cfi core pal glue "
4343 sim_hw_cflags
="-DWITH_HW=1"
4345 sim_hw_objs
="\$(SIM_COMMON_HW_OBJS) `echo $sim_hw | sed -e 's/\([^ ][^ ]*\)/dv-\1.o/g'`"
4347 # Check whether --enable-sim-hardware was given.
4348 if test "${enable_sim_hardware+set}" = set; then :
4349 enableval
=$enable_sim_hardware;
4351 enable_sim_hardware
="yes"
4354 case ${enable_sim_hardware} in
4356 ,*) hardware
="${hardware} `echo ${enableval} | sed -e 's/,/ /'`";;
4357 *,) hardware
="`echo ${enableval} | sed -e 's/,/ /'` ${hardware}";;
4358 *) hardware
="`echo ${enableval} | sed -e 's/,/ /'`"'';;
4361 if test "$enable_sim_hardware" = no
; then
4363 sim_hw_cflags
="-DWITH_HW=0"
4366 sim_hw_cflags
="-DWITH_HW=1"
4369 sim_hw_objs
="\$(SIM_COMMON_HW_OBJS)"
4370 for i
in $hardware ; do
4373 *) sim_hw
="$sim_hw $i" ; sim_hw_objs
="$sim_hw_objs dv-$i.o";;
4376 # mingw does not support sockser
4379 *) # TODO: We don't add dv-sockser to sim_hw as it is not a "real" device
4380 # that you instatiate. Instead, other code will call into it directly.
4381 # At some point, we should convert it over.
4382 sim_hw_objs
="$sim_hw_objs dv-sockser.o"
4383 sim_hw_cflags
="$sim_hw_cflags -DHAVE_DV_SOCKSER"
4386 if test x
"$silent" != x
"yes"; then
4387 echo "Setting hardware to $sim_hw_cflags, $sim_hw, $sim_hw_objs"
4393 if grep CGEN_MAINT
$srcdir/Makefile.
in >/dev
/null
; then
4394 cgen_breaks
="break cgen_rtx_error";
4397 ac_config_files
="$ac_config_files Makefile.sim:Makefile.in"
4399 ac_config_files
="$ac_config_files Make-common.sim:../common/Make-common.in"
4401 ac_config_files
="$ac_config_files .gdbinit:../common/gdbinit.in"
4403 ac_config_commands
="$ac_config_commands Makefile"
4405 ac_config_commands
="$ac_config_commands stamp-h"
4417 cat >confcache
<<\_ACEOF
4418 # This file is a shell script that caches the results of configure
4419 # tests run on this system so they can be shared between configure
4420 # scripts and configure runs, see configure's option --config-cache.
4421 # It is not useful on other systems. If it contains results you don't
4422 # want to keep, you may remove or edit it.
4424 # config.status only pays attention to the cache file if you give it
4425 # the --recheck option to rerun configure.
4427 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4428 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4433 # The following way of writing the cache mishandles newlines in values,
4434 # but we know of no workaround that is simple, portable, and efficient.
4435 # So, we kill variables containing newlines.
4436 # Ultrix sh set writes to stderr and can't be redirected directly,
4437 # and sets the high bit in the cache file unless we assign to the vars.
4439 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4440 eval ac_val
=\$
$ac_var
4444 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4445 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4448 _ | IFS | as_nl
) ;; #(
4449 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4450 *) { eval $ac_var=; unset $ac_var;} ;;
4456 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4457 *${as_nl}ac_space
=\
*)
4458 # `set' does not quote correctly, so add quotes: double-quote
4459 # substitution turns \\\\ into \\, and sed turns \\ into \.
4462 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4465 # `set' quotes correctly as required by POSIX, so do not add quotes.
4466 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4475 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4477 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4479 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4480 if test -w "$cache_file"; then
4481 if test "x$cache_file" != "x/dev/null"; then
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4483 $as_echo "$as_me: updating cache $cache_file" >&6;}
4484 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4485 cat confcache
>"$cache_file"
4487 case $cache_file in #(
4489 mv -f confcache
"$cache_file"$$
&&
4490 mv -f "$cache_file"$$
"$cache_file" ;; #(
4492 mv -f confcache
"$cache_file" ;;
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4498 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4503 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4504 # Let make expand exec_prefix.
4505 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4507 # Transform confdefs.h into DEFS.
4508 # Protect against shell expansion while executing Makefile rules.
4509 # Protect against Makefile macro expansion.
4511 # If the first sed substitution is executed (which looks for macros that
4512 # take arguments), then branch to the quote section. Otherwise,
4513 # look for a macro that doesn't take arguments.
4523 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4525 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4529 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4542 DEFS
=`sed -n "$ac_script" confdefs.h`
4548 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4549 # 1. Remove the extension, and $U if already installed.
4550 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4551 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4552 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4553 # will be set to the directory where LIBOBJS objects are built.
4554 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4555 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4559 LTLIBOBJS
=$ac_ltlibobjs
4563 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4564 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
4565 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4568 : "${CONFIG_STATUS=./config.status}"
4570 ac_clean_files_save
=$ac_clean_files
4571 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4573 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4575 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4577 # Generated by $as_me.
4578 # Run this file to recreate the current configuration.
4579 # Compiler output produced by configure, useful for debugging
4580 # configure, is in config.log if it exists.
4586 SHELL=\${CONFIG_SHELL-$SHELL}
4589 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4590 ## -------------------- ##
4591 ## M4sh Initialization. ##
4592 ## -------------------- ##
4594 # Be more Bourne compatible
4595 DUALCASE
=1; export DUALCASE
# for MKS sh
4596 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4599 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4600 # is contrary to our usage. Disable this feature.
4601 alias -g '${1+"$@"}'='"$@"'
4602 setopt NO_GLOB_SUBST
4604 case `(set -o) 2>/dev/null` in #(
4616 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4617 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4618 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4619 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4620 # Prefer a ksh shell builtin over an external printf program on Solaris,
4621 # but without wasting forks for bash or zsh.
4622 if test -z "$BASH_VERSION$ZSH_VERSION" \
4623 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4624 as_echo='print
-r --'
4625 as_echo_n='print
-rn --'
4626 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4627 as_echo='printf %s
\n'
4628 as_echo_n='printf %s
'
4630 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4631 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4632 as_echo_n='/usr
/ucb
/echo -n'
4634 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4635 as_echo_n_body='eval
4639 expr "X$arg" : "X\\(.*\\)$as_nl";
4640 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4642 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4644 export as_echo_n_body
4645 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4648 as_echo='sh
-c $as_echo_body as_echo
'
4651 # The user is always right.
4652 if test "${PATH_SEPARATOR+set}" != set; then
4654 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4655 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4662 # We need space, tab and new line, in precisely that order. Quoting is
4663 # there to prevent editors from complaining about space-tab.
4664 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4665 # splitting by setting IFS to empty value.)
4668 # Find who we are. Look in the path if we contain no directory separator.
4671 *[\\/]* ) as_myself=$0 ;;
4672 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4676 test -z "$as_dir" && as_dir=.
4677 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4683 # We did not find ourselves, most probably we were run as `sh COMMAND'
4684 # in which case we are not to be found in the path.
4685 if test "x$as_myself" = x
; then
4688 if test ! -f "$as_myself"; then
4689 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4693 # Unset variables that we do not need and which cause bugs (e.g. in
4694 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4695 # suppresses any "Segmentation fault" message there. '((' could
4696 # trigger a bug in pdksh 5.2.14.
4697 for as_var
in BASH_ENV ENV MAIL MAILPATH
4698 do eval test x\
${$as_var+set} = xset \
4699 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4712 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4715 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4716 # ----------------------------------------
4717 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4718 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4719 # script with STATUS, using 1 if that was 0.
4722 as_status
=$1; test $as_status -eq 0 && as_status
=1
4724 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4725 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4727 $as_echo "$as_me: error: $2" >&2
4728 as_fn_exit
$as_status
4732 # as_fn_set_status STATUS
4733 # -----------------------
4734 # Set $? to STATUS, without forking.
4738 } # as_fn_set_status
4742 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4752 # Portably unset VAR.
4755 { eval $1=; unset $1;}
4757 as_unset
=as_fn_unset
4758 # as_fn_append VAR VALUE
4759 # ----------------------
4760 # Append the text in VALUE to the end of the definition contained in VAR. Take
4761 # advantage of any shell optimizations that allow amortized linear growth over
4762 # repeated appends, instead of the typical quadratic growth present in naive
4764 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4765 eval 'as_fn_append ()
4776 # as_fn_arith ARG...
4777 # ------------------
4778 # Perform arithmetic evaluation on the ARGs, and store the result in the
4779 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4780 # must be portable across $(()) and expr.
4781 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4782 eval 'as_fn_arith ()
4789 as_val
=`expr "$@" || test $? -eq 1`
4794 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4795 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4801 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4802 as_basename
=basename
4807 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4813 as_me
=`$as_basename -- "$0" ||
4814 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4815 X"$0" : 'X\(//\)$' \| \
4816 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4818 sed '/^.*\/\([^/][^/]*\)\/*$/{
4832 # Avoid depending upon Character Ranges.
4833 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4834 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4835 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4836 as_cr_digits
='0123456789'
4837 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4839 ECHO_C
= ECHO_N
= ECHO_T
=
4840 case `echo -n x` in #(((((
4842 case `echo 'xy\c'` in
4843 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4845 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4852 rm -f conf$$ conf$$.exe conf$$.
file
4853 if test -d conf$$.dir
; then
4854 rm -f conf$$.dir
/conf$$.
file
4857 mkdir conf$$.dir
2>/dev
/null
4859 if (echo >conf$$.
file) 2>/dev
/null
; then
4860 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4862 # ... but there are two gotchas:
4863 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4864 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4865 # In both cases, we have to default to `cp -pR'.
4866 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4868 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4876 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4877 rmdir conf$$.dir
2>/dev
/null
4882 # Create "$as_dir" as a directory, including parents if necessary.
4887 -*) as_dir
=.
/$as_dir;;
4889 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4893 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4894 *) as_qdir
=$as_dir;;
4896 as_dirs
="'$as_qdir' $as_dirs"
4897 as_dir
=`$as_dirname -- "$as_dir" ||
4898 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4899 X"$as_dir" : 'X\(//\)[^/]' \| \
4900 X"$as_dir" : 'X\(//\)$' \| \
4901 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4902 $as_echo X"$as_dir" |
4903 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4920 test -d "$as_dir" && break
4922 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4923 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4927 if mkdir
-p .
2>/dev
/null
; then
4928 as_mkdir_p
='mkdir -p "$as_dir"'
4930 test -d .
/-p && rmdir .
/-p
4935 # as_fn_executable_p FILE
4936 # -----------------------
4937 # Test if FILE is an executable regular file.
4938 as_fn_executable_p
()
4940 test -f "$1" && test -x "$1"
4941 } # as_fn_executable_p
4943 as_executable_p
=as_fn_executable_p
4945 # Sed expression to map a string onto a valid CPP name.
4946 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4948 # Sed expression to map a string onto a valid variable name.
4949 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4953 ## ----------------------------------- ##
4954 ## Main body of $CONFIG_STATUS script. ##
4955 ## ----------------------------------- ##
4957 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4960 # Save the log message, to keep $0 and so on meaningful, and to
4961 # report actual input values of CONFIG_FILES etc. instead of their
4962 # values after options handling.
4964 This file was extended by $as_me, which was
4965 generated by GNU Autoconf 2.69. Invocation command line was
4967 CONFIG_FILES = $CONFIG_FILES
4968 CONFIG_HEADERS = $CONFIG_HEADERS
4969 CONFIG_LINKS = $CONFIG_LINKS
4970 CONFIG_COMMANDS = $CONFIG_COMMANDS
4973 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4978 case $ac_config_files in *"
4979 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4984 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4985 # Files that config.status was made for.
4986 config_files="$ac_config_files"
4987 config_commands="$ac_config_commands"
4991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4993 \`$as_me' instantiates files and other configuration actions
4994 from templates according to the current configuration. Unless the files
4995 and actions are specified as TAGs, all are instantiated by default.
4997 Usage: $0 [OPTION]... [TAG]...
4999 -h, --help print this help, then exit
5000 -V, --version print version number and configuration settings, then exit
5001 --config print configuration, then exit
5002 -q, --quiet, --silent
5003 do not print progress messages
5004 -d, --debug don't remove temporary files
5005 --recheck update $as_me by reconfiguring in the same conditions
5006 --file=FILE[:TEMPLATE]
5007 instantiate the configuration file FILE
5009 Configuration files:
5012 Configuration commands:
5015 Report bugs to the package provider."
5018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5019 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5022 configured by $0, generated by GNU Autoconf 2.69,
5023 with options \\"\$ac_cs_config\\"
5025 Copyright (C) 2012 Free Software Foundation, Inc.
5026 This config.status script is free software; the Free Software Foundation
5027 gives unlimited permission to copy, distribute and modify it."
5032 test -n "\$AWK" || AWK=awk
5035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5036 # The default lists apply if the user does not specify any file.
5042 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5043 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5047 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5059 # Handling of the options.
5060 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5062 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5063 $as_echo "$ac_cs_version"; exit ;;
5064 --config |
--confi |
--conf |
--con |
--co |
--c )
5065 $as_echo "$ac_cs_config"; exit ;;
5066 --debug |
--debu |
--deb |
--de |
--d |
-d )
5068 --file |
--fil |
--fi |
--f )
5071 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5072 '') as_fn_error $?
"missing file argument" ;;
5074 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5075 ac_need_defaults
=false
;;
5076 --he |
--h |
--help |
--hel |
-h )
5077 $as_echo "$ac_cs_usage"; exit ;;
5078 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5079 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5083 -*) as_fn_error $?
"unrecognized option: \`$1'
5084 Try \`$0 --help' for more information." ;;
5086 *) as_fn_append ac_config_targets
" $1"
5087 ac_need_defaults
=false
;;
5093 ac_configure_extra_args
=
5095 if $ac_cs_silent; then
5097 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5101 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5102 if \$ac_cs_recheck; then
5103 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5105 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5106 CONFIG_SHELL='$SHELL'
5112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5116 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5117 ## Running $as_me. ##
5123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5127 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
5131 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5133 # Handling of arguments.
5134 for ac_config_target
in $ac_config_targets
5136 case $ac_config_target in
5137 "depdir") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir" ;;
5138 "Makefile.sim") CONFIG_FILES
="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
5139 "Make-common.sim") CONFIG_FILES
="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
5140 ".gdbinit") CONFIG_FILES
="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
5141 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
5142 "stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS stamp-h" ;;
5144 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5149 # If the user did not use the arguments to specify the items to instantiate,
5150 # then the envvar interface is used. Set only those that are not.
5151 # We use the long form for the default assignment because of an extremely
5152 # bizarre bug on SunOS 4.1.3.
5153 if $ac_need_defaults; then
5154 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5155 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5158 # Have a temporary directory for convenience. Make it in the build tree
5159 # simply because there is no reason against having it here, and in addition,
5160 # creating and moving files from /tmp can sometimes cause problems.
5161 # Hook for its removal unless debugging.
5162 # Note that there is a small window in which the directory will not be cleaned:
5163 # after its creation but before its name has been assigned to `$tmp'.
5167 trap 'exit_status=$?
5169 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5171 trap 'as_fn_exit 1' 1 2 13 15
5173 # Create a (secure) tmp directory for tmp files.
5176 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5180 tmp
=.
/conf$$
-$RANDOM
5181 (umask 077 && mkdir
"$tmp")
5182 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5185 # Set up the scripts for CONFIG_FILES section.
5186 # No need to generate them if there are no CONFIG_FILES.
5187 # This happens for instance with `./config.status config.h'.
5188 if test -n "$CONFIG_FILES"; then
5191 ac_cr
=`echo X | tr X '\015'`
5192 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5193 # But we know of no other shell where ac_cr would be empty at this
5194 # point, so we can use a bashism as a fallback.
5195 if test "x$ac_cr" = x
; then
5196 eval ac_cr
=\$
\'\\r
\'
5198 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5199 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5205 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5210 echo "cat >conf$$subs.awk <<_ACEOF" &&
5211 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5214 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5215 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5217 for ac_last_try in false false false false false :; do
5218 . ./conf$$subs.sh ||
5219 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5221 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5222 if test $ac_delim_n = $ac_delim_num; then
5224 elif $ac_last_try; then
5225 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5227 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5232 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5233 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
5237 s/^/S["/; s
/!.
*/"]=/
5247 s/\(.\{148\}\)..*/\1/
5249 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5254 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5261 s/\(.\{148\}\)..*/\1/
5263 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5267 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5272 ' <conf$$subs.awk | sed '
5277 ' >>$CONFIG_STATUS || ac_write_fail=1
5278 rm -f conf$$subs.awk
5279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5281 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5282 for (key in S) S_is_set[key] = 1
5288 nfields = split(line, field, "@
")
5290 len = length(field[1])
5291 for (i = 2; i < nfields; i++) {
5293 keylen = length(key)
5294 if (S_is_set[key]) {
5296 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5297 len += length(value) + length(field[++i])
5308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5309 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5310 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5313 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5314 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5317 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5318 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5319 # trailing colons and then remove the whole line if VPATH becomes empty
5320 # (actually we leave an empty line to preserve line numbers).
5321 if test "x
$srcdir" = x.; then
5322 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5341 fi # test -n "$CONFIG_FILES"
5344 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
5349 :[FHLC]) ac_mode=$ac_tag; continue;;
5351 case $ac_mode$ac_tag in
5353 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
5354 :[FH]-) ac_tag=-:-;;
5355 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5372 -) ac_f="$ac_tmp/stdin";;
5373 *) # Look for the file first in the build tree, then in the source tree
5374 # (if the path is not absolute). The absolute path cannot be DOS-style,
5375 # because $ac_f cannot contain `:'.
5379 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5381 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5383 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
5384 as_fn_append ac_file_inputs " '$ac_f'"
5387 # Let's still pretend it is `configure' which instantiates (i.e., don't
5388 # use $as_me), people would be surprised to read:
5389 # /* config.h. Generated by config.status. */
5390 configure_input='Generated from '`
5391 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5393 if test x"$ac_file" != x-; then
5394 configure_input="$ac_file.
$configure_input"
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
5396 $as_echo "$as_me: creating
$ac_file" >&6;}
5398 # Neutralize special characters interpreted by sed in replacement strings.
5399 case $configure_input in #(
5400 *\&* | *\|* | *\\* )
5401 ac_sed_conf_input=`$as_echo "$configure_input" |
5402 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5403 *) ac_sed_conf_input=$configure_input;;
5407 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
5408 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
5413 ac_dir=`$as_dirname -- "$ac_file" ||
5414 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5415 X"$ac_file" : 'X\(//\)[^/]' \| \
5416 X"$ac_file" : 'X\(//\)$' \| \
5417 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5418 $as_echo X"$ac_file" |
5419 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5436 as_dir="$ac_dir"; as_fn_mkdir_p
5440 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5442 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5443 # A "..
" for each directory in $ac_dir_suffix.
5444 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5445 case $ac_top_builddir_sub in
5446 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5447 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5450 ac_abs_top_builddir=$ac_pwd
5451 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5452 # for backward compatibility:
5453 ac_top_builddir=$ac_top_build_prefix
5456 .) # We are building in place.
5458 ac_top_srcdir=$ac_top_builddir_sub
5459 ac_abs_top_srcdir=$ac_pwd ;;
5460 [\\/]* | ?:[\\/]* ) # Absolute name.
5461 ac_srcdir=$srcdir$ac_dir_suffix;
5462 ac_top_srcdir=$srcdir
5463 ac_abs_top_srcdir=$srcdir ;;
5465 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5466 ac_top_srcdir=$ac_top_build_prefix$srcdir
5467 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5469 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5479 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5480 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5485 # If the template does not know about datarootdir, expand it.
5486 # FIXME: This hack should be removed a few years after 2.60.
5487 ac_datarootdir_hack=; ac_datarootdir_seen=
5498 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
5499 *datarootdir*) ac_datarootdir_seen=yes;;
5500 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
5502 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
5504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5505 ac_datarootdir_hack='
5506 s&@datadir@&$datadir&g
5507 s&@docdir@&$docdir&g
5508 s&@infodir@&$infodir&g
5509 s&@localedir@&$localedir&g
5510 s&@mandir@&$mandir&g
5511 s&\\\${datarootdir}&$datarootdir&g' ;;
5515 # Neutralize VPATH when `$srcdir' = `.'.
5516 # Shell code in configure.ac might set extrasub.
5517 # FIXME: do we really want to maintain this feature?
5518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5519 ac_sed_extra="$ac_vpsub
5522 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5524 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5525 s|@configure_input@|
$ac_sed_conf_input|
;t t
5526 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5527 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5528 s
&@srcdir@
&$ac_srcdir&;t t
5529 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5530 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5531 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5532 s
&@builddir@
&$ac_builddir&;t t
5533 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5534 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5535 s
&@INSTALL@
&$ac_INSTALL&;t t
5536 $ac_datarootdir_hack
5538 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5539 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5541 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5542 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5543 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5544 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5546 which seems to be undefined. Please make sure it is defined" >&5
5547 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5548 which seems to be undefined. Please make sure it is defined" >&2;}
5550 rm -f "$ac_tmp/stdin"
5552 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5553 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5555 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5559 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5560 $as_echo "$as_me: executing $ac_file commands" >&6;}
5565 case $ac_file$ac_mode in
5566 "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;;
5567 "Makefile":C) echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
5568 rm -f Makesim1.tmp Makesim2.tmp Makefile
5569 sed -n -e '/^
## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim >Makesim1.tmp
5570 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>Makesim2.tmp
5571 sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \
5572 -e '/^## COMMON_POST_/ r Makesim2.tmp' \
5573 <Makefile.sim
>Makefile
5574 rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp
5576 "stamp-h":C
) echo > stamp-h
;;
5584 ac_clean_files
=$ac_clean_files_save
5586 test $ac_write_fail = 0 ||
5587 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
5590 # configure is writing to config.log, and then calls config.status.
5591 # config.status does its own redirection, appending to config.log.
5592 # Unfortunately, on DOS this fails, as config.log is still kept open
5593 # by configure, so config.status won't be able to write to it; its
5594 # output is simply discarded. So we exec the FD to /dev/null,
5595 # effectively closing config.log, so it can be properly (re)opened and
5596 # appended to by config.status. When coming back to configure, we
5597 # need to make the FD available again.
5598 if test "$no_create" != yes; then
5600 ac_config_status_args
=
5601 test "$silent" = yes &&
5602 ac_config_status_args
="$ac_config_status_args --quiet"
5604 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5606 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5607 # would make configure fail if this is the last instruction.
5608 $ac_cs_success || as_fn_exit
1
5610 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5612 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}