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
633 MAINTAINER_MODE_FALSE
710 program_transform_name
729 enable_option_checking
730 enable_maintainer_mode
733 enable_sim_default_model
738 ac_precious_vars
='build_alias
749 # Initialize some variables set by options.
751 ac_init_version
=false
752 ac_unrecognized_opts
=
754 # The variables have the same names as the options, with
755 # dashes changed to underlines.
763 program_transform_name
=s
,x
,x
,
771 # Installation directory options.
772 # These are left unexpanded so users can "make install exec_prefix=/foo"
773 # and all the variables that are supposed to be based on exec_prefix
774 # by default will actually change.
775 # Use braces instead of parens because sh, perl, etc. also accept them.
776 # (The list follows the same order as the GNU Coding Standards.)
777 bindir
='${exec_prefix}/bin'
778 sbindir
='${exec_prefix}/sbin'
779 libexecdir
='${exec_prefix}/libexec'
780 datarootdir
='${prefix}/share'
781 datadir
='${datarootdir}'
782 sysconfdir
='${prefix}/etc'
783 sharedstatedir
='${prefix}/com'
784 localstatedir
='${prefix}/var'
785 includedir
='${prefix}/include'
786 oldincludedir
='/usr/include'
787 docdir
='${datarootdir}/doc/${PACKAGE}'
788 infodir
='${datarootdir}/info'
793 libdir
='${exec_prefix}/lib'
794 localedir
='${datarootdir}/locale'
795 mandir
='${datarootdir}/man'
801 # If the previous option needs an argument, assign it.
802 if test -n "$ac_prev"; then
803 eval $ac_prev=\
$ac_option
809 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
814 # Accept the important Cygnus configure options, so we can diagnose typos.
816 case $ac_dashdash$ac_option in
820 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
822 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
825 -build |
--build |
--buil |
--bui |
--bu)
826 ac_prev
=build_alias
;;
827 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
828 build_alias
=$ac_optarg ;;
830 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
831 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
832 ac_prev
=cache_file
;;
833 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
834 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
835 cache_file
=$ac_optarg ;;
838 cache_file
=config.cache
;;
840 -datadir |
--datadir |
--datadi |
--datad)
842 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
843 datadir
=$ac_optarg ;;
845 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
846 |
--dataroo |
--dataro |
--datar)
847 ac_prev
=datarootdir
;;
848 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
849 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
850 datarootdir
=$ac_optarg ;;
852 -disable-* |
--disable-*)
853 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
854 # Reject names that are not valid shell variable names.
855 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
856 as_fn_error $?
"invalid feature name: $ac_useropt"
857 ac_useropt_orig
=$ac_useropt
858 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
859 case $ac_user_opts in
863 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
864 ac_unrecognized_sep
=', ';;
866 eval enable_
$ac_useropt=no
;;
868 -docdir |
--docdir |
--docdi |
--doc |
--do)
870 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
873 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
875 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
878 -enable-* |
--enable-*)
879 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
880 # Reject names that are not valid shell variable names.
881 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
882 as_fn_error $?
"invalid feature name: $ac_useropt"
883 ac_useropt_orig
=$ac_useropt
884 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
885 case $ac_user_opts in
889 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
890 ac_unrecognized_sep
=', ';;
892 eval enable_
$ac_useropt=\
$ac_optarg ;;
894 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
895 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
896 |
--exec |
--exe |
--ex)
897 ac_prev
=exec_prefix
;;
898 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
899 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
900 |
--exec=* |
--exe=* |
--ex=*)
901 exec_prefix
=$ac_optarg ;;
903 -gas |
--gas |
--ga |
--g)
904 # Obsolete; use --with-gas.
907 -help |
--help |
--hel |
--he |
-h)
909 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
910 ac_init_help
=recursive
;;
911 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
912 ac_init_help
=short
;;
914 -host |
--host |
--hos |
--ho)
915 ac_prev
=host_alias
;;
916 -host=* |
--host=* |
--hos=* |
--ho=*)
917 host_alias
=$ac_optarg ;;
919 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
921 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
923 htmldir
=$ac_optarg ;;
925 -includedir |
--includedir |
--includedi |
--included |
--include \
926 |
--includ |
--inclu |
--incl |
--inc)
927 ac_prev
=includedir
;;
928 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
929 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
930 includedir
=$ac_optarg ;;
932 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
934 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
935 infodir
=$ac_optarg ;;
937 -libdir |
--libdir |
--libdi |
--libd)
939 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
942 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
943 |
--libexe |
--libex |
--libe)
944 ac_prev
=libexecdir
;;
945 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
946 |
--libexe=* |
--libex=* |
--libe=*)
947 libexecdir
=$ac_optarg ;;
949 -localedir |
--localedir |
--localedi |
--localed |
--locale)
951 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
952 localedir
=$ac_optarg ;;
954 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
955 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
956 ac_prev
=localstatedir
;;
957 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
958 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
959 localstatedir
=$ac_optarg ;;
961 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
963 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
967 # Obsolete; use --without-fp.
970 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
971 |
--no-cr |
--no-c |
-n)
974 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
975 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
978 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
979 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
980 |
--oldin |
--oldi |
--old |
--ol |
--o)
981 ac_prev
=oldincludedir
;;
982 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
983 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
984 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
985 oldincludedir
=$ac_optarg ;;
987 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
989 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
992 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
993 |
--program-pre |
--program-pr |
--program-p)
994 ac_prev
=program_prefix
;;
995 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
996 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
997 program_prefix
=$ac_optarg ;;
999 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1000 |
--program-suf |
--program-su |
--program-s)
1001 ac_prev
=program_suffix
;;
1002 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1003 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1004 program_suffix
=$ac_optarg ;;
1006 -program-transform-name |
--program-transform-name \
1007 |
--program-transform-nam |
--program-transform-na \
1008 |
--program-transform-n |
--program-transform- \
1009 |
--program-transform |
--program-transfor \
1010 |
--program-transfo |
--program-transf \
1011 |
--program-trans |
--program-tran \
1012 |
--progr-tra |
--program-tr |
--program-t)
1013 ac_prev
=program_transform_name
;;
1014 -program-transform-name=* |
--program-transform-name=* \
1015 |
--program-transform-nam=* |
--program-transform-na=* \
1016 |
--program-transform-n=* |
--program-transform-=* \
1017 |
--program-transform=* |
--program-transfor=* \
1018 |
--program-transfo=* |
--program-transf=* \
1019 |
--program-trans=* |
--program-tran=* \
1020 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1021 program_transform_name
=$ac_optarg ;;
1023 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1025 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1026 pdfdir
=$ac_optarg ;;
1028 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1030 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1033 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1034 |
-silent |
--silent |
--silen |
--sile |
--sil)
1037 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1039 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1041 sbindir
=$ac_optarg ;;
1043 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1044 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1045 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1047 ac_prev
=sharedstatedir
;;
1048 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1049 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1050 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1052 sharedstatedir
=$ac_optarg ;;
1054 -site |
--site |
--sit)
1056 -site=* |
--site=* |
--sit=*)
1059 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1061 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1062 srcdir
=$ac_optarg ;;
1064 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1065 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1066 ac_prev
=sysconfdir
;;
1067 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1068 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1069 sysconfdir
=$ac_optarg ;;
1071 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1072 ac_prev
=target_alias
;;
1073 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1074 target_alias
=$ac_optarg ;;
1076 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1079 -version |
--version |
--versio |
--versi |
--vers |
-V)
1080 ac_init_version
=: ;;
1083 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1084 # Reject names that are not valid shell variable names.
1085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1086 as_fn_error $?
"invalid package name: $ac_useropt"
1087 ac_useropt_orig
=$ac_useropt
1088 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1089 case $ac_user_opts in
1093 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1094 ac_unrecognized_sep
=', ';;
1096 eval with_
$ac_useropt=\
$ac_optarg ;;
1098 -without-* |
--without-*)
1099 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1100 # Reject names that are not valid shell variable names.
1101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1102 as_fn_error $?
"invalid package name: $ac_useropt"
1103 ac_useropt_orig
=$ac_useropt
1104 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1105 case $ac_user_opts in
1109 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1110 ac_unrecognized_sep
=', ';;
1112 eval with_
$ac_useropt=no
;;
1115 # Obsolete; use --with-x.
1118 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1119 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1120 ac_prev
=x_includes
;;
1121 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1122 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1123 x_includes
=$ac_optarg ;;
1125 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1126 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1127 ac_prev
=x_libraries
;;
1128 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1129 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1130 x_libraries
=$ac_optarg ;;
1132 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1133 Try \`$0 --help' for more information"
1137 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1138 # Reject names that are not valid shell variable names.
1139 case $ac_envvar in #(
1140 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1141 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1143 eval $ac_envvar=\
$ac_optarg
1144 export $ac_envvar ;;
1147 # FIXME: should be removed in autoconf 3.0.
1148 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1149 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1150 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1151 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1157 if test -n "$ac_prev"; then
1158 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1159 as_fn_error $?
"missing argument to $ac_option"
1162 if test -n "$ac_unrecognized_opts"; then
1163 case $enable_option_checking in
1165 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1166 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1170 # Check all directory arguments for consistency.
1171 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1172 datadir sysconfdir sharedstatedir localstatedir includedir \
1173 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1174 libdir localedir mandir
1176 eval ac_val
=\$
$ac_var
1177 # Remove trailing slashes.
1180 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1181 eval $ac_var=\
$ac_val;;
1183 # Be sure to have absolute directory names.
1185 [\\/$
]* | ?
:[\\/]* ) continue;;
1186 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1188 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1191 # There might be people who depend on the old broken behavior: `$host'
1192 # used to hold the argument of --host etc.
1193 # FIXME: To remove some day.
1196 target
=$target_alias
1198 # FIXME: To remove some day.
1199 if test "x$host_alias" != x
; then
1200 if test "x$build_alias" = x
; then
1201 cross_compiling
=maybe
1202 elif test "x$build_alias" != "x$host_alias"; then
1208 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1210 test "$silent" = yes && exec 6>/dev
/null
1213 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1214 ac_ls_di
=`ls -di .` &&
1215 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1216 as_fn_error $?
"working directory cannot be determined"
1217 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1218 as_fn_error $?
"pwd does not report name of working directory"
1221 # Find the source files, if location was not specified.
1222 if test -z "$srcdir"; then
1223 ac_srcdir_defaulted
=yes
1224 # Try the directory containing this script, then the parent directory.
1225 ac_confdir
=`$as_dirname -- "$as_myself" ||
1226 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1227 X"$as_myself" : 'X\(//\)[^/]' \| \
1228 X"$as_myself" : 'X\(//\)$' \| \
1229 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1230 $as_echo X"$as_myself" |
1231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1249 if test ! -r "$srcdir/$ac_unique_file"; then
1253 ac_srcdir_defaulted
=no
1255 if test ! -r "$srcdir/$ac_unique_file"; then
1256 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1257 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1259 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1261 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1263 # When building in place, set srcdir=.
1264 if test "$ac_abs_confdir" = "$ac_pwd"; then
1267 # Remove unnecessary trailing slashes from srcdir.
1268 # Double slashes in file names in object file debugging info
1269 # mess up M-x gdb in Emacs.
1271 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1273 for ac_var
in $ac_precious_vars; do
1274 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1275 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1276 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1277 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1281 # Report the --help message.
1283 if test "$ac_init_help" = "long"; then
1284 # Omit some internal or obsolete options to make the list less imposing.
1285 # This message is too long to be a string in the A/UX 3.1 sh.
1287 \`configure' configures this package to adapt to many kinds of systems.
1289 Usage: $0 [OPTION]... [VAR=VALUE]...
1291 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1292 VAR=VALUE. See below for descriptions of some of the useful variables.
1294 Defaults for the options are specified in brackets.
1297 -h, --help display this help and exit
1298 --help=short display options specific to this package
1299 --help=recursive display the short help of all the included packages
1300 -V, --version display version information and exit
1301 -q, --quiet, --silent do not print \`checking ...' messages
1302 --cache-file=FILE cache test results in FILE [disabled]
1303 -C, --config-cache alias for \`--cache-file=config.cache'
1304 -n, --no-create do not create output files
1305 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1307 Installation directories:
1308 --prefix=PREFIX install architecture-independent files in PREFIX
1309 [$ac_default_prefix]
1310 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1313 By default, \`make install' will install all the files in
1314 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1315 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1316 for instance \`--prefix=\$HOME'.
1318 For better control, use the options below.
1320 Fine tuning of the installation directories:
1321 --bindir=DIR user executables [EPREFIX/bin]
1322 --sbindir=DIR system admin executables [EPREFIX/sbin]
1323 --libexecdir=DIR program executables [EPREFIX/libexec]
1324 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1325 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1326 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1327 --libdir=DIR object code libraries [EPREFIX/lib]
1328 --includedir=DIR C header files [PREFIX/include]
1329 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1330 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1331 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1332 --infodir=DIR info documentation [DATAROOTDIR/info]
1333 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1334 --mandir=DIR man documentation [DATAROOTDIR/man]
1335 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1336 --htmldir=DIR html documentation [DOCDIR]
1337 --dvidir=DIR dvi documentation [DOCDIR]
1338 --pdfdir=DIR pdf documentation [DOCDIR]
1339 --psdir=DIR ps documentation [DOCDIR]
1345 --program-prefix=PREFIX prepend PREFIX to installed program names
1346 --program-suffix=SUFFIX append SUFFIX to installed program names
1347 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1350 --build=BUILD configure
for building on BUILD
[guessed
]
1351 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1352 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1356 if test -n "$ac_init_help"; then
1361 --disable-option-checking ignore unrecognized
--enable/--with options
1362 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1363 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1364 --enable-maintainer-mode
1365 enable make rules and dependencies not useful
(and
1366 sometimes confusing
) to the casual installer
1367 --enable-sim-inline=inlines
1368 Specify
which functions should be inlined
1369 --enable-sim-scache=size
1370 Specify simulator execution cache size
1371 --enable-sim-default-model=model
1372 Specify default model to simulate
1373 --enable-cgen-maint=DIR build cgen generated files
1374 --enable-sim-trapdump Make unknown traps dump the registers
1375 --enable-sim-hardware=LIST
1376 Specify the hardware to be included
in the build.
1378 Some influential environment variables
:
1379 CC C compiler
command
1380 CFLAGS C compiler flags
1381 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1382 nonstandard directory
<lib dir
>
1383 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1384 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1385 you have headers
in a nonstandard directory
<include dir
>
1388 Use these variables to override the choices made by
`configure' or to help
1389 it to find libraries and programs with nonstandard names/locations.
1391 Report bugs to the package provider.
1396 if test "$ac_init_help" = "recursive"; then
1397 # If there are subdirs, report their specific --help.
1398 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1399 test -d "$ac_dir" ||
1400 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1405 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1407 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1408 # A ".." for each directory in $ac_dir_suffix.
1409 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1410 case $ac_top_builddir_sub in
1411 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1412 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1415 ac_abs_top_builddir=$ac_pwd
1416 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1417 # for backward compatibility:
1418 ac_top_builddir=$ac_top_build_prefix
1421 .) # We are building in place.
1423 ac_top_srcdir=$ac_top_builddir_sub
1424 ac_abs_top_srcdir=$ac_pwd ;;
1425 [\\/]* | ?:[\\/]* ) # Absolute name.
1426 ac_srcdir=$srcdir$ac_dir_suffix;
1427 ac_top_srcdir=$srcdir
1428 ac_abs_top_srcdir=$srcdir ;;
1430 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1431 ac_top_srcdir=$ac_top_build_prefix$srcdir
1432 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1434 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1436 cd "$ac_dir" || { ac_status=$?; continue; }
1437 # Check for guested configure.
1438 if test -f "$ac_srcdir/configure.gnu"; then
1440 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1441 elif test -f "$ac_srcdir/configure"; then
1443 $SHELL "$ac_srcdir/configure" --help=recursive
1445 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1447 cd "$ac_pwd" || { ac_status=$?; break; }
1451 test -n "$ac_init_help" && exit $ac_status
1452 if $ac_init_version; then
1455 generated by GNU Autoconf 2.69
1457 Copyright (C) 2012 Free Software Foundation, Inc.
1458 This configure script is free software; the Free Software Foundation
1459 gives unlimited permission to copy, distribute and modify it.
1464 ## ------------------------ ##
1465 ## Autoconf initialization. ##
1466 ## ------------------------ ##
1468 # ac_fn_c_try_compile LINENO
1469 # --------------------------
1470 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1471 ac_fn_c_try_compile ()
1473 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1474 rm -f conftest.$ac_objext
1475 if { { ac_try="$ac_compile"
1477 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1478 *) ac_try_echo
=$ac_try;;
1480 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1481 $as_echo "$ac_try_echo"; } >&5
1482 (eval "$ac_compile") 2>conftest.err
1484 if test -s conftest.err
; then
1485 grep -v '^ *+' conftest.err
>conftest.er1
1486 cat conftest.er1
>&5
1487 mv -f conftest.er1 conftest.err
1489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1490 test $ac_status = 0; } && {
1491 test -z "$ac_c_werror_flag" ||
1492 test ! -s conftest.err
1493 } && test -s conftest.
$ac_objext; then :
1496 $as_echo "$as_me: failed program was:" >&5
1497 sed 's/^/| /' conftest.
$ac_ext >&5
1501 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1502 as_fn_set_status
$ac_retval
1504 } # ac_fn_c_try_compile
1506 # ac_fn_c_try_cpp LINENO
1507 # ----------------------
1508 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1511 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1512 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1514 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1515 *) ac_try_echo=$ac_try;;
1517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1518 $as_echo "$ac_try_echo"; } >&5
1519 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1521 if test -s conftest.err; then
1522 grep -v '^ *+' conftest.err >conftest.er1
1523 cat conftest.er1 >&5
1524 mv -f conftest.er1 conftest.err
1526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1527 test $ac_status = 0; } > conftest.i && {
1528 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1529 test ! -s conftest.err
1533 $as_echo "$as_me: failed program was:" >&5
1534 sed 's/^/| /' conftest.$ac_ext >&5
1538 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1539 as_fn_set_status $ac_retval
1543 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1544 # -------------------------------------------------------
1545 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1546 # the include files in INCLUDES and setting the cache variable VAR
1548 ac_fn_c_check_header_mongrel ()
1550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1551 if eval \${$3+:} false; then :
1552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1553 $as_echo_n "checking for $2... " >&6; }
1554 if eval \${$3+:} false; then :
1555 $as_echo_n "(cached) " >&6
1558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1559 $as_echo "$ac_res" >&6; }
1561 # Is the header compilable?
1562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1563 $as_echo_n "checking $2 usability... " >&6; }
1564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1565 /* end confdefs.h. */
1569 if ac_fn_c_try_compile "$LINENO"; then :
1570 ac_header_compiler=yes
1572 ac_header_compiler=no
1574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1576 $as_echo "$ac_header_compiler" >&6; }
1578 # Is the header present?
1579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1580 $as_echo_n "checking $2 presence... " >&6; }
1581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1582 /* end confdefs.h. */
1585 if ac_fn_c_try_cpp "$LINENO"; then :
1586 ac_header_preproc=yes
1588 ac_header_preproc=no
1590 rm -f conftest.err conftest.i conftest.$ac_ext
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1592 $as_echo "$ac_header_preproc" >&6; }
1594 # So? What about this header?
1595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1598 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1600 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1604 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1606 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1608 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1610 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1612 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1616 $as_echo_n "checking for $2... " >&6; }
1617 if eval \${$3+:} false; then :
1618 $as_echo_n "(cached) " >&6
1620 eval "$3=\$ac_header_compiler"
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1624 $as_echo "$ac_res" >&6; }
1626 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1628 } # ac_fn_c_check_header_mongrel
1630 # ac_fn_c_try_run LINENO
1631 # ----------------------
1632 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1633 # that executables *can* be run.
1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1637 if { { ac_try="$ac_link"
1639 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1640 *) ac_try_echo
=$ac_try;;
1642 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1643 $as_echo "$ac_try_echo"; } >&5
1644 (eval "$ac_link") 2>&5
1646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1647 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1648 { { case "(($ac_try" in
1649 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1650 *) ac_try_echo=$ac_try;;
1652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1653 $as_echo "$ac_try_echo"; } >&5
1654 (eval "$ac_try") 2>&5
1656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1657 test $ac_status = 0; }; }; then :
1660 $as_echo "$as_me: program exited with status $ac_status" >&5
1661 $as_echo "$as_me: failed program was:" >&5
1662 sed 's/^/| /' conftest.$ac_ext >&5
1664 ac_retval=$ac_status
1666 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1667 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1668 as_fn_set_status $ac_retval
1672 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1673 # -------------------------------------------------------
1674 # Tests whether HEADER exists and can be compiled using the include files in
1675 # INCLUDES, setting the cache variable VAR accordingly.
1676 ac_fn_c_check_header_compile ()
1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1680 $as_echo_n "checking for $2... " >&6; }
1681 if eval \${$3+:} false; then :
1682 $as_echo_n "(cached) " >&6
1684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1685 /* end confdefs.h. */
1689 if ac_fn_c_try_compile "$LINENO"; then :
1694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1698 $as_echo "$ac_res" >&6; }
1699 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1701 } # ac_fn_c_check_header_compile
1702 cat >config.log <<_ACEOF
1703 This file contains any messages produced by compilers while
1704 running configure, to aid debugging if configure makes a mistake.
1706 It was created by $as_me, which was
1707 generated by GNU Autoconf 2.69. Invocation command line was
1719 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1720 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1721 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1722 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1723 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1725 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1726 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1728 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1729 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1730 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1731 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1732 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1733 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1734 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1742 test -z "$as_dir" && as_dir=.
1743 $as_echo "PATH: $as_dir"
1759 # Keep a trace of the command line.
1760 # Strip out --no-create and --no-recursion so they do not pile up.
1761 # Strip out --silent because we don't want to record it for future runs.
1762 # Also quote any args containing shell meta-characters.
1763 # Make two passes to allow for proper duplicate-argument suppression.
1767 ac_must_keep_next=false
1773 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1774 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1775 | -silent | --silent | --silen | --sile | --sil)
1778 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1781 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1783 as_fn_append ac_configure_args1 " '$ac_arg'"
1784 if test $ac_must_keep_next = true; then
1785 ac_must_keep_next=false # Got value, back to normal.
1788 *=* | --config-cache | -C | -disable-* | --disable-* \
1789 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1790 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1791 | -with-* | --with-* | -without-* | --without-* | --x)
1792 case "$ac_configure_args0 " in
1793 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1796 -* ) ac_must_keep_next=true ;;
1799 as_fn_append ac_configure_args " '$ac_arg'"
1804 { ac_configure_args0=; unset ac_configure_args0;}
1805 { ac_configure_args1=; unset ac_configure_args1;}
1807 # When interrupted or exit'd, cleanup temporary files, and complete
1808 # config.log. We remove comments because anyway the quotes in there
1809 # would cause problems or look ugly.
1810 # WARNING: Use '\'' to represent an apostrophe within the trap.
1811 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1812 trap 'exit_status=$?
1813 # Save into config.log some information that might help in debugging.
1817 $as_echo "## ---------------- ##
1818 ## Cache variables. ##
1819 ## ---------------- ##"
1821 # The following way of writing the cache mishandles newlines in values,
1823 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1824 eval ac_val=\$$ac_var
1828 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1829 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1832 _ | IFS | as_nl) ;; #(
1833 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1834 *) { eval $ac_var=; unset $ac_var;} ;;
1839 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1840 *${as_nl}ac_space=\ *)
1842 "s/'\''/'\''\\\\'\'''\''/g;
1843 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1846 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1853 $as_echo "## ----------------- ##
1854 ## Output variables. ##
1855 ## ----------------- ##"
1857 for ac_var in $ac_subst_vars
1859 eval ac_val=\$$ac_var
1861 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1863 $as_echo "$ac_var='\''$ac_val'\''"
1867 if test -n "$ac_subst_files"; then
1868 $as_echo "## ------------------- ##
1869 ## File substitutions. ##
1870 ## ------------------- ##"
1872 for ac_var in $ac_subst_files
1874 eval ac_val=\$$ac_var
1876 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1878 $as_echo "$ac_var='\''$ac_val'\''"
1883 if test -s confdefs.h; then
1884 $as_echo "## ----------- ##
1891 test "$ac_signal" != 0 &&
1892 $as_echo "$as_me: caught signal $ac_signal"
1893 $as_echo "$as_me: exit $exit_status"
1895 rm -f core *.core core.conftest.* &&
1896 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1899 for ac_signal in 1 2 13 15; do
1900 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1904 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1905 rm -f -r conftest* confdefs.h
1907 $as_echo "/* confdefs.h */" > confdefs.h
1909 # Predefined preprocessor variables.
1911 cat >>confdefs.h <<_ACEOF
1912 #define PACKAGE_NAME "$PACKAGE_NAME"
1915 cat >>confdefs.h <<_ACEOF
1916 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1919 cat >>confdefs.h <<_ACEOF
1920 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1923 cat >>confdefs.h <<_ACEOF
1924 #define PACKAGE_STRING "$PACKAGE_STRING"
1927 cat >>confdefs.h <<_ACEOF
1928 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1931 cat >>confdefs.h <<_ACEOF
1932 #define PACKAGE_URL "$PACKAGE_URL"
1936 # Let the site file select an alternate cache file if it wants to.
1937 # Prefer an explicitly selected file to automatically selected ones.
1940 if test -n "$CONFIG_SITE"; then
1941 # We do not want a PATH search for config.site.
1942 case $CONFIG_SITE in #((
1943 -*) ac_site_file1=./$CONFIG_SITE;;
1944 */*) ac_site_file1=$CONFIG_SITE;;
1945 *) ac_site_file1=./$CONFIG_SITE;;
1947 elif test "x$prefix" != xNONE; then
1948 ac_site_file1=$prefix/share/config.site
1949 ac_site_file2=$prefix/etc/config.site
1951 ac_site_file1=$ac_default_prefix/share/config.site
1952 ac_site_file2=$ac_default_prefix/etc/config.site
1954 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1956 test "x$ac_site_file" = xNONE && continue
1957 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1959 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1960 sed 's/^/| /' "$ac_site_file" >&5
1962 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1964 as_fn_error $? "failed to load site
script $ac_site_file
1965 See \
`config.log' for more details" "$LINENO" 5; }
1969 if test -r "$cache_file"; then
1970 # Some versions of bash will fail to source /dev/null (special files
1971 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1972 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1974 $as_echo "$as_me: loading cache $cache_file" >&6;}
1976 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1977 *) . "./$cache_file";;
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1982 $as_echo "$as_me: creating cache $cache_file" >&6;}
1986 # Check that the precious variables saved in the cache have kept the same
1988 ac_cache_corrupted=false
1989 for ac_var in $ac_precious_vars; do
1990 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1991 eval ac_new_set=\$ac_env_${ac_var}_set
1992 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1993 eval ac_new_val=\$ac_env_${ac_var}_value
1994 case $ac_old_set,$ac_new_set in
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1997 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1998 ac_cache_corrupted=: ;;
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2001 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2002 ac_cache_corrupted=: ;;
2005 if test "x$ac_old_val" != "x$ac_new_val"; then
2006 # differences in whitespace do not lead to failure.
2007 ac_old_val_w=`echo x
$ac_old_val`
2008 ac_new_val_w=`echo x
$ac_new_val`
2009 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2011 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2012 ac_cache_corrupted=:
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2015 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2016 eval $ac_var=\$ac_old_val
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2019 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2021 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2024 # Pass precious variables to config.status.
2025 if test "$ac_new_set" = set; then
2027 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2028 *) ac_arg=$ac_var=$ac_new_val ;;
2030 case " $ac_configure_args " in
2031 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2032 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2036 if $ac_cache_corrupted; then
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2040 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2041 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2043 ## -------------------- ##
2044 ## Main body of script. ##
2045 ## -------------------- ##
2048 ac_cpp='$CPP $CPPFLAGS'
2049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2060 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2061 if test -f "$ac_dir/install-sh"; then
2063 ac_install_sh="$ac_aux_dir/install-sh -c"
2065 elif test -f "$ac_dir/install.sh"; then
2067 ac_install_sh="$ac_aux_dir/install.sh -c"
2069 elif test -f "$ac_dir/shtool"; then
2071 ac_install_sh="$ac_aux_dir/shtool install -c"
2075 if test -z "$ac_aux_dir"; then
2076 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2079 # These three variables are undocumented and unsupported,
2080 # and are intended to be withdrawn in a future Autoconf release.
2081 # They can cause serious problems if a builder's source tree is in a directory
2082 # whose full name contains unusual characters.
2083 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2084 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2085 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2088 # Make sure we can run config.sub.
2089 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2090 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2093 $as_echo_n "checking build system type... " >&6; }
2094 if ${ac_cv_build+:} false; then :
2095 $as_echo_n "(cached) " >&6
2097 ac_build_alias=$build_alias
2098 test "x$ac_build_alias" = x &&
2099 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2100 test "x$ac_build_alias" = x &&
2101 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2102 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2103 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2107 $as_echo "$ac_cv_build" >&6; }
2108 case $ac_cv_build in
2110 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2113 ac_save_IFS=$IFS; IFS='-'
2119 # Remember, the first character of IFS is used to create $*,
2120 # except with old shells:
2123 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2127 $as_echo_n "checking host system type... " >&6; }
2128 if ${ac_cv_host+:} false; then :
2129 $as_echo_n "(cached) " >&6
2131 if test "x$host_alias" = x; then
2132 ac_cv_host=$ac_cv_build
2134 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2135 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2140 $as_echo "$ac_cv_host" >&6; }
2143 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2146 ac_save_IFS=$IFS; IFS='-'
2152 # Remember, the first character of IFS is used to create $*,
2153 # except with old shells:
2156 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2160 $as_echo_n "checking target system type... " >&6; }
2161 if ${ac_cv_target+:} false; then :
2162 $as_echo_n "(cached) " >&6
2164 if test "x$target_alias" = x; then
2165 ac_cv_target=$ac_cv_host
2167 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2168 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2173 $as_echo "$ac_cv_target" >&6; }
2174 case $ac_cv_target in
2176 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2178 target=$ac_cv_target
2179 ac_save_IFS=$IFS; IFS='-'
2185 # Remember, the first character of IFS is used to create $*,
2186 # except with old shells:
2189 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2192 # The aliases save the names the user supplied, while $host etc.
2193 # will get canonicalized.
2194 test -n "$target_alias" &&
2195 test "$program_prefix$program_suffix$program_transform_name" = \
2197 program_prefix=${target_alias}-
2199 ac_cpp='$CPP $CPPFLAGS'
2200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2203 if test -n "$ac_tool_prefix"; then
2204 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2205 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2207 $as_echo_n "checking for $ac_word... " >&6; }
2208 if ${ac_cv_prog_CC+:} false; then :
2209 $as_echo_n "(cached) " >&6
2211 if test -n "$CC"; then
2212 ac_cv_prog_CC="$CC" # Let the user override the test.
2214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2218 test -z "$as_dir" && as_dir=.
2219 for ac_exec_ext in '' $ac_executable_extensions; do
2220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2221 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2232 if test -n "$CC"; then
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2234 $as_echo "$CC" >&6; }
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2237 $as_echo "no" >&6; }
2242 if test -z "$ac_cv_prog_CC"; then
2244 # Extract the first word of "gcc", so it can be a program name with args.
2245 set dummy gcc; ac_word=$2
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2247 $as_echo_n "checking for $ac_word... " >&6; }
2248 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2249 $as_echo_n "(cached) " >&6
2251 if test -n "$ac_ct_CC"; then
2252 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2258 test -z "$as_dir" && as_dir=.
2259 for ac_exec_ext in '' $ac_executable_extensions; do
2260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2261 ac_cv_prog_ac_ct_CC="gcc"
2262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2271 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2272 if test -n "$ac_ct_CC"; then
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2274 $as_echo "$ac_ct_CC" >&6; }
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2277 $as_echo "no" >&6; }
2280 if test "x$ac_ct_CC" = x; then
2283 case $cross_compiling:$ac_tool_warned in
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2286 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2287 ac_tool_warned=yes ;;
2295 if test -z "$CC"; then
2296 if test -n "$ac_tool_prefix"; then
2297 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2298 set dummy ${ac_tool_prefix}cc; ac_word=$2
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2300 $as_echo_n "checking for $ac_word... " >&6; }
2301 if ${ac_cv_prog_CC+:} false; then :
2302 $as_echo_n "(cached) " >&6
2304 if test -n "$CC"; then
2305 ac_cv_prog_CC="$CC" # Let the user override the test.
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2311 test -z "$as_dir" && as_dir=.
2312 for ac_exec_ext in '' $ac_executable_extensions; do
2313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2314 ac_cv_prog_CC="${ac_tool_prefix}cc"
2315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2325 if test -n "$CC"; then
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2327 $as_echo "$CC" >&6; }
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2330 $as_echo "no" >&6; }
2336 if test -z "$CC"; then
2337 # Extract the first word of "cc", so it can be a program name with args.
2338 set dummy cc; ac_word=$2
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2340 $as_echo_n "checking for $ac_word... " >&6; }
2341 if ${ac_cv_prog_CC+:} false; then :
2342 $as_echo_n "(cached) " >&6
2344 if test -n "$CC"; then
2345 ac_cv_prog_CC="$CC" # Let the user override the test.
2348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2352 test -z "$as_dir" && as_dir=.
2353 for ac_exec_ext in '' $ac_executable_extensions; do
2354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2355 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2356 ac_prog_rejected=yes
2360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2367 if test $ac_prog_rejected = yes; then
2368 # We found a bogon in the path, so make sure we never use it.
2369 set dummy $ac_cv_prog_CC
2371 if test $# != 0; then
2372 # We chose a different compiler from the bogus one.
2373 # However, it has the same basename, so the bogon will be chosen
2374 # first if we set CC to just the basename; use the full file name.
2376 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2382 if test -n "$CC"; then
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2384 $as_echo "$CC" >&6; }
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2387 $as_echo "no" >&6; }
2392 if test -z "$CC"; then
2393 if test -n "$ac_tool_prefix"; then
2394 for ac_prog in cl.exe
2396 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2397 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2399 $as_echo_n "checking for $ac_word... " >&6; }
2400 if ${ac_cv_prog_CC+:} false; then :
2401 $as_echo_n "(cached) " >&6
2403 if test -n "$CC"; then
2404 ac_cv_prog_CC="$CC" # Let the user override the test.
2406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2410 test -z "$as_dir" && as_dir=.
2411 for ac_exec_ext in '' $ac_executable_extensions; do
2412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2413 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2424 if test -n "$CC"; then
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2426 $as_echo "$CC" >&6; }
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2429 $as_echo "no" >&6; }
2433 test -n "$CC" && break
2436 if test -z "$CC"; then
2438 for ac_prog in cl.exe
2440 # Extract the first word of "$ac_prog", so it can be a program name with args.
2441 set dummy $ac_prog; ac_word=$2
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2443 $as_echo_n "checking for $ac_word... " >&6; }
2444 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2445 $as_echo_n "(cached) " >&6
2447 if test -n "$ac_ct_CC"; then
2448 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2454 test -z "$as_dir" && as_dir=.
2455 for ac_exec_ext in '' $ac_executable_extensions; do
2456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2457 ac_cv_prog_ac_ct_CC="$ac_prog"
2458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2467 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2468 if test -n "$ac_ct_CC"; then
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2470 $as_echo "$ac_ct_CC" >&6; }
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2473 $as_echo "no" >&6; }
2477 test -n "$ac_ct_CC" && break
2480 if test "x$ac_ct_CC" = x; then
2483 case $cross_compiling:$ac_tool_warned in
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2486 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2487 ac_tool_warned=yes ;;
2496 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2497 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2498 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2499 See \
`config.log' for more details" "$LINENO" 5; }
2501 # Provide some information about the compiler.
2502 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2505 for ac_option in --version -v -V -qversion; do
2506 { { ac_try="$ac_compiler $ac_option >&5"
2508 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2509 *) ac_try_echo
=$ac_try;;
2511 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2512 $as_echo "$ac_try_echo"; } >&5
2513 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2515 if test -s conftest.err
; then
2517 ... rest of stderr output deleted ...
2518 10q' conftest.err
>conftest.er1
2519 cat conftest.er1
>&5
2521 rm -f conftest.er1 conftest.err
2522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2523 test $ac_status = 0; }
2526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2527 /* end confdefs.h. */
2537 ac_clean_files_save
=$ac_clean_files
2538 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2539 # Try to create an executable without -o first, disregard a.out.
2540 # It will help us diagnose broken compilers, and finding out an intuition
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2543 $as_echo_n "checking whether the C compiler works... " >&6; }
2544 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2546 # The possible output files:
2547 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2550 for ac_file
in $ac_files
2553 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2554 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2559 if { { ac_try
="$ac_link_default"
2561 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2562 *) ac_try_echo=$ac_try;;
2564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2565 $as_echo "$ac_try_echo"; } >&5
2566 (eval "$ac_link_default") 2>&5
2568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2569 test $ac_status = 0; }; then :
2570 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2571 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2572 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2573 # so that the user can short-circuit this test for compilers unknown to
2575 for ac_file in $ac_files ''
2577 test -f "$ac_file" || continue
2579 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2582 # We found the default executable, but exeext='' is most
2586 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2588 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2590 # We set ac_cv_exeext here because the later test for it is not
2591 # safe: cross compilers may not add the suffix if given an `-o'
2592 # argument, so we may need to know it at that point already.
2593 # Even if this section looks crufty: it has the advantage of
2600 test "$ac_cv_exeext" = no && ac_cv_exeext=
2605 if test -z "$ac_file"; then :
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2607 $as_echo "no" >&6; }
2608 $as_echo "$as_me: failed program was:" >&5
2609 sed 's
/^
/|
/' conftest.$ac_ext >&5
2611 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2612 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2613 as_fn_error 77 "C compiler cannot create executables
2614 See \`config.log
' for more details" "$LINENO" 5; }
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2617 $as_echo "yes" >&6; }
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2620 $as_echo_n "checking for C compiler default output file name... " >&6; }
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2622 $as_echo "$ac_file" >&6; }
2623 ac_exeext=$ac_cv_exeext
2625 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2626 ac_clean_files=$ac_clean_files_save
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2628 $as_echo_n "checking for suffix of executables... " >&6; }
2629 if { { ac_try="$ac_link"
2631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2632 *) ac_try_echo=$ac_try;;
2634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2635 $as_echo "$ac_try_echo"; } >&5
2636 (eval "$ac_link") 2>&5
2638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2639 test $ac_status = 0; }; then :
2640 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2641 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2642 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2644 for ac_file
in conftest.exe conftest conftest.
*; do
2645 test -f "$ac_file" ||
continue
2647 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2648 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2654 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2656 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2657 See \`config.log' for more details" "$LINENO" 5; }
2659 rm -f conftest conftest
$ac_cv_exeext
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2661 $as_echo "$ac_cv_exeext" >&6; }
2663 rm -f conftest.
$ac_ext
2664 EXEEXT
=$ac_cv_exeext
2666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2667 /* end confdefs.h. */
2672 FILE *f = fopen ("conftest.out", "w");
2673 return ferror (f) || fclose (f) != 0;
2679 ac_clean_files
="$ac_clean_files conftest.out"
2680 # Check that the compiler produces executables we can run. If not, either
2681 # the compiler is broken, or we cross compile.
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2683 $as_echo_n "checking whether we are cross compiling... " >&6; }
2684 if test "$cross_compiling" != yes; then
2685 { { ac_try
="$ac_link"
2687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2688 *) ac_try_echo=$ac_try;;
2690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2691 $as_echo "$ac_try_echo"; } >&5
2692 (eval "$ac_link") 2>&5
2694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2695 test $ac_status = 0; }
2696 if { ac_try='./conftest$ac_cv_exeext'
2697 { { case "(($ac_try" in
2698 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2699 *) ac_try_echo
=$ac_try;;
2701 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2702 $as_echo "$ac_try_echo"; } >&5
2703 (eval "$ac_try") 2>&5
2705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2706 test $ac_status = 0; }; }; then
2709 if test "$cross_compiling" = maybe
; then
2712 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2714 as_fn_error $?
"cannot run C compiled programs.
2715 If you meant to cross compile, use \`--host'.
2716 See \`config.log' for more details" "$LINENO" 5; }
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2721 $as_echo "$cross_compiling" >&6; }
2723 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2724 ac_clean_files
=$ac_clean_files_save
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2726 $as_echo_n "checking for suffix of object files... " >&6; }
2727 if ${ac_cv_objext+:} false
; then :
2728 $as_echo_n "(cached) " >&6
2730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2731 /* end confdefs.h. */
2741 rm -f conftest.o conftest.obj
2742 if { { ac_try
="$ac_compile"
2744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2745 *) ac_try_echo=$ac_try;;
2747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2748 $as_echo "$ac_try_echo"; } >&5
2749 (eval "$ac_compile") 2>&5
2751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2752 test $ac_status = 0; }; then :
2753 for ac_file in conftest.o conftest.obj conftest.*; do
2754 test -f "$ac_file" || continue;
2756 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2757 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2762 $as_echo "$as_me: failed program was:" >&5
2763 sed 's/^/| /' conftest.$ac_ext >&5
2765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2767 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2768 See \
`config.log' for more details" "$LINENO" 5; }
2770 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2773 $as_echo "$ac_cv_objext" >&6; }
2774 OBJEXT=$ac_cv_objext
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2777 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2778 if ${ac_cv_c_compiler_gnu+:} false; then :
2779 $as_echo_n "(cached) " >&6
2781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2782 /* end confdefs.h. */
2795 if ac_fn_c_try_compile "$LINENO"; then :
2800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2801 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2805 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2806 if test $ac_compiler_gnu = yes; then
2811 ac_test_CFLAGS=${CFLAGS+set}
2812 ac_save_CFLAGS=$CFLAGS
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2814 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2815 if ${ac_cv_prog_cc_g+:} false; then :
2816 $as_echo_n "(cached) " >&6
2818 ac_save_c_werror_flag=$ac_c_werror_flag
2819 ac_c_werror_flag=yes
2822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2823 /* end confdefs.h. */
2833 if ac_fn_c_try_compile "$LINENO"; then :
2837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2838 /* end confdefs.h. */
2848 if ac_fn_c_try_compile "$LINENO"; then :
2851 ac_c_werror_flag=$ac_save_c_werror_flag
2853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2854 /* end confdefs.h. */
2864 if ac_fn_c_try_compile "$LINENO"; then :
2867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2872 ac_c_werror_flag=$ac_save_c_werror_flag
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2875 $as_echo "$ac_cv_prog_cc_g" >&6; }
2876 if test "$ac_test_CFLAGS" = set; then
2877 CFLAGS=$ac_save_CFLAGS
2878 elif test $ac_cv_prog_cc_g = yes; then
2879 if test "$GCC" = yes; then
2885 if test "$GCC" = yes; then
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2892 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2893 if ${ac_cv_prog_cc_c89+:} false; then :
2894 $as_echo_n "(cached) " >&6
2896 ac_cv_prog_cc_c89=no
2898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2899 /* end confdefs.h. */
2903 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2904 struct buf { int x; };
2905 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2906 static char *e (p, i)
2912 static char *f (char * (*g) (char **, int), char **p, ...)
2917 s = g (p, va_arg (v,int));
2922 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2923 function prototypes and stuff, but not '\xHH' hex character constants.
2924 These don't provoke an error unfortunately, instead are silently treated
2925 as 'x'. The following induces an error, until -std is added to get
2926 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2927 array size at least. It's necessary to write '\x00'==0 to get something
2928 that's true only with -std. */
2929 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2931 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2932 inside strings and character constants. */
2934 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2936 int test (int i, double x);
2937 struct s1 {int (*f) (int a);};
2938 struct s2 {int (*f) (double a);};
2939 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2945 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2950 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2951 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2953 CC="$ac_save_CC $ac_arg"
2954 if ac_fn_c_try_compile "$LINENO"; then :
2955 ac_cv_prog_cc_c89=$ac_arg
2957 rm -f core conftest.err conftest.$ac_objext
2958 test "x$ac_cv_prog_cc_c89" != "xno" && break
2960 rm -f conftest.$ac_ext
2965 case "x$ac_cv_prog_cc_c89" in
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2968 $as_echo "none needed" >&6; } ;;
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2971 $as_echo "unsupported" >&6; } ;;
2973 CC="$CC $ac_cv_prog_cc_c89"
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2975 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2977 if test "x$ac_cv_prog_cc_c89" != xno; then :
2982 ac_cpp='$CPP $CPPFLAGS'
2983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2989 ac_cpp='$CPP $CPPFLAGS'
2990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2994 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2995 # On Suns, sometimes $CPP names a directory.
2996 if test -n "$CPP" && test -d "$CPP"; then
2999 if test -z "$CPP"; then
3000 if ${ac_cv_prog_CPP+:} false; then :
3001 $as_echo_n "(cached) " >&6
3003 # Double quotes because CPP needs to be expanded
3004 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3007 for ac_c_preproc_warn_flag in '' yes
3009 # Use a header file that comes with gcc, so configuring glibc
3010 # with a fresh cross-compiler works.
3011 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3012 # <limits.h> exists even on freestanding compilers.
3013 # On the NeXT, cc -E runs the code through the compiler's parser,
3014 # not just through cpp. "Syntax error" is here to catch this case.
3015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3016 /* end confdefs.h. */
3018 # include <limits.h>
3020 # include <assert.h>
3024 if ac_fn_c_try_cpp "$LINENO"; then :
3027 # Broken: fails on valid input.
3030 rm -f conftest.err conftest.i conftest.$ac_ext
3032 # OK, works on sane cases. Now check whether nonexistent headers
3033 # can be detected and how.
3034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3035 /* end confdefs.h. */
3036 #include <ac_nonexistent.h>
3038 if ac_fn_c_try_cpp "$LINENO"; then :
3039 # Broken: success on invalid input.
3042 # Passes both tests.
3046 rm -f conftest.err conftest.i conftest.$ac_ext
3049 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3050 rm -f conftest.i conftest.err conftest.
$ac_ext
3051 if $ac_preproc_ok; then :
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3064 $as_echo "$CPP" >&6; }
3066 for ac_c_preproc_warn_flag
in '' yes
3068 # Use a header file that comes with gcc, so configuring glibc
3069 # with a fresh cross-compiler works.
3070 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3071 # <limits.h> exists even on freestanding compilers.
3072 # On the NeXT, cc -E runs the code through the compiler's parser,
3073 # not just through cpp. "Syntax error" is here to catch this case.
3074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3075 /* end confdefs.h. */
3077 # include <limits.h>
3079 # include <assert.h>
3083 if ac_fn_c_try_cpp
"$LINENO"; then :
3086 # Broken: fails on valid input.
3089 rm -f conftest.err conftest.i conftest.
$ac_ext
3091 # OK, works on sane cases. Now check whether nonexistent headers
3092 # can be detected and how.
3093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3094 /* end confdefs.h. */
3095 #include <ac_nonexistent.h>
3097 if ac_fn_c_try_cpp
"$LINENO"; then :
3098 # Broken: success on invalid input.
3101 # Passes both tests.
3105 rm -f conftest.err conftest.i conftest.
$ac_ext
3108 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3109 rm -f conftest.i conftest.err conftest.
$ac_ext
3110 if $ac_preproc_ok; then :
3113 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3114 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3115 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3116 See \`config.log' for more details" "$LINENO" 5; }
3120 ac_cpp
='$CPP $CPPFLAGS'
3121 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3122 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3123 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3127 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3128 if ${ac_cv_path_GREP+:} false
; then :
3129 $as_echo_n "(cached) " >&6
3131 if test -z "$GREP"; then
3132 ac_path_GREP_found
=false
3133 # Loop through the user's path and test for each of PROGNAME-LIST
3134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3135 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3138 test -z "$as_dir" && as_dir
=.
3139 for ac_prog
in grep ggrep
; do
3140 for ac_exec_ext
in '' $ac_executable_extensions; do
3141 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3142 as_fn_executable_p
"$ac_path_GREP" ||
continue
3143 # Check for GNU ac_path_GREP and select it if it is found.
3144 # Check for GNU $ac_path_GREP
3145 case `"$ac_path_GREP" --version 2>&1` in
3147 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3150 $as_echo_n 0123456789 >"conftest.in"
3153 cat "conftest.in" "conftest.in" >"conftest.tmp"
3154 mv "conftest.tmp" "conftest.in"
3155 cp "conftest.in" "conftest.nl"
3156 $as_echo 'GREP' >> "conftest.nl"
3157 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3158 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3159 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3160 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3161 # Best one so far, save it but keep looking for a better one
3162 ac_cv_path_GREP
="$ac_path_GREP"
3163 ac_path_GREP_max
=$ac_count
3165 # 10*(2^10) chars as input seems more than enough
3166 test $ac_count -gt 10 && break
3168 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3171 $ac_path_GREP_found && break 3
3176 if test -z "$ac_cv_path_GREP"; then
3177 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3180 ac_cv_path_GREP
=$GREP
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3185 $as_echo "$ac_cv_path_GREP" >&6; }
3186 GREP
="$ac_cv_path_GREP"
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3190 $as_echo_n "checking for egrep... " >&6; }
3191 if ${ac_cv_path_EGREP+:} false
; then :
3192 $as_echo_n "(cached) " >&6
3194 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3195 then ac_cv_path_EGREP
="$GREP -E"
3197 if test -z "$EGREP"; then
3198 ac_path_EGREP_found
=false
3199 # Loop through the user's path and test for each of PROGNAME-LIST
3200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3201 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3204 test -z "$as_dir" && as_dir
=.
3205 for ac_prog
in egrep; do
3206 for ac_exec_ext
in '' $ac_executable_extensions; do
3207 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3208 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3209 # Check for GNU ac_path_EGREP and select it if it is found.
3210 # Check for GNU $ac_path_EGREP
3211 case `"$ac_path_EGREP" --version 2>&1` in
3213 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3216 $as_echo_n 0123456789 >"conftest.in"
3219 cat "conftest.in" "conftest.in" >"conftest.tmp"
3220 mv "conftest.tmp" "conftest.in"
3221 cp "conftest.in" "conftest.nl"
3222 $as_echo 'EGREP' >> "conftest.nl"
3223 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3224 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3225 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3226 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3227 # Best one so far, save it but keep looking for a better one
3228 ac_cv_path_EGREP
="$ac_path_EGREP"
3229 ac_path_EGREP_max
=$ac_count
3231 # 10*(2^10) chars as input seems more than enough
3232 test $ac_count -gt 10 && break
3234 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3237 $ac_path_EGREP_found && break 3
3242 if test -z "$ac_cv_path_EGREP"; then
3243 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3246 ac_cv_path_EGREP
=$EGREP
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3252 $as_echo "$ac_cv_path_EGREP" >&6; }
3253 EGREP
="$ac_cv_path_EGREP"
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3257 $as_echo_n "checking for ANSI C header files... " >&6; }
3258 if ${ac_cv_header_stdc+:} false
; then :
3259 $as_echo_n "(cached) " >&6
3261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3262 /* end confdefs.h. */
3276 if ac_fn_c_try_compile
"$LINENO"; then :
3277 ac_cv_header_stdc
=yes
3279 ac_cv_header_stdc
=no
3281 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3283 if test $ac_cv_header_stdc = yes; then
3284 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3286 /* end confdefs.h. */
3290 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3291 $EGREP "memchr" >/dev
/null
2>&1; then :
3294 ac_cv_header_stdc
=no
3300 if test $ac_cv_header_stdc = yes; then
3301 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3303 /* end confdefs.h. */
3307 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3308 $EGREP "free" >/dev
/null
2>&1; then :
3311 ac_cv_header_stdc
=no
3317 if test $ac_cv_header_stdc = yes; then
3318 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3319 if test "$cross_compiling" = yes; then :
3322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3323 /* end confdefs.h. */
3326 #if ((' ' & 0x0FF) == 0x020)
3327 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3328 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3330 # define ISLOWER(c) \
3331 (('a' <= (c) && (c) <= 'i') \
3332 || ('j' <= (c) && (c) <= 'r') \
3333 || ('s' <= (c) && (c) <= 'z'))
3334 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3337 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3342 for (i = 0; i < 256; i++)
3343 if (XOR (islower (i), ISLOWER (i))
3344 || toupper (i) != TOUPPER (i))
3349 if ac_fn_c_try_run
"$LINENO"; then :
3352 ac_cv_header_stdc
=no
3354 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3355 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3361 $as_echo "$ac_cv_header_stdc" >&6; }
3362 if test $ac_cv_header_stdc = yes; then
3364 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3368 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3369 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3370 inttypes.h stdint.h unistd.h
3372 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3373 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3375 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3376 cat >>confdefs.h
<<_ACEOF
3377 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3386 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3387 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3394 if test "$MINIX" = yes; then
3396 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3399 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3402 $as_echo "#define _MINIX 1" >>confdefs.h
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3408 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3409 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3410 $as_echo_n "(cached) " >&6
3412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3413 /* end confdefs.h. */
3415 # define __EXTENSIONS__ 1
3416 $ac_includes_default
3425 if ac_fn_c_try_compile
"$LINENO"; then :
3426 ac_cv_safe_to_define___extensions__
=yes
3428 ac_cv_safe_to_define___extensions__
=no
3430 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3433 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3434 test $ac_cv_safe_to_define___extensions__ = yes &&
3435 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3437 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3439 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3441 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3443 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3446 test "$program_prefix" != NONE
&&
3447 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3448 # Use a double $ so make ignores it.
3449 test "$program_suffix" != NONE
&&
3450 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3451 # Double any \ or $.
3452 # By default was `s,x,x', remove it if useless.
3453 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3454 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3456 # Find a good install program. We prefer a C program (faster),
3457 # so one script is as good as another. But avoid the broken or
3458 # incompatible versions:
3459 # SysV /etc/install, /usr/sbin/install
3460 # SunOS /usr/etc/install
3461 # IRIX /sbin/install
3463 # AmigaOS /C/install, which installs bootblocks on floppy discs
3464 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3465 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3466 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3467 # OS/2's system install, which has a completely different semantic
3468 # ./install, which can be erroneously created by make from ./install.sh.
3469 # Reject install programs that cannot install multiple files.
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3471 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3472 if test -z "$INSTALL"; then
3473 if ${ac_cv_path_install+:} false
; then :
3474 $as_echo_n "(cached) " >&6
3476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3480 test -z "$as_dir" && as_dir
=.
3481 # Account for people who put trailing slashes in PATH elements.
3482 case $as_dir/ in #((
3483 .
/ | .
// |
/[cC
]/* | \
3484 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3485 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3488 # OSF1 and SCO ODT 3.0 have their own names for install.
3489 # Don't use installbsd from OSF since it installs stuff as root
3491 for ac_prog
in ginstall scoinst
install; do
3492 for ac_exec_ext
in '' $ac_executable_extensions; do
3493 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3494 if test $ac_prog = install &&
3495 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3496 # AIX install. It has an incompatible calling convention.
3498 elif test $ac_prog = install &&
3499 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3500 # program-specific install script used by HP pwplus--don't use.
3503 rm -rf conftest.one conftest.two conftest.dir
3504 echo one
> conftest.one
3505 echo two
> conftest.two
3507 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3508 test -s conftest.one
&& test -s conftest.two
&&
3509 test -s conftest.dir
/conftest.one
&&
3510 test -s conftest.dir
/conftest.two
3512 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3525 rm -rf conftest.one conftest.two conftest.dir
3528 if test "${ac_cv_path_install+set}" = set; then
3529 INSTALL
=$ac_cv_path_install
3531 # As a last resort, use the slow shell script. Don't cache a
3532 # value for INSTALL within a source directory, because that will
3533 # break other packages using the cache if that directory is
3534 # removed, or if the value is a relative name.
3535 INSTALL
=$ac_install_sh
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3539 $as_echo "$INSTALL" >&6; }
3541 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3542 # It thinks the first close brace ends the variable substitution.
3543 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3545 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3547 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3549 rm -rf .tst
2>/dev
/null
3550 mkdir .tst
2>/dev
/null
3551 if test -d .tst
; then
3556 rmdir .tst
2>/dev
/null
3558 DEPDIR
="${am__leading_dot}deps"
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
3565 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
3566 if ${ac_cv_c_bigendian+:} false
; then :
3567 $as_echo_n "(cached) " >&6
3569 ac_cv_c_bigendian
=unknown
3570 # See if we're dealing with a universal compiler.
3571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3572 /* end confdefs.h. */
3573 #ifndef __APPLE_CC__
3574 not a universal capable compiler
3579 if ac_fn_c_try_compile
"$LINENO"; then :
3581 # Check for potential -arch flags. It is not universal unless
3582 # there are at least two -arch flags with different values.
3585 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
3586 if test -n "$ac_prev"; then
3588 i?
86 | x86_64 | ppc | ppc64
)
3589 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
3592 ac_cv_c_bigendian
=universal
3598 elif test "x$ac_word" = "x-arch"; then
3603 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3604 if test $ac_cv_c_bigendian = unknown
; then
3605 # See if sys/param.h defines the BYTE_ORDER macro.
3606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3607 /* end confdefs.h. */
3608 #include <sys/types.h>
3609 #include <sys/param.h>
3614 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
3615 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
3624 if ac_fn_c_try_compile
"$LINENO"; then :
3625 # It does; now see whether it defined to BIG_ENDIAN or not.
3626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3627 /* end confdefs.h. */
3628 #include <sys/types.h>
3629 #include <sys/param.h>
3634 #if BYTE_ORDER != BIG_ENDIAN
3642 if ac_fn_c_try_compile
"$LINENO"; then :
3643 ac_cv_c_bigendian
=yes
3645 ac_cv_c_bigendian
=no
3647 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3649 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3651 if test $ac_cv_c_bigendian = unknown
; then
3652 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
3653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3654 /* end confdefs.h. */
3660 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
3668 if ac_fn_c_try_compile
"$LINENO"; then :
3669 # It does; now see whether it defined to _BIG_ENDIAN or not.
3670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3671 /* end confdefs.h. */
3685 if ac_fn_c_try_compile
"$LINENO"; then :
3686 ac_cv_c_bigendian
=yes
3688 ac_cv_c_bigendian
=no
3690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3694 if test $ac_cv_c_bigendian = unknown
; then
3695 # Compile a test program.
3696 if test "$cross_compiling" = yes; then :
3697 # Try to guess by grepping values from an object file.
3698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3699 /* end confdefs.h. */
3700 short int ascii_mm[] =
3701 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3702 short int ascii_ii[] =
3703 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3704 int use_ascii (int i) {
3705 return ascii_mm[i] + ascii_ii[i];
3707 short int ebcdic_ii[] =
3708 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3709 short int ebcdic_mm[] =
3710 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3711 int use_ebcdic (int i) {
3712 return ebcdic_mm[i] + ebcdic_ii[i];
3719 return use_ascii (foo) == use_ebcdic (foo);
3724 if ac_fn_c_try_compile
"$LINENO"; then :
3725 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
3726 ac_cv_c_bigendian
=yes
3728 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
3729 if test "$ac_cv_c_bigendian" = unknown
; then
3730 ac_cv_c_bigendian
=no
3732 # finding both strings is unlikely to happen, but who knows?
3733 ac_cv_c_bigendian
=unknown
3737 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3740 /* end confdefs.h. */
3741 $ac_includes_default
3746 /* Are we little or big endian? From Harbison&Steele. */
3750 char c[sizeof (long int)];
3753 return u.c[sizeof (long int) - 1] == 1;
3759 if ac_fn_c_try_run
"$LINENO"; then :
3760 ac_cv_c_bigendian
=no
3762 ac_cv_c_bigendian
=yes
3764 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3765 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
3771 $as_echo "$ac_cv_c_bigendian" >&6; }
3772 case $ac_cv_c_bigendian in #(
3774 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
3780 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
3784 as_fn_error $?
"unknown endianness
3785 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
3791 if test "x$cross_compiling" = "xno"; then
3792 : "${AR_FOR_BUILD:=\$(AR)}"
3793 : "${CC_FOR_BUILD:=\$(CC)}"
3794 : "${RANLIB_FOR_BUILD:=\$(RANLIB)}"
3795 : "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
3796 : "${LDFLAGS_FOR_BUILD:=\$(LDFLAGS)}"
3798 : "${AR_FOR_BUILD:=ar}"
3799 : "${CC_FOR_BUILD:=gcc}"
3800 : "${RANLIB_FOR_BUILD:=ranlib}"
3801 : "${CFLAGS_FOR_BUILD:=-g -O}"
3802 : "${LDLFAGS_FOR_BUILD:=}"
3811 if test -n "$ac_tool_prefix"; then
3812 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3813 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3815 $as_echo_n "checking for $ac_word... " >&6; }
3816 if ${ac_cv_prog_AR+:} false
; then :
3817 $as_echo_n "(cached) " >&6
3819 if test -n "$AR"; then
3820 ac_cv_prog_AR
="$AR" # Let the user override the test.
3822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3826 test -z "$as_dir" && as_dir
=.
3827 for ac_exec_ext
in '' $ac_executable_extensions; do
3828 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3829 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3840 if test -n "$AR"; then
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3842 $as_echo "$AR" >&6; }
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3845 $as_echo "no" >&6; }
3850 if test -z "$ac_cv_prog_AR"; then
3852 # Extract the first word of "ar", so it can be a program name with args.
3853 set dummy
ar; ac_word
=$2
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3855 $as_echo_n "checking for $ac_word... " >&6; }
3856 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
3857 $as_echo_n "(cached) " >&6
3859 if test -n "$ac_ct_AR"; then
3860 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3866 test -z "$as_dir" && as_dir
=.
3867 for ac_exec_ext
in '' $ac_executable_extensions; do
3868 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3869 ac_cv_prog_ac_ct_AR
="ar"
3870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3879 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3880 if test -n "$ac_ct_AR"; then
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3882 $as_echo "$ac_ct_AR" >&6; }
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3885 $as_echo "no" >&6; }
3888 if test "x$ac_ct_AR" = x
; then
3891 case $cross_compiling:$ac_tool_warned in
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3894 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3895 ac_tool_warned
=yes ;;
3903 if test -n "$ac_tool_prefix"; then
3904 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3905 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3907 $as_echo_n "checking for $ac_word... " >&6; }
3908 if ${ac_cv_prog_RANLIB+:} false
; then :
3909 $as_echo_n "(cached) " >&6
3911 if test -n "$RANLIB"; then
3912 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3918 test -z "$as_dir" && as_dir
=.
3919 for ac_exec_ext
in '' $ac_executable_extensions; do
3920 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3921 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3931 RANLIB
=$ac_cv_prog_RANLIB
3932 if test -n "$RANLIB"; then
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3934 $as_echo "$RANLIB" >&6; }
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3937 $as_echo "no" >&6; }
3942 if test -z "$ac_cv_prog_RANLIB"; then
3943 ac_ct_RANLIB
=$RANLIB
3944 # Extract the first word of "ranlib", so it can be a program name with args.
3945 set dummy ranlib
; ac_word
=$2
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3947 $as_echo_n "checking for $ac_word... " >&6; }
3948 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
3949 $as_echo_n "(cached) " >&6
3951 if test -n "$ac_ct_RANLIB"; then
3952 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3958 test -z "$as_dir" && as_dir
=.
3959 for ac_exec_ext
in '' $ac_executable_extensions; do
3960 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3961 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3971 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3972 if test -n "$ac_ct_RANLIB"; then
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3974 $as_echo "$ac_ct_RANLIB" >&6; }
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3977 $as_echo "no" >&6; }
3980 if test "x$ac_ct_RANLIB" = x
; then
3983 case $cross_compiling:$ac_tool_warned in
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3987 ac_tool_warned
=yes ;;
3989 RANLIB
=$ac_ct_RANLIB
3992 RANLIB
="$ac_cv_prog_RANLIB"
3996 # Require C11 or newer. Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
3997 # AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
3998 # is C99. So handle it ourselves.
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
4002 $as_echo_n "checking whether C11 is supported by default... " >&6; }
4003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4004 /* end confdefs.h. */
4006 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4007 # error "C11 support not found"
4011 if ac_fn_c_try_compile
"$LINENO"; then :
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4013 $as_echo "yes" >&6; }
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4017 $as_echo "no" >&6; }
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
4019 $as_echo_n "checking for -std=c11 support... " >&6; }
4022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4023 /* end confdefs.h. */
4025 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4026 # error "C11 support not found"
4030 if ac_fn_c_try_compile
"$LINENO"; then :
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4033 $as_echo "yes" >&6; }
4035 C_DIALECT
="-std=c11"
4038 as_fn_error $?
"C11 is required" "$LINENO" 5
4040 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4042 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4046 # Dependency checking.
4047 ac_config_commands
="$ac_config_commands depdir"
4050 depcc
="$CC" am_compiler_list
=
4052 am_depcomp
=$ac_aux_dir/depcomp
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4054 $as_echo_n "checking dependency style of $depcc... " >&6; }
4055 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4056 $as_echo_n "(cached) " >&6
4058 if test -f "$am_depcomp"; then
4059 # We make a subdir and do the tests there. Otherwise we can end up
4060 # making bogus files that we don't know about and never remove. For
4061 # instance it was reported that on HP-UX the gcc test will end up
4062 # making a dummy file named `D' -- because `-MD' means `put the output
4065 # Copy depcomp to subdir because otherwise we won't find it if we're
4066 # using a relative directory.
4067 cp "$am_depcomp" conftest.dir
4069 # We will build objects and dependencies in a subdirectory because
4070 # it helps to detect inapplicable dependency modes. For instance
4071 # both Tru64's cc and ICC support -MD to output dependencies as a
4072 # side effect of compilation, but ICC will put the dependencies in
4073 # the current directory while Tru64 will put them in the object
4077 am_cv_CC_dependencies_compiler_type
=none
4078 if test "$am_compiler_list" = ""; then
4079 am_compiler_list
=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4081 for depmode
in $am_compiler_list; do
4082 if test $depmode = none
; then break; fi
4084 $as_echo "$as_me:$LINENO: trying $depmode" >&5
4085 # Setup a source with many dependencies, because some compilers
4086 # like to wrap large dependency lists on column 80 (with \), and
4087 # we should not choose a depcomp mode which is confused by this.
4089 # We need to recreate these files for each test, as the compiler may
4090 # overwrite some of them when testing with obscure command lines.
4091 # This happens at least with the AIX C compiler.
4093 for i
in 1 2 3 4 5 6; do
4094 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4095 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4096 # Solaris 8's {/usr,}/bin/sh.
4097 touch sub
/conftst
$i.h
4099 echo "include sub/conftest.Po" > confmf
4101 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4102 # mode. It turns out that the SunPro C++ compiler does not properly
4103 # handle `-M -o', and we need to detect this.
4104 depcmd
="depmode=$depmode \
4105 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4106 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4107 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
4108 echo "| $depcmd" |
sed -e 's/ */ /g' >&5
4109 if env
$depcmd > conftest.err
2>&1 &&
4110 grep sub
/conftst6.h sub
/conftest.Po
>>conftest.err
2>&1 &&
4111 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
>>conftest.err
2>&1 &&
4112 ${MAKE-make} -s -f confmf
>>conftest.err
2>&1; then
4113 # icc doesn't choke on unknown options, it will just issue warnings
4114 # or remarks (even with -Werror). So we grep stderr for any message
4115 # that says an option was ignored or not supported.
4116 # When given -MP, icc 7.0 and 7.1 complain thusly:
4117 # icc: Command line warning: ignoring option '-M'; no argument required
4118 # The diagnosis changed in icc 8.0:
4119 # icc: Command line remark: option '-MP' not supported
4120 if (grep 'ignoring option' conftest.err ||
4121 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4122 am_cv_CC_dependencies_compiler_type
=$depmode
4123 $as_echo "$as_me:$LINENO: success" >&5
4127 $as_echo "$as_me:$LINENO: failure, diagnostics are:" >&5
4128 sed -e 's/^/| /' < conftest.err
>&5
4134 am_cv_CC_dependencies_compiler_type
=none
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4139 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4140 if test x
${am_cv_CC_dependencies_compiler_type-none} = xnone
4141 then as_fn_error $?
"no usable dependency style found" "$LINENO" 5
4142 else CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4148 # If we haven't got the data from the intl directory,
4149 # assume NLS is disabled.
4158 if test -f ..
/..
/intl
/config.intl
; then
4159 . ..
/..
/intl
/config.intl
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4162 $as_echo_n "checking whether NLS is requested... " >&6; }
4163 if test x
"$USE_NLS" != xyes
; then
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4165 $as_echo "no" >&6; }
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4168 $as_echo "yes" >&6; }
4170 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
4174 $as_echo_n "checking for catalogs to be installed... " >&6; }
4175 # Look for .po and .gmo files in the source directory.
4178 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
4179 # If there aren't any .gmo files the shell will give us the
4180 # literal string "../path/to/srcdir/po/*.gmo" which has to be
4182 case "$cat" in *\
**)
4185 # The quadruple backslash is collapsed to a double backslash
4186 # by the backticks, then collapsed again by the double quotes,
4187 # leaving us with one backslash in the sed expression (right
4188 # before the dot that mustn't act as a wildcard).
4189 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
4190 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
4191 # The user is allowed to set LINGUAS to a list of languages to
4192 # install catalogs for. If it's empty that means "all of them."
4193 if test "x$LINGUAS" = x
; then
4194 CATALOGS
="$CATALOGS $cat"
4195 XLINGUAS
="$XLINGUAS $lang"
4197 case "$LINGUAS" in *$lang*)
4198 CATALOGS
="$CATALOGS $cat"
4199 XLINGUAS
="$XLINGUAS $lang"
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
4206 $as_echo "$LINGUAS" >&6; }
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4221 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4222 # Check whether --enable-maintainer-mode was given.
4223 if test "${enable_maintainer_mode+set}" = set; then :
4224 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4226 USE_MAINTAINER_MODE
=no
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4230 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4231 if test $USE_MAINTAINER_MODE = yes; then
4232 MAINTAINER_MODE_TRUE
=
4233 MAINTAINER_MODE_FALSE
='#'
4235 MAINTAINER_MODE_TRUE
='#'
4236 MAINTAINER_MODE_FALSE
=
4239 MAINT
=$MAINTAINER_MODE_TRUE
4244 sim_inline
="-DDEFAULT_INLINE=0"
4245 # Check whether --enable-sim-inline was given.
4246 if test "${enable_sim_inline+set}" = set; then :
4247 enableval
=$enable_sim_inline; sim_inline
=""
4248 case "$enableval" in
4249 no
) sim_inline
="-DDEFAULT_INLINE=0";;
4250 0) sim_inline
="-DDEFAULT_INLINE=0";;
4251 yes |
2) sim_inline
="-DDEFAULT_INLINE=ALL_C_INLINE";;
4252 1) sim_inline
="-DDEFAULT_INLINE=INLINE_LOCALS";;
4253 *) for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4256 *_INLINE
=*) new_flag
="-D$x";;
4257 *=*) new_flag
=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
4258 *_INLINE
) new_flag
="-D$x=ALL_C_INLINE";;
4259 *) new_flag
="-D$x""_INLINE=ALL_C_INLINE";;
4261 if test x
"$sim_inline" = x
""; then
4262 sim_inline
="$new_flag"
4264 sim_inline
="$sim_inline $new_flag"
4268 if test x
"$silent" != x
"yes" && test x
"$sim_inline" != x
""; then
4269 echo "Setting inline flags = $sim_inline" 6>&1
4276 default_sim_scache
="16384"
4277 # Check whether --enable-sim-scache was given.
4278 if test "${enable_sim_scache+set}" = set; then :
4279 enableval
=$enable_sim_scache; case "${enableval}" in
4280 yes) sim_scache
="-DWITH_SCACHE=${default_sim_scache}";;
4281 no
) sim_scache
="-DWITH_SCACHE=0" ;;
4282 [0-9]*) sim_scache
="-DWITH_SCACHE=${enableval}";;
4283 *) as_fn_error $?
"\"Bad value $enableval passed to --enable-sim-scache\"" "$LINENO" 5;
4286 if test x
"$silent" != x
"yes" && test x
"$sim_scache" != x
""; then
4287 echo "Setting scache size = $sim_scache" 6>&1
4290 sim_scache
="-DWITH_SCACHE=${default_sim_scache}"
4295 default_sim_default_model
="fr500"
4296 # Check whether --enable-sim-default-model was given.
4297 if test "${enable_sim_default_model+set}" = set; then :
4298 enableval
=$enable_sim_default_model; case "${enableval}" in
4299 yes|no
) as_fn_error $?
"\"Missing argument to --enable-sim-default-model\"" "$LINENO" 5;;
4300 *) sim_default_model
="-DWITH_DEFAULT_MODEL='\"${enableval}\"'";;
4302 if test x
"$silent" != x
"yes" && test x
"$sim_default_model" != x
""; then
4303 echo "Setting default model = $sim_default_model" 6>&1
4306 sim_default_model
="-DWITH_DEFAULT_MODEL='\"${default_sim_default_model}\"'"
4313 cgendir
='$(srcdir)/../../cgen'
4314 # Check whether --enable-cgen-maint was given.
4315 if test "${enable_cgen_maint+set}" = set; then :
4316 enableval
=$enable_cgen_maint; case "${enableval}" in
4317 yes) cgen_maint
=yes ;;
4318 no
) cgen_maint
=no
;;
4320 # Argument is a directory where cgen can be found. In some
4321 # future world cgen could be installable, but right now this
4322 # is not the case. Instead we assume the directory is a path
4323 # to the cgen source tree.
4325 if test -r ${enableval}/iformat.scm
; then
4326 # This looks like a cgen source tree.
4327 cgendir
=${enableval}
4329 as_fn_error $?
"${enableval} doesn't look like a cgen source tree" "$LINENO" 5
4334 if test x
${cgen_maint} != xno
; then
4345 # Enable making unknown traps dump out registers
4347 # Check whether --enable-sim-trapdump was given.
4348 if test "${enable_sim_trapdump+set}" = set; then :
4349 enableval
=$enable_sim_trapdump; case "${enableval}" in
4350 yes) sim_trapdump
="-DTRAPDUMP=1";;
4351 no
) sim_trapdump
="-DTRAPDUMP=0";;
4352 *) as_fn_error $?
"\"Unknown value $enableval passed to --enable-sim-trapdump\"" "$LINENO" 5; sim_trapdump
="";;
4354 if test x
"$silent" != x
"yes" && test x
"$sim_trapdump" != x
""; then
4355 echo "Setting sim_trapdump = $sim_trapdump" 6>&1
4363 hardware
="cfi core pal glue "
4364 sim_hw_cflags
="-DWITH_HW=1"
4366 sim_hw_objs
="\$(SIM_COMMON_HW_OBJS) `echo $sim_hw | sed -e 's/\([^ ][^ ]*\)/dv-\1.o/g'`"
4368 # Check whether --enable-sim-hardware was given.
4369 if test "${enable_sim_hardware+set}" = set; then :
4370 enableval
=$enable_sim_hardware;
4372 enable_sim_hardware
="yes"
4375 case ${enable_sim_hardware} in
4377 ,*) hardware
="${hardware} `echo ${enableval} | sed -e 's/,/ /'`";;
4378 *,) hardware
="`echo ${enableval} | sed -e 's/,/ /'` ${hardware}";;
4379 *) hardware
="`echo ${enableval} | sed -e 's/,/ /'`"'';;
4382 if test "$enable_sim_hardware" = no
; then
4384 sim_hw_cflags
="-DWITH_HW=0"
4387 sim_hw_cflags
="-DWITH_HW=1"
4390 sim_hw_objs
="\$(SIM_COMMON_HW_OBJS)"
4391 for i
in $hardware ; do
4394 *) sim_hw
="$sim_hw $i" ; sim_hw_objs
="$sim_hw_objs dv-$i.o";;
4397 # mingw does not support sockser
4400 *) # TODO: We don't add dv-sockser to sim_hw as it is not a "real" device
4401 # that you instatiate. Instead, other code will call into it directly.
4402 # At some point, we should convert it over.
4403 sim_hw_objs
="$sim_hw_objs dv-sockser.o"
4404 sim_hw_cflags
="$sim_hw_cflags -DHAVE_DV_SOCKSER"
4407 if test x
"$silent" != x
"yes"; then
4408 echo "Setting hardware to $sim_hw_cflags, $sim_hw, $sim_hw_objs"
4414 if grep CGEN_MAINT
$srcdir/Makefile.
in >/dev
/null
; then
4415 cgen_breaks
="break cgen_rtx_error";
4418 ac_config_files
="$ac_config_files Makefile.sim:Makefile.in"
4420 ac_config_files
="$ac_config_files Make-common.sim:../common/Make-common.in"
4422 ac_config_files
="$ac_config_files .gdbinit:../common/gdbinit.in"
4424 ac_config_commands
="$ac_config_commands Makefile"
4426 ac_config_commands
="$ac_config_commands stamp-h"
4438 cat >confcache
<<\_ACEOF
4439 # This file is a shell script that caches the results of configure
4440 # tests run on this system so they can be shared between configure
4441 # scripts and configure runs, see configure's option --config-cache.
4442 # It is not useful on other systems. If it contains results you don't
4443 # want to keep, you may remove or edit it.
4445 # config.status only pays attention to the cache file if you give it
4446 # the --recheck option to rerun configure.
4448 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4449 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4454 # The following way of writing the cache mishandles newlines in values,
4455 # but we know of no workaround that is simple, portable, and efficient.
4456 # So, we kill variables containing newlines.
4457 # Ultrix sh set writes to stderr and can't be redirected directly,
4458 # and sets the high bit in the cache file unless we assign to the vars.
4460 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4461 eval ac_val
=\$
$ac_var
4465 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4466 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4469 _ | IFS | as_nl
) ;; #(
4470 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4471 *) { eval $ac_var=; unset $ac_var;} ;;
4477 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4478 *${as_nl}ac_space
=\
*)
4479 # `set' does not quote correctly, so add quotes: double-quote
4480 # substitution turns \\\\ into \\, and sed turns \\ into \.
4483 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4486 # `set' quotes correctly as required by POSIX, so do not add quotes.
4487 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4496 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4498 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4500 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4501 if test -w "$cache_file"; then
4502 if test "x$cache_file" != "x/dev/null"; then
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4504 $as_echo "$as_me: updating cache $cache_file" >&6;}
4505 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4506 cat confcache
>"$cache_file"
4508 case $cache_file in #(
4510 mv -f confcache
"$cache_file"$$
&&
4511 mv -f "$cache_file"$$
"$cache_file" ;; #(
4513 mv -f confcache
"$cache_file" ;;
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4519 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4524 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4525 # Let make expand exec_prefix.
4526 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4528 # Transform confdefs.h into DEFS.
4529 # Protect against shell expansion while executing Makefile rules.
4530 # Protect against Makefile macro expansion.
4532 # If the first sed substitution is executed (which looks for macros that
4533 # take arguments), then branch to the quote section. Otherwise,
4534 # look for a macro that doesn't take arguments.
4544 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4546 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4550 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4563 DEFS
=`sed -n "$ac_script" confdefs.h`
4569 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4570 # 1. Remove the extension, and $U if already installed.
4571 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4572 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4573 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4574 # will be set to the directory where LIBOBJS objects are built.
4575 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4576 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4580 LTLIBOBJS
=$ac_ltlibobjs
4584 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4585 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
4586 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4589 : "${CONFIG_STATUS=./config.status}"
4591 ac_clean_files_save
=$ac_clean_files
4592 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4594 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4596 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4598 # Generated by $as_me.
4599 # Run this file to recreate the current configuration.
4600 # Compiler output produced by configure, useful for debugging
4601 # configure, is in config.log if it exists.
4607 SHELL=\${CONFIG_SHELL-$SHELL}
4610 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4611 ## -------------------- ##
4612 ## M4sh Initialization. ##
4613 ## -------------------- ##
4615 # Be more Bourne compatible
4616 DUALCASE
=1; export DUALCASE
# for MKS sh
4617 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4620 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4621 # is contrary to our usage. Disable this feature.
4622 alias -g '${1+"$@"}'='"$@"'
4623 setopt NO_GLOB_SUBST
4625 case `(set -o) 2>/dev/null` in #(
4637 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4638 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4639 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4640 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4641 # Prefer a ksh shell builtin over an external printf program on Solaris,
4642 # but without wasting forks for bash or zsh.
4643 if test -z "$BASH_VERSION$ZSH_VERSION" \
4644 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4645 as_echo='print
-r --'
4646 as_echo_n='print
-rn --'
4647 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4648 as_echo='printf %s
\n'
4649 as_echo_n='printf %s
'
4651 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4652 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4653 as_echo_n='/usr
/ucb
/echo -n'
4655 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4656 as_echo_n_body='eval
4660 expr "X$arg" : "X\\(.*\\)$as_nl";
4661 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4663 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4665 export as_echo_n_body
4666 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4669 as_echo='sh
-c $as_echo_body as_echo
'
4672 # The user is always right.
4673 if test "${PATH_SEPARATOR+set}" != set; then
4675 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4676 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4683 # We need space, tab and new line, in precisely that order. Quoting is
4684 # there to prevent editors from complaining about space-tab.
4685 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4686 # splitting by setting IFS to empty value.)
4689 # Find who we are. Look in the path if we contain no directory separator.
4692 *[\\/]* ) as_myself=$0 ;;
4693 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4697 test -z "$as_dir" && as_dir=.
4698 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4704 # We did not find ourselves, most probably we were run as `sh COMMAND'
4705 # in which case we are not to be found in the path.
4706 if test "x$as_myself" = x
; then
4709 if test ! -f "$as_myself"; then
4710 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4714 # Unset variables that we do not need and which cause bugs (e.g. in
4715 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4716 # suppresses any "Segmentation fault" message there. '((' could
4717 # trigger a bug in pdksh 5.2.14.
4718 for as_var
in BASH_ENV ENV MAIL MAILPATH
4719 do eval test x\
${$as_var+set} = xset \
4720 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4733 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4736 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4737 # ----------------------------------------
4738 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4739 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4740 # script with STATUS, using 1 if that was 0.
4743 as_status
=$1; test $as_status -eq 0 && as_status
=1
4745 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4746 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4748 $as_echo "$as_me: error: $2" >&2
4749 as_fn_exit
$as_status
4753 # as_fn_set_status STATUS
4754 # -----------------------
4755 # Set $? to STATUS, without forking.
4759 } # as_fn_set_status
4763 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4773 # Portably unset VAR.
4776 { eval $1=; unset $1;}
4778 as_unset
=as_fn_unset
4779 # as_fn_append VAR VALUE
4780 # ----------------------
4781 # Append the text in VALUE to the end of the definition contained in VAR. Take
4782 # advantage of any shell optimizations that allow amortized linear growth over
4783 # repeated appends, instead of the typical quadratic growth present in naive
4785 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4786 eval 'as_fn_append ()
4797 # as_fn_arith ARG...
4798 # ------------------
4799 # Perform arithmetic evaluation on the ARGs, and store the result in the
4800 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4801 # must be portable across $(()) and expr.
4802 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4803 eval 'as_fn_arith ()
4810 as_val
=`expr "$@" || test $? -eq 1`
4815 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4816 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4822 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4823 as_basename
=basename
4828 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4834 as_me
=`$as_basename -- "$0" ||
4835 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4836 X"$0" : 'X\(//\)$' \| \
4837 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4839 sed '/^.*\/\([^/][^/]*\)\/*$/{
4853 # Avoid depending upon Character Ranges.
4854 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4855 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4856 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4857 as_cr_digits
='0123456789'
4858 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4860 ECHO_C
= ECHO_N
= ECHO_T
=
4861 case `echo -n x` in #(((((
4863 case `echo 'xy\c'` in
4864 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4866 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4873 rm -f conf$$ conf$$.exe conf$$.
file
4874 if test -d conf$$.dir
; then
4875 rm -f conf$$.dir
/conf$$.
file
4878 mkdir conf$$.dir
2>/dev
/null
4880 if (echo >conf$$.
file) 2>/dev
/null
; then
4881 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4883 # ... but there are two gotchas:
4884 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4885 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4886 # In both cases, we have to default to `cp -pR'.
4887 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4889 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4897 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4898 rmdir conf$$.dir
2>/dev
/null
4903 # Create "$as_dir" as a directory, including parents if necessary.
4908 -*) as_dir
=.
/$as_dir;;
4910 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4914 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4915 *) as_qdir
=$as_dir;;
4917 as_dirs
="'$as_qdir' $as_dirs"
4918 as_dir
=`$as_dirname -- "$as_dir" ||
4919 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4920 X"$as_dir" : 'X\(//\)[^/]' \| \
4921 X"$as_dir" : 'X\(//\)$' \| \
4922 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4923 $as_echo X"$as_dir" |
4924 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4941 test -d "$as_dir" && break
4943 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4944 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4948 if mkdir
-p .
2>/dev
/null
; then
4949 as_mkdir_p
='mkdir -p "$as_dir"'
4951 test -d .
/-p && rmdir .
/-p
4956 # as_fn_executable_p FILE
4957 # -----------------------
4958 # Test if FILE is an executable regular file.
4959 as_fn_executable_p
()
4961 test -f "$1" && test -x "$1"
4962 } # as_fn_executable_p
4964 as_executable_p
=as_fn_executable_p
4966 # Sed expression to map a string onto a valid CPP name.
4967 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4969 # Sed expression to map a string onto a valid variable name.
4970 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4974 ## ----------------------------------- ##
4975 ## Main body of $CONFIG_STATUS script. ##
4976 ## ----------------------------------- ##
4978 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4981 # Save the log message, to keep $0 and so on meaningful, and to
4982 # report actual input values of CONFIG_FILES etc. instead of their
4983 # values after options handling.
4985 This file was extended by $as_me, which was
4986 generated by GNU Autoconf 2.69. Invocation command line was
4988 CONFIG_FILES = $CONFIG_FILES
4989 CONFIG_HEADERS = $CONFIG_HEADERS
4990 CONFIG_LINKS = $CONFIG_LINKS
4991 CONFIG_COMMANDS = $CONFIG_COMMANDS
4994 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4999 case $ac_config_files in *"
5000 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5005 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5006 # Files that config.status was made for.
5007 config_files="$ac_config_files"
5008 config_commands="$ac_config_commands"
5012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5014 \`$as_me' instantiates files and other configuration actions
5015 from templates according to the current configuration. Unless the files
5016 and actions are specified as TAGs, all are instantiated by default.
5018 Usage: $0 [OPTION]... [TAG]...
5020 -h, --help print this help, then exit
5021 -V, --version print version number and configuration settings, then exit
5022 --config print configuration, then exit
5023 -q, --quiet, --silent
5024 do not print progress messages
5025 -d, --debug don't remove temporary files
5026 --recheck update $as_me by reconfiguring in the same conditions
5027 --file=FILE[:TEMPLATE]
5028 instantiate the configuration file FILE
5030 Configuration files:
5033 Configuration commands:
5036 Report bugs to the package provider."
5039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5040 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5043 configured by $0, generated by GNU Autoconf 2.69,
5044 with options \\"\$ac_cs_config\\"
5046 Copyright (C) 2012 Free Software Foundation, Inc.
5047 This config.status script is free software; the Free Software Foundation
5048 gives unlimited permission to copy, distribute and modify it."
5053 test -n "\$AWK" || AWK=awk
5056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5057 # The default lists apply if the user does not specify any file.
5063 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5064 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5068 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5080 # Handling of the options.
5081 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5083 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5084 $as_echo "$ac_cs_version"; exit ;;
5085 --config |
--confi |
--conf |
--con |
--co |
--c )
5086 $as_echo "$ac_cs_config"; exit ;;
5087 --debug |
--debu |
--deb |
--de |
--d |
-d )
5089 --file |
--fil |
--fi |
--f )
5092 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5093 '') as_fn_error $?
"missing file argument" ;;
5095 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5096 ac_need_defaults
=false
;;
5097 --he |
--h |
--help |
--hel |
-h )
5098 $as_echo "$ac_cs_usage"; exit ;;
5099 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5100 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5104 -*) as_fn_error $?
"unrecognized option: \`$1'
5105 Try \`$0 --help' for more information." ;;
5107 *) as_fn_append ac_config_targets
" $1"
5108 ac_need_defaults
=false
;;
5114 ac_configure_extra_args
=
5116 if $ac_cs_silent; then
5118 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5123 if \$ac_cs_recheck; then
5124 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5126 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5127 CONFIG_SHELL='$SHELL'
5133 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5137 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5138 ## Running $as_me. ##
5144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5148 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
5152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5154 # Handling of arguments.
5155 for ac_config_target
in $ac_config_targets
5157 case $ac_config_target in
5158 "depdir") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir" ;;
5159 "Makefile.sim") CONFIG_FILES
="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
5160 "Make-common.sim") CONFIG_FILES
="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
5161 ".gdbinit") CONFIG_FILES
="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
5162 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
5163 "stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS stamp-h" ;;
5165 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5170 # If the user did not use the arguments to specify the items to instantiate,
5171 # then the envvar interface is used. Set only those that are not.
5172 # We use the long form for the default assignment because of an extremely
5173 # bizarre bug on SunOS 4.1.3.
5174 if $ac_need_defaults; then
5175 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5176 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5179 # Have a temporary directory for convenience. Make it in the build tree
5180 # simply because there is no reason against having it here, and in addition,
5181 # creating and moving files from /tmp can sometimes cause problems.
5182 # Hook for its removal unless debugging.
5183 # Note that there is a small window in which the directory will not be cleaned:
5184 # after its creation but before its name has been assigned to `$tmp'.
5188 trap 'exit_status=$?
5190 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5192 trap 'as_fn_exit 1' 1 2 13 15
5194 # Create a (secure) tmp directory for tmp files.
5197 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5201 tmp
=.
/conf$$
-$RANDOM
5202 (umask 077 && mkdir
"$tmp")
5203 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5206 # Set up the scripts for CONFIG_FILES section.
5207 # No need to generate them if there are no CONFIG_FILES.
5208 # This happens for instance with `./config.status config.h'.
5209 if test -n "$CONFIG_FILES"; then
5212 ac_cr
=`echo X | tr X '\015'`
5213 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5214 # But we know of no other shell where ac_cr would be empty at this
5215 # point, so we can use a bashism as a fallback.
5216 if test "x$ac_cr" = x
; then
5217 eval ac_cr
=\$
\'\\r
\'
5219 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5220 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5226 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5231 echo "cat >conf$$subs.awk <<_ACEOF" &&
5232 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5235 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5236 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5238 for ac_last_try in false false false false false :; do
5239 . ./conf$$subs.sh ||
5240 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5242 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5243 if test $ac_delim_n = $ac_delim_num; then
5245 elif $ac_last_try; then
5246 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5248 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5253 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5254 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
5258 s/^/S["/; s
/!.
*/"]=/
5268 s/\(.\{148\}\)..*/\1/
5270 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5275 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5282 s/\(.\{148\}\)..*/\1/
5284 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5288 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5293 ' <conf$$subs.awk | sed '
5298 ' >>$CONFIG_STATUS || ac_write_fail=1
5299 rm -f conf$$subs.awk
5300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5302 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5303 for (key in S) S_is_set[key] = 1
5309 nfields = split(line, field, "@
")
5311 len = length(field[1])
5312 for (i = 2; i < nfields; i++) {
5314 keylen = length(key)
5315 if (S_is_set[key]) {
5317 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5318 len += length(value) + length(field[++i])
5329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5330 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5331 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5334 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5335 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5338 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5339 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5340 # trailing colons and then remove the whole line if VPATH becomes empty
5341 # (actually we leave an empty line to preserve line numbers).
5342 if test "x
$srcdir" = x.; then
5343 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5362 fi # test -n "$CONFIG_FILES"
5365 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
5370 :[FHLC]) ac_mode=$ac_tag; continue;;
5372 case $ac_mode$ac_tag in
5374 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
5375 :[FH]-) ac_tag=-:-;;
5376 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5393 -) ac_f="$ac_tmp/stdin";;
5394 *) # Look for the file first in the build tree, then in the source tree
5395 # (if the path is not absolute). The absolute path cannot be DOS-style,
5396 # because $ac_f cannot contain `:'.
5400 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5402 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5404 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
5405 as_fn_append ac_file_inputs " '$ac_f'"
5408 # Let's still pretend it is `configure' which instantiates (i.e., don't
5409 # use $as_me), people would be surprised to read:
5410 # /* config.h. Generated by config.status. */
5411 configure_input='Generated from '`
5412 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5414 if test x"$ac_file" != x-; then
5415 configure_input="$ac_file.
$configure_input"
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
5417 $as_echo "$as_me: creating
$ac_file" >&6;}
5419 # Neutralize special characters interpreted by sed in replacement strings.
5420 case $configure_input in #(
5421 *\&* | *\|* | *\\* )
5422 ac_sed_conf_input=`$as_echo "$configure_input" |
5423 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5424 *) ac_sed_conf_input=$configure_input;;
5428 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
5429 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
5434 ac_dir=`$as_dirname -- "$ac_file" ||
5435 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5436 X"$ac_file" : 'X\(//\)[^/]' \| \
5437 X"$ac_file" : 'X\(//\)$' \| \
5438 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5439 $as_echo X"$ac_file" |
5440 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5457 as_dir="$ac_dir"; as_fn_mkdir_p
5461 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5463 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5464 # A "..
" for each directory in $ac_dir_suffix.
5465 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5466 case $ac_top_builddir_sub in
5467 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5468 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5471 ac_abs_top_builddir=$ac_pwd
5472 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5473 # for backward compatibility:
5474 ac_top_builddir=$ac_top_build_prefix
5477 .) # We are building in place.
5479 ac_top_srcdir=$ac_top_builddir_sub
5480 ac_abs_top_srcdir=$ac_pwd ;;
5481 [\\/]* | ?:[\\/]* ) # Absolute name.
5482 ac_srcdir=$srcdir$ac_dir_suffix;
5483 ac_top_srcdir=$srcdir
5484 ac_abs_top_srcdir=$srcdir ;;
5486 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5487 ac_top_srcdir=$ac_top_build_prefix$srcdir
5488 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5490 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5500 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5501 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5505 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5506 # If the template does not know about datarootdir, expand it.
5507 # FIXME: This hack should be removed a few years after 2.60.
5508 ac_datarootdir_hack=; ac_datarootdir_seen=
5519 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
5520 *datarootdir*) ac_datarootdir_seen=yes;;
5521 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
5523 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
5525 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5526 ac_datarootdir_hack='
5527 s&@datadir@&$datadir&g
5528 s&@docdir@&$docdir&g
5529 s&@infodir@&$infodir&g
5530 s&@localedir@&$localedir&g
5531 s&@mandir@&$mandir&g
5532 s&\\\${datarootdir}&$datarootdir&g' ;;
5536 # Neutralize VPATH when `$srcdir' = `.'.
5537 # Shell code in configure.ac might set extrasub.
5538 # FIXME: do we really want to maintain this feature?
5539 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5540 ac_sed_extra="$ac_vpsub
5543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5545 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5546 s|@configure_input@|
$ac_sed_conf_input|
;t t
5547 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5548 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5549 s
&@srcdir@
&$ac_srcdir&;t t
5550 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5551 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5552 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5553 s
&@builddir@
&$ac_builddir&;t t
5554 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5555 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5556 s
&@INSTALL@
&$ac_INSTALL&;t t
5557 $ac_datarootdir_hack
5559 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5560 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5562 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5563 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5564 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5565 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5567 which seems to be undefined. Please make sure it is defined" >&5
5568 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5569 which seems to be undefined. Please make sure it is defined" >&2;}
5571 rm -f "$ac_tmp/stdin"
5573 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5574 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5576 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5580 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5581 $as_echo "$as_me: executing $ac_file commands" >&6;}
5586 case $ac_file$ac_mode in
5587 "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;;
5588 "Makefile":C) echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
5589 rm -f Makesim1.tmp Makesim2.tmp Makefile
5590 sed -n -e '/^
## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim >Makesim1.tmp
5591 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>Makesim2.tmp
5592 sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \
5593 -e '/^## COMMON_POST_/ r Makesim2.tmp' \
5594 <Makefile.sim
>Makefile
5595 rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp
5597 "stamp-h":C
) echo > stamp-h
;;
5605 ac_clean_files
=$ac_clean_files_save
5607 test $ac_write_fail = 0 ||
5608 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
5611 # configure is writing to config.log, and then calls config.status.
5612 # config.status does its own redirection, appending to config.log.
5613 # Unfortunately, on DOS this fails, as config.log is still kept open
5614 # by configure, so config.status won't be able to write to it; its
5615 # output is simply discarded. So we exec the FD to /dev/null,
5616 # effectively closing config.log, so it can be properly (re)opened and
5617 # appended to by config.status. When coming back to configure, we
5618 # need to make the FD available again.
5619 if test "$no_create" != yes; then
5621 ac_config_status_args
=
5622 test "$silent" = yes &&
5623 ac_config_status_args
="$ac_config_status_args --quiet"
5625 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5627 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5628 # would make configure fail if this is the last instruction.
5629 $ac_cs_success || as_fn_exit
1
5631 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5633 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}