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
629 MAINTAINER_MODE_FALSE
706 program_transform_name
725 enable_option_checking
726 enable_maintainer_mode
728 enable_sim_reserved_bits
732 ac_precious_vars
='build_alias
743 # Initialize some variables set by options.
745 ac_init_version
=false
746 ac_unrecognized_opts
=
748 # The variables have the same names as the options, with
749 # dashes changed to underlines.
757 program_transform_name
=s
,x
,x
,
765 # Installation directory options.
766 # These are left unexpanded so users can "make install exec_prefix=/foo"
767 # and all the variables that are supposed to be based on exec_prefix
768 # by default will actually change.
769 # Use braces instead of parens because sh, perl, etc. also accept them.
770 # (The list follows the same order as the GNU Coding Standards.)
771 bindir
='${exec_prefix}/bin'
772 sbindir
='${exec_prefix}/sbin'
773 libexecdir
='${exec_prefix}/libexec'
774 datarootdir
='${prefix}/share'
775 datadir
='${datarootdir}'
776 sysconfdir
='${prefix}/etc'
777 sharedstatedir
='${prefix}/com'
778 localstatedir
='${prefix}/var'
779 includedir
='${prefix}/include'
780 oldincludedir
='/usr/include'
781 docdir
='${datarootdir}/doc/${PACKAGE}'
782 infodir
='${datarootdir}/info'
787 libdir
='${exec_prefix}/lib'
788 localedir
='${datarootdir}/locale'
789 mandir
='${datarootdir}/man'
795 # If the previous option needs an argument, assign it.
796 if test -n "$ac_prev"; then
797 eval $ac_prev=\
$ac_option
803 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
808 # Accept the important Cygnus configure options, so we can diagnose typos.
810 case $ac_dashdash$ac_option in
814 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
816 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
819 -build |
--build |
--buil |
--bui |
--bu)
820 ac_prev
=build_alias
;;
821 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
822 build_alias
=$ac_optarg ;;
824 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
825 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
826 ac_prev
=cache_file
;;
827 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
828 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
829 cache_file
=$ac_optarg ;;
832 cache_file
=config.cache
;;
834 -datadir |
--datadir |
--datadi |
--datad)
836 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
837 datadir
=$ac_optarg ;;
839 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
840 |
--dataroo |
--dataro |
--datar)
841 ac_prev
=datarootdir
;;
842 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
843 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
844 datarootdir
=$ac_optarg ;;
846 -disable-* |
--disable-*)
847 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
848 # Reject names that are not valid shell variable names.
849 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
850 as_fn_error $?
"invalid feature name: $ac_useropt"
851 ac_useropt_orig
=$ac_useropt
852 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
853 case $ac_user_opts in
857 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
858 ac_unrecognized_sep
=', ';;
860 eval enable_
$ac_useropt=no
;;
862 -docdir |
--docdir |
--docdi |
--doc |
--do)
864 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
867 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
869 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
872 -enable-* |
--enable-*)
873 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
874 # Reject names that are not valid shell variable names.
875 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
876 as_fn_error $?
"invalid feature name: $ac_useropt"
877 ac_useropt_orig
=$ac_useropt
878 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
879 case $ac_user_opts in
883 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
884 ac_unrecognized_sep
=', ';;
886 eval enable_
$ac_useropt=\
$ac_optarg ;;
888 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
889 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
890 |
--exec |
--exe |
--ex)
891 ac_prev
=exec_prefix
;;
892 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
893 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
894 |
--exec=* |
--exe=* |
--ex=*)
895 exec_prefix
=$ac_optarg ;;
897 -gas |
--gas |
--ga |
--g)
898 # Obsolete; use --with-gas.
901 -help |
--help |
--hel |
--he |
-h)
903 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
904 ac_init_help
=recursive
;;
905 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
906 ac_init_help
=short
;;
908 -host |
--host |
--hos |
--ho)
909 ac_prev
=host_alias
;;
910 -host=* |
--host=* |
--hos=* |
--ho=*)
911 host_alias
=$ac_optarg ;;
913 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
915 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
917 htmldir
=$ac_optarg ;;
919 -includedir |
--includedir |
--includedi |
--included |
--include \
920 |
--includ |
--inclu |
--incl |
--inc)
921 ac_prev
=includedir
;;
922 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
923 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
924 includedir
=$ac_optarg ;;
926 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
928 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
929 infodir
=$ac_optarg ;;
931 -libdir |
--libdir |
--libdi |
--libd)
933 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
936 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
937 |
--libexe |
--libex |
--libe)
938 ac_prev
=libexecdir
;;
939 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
940 |
--libexe=* |
--libex=* |
--libe=*)
941 libexecdir
=$ac_optarg ;;
943 -localedir |
--localedir |
--localedi |
--localed |
--locale)
945 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
946 localedir
=$ac_optarg ;;
948 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
949 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
950 ac_prev
=localstatedir
;;
951 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
952 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
953 localstatedir
=$ac_optarg ;;
955 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
957 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
961 # Obsolete; use --without-fp.
964 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
965 |
--no-cr |
--no-c |
-n)
968 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
969 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
972 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
973 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
974 |
--oldin |
--oldi |
--old |
--ol |
--o)
975 ac_prev
=oldincludedir
;;
976 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
977 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
978 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
979 oldincludedir
=$ac_optarg ;;
981 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
983 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
986 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
987 |
--program-pre |
--program-pr |
--program-p)
988 ac_prev
=program_prefix
;;
989 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
990 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
991 program_prefix
=$ac_optarg ;;
993 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
994 |
--program-suf |
--program-su |
--program-s)
995 ac_prev
=program_suffix
;;
996 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
997 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
998 program_suffix
=$ac_optarg ;;
1000 -program-transform-name |
--program-transform-name \
1001 |
--program-transform-nam |
--program-transform-na \
1002 |
--program-transform-n |
--program-transform- \
1003 |
--program-transform |
--program-transfor \
1004 |
--program-transfo |
--program-transf \
1005 |
--program-trans |
--program-tran \
1006 |
--progr-tra |
--program-tr |
--program-t)
1007 ac_prev
=program_transform_name
;;
1008 -program-transform-name=* |
--program-transform-name=* \
1009 |
--program-transform-nam=* |
--program-transform-na=* \
1010 |
--program-transform-n=* |
--program-transform-=* \
1011 |
--program-transform=* |
--program-transfor=* \
1012 |
--program-transfo=* |
--program-transf=* \
1013 |
--program-trans=* |
--program-tran=* \
1014 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1015 program_transform_name
=$ac_optarg ;;
1017 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1019 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1020 pdfdir
=$ac_optarg ;;
1022 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1024 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1027 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1028 |
-silent |
--silent |
--silen |
--sile |
--sil)
1031 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1033 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1035 sbindir
=$ac_optarg ;;
1037 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1038 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1039 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1041 ac_prev
=sharedstatedir
;;
1042 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1043 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1044 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1046 sharedstatedir
=$ac_optarg ;;
1048 -site |
--site |
--sit)
1050 -site=* |
--site=* |
--sit=*)
1053 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1055 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1056 srcdir
=$ac_optarg ;;
1058 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1059 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1060 ac_prev
=sysconfdir
;;
1061 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1062 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1063 sysconfdir
=$ac_optarg ;;
1065 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1066 ac_prev
=target_alias
;;
1067 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1068 target_alias
=$ac_optarg ;;
1070 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1073 -version |
--version |
--versio |
--versi |
--vers |
-V)
1074 ac_init_version
=: ;;
1077 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1078 # Reject names that are not valid shell variable names.
1079 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1080 as_fn_error $?
"invalid package name: $ac_useropt"
1081 ac_useropt_orig
=$ac_useropt
1082 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1083 case $ac_user_opts in
1087 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1088 ac_unrecognized_sep
=', ';;
1090 eval with_
$ac_useropt=\
$ac_optarg ;;
1092 -without-* |
--without-*)
1093 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1094 # Reject names that are not valid shell variable names.
1095 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1096 as_fn_error $?
"invalid package name: $ac_useropt"
1097 ac_useropt_orig
=$ac_useropt
1098 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1099 case $ac_user_opts in
1103 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1104 ac_unrecognized_sep
=', ';;
1106 eval with_
$ac_useropt=no
;;
1109 # Obsolete; use --with-x.
1112 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1113 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1114 ac_prev
=x_includes
;;
1115 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1116 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1117 x_includes
=$ac_optarg ;;
1119 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1120 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1121 ac_prev
=x_libraries
;;
1122 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1123 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1124 x_libraries
=$ac_optarg ;;
1126 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1127 Try \`$0 --help' for more information"
1131 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1132 # Reject names that are not valid shell variable names.
1133 case $ac_envvar in #(
1134 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1135 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1137 eval $ac_envvar=\
$ac_optarg
1138 export $ac_envvar ;;
1141 # FIXME: should be removed in autoconf 3.0.
1142 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1143 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1144 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1145 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1151 if test -n "$ac_prev"; then
1152 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1153 as_fn_error $?
"missing argument to $ac_option"
1156 if test -n "$ac_unrecognized_opts"; then
1157 case $enable_option_checking in
1159 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1160 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1164 # Check all directory arguments for consistency.
1165 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1166 datadir sysconfdir sharedstatedir localstatedir includedir \
1167 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1168 libdir localedir mandir
1170 eval ac_val
=\$
$ac_var
1171 # Remove trailing slashes.
1174 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1175 eval $ac_var=\
$ac_val;;
1177 # Be sure to have absolute directory names.
1179 [\\/$
]* | ?
:[\\/]* ) continue;;
1180 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1182 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1185 # There might be people who depend on the old broken behavior: `$host'
1186 # used to hold the argument of --host etc.
1187 # FIXME: To remove some day.
1190 target
=$target_alias
1192 # FIXME: To remove some day.
1193 if test "x$host_alias" != x
; then
1194 if test "x$build_alias" = x
; then
1195 cross_compiling
=maybe
1196 elif test "x$build_alias" != "x$host_alias"; then
1202 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1204 test "$silent" = yes && exec 6>/dev
/null
1207 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1208 ac_ls_di
=`ls -di .` &&
1209 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1210 as_fn_error $?
"working directory cannot be determined"
1211 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1212 as_fn_error $?
"pwd does not report name of working directory"
1215 # Find the source files, if location was not specified.
1216 if test -z "$srcdir"; then
1217 ac_srcdir_defaulted
=yes
1218 # Try the directory containing this script, then the parent directory.
1219 ac_confdir
=`$as_dirname -- "$as_myself" ||
1220 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1221 X"$as_myself" : 'X\(//\)[^/]' \| \
1222 X"$as_myself" : 'X\(//\)$' \| \
1223 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1224 $as_echo X"$as_myself" |
1225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1243 if test ! -r "$srcdir/$ac_unique_file"; then
1247 ac_srcdir_defaulted
=no
1249 if test ! -r "$srcdir/$ac_unique_file"; then
1250 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1251 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1253 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1255 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1257 # When building in place, set srcdir=.
1258 if test "$ac_abs_confdir" = "$ac_pwd"; then
1261 # Remove unnecessary trailing slashes from srcdir.
1262 # Double slashes in file names in object file debugging info
1263 # mess up M-x gdb in Emacs.
1265 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1267 for ac_var
in $ac_precious_vars; do
1268 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1269 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1270 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1271 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1275 # Report the --help message.
1277 if test "$ac_init_help" = "long"; then
1278 # Omit some internal or obsolete options to make the list less imposing.
1279 # This message is too long to be a string in the A/UX 3.1 sh.
1281 \`configure' configures this package to adapt to many kinds of systems.
1283 Usage: $0 [OPTION]... [VAR=VALUE]...
1285 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1286 VAR=VALUE. See below for descriptions of some of the useful variables.
1288 Defaults for the options are specified in brackets.
1291 -h, --help display this help and exit
1292 --help=short display options specific to this package
1293 --help=recursive display the short help of all the included packages
1294 -V, --version display version information and exit
1295 -q, --quiet, --silent do not print \`checking ...' messages
1296 --cache-file=FILE cache test results in FILE [disabled]
1297 -C, --config-cache alias for \`--cache-file=config.cache'
1298 -n, --no-create do not create output files
1299 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1301 Installation directories:
1302 --prefix=PREFIX install architecture-independent files in PREFIX
1303 [$ac_default_prefix]
1304 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1307 By default, \`make install' will install all the files in
1308 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1309 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1310 for instance \`--prefix=\$HOME'.
1312 For better control, use the options below.
1314 Fine tuning of the installation directories:
1315 --bindir=DIR user executables [EPREFIX/bin]
1316 --sbindir=DIR system admin executables [EPREFIX/sbin]
1317 --libexecdir=DIR program executables [EPREFIX/libexec]
1318 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1319 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1320 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1321 --libdir=DIR object code libraries [EPREFIX/lib]
1322 --includedir=DIR C header files [PREFIX/include]
1323 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1324 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1325 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1326 --infodir=DIR info documentation [DATAROOTDIR/info]
1327 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1328 --mandir=DIR man documentation [DATAROOTDIR/man]
1329 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1330 --htmldir=DIR html documentation [DOCDIR]
1331 --dvidir=DIR dvi documentation [DOCDIR]
1332 --pdfdir=DIR pdf documentation [DOCDIR]
1333 --psdir=DIR ps documentation [DOCDIR]
1339 --program-prefix=PREFIX prepend PREFIX to installed program names
1340 --program-suffix=SUFFIX append SUFFIX to installed program names
1341 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1344 --build=BUILD configure
for building on BUILD
[guessed
]
1345 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1346 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1350 if test -n "$ac_init_help"; then
1355 --disable-option-checking ignore unrecognized
--enable/--with options
1356 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1357 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1358 --enable-maintainer-mode
1359 enable make rules and dependencies not useful
(and
1360 sometimes confusing
) to the casual installer
1361 --enable-sim-inline=inlines
1362 Specify
which functions should be inlined
1363 --enable-sim-reserved-bits
1364 Specify whether to check reserved bits
in
1366 --enable-sim-bitsize=N Specify target bitsize
(32 or
64)
1367 --enable-sim-hardware=LIST
1368 Specify the hardware to be included
in the build.
1370 Some influential environment variables
:
1371 CC C compiler
command
1372 CFLAGS C compiler flags
1373 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1374 nonstandard directory
<lib dir
>
1375 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1376 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1377 you have headers
in a nonstandard directory
<include dir
>
1380 Use these variables to override the choices made by
`configure' or to help
1381 it to find libraries and programs with nonstandard names/locations.
1383 Report bugs to the package provider.
1388 if test "$ac_init_help" = "recursive"; then
1389 # If there are subdirs, report their specific --help.
1390 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1391 test -d "$ac_dir" ||
1392 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1397 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1399 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1400 # A ".." for each directory in $ac_dir_suffix.
1401 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1402 case $ac_top_builddir_sub in
1403 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1404 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1407 ac_abs_top_builddir=$ac_pwd
1408 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1409 # for backward compatibility:
1410 ac_top_builddir=$ac_top_build_prefix
1413 .) # We are building in place.
1415 ac_top_srcdir=$ac_top_builddir_sub
1416 ac_abs_top_srcdir=$ac_pwd ;;
1417 [\\/]* | ?:[\\/]* ) # Absolute name.
1418 ac_srcdir=$srcdir$ac_dir_suffix;
1419 ac_top_srcdir=$srcdir
1420 ac_abs_top_srcdir=$srcdir ;;
1422 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1423 ac_top_srcdir=$ac_top_build_prefix$srcdir
1424 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1426 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1428 cd "$ac_dir" || { ac_status=$?; continue; }
1429 # Check for guested configure.
1430 if test -f "$ac_srcdir/configure.gnu"; then
1432 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1433 elif test -f "$ac_srcdir/configure"; then
1435 $SHELL "$ac_srcdir/configure" --help=recursive
1437 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1439 cd "$ac_pwd" || { ac_status=$?; break; }
1443 test -n "$ac_init_help" && exit $ac_status
1444 if $ac_init_version; then
1447 generated by GNU Autoconf 2.69
1449 Copyright (C) 2012 Free Software Foundation, Inc.
1450 This configure script is free software; the Free Software Foundation
1451 gives unlimited permission to copy, distribute and modify it.
1456 ## ------------------------ ##
1457 ## Autoconf initialization. ##
1458 ## ------------------------ ##
1460 # ac_fn_c_try_compile LINENO
1461 # --------------------------
1462 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1463 ac_fn_c_try_compile ()
1465 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1466 rm -f conftest.$ac_objext
1467 if { { ac_try="$ac_compile"
1469 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1470 *) ac_try_echo
=$ac_try;;
1472 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1473 $as_echo "$ac_try_echo"; } >&5
1474 (eval "$ac_compile") 2>conftest.err
1476 if test -s conftest.err
; then
1477 grep -v '^ *+' conftest.err
>conftest.er1
1478 cat conftest.er1
>&5
1479 mv -f conftest.er1 conftest.err
1481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1482 test $ac_status = 0; } && {
1483 test -z "$ac_c_werror_flag" ||
1484 test ! -s conftest.err
1485 } && test -s conftest.
$ac_objext; then :
1488 $as_echo "$as_me: failed program was:" >&5
1489 sed 's/^/| /' conftest.
$ac_ext >&5
1493 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1494 as_fn_set_status
$ac_retval
1496 } # ac_fn_c_try_compile
1498 # ac_fn_c_try_cpp LINENO
1499 # ----------------------
1500 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1503 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1504 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1506 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1507 *) ac_try_echo=$ac_try;;
1509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1510 $as_echo "$ac_try_echo"; } >&5
1511 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1513 if test -s conftest.err; then
1514 grep -v '^ *+' conftest.err >conftest.er1
1515 cat conftest.er1 >&5
1516 mv -f conftest.er1 conftest.err
1518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1519 test $ac_status = 0; } > conftest.i && {
1520 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1521 test ! -s conftest.err
1525 $as_echo "$as_me: failed program was:" >&5
1526 sed 's/^/| /' conftest.$ac_ext >&5
1530 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1531 as_fn_set_status $ac_retval
1535 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1536 # -------------------------------------------------------
1537 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1538 # the include files in INCLUDES and setting the cache variable VAR
1540 ac_fn_c_check_header_mongrel ()
1542 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1543 if eval \${$3+:} false; then :
1544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1545 $as_echo_n "checking for $2... " >&6; }
1546 if eval \${$3+:} false; then :
1547 $as_echo_n "(cached) " >&6
1550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1551 $as_echo "$ac_res" >&6; }
1553 # Is the header compilable?
1554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1555 $as_echo_n "checking $2 usability... " >&6; }
1556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1557 /* end confdefs.h. */
1561 if ac_fn_c_try_compile "$LINENO"; then :
1562 ac_header_compiler=yes
1564 ac_header_compiler=no
1566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1568 $as_echo "$ac_header_compiler" >&6; }
1570 # Is the header present?
1571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1572 $as_echo_n "checking $2 presence... " >&6; }
1573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1574 /* end confdefs.h. */
1577 if ac_fn_c_try_cpp "$LINENO"; then :
1578 ac_header_preproc=yes
1580 ac_header_preproc=no
1582 rm -f conftest.err conftest.i conftest.$ac_ext
1583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1584 $as_echo "$ac_header_preproc" >&6; }
1586 # So? What about this header?
1587 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1590 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1592 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1596 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1598 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1600 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1602 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1604 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1608 $as_echo_n "checking for $2... " >&6; }
1609 if eval \${$3+:} false; then :
1610 $as_echo_n "(cached) " >&6
1612 eval "$3=\$ac_header_compiler"
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1616 $as_echo "$ac_res" >&6; }
1618 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1620 } # ac_fn_c_check_header_mongrel
1622 # ac_fn_c_try_run LINENO
1623 # ----------------------
1624 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1625 # that executables *can* be run.
1628 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629 if { { ac_try="$ac_link"
1631 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1632 *) ac_try_echo
=$ac_try;;
1634 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1635 $as_echo "$ac_try_echo"; } >&5
1636 (eval "$ac_link") 2>&5
1638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1639 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1640 { { case "(($ac_try" in
1641 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1642 *) ac_try_echo=$ac_try;;
1644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1645 $as_echo "$ac_try_echo"; } >&5
1646 (eval "$ac_try") 2>&5
1648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1649 test $ac_status = 0; }; }; then :
1652 $as_echo "$as_me: program exited with status $ac_status" >&5
1653 $as_echo "$as_me: failed program was:" >&5
1654 sed 's/^/| /' conftest.$ac_ext >&5
1656 ac_retval=$ac_status
1658 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1659 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1660 as_fn_set_status $ac_retval
1664 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1665 # -------------------------------------------------------
1666 # Tests whether HEADER exists and can be compiled using the include files in
1667 # INCLUDES, setting the cache variable VAR accordingly.
1668 ac_fn_c_check_header_compile ()
1670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1672 $as_echo_n "checking for $2... " >&6; }
1673 if eval \${$3+:} false; then :
1674 $as_echo_n "(cached) " >&6
1676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1677 /* end confdefs.h. */
1681 if ac_fn_c_try_compile "$LINENO"; then :
1686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1690 $as_echo "$ac_res" >&6; }
1691 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1693 } # ac_fn_c_check_header_compile
1694 cat >config.log <<_ACEOF
1695 This file contains any messages produced by compilers while
1696 running configure, to aid debugging if configure makes a mistake.
1698 It was created by $as_me, which was
1699 generated by GNU Autoconf 2.69. Invocation command line was
1711 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1712 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1713 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1714 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1715 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1717 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1718 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1720 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1721 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1722 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1723 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1724 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1725 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1726 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1734 test -z "$as_dir" && as_dir=.
1735 $as_echo "PATH: $as_dir"
1751 # Keep a trace of the command line.
1752 # Strip out --no-create and --no-recursion so they do not pile up.
1753 # Strip out --silent because we don't want to record it for future runs.
1754 # Also quote any args containing shell meta-characters.
1755 # Make two passes to allow for proper duplicate-argument suppression.
1759 ac_must_keep_next=false
1765 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1766 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1767 | -silent | --silent | --silen | --sile | --sil)
1770 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1773 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1775 as_fn_append ac_configure_args1 " '$ac_arg'"
1776 if test $ac_must_keep_next = true; then
1777 ac_must_keep_next=false # Got value, back to normal.
1780 *=* | --config-cache | -C | -disable-* | --disable-* \
1781 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1782 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1783 | -with-* | --with-* | -without-* | --without-* | --x)
1784 case "$ac_configure_args0 " in
1785 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1788 -* ) ac_must_keep_next=true ;;
1791 as_fn_append ac_configure_args " '$ac_arg'"
1796 { ac_configure_args0=; unset ac_configure_args0;}
1797 { ac_configure_args1=; unset ac_configure_args1;}
1799 # When interrupted or exit'd, cleanup temporary files, and complete
1800 # config.log. We remove comments because anyway the quotes in there
1801 # would cause problems or look ugly.
1802 # WARNING: Use '\'' to represent an apostrophe within the trap.
1803 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1804 trap 'exit_status=$?
1805 # Save into config.log some information that might help in debugging.
1809 $as_echo "## ---------------- ##
1810 ## Cache variables. ##
1811 ## ---------------- ##"
1813 # The following way of writing the cache mishandles newlines in values,
1815 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1816 eval ac_val=\$$ac_var
1820 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1821 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1824 _ | IFS | as_nl) ;; #(
1825 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1826 *) { eval $ac_var=; unset $ac_var;} ;;
1831 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1832 *${as_nl}ac_space=\ *)
1834 "s/'\''/'\''\\\\'\'''\''/g;
1835 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1838 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1845 $as_echo "## ----------------- ##
1846 ## Output variables. ##
1847 ## ----------------- ##"
1849 for ac_var in $ac_subst_vars
1851 eval ac_val=\$$ac_var
1853 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1855 $as_echo "$ac_var='\''$ac_val'\''"
1859 if test -n "$ac_subst_files"; then
1860 $as_echo "## ------------------- ##
1861 ## File substitutions. ##
1862 ## ------------------- ##"
1864 for ac_var in $ac_subst_files
1866 eval ac_val=\$$ac_var
1868 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1870 $as_echo "$ac_var='\''$ac_val'\''"
1875 if test -s confdefs.h; then
1876 $as_echo "## ----------- ##
1883 test "$ac_signal" != 0 &&
1884 $as_echo "$as_me: caught signal $ac_signal"
1885 $as_echo "$as_me: exit $exit_status"
1887 rm -f core *.core core.conftest.* &&
1888 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1891 for ac_signal in 1 2 13 15; do
1892 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1896 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1897 rm -f -r conftest* confdefs.h
1899 $as_echo "/* confdefs.h */" > confdefs.h
1901 # Predefined preprocessor variables.
1903 cat >>confdefs.h <<_ACEOF
1904 #define PACKAGE_NAME "$PACKAGE_NAME"
1907 cat >>confdefs.h <<_ACEOF
1908 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1911 cat >>confdefs.h <<_ACEOF
1912 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1915 cat >>confdefs.h <<_ACEOF
1916 #define PACKAGE_STRING "$PACKAGE_STRING"
1919 cat >>confdefs.h <<_ACEOF
1920 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1923 cat >>confdefs.h <<_ACEOF
1924 #define PACKAGE_URL "$PACKAGE_URL"
1928 # Let the site file select an alternate cache file if it wants to.
1929 # Prefer an explicitly selected file to automatically selected ones.
1932 if test -n "$CONFIG_SITE"; then
1933 # We do not want a PATH search for config.site.
1934 case $CONFIG_SITE in #((
1935 -*) ac_site_file1=./$CONFIG_SITE;;
1936 */*) ac_site_file1=$CONFIG_SITE;;
1937 *) ac_site_file1=./$CONFIG_SITE;;
1939 elif test "x$prefix" != xNONE; then
1940 ac_site_file1=$prefix/share/config.site
1941 ac_site_file2=$prefix/etc/config.site
1943 ac_site_file1=$ac_default_prefix/share/config.site
1944 ac_site_file2=$ac_default_prefix/etc/config.site
1946 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1948 test "x$ac_site_file" = xNONE && continue
1949 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1951 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1952 sed 's/^/| /' "$ac_site_file" >&5
1954 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1955 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1956 as_fn_error $? "failed to load site
script $ac_site_file
1957 See \
`config.log' for more details" "$LINENO" 5; }
1961 if test -r "$cache_file"; then
1962 # Some versions of bash will fail to source /dev/null (special files
1963 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1964 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1966 $as_echo "$as_me: loading cache $cache_file" >&6;}
1968 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1969 *) . "./$cache_file";;
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1974 $as_echo "$as_me: creating cache $cache_file" >&6;}
1978 # Check that the precious variables saved in the cache have kept the same
1980 ac_cache_corrupted=false
1981 for ac_var in $ac_precious_vars; do
1982 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1983 eval ac_new_set=\$ac_env_${ac_var}_set
1984 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1985 eval ac_new_val=\$ac_env_${ac_var}_value
1986 case $ac_old_set,$ac_new_set in
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1989 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1990 ac_cache_corrupted=: ;;
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1993 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1994 ac_cache_corrupted=: ;;
1997 if test "x$ac_old_val" != "x$ac_new_val"; then
1998 # differences in whitespace do not lead to failure.
1999 ac_old_val_w=`echo x
$ac_old_val`
2000 ac_new_val_w=`echo x
$ac_new_val`
2001 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2003 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2004 ac_cache_corrupted=:
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2007 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2008 eval $ac_var=\$ac_old_val
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2011 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2013 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2016 # Pass precious variables to config.status.
2017 if test "$ac_new_set" = set; then
2019 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2020 *) ac_arg=$ac_var=$ac_new_val ;;
2022 case " $ac_configure_args " in
2023 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2024 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2028 if $ac_cache_corrupted; then
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2032 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2033 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2035 ## -------------------- ##
2036 ## Main body of script. ##
2037 ## -------------------- ##
2040 ac_cpp='$CPP $CPPFLAGS'
2041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2052 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2053 if test -f "$ac_dir/install-sh"; then
2055 ac_install_sh="$ac_aux_dir/install-sh -c"
2057 elif test -f "$ac_dir/install.sh"; then
2059 ac_install_sh="$ac_aux_dir/install.sh -c"
2061 elif test -f "$ac_dir/shtool"; then
2063 ac_install_sh="$ac_aux_dir/shtool install -c"
2067 if test -z "$ac_aux_dir"; then
2068 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2071 # These three variables are undocumented and unsupported,
2072 # and are intended to be withdrawn in a future Autoconf release.
2073 # They can cause serious problems if a builder's source tree is in a directory
2074 # whose full name contains unusual characters.
2075 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2076 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2077 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2080 # Make sure we can run config.sub.
2081 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2082 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2085 $as_echo_n "checking build system type... " >&6; }
2086 if ${ac_cv_build+:} false; then :
2087 $as_echo_n "(cached) " >&6
2089 ac_build_alias=$build_alias
2090 test "x$ac_build_alias" = x &&
2091 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2092 test "x$ac_build_alias" = x &&
2093 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2094 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2095 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2099 $as_echo "$ac_cv_build" >&6; }
2100 case $ac_cv_build in
2102 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2105 ac_save_IFS=$IFS; IFS='-'
2111 # Remember, the first character of IFS is used to create $*,
2112 # except with old shells:
2115 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2119 $as_echo_n "checking host system type... " >&6; }
2120 if ${ac_cv_host+:} false; then :
2121 $as_echo_n "(cached) " >&6
2123 if test "x$host_alias" = x; then
2124 ac_cv_host=$ac_cv_build
2126 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2127 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2132 $as_echo "$ac_cv_host" >&6; }
2135 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2138 ac_save_IFS=$IFS; IFS='-'
2144 # Remember, the first character of IFS is used to create $*,
2145 # except with old shells:
2148 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2152 $as_echo_n "checking target system type... " >&6; }
2153 if ${ac_cv_target+:} false; then :
2154 $as_echo_n "(cached) " >&6
2156 if test "x$target_alias" = x; then
2157 ac_cv_target=$ac_cv_host
2159 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2160 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2165 $as_echo "$ac_cv_target" >&6; }
2166 case $ac_cv_target in
2168 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2170 target=$ac_cv_target
2171 ac_save_IFS=$IFS; IFS='-'
2177 # Remember, the first character of IFS is used to create $*,
2178 # except with old shells:
2181 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2184 # The aliases save the names the user supplied, while $host etc.
2185 # will get canonicalized.
2186 test -n "$target_alias" &&
2187 test "$program_prefix$program_suffix$program_transform_name" = \
2189 program_prefix=${target_alias}-
2191 ac_cpp='$CPP $CPPFLAGS'
2192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2195 if test -n "$ac_tool_prefix"; then
2196 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2197 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2199 $as_echo_n "checking for $ac_word... " >&6; }
2200 if ${ac_cv_prog_CC+:} false; then :
2201 $as_echo_n "(cached) " >&6
2203 if test -n "$CC"; then
2204 ac_cv_prog_CC="$CC" # Let the user override the test.
2206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2210 test -z "$as_dir" && as_dir=.
2211 for ac_exec_ext in '' $ac_executable_extensions; do
2212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2213 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2224 if test -n "$CC"; then
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2226 $as_echo "$CC" >&6; }
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2229 $as_echo "no" >&6; }
2234 if test -z "$ac_cv_prog_CC"; then
2236 # Extract the first word of "gcc", so it can be a program name with args.
2237 set dummy gcc; ac_word=$2
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2239 $as_echo_n "checking for $ac_word... " >&6; }
2240 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2241 $as_echo_n "(cached) " >&6
2243 if test -n "$ac_ct_CC"; then
2244 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2250 test -z "$as_dir" && as_dir=.
2251 for ac_exec_ext in '' $ac_executable_extensions; do
2252 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2253 ac_cv_prog_ac_ct_CC="gcc"
2254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2263 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2264 if test -n "$ac_ct_CC"; then
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2266 $as_echo "$ac_ct_CC" >&6; }
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2269 $as_echo "no" >&6; }
2272 if test "x$ac_ct_CC" = x; then
2275 case $cross_compiling:$ac_tool_warned in
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2278 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2279 ac_tool_warned=yes ;;
2287 if test -z "$CC"; then
2288 if test -n "$ac_tool_prefix"; then
2289 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2290 set dummy ${ac_tool_prefix}cc; ac_word=$2
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2292 $as_echo_n "checking for $ac_word... " >&6; }
2293 if ${ac_cv_prog_CC+:} false; then :
2294 $as_echo_n "(cached) " >&6
2296 if test -n "$CC"; then
2297 ac_cv_prog_CC="$CC" # Let the user override the test.
2299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2303 test -z "$as_dir" && as_dir=.
2304 for ac_exec_ext in '' $ac_executable_extensions; do
2305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2306 ac_cv_prog_CC="${ac_tool_prefix}cc"
2307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2317 if test -n "$CC"; then
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2319 $as_echo "$CC" >&6; }
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2322 $as_echo "no" >&6; }
2328 if test -z "$CC"; then
2329 # Extract the first word of "cc", so it can be a program name with args.
2330 set dummy cc; ac_word=$2
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2332 $as_echo_n "checking for $ac_word... " >&6; }
2333 if ${ac_cv_prog_CC+:} false; then :
2334 $as_echo_n "(cached) " >&6
2336 if test -n "$CC"; then
2337 ac_cv_prog_CC="$CC" # Let the user override the test.
2340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2344 test -z "$as_dir" && as_dir=.
2345 for ac_exec_ext in '' $ac_executable_extensions; do
2346 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2347 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2348 ac_prog_rejected=yes
2352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2359 if test $ac_prog_rejected = yes; then
2360 # We found a bogon in the path, so make sure we never use it.
2361 set dummy $ac_cv_prog_CC
2363 if test $# != 0; then
2364 # We chose a different compiler from the bogus one.
2365 # However, it has the same basename, so the bogon will be chosen
2366 # first if we set CC to just the basename; use the full file name.
2368 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2374 if test -n "$CC"; then
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2376 $as_echo "$CC" >&6; }
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2379 $as_echo "no" >&6; }
2384 if test -z "$CC"; then
2385 if test -n "$ac_tool_prefix"; then
2386 for ac_prog in cl.exe
2388 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2389 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2391 $as_echo_n "checking for $ac_word... " >&6; }
2392 if ${ac_cv_prog_CC+:} false; then :
2393 $as_echo_n "(cached) " >&6
2395 if test -n "$CC"; then
2396 ac_cv_prog_CC="$CC" # Let the user override the test.
2398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2402 test -z "$as_dir" && as_dir=.
2403 for ac_exec_ext in '' $ac_executable_extensions; do
2404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2405 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2416 if test -n "$CC"; then
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2418 $as_echo "$CC" >&6; }
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2421 $as_echo "no" >&6; }
2425 test -n "$CC" && break
2428 if test -z "$CC"; then
2430 for ac_prog in cl.exe
2432 # Extract the first word of "$ac_prog", so it can be a program name with args.
2433 set dummy $ac_prog; ac_word=$2
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2435 $as_echo_n "checking for $ac_word... " >&6; }
2436 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2437 $as_echo_n "(cached) " >&6
2439 if test -n "$ac_ct_CC"; then
2440 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2446 test -z "$as_dir" && as_dir=.
2447 for ac_exec_ext in '' $ac_executable_extensions; do
2448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2449 ac_cv_prog_ac_ct_CC="$ac_prog"
2450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2459 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2460 if test -n "$ac_ct_CC"; then
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2462 $as_echo "$ac_ct_CC" >&6; }
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2465 $as_echo "no" >&6; }
2469 test -n "$ac_ct_CC" && break
2472 if test "x$ac_ct_CC" = x; then
2475 case $cross_compiling:$ac_tool_warned in
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2478 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2479 ac_tool_warned=yes ;;
2488 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2490 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2491 See \
`config.log' for more details" "$LINENO" 5; }
2493 # Provide some information about the compiler.
2494 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2497 for ac_option in --version -v -V -qversion; do
2498 { { ac_try="$ac_compiler $ac_option >&5"
2500 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2501 *) ac_try_echo
=$ac_try;;
2503 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2504 $as_echo "$ac_try_echo"; } >&5
2505 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2507 if test -s conftest.err
; then
2509 ... rest of stderr output deleted ...
2510 10q' conftest.err
>conftest.er1
2511 cat conftest.er1
>&5
2513 rm -f conftest.er1 conftest.err
2514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2515 test $ac_status = 0; }
2518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2519 /* end confdefs.h. */
2529 ac_clean_files_save
=$ac_clean_files
2530 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2531 # Try to create an executable without -o first, disregard a.out.
2532 # It will help us diagnose broken compilers, and finding out an intuition
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2535 $as_echo_n "checking whether the C compiler works... " >&6; }
2536 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2538 # The possible output files:
2539 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2542 for ac_file
in $ac_files
2545 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2546 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2551 if { { ac_try
="$ac_link_default"
2553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2554 *) ac_try_echo=$ac_try;;
2556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2557 $as_echo "$ac_try_echo"; } >&5
2558 (eval "$ac_link_default") 2>&5
2560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2561 test $ac_status = 0; }; then :
2562 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2563 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2564 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2565 # so that the user can short-circuit this test for compilers unknown to
2567 for ac_file in $ac_files ''
2569 test -f "$ac_file" || continue
2571 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2574 # We found the default executable, but exeext='' is most
2578 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2580 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2582 # We set ac_cv_exeext here because the later test for it is not
2583 # safe: cross compilers may not add the suffix if given an `-o'
2584 # argument, so we may need to know it at that point already.
2585 # Even if this section looks crufty: it has the advantage of
2592 test "$ac_cv_exeext" = no && ac_cv_exeext=
2597 if test -z "$ac_file"; then :
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2599 $as_echo "no" >&6; }
2600 $as_echo "$as_me: failed program was:" >&5
2601 sed 's
/^
/|
/' conftest.$ac_ext >&5
2603 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2604 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2605 as_fn_error 77 "C compiler cannot create executables
2606 See \`config.log
' for more details" "$LINENO" 5; }
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2609 $as_echo "yes" >&6; }
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2612 $as_echo_n "checking for C compiler default output file name... " >&6; }
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2614 $as_echo "$ac_file" >&6; }
2615 ac_exeext=$ac_cv_exeext
2617 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2618 ac_clean_files=$ac_clean_files_save
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2620 $as_echo_n "checking for suffix of executables... " >&6; }
2621 if { { ac_try="$ac_link"
2623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2624 *) ac_try_echo=$ac_try;;
2626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2627 $as_echo "$ac_try_echo"; } >&5
2628 (eval "$ac_link") 2>&5
2630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2631 test $ac_status = 0; }; then :
2632 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2633 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2634 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2636 for ac_file
in conftest.exe conftest conftest.
*; do
2637 test -f "$ac_file" ||
continue
2639 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2640 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2646 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2648 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2649 See \`config.log' for more details" "$LINENO" 5; }
2651 rm -f conftest conftest
$ac_cv_exeext
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2653 $as_echo "$ac_cv_exeext" >&6; }
2655 rm -f conftest.
$ac_ext
2656 EXEEXT
=$ac_cv_exeext
2658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2659 /* end confdefs.h. */
2664 FILE *f = fopen ("conftest.out", "w");
2665 return ferror (f) || fclose (f) != 0;
2671 ac_clean_files
="$ac_clean_files conftest.out"
2672 # Check that the compiler produces executables we can run. If not, either
2673 # the compiler is broken, or we cross compile.
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2675 $as_echo_n "checking whether we are cross compiling... " >&6; }
2676 if test "$cross_compiling" != yes; then
2677 { { ac_try
="$ac_link"
2679 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2680 *) ac_try_echo=$ac_try;;
2682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2683 $as_echo "$ac_try_echo"; } >&5
2684 (eval "$ac_link") 2>&5
2686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2687 test $ac_status = 0; }
2688 if { ac_try='./conftest$ac_cv_exeext'
2689 { { case "(($ac_try" in
2690 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2691 *) ac_try_echo
=$ac_try;;
2693 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2694 $as_echo "$ac_try_echo"; } >&5
2695 (eval "$ac_try") 2>&5
2697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2698 test $ac_status = 0; }; }; then
2701 if test "$cross_compiling" = maybe
; then
2704 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2706 as_fn_error $?
"cannot run C compiled programs.
2707 If you meant to cross compile, use \`--host'.
2708 See \`config.log' for more details" "$LINENO" 5; }
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2713 $as_echo "$cross_compiling" >&6; }
2715 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2716 ac_clean_files
=$ac_clean_files_save
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2718 $as_echo_n "checking for suffix of object files... " >&6; }
2719 if ${ac_cv_objext+:} false
; then :
2720 $as_echo_n "(cached) " >&6
2722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2723 /* end confdefs.h. */
2733 rm -f conftest.o conftest.obj
2734 if { { ac_try
="$ac_compile"
2736 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2737 *) ac_try_echo=$ac_try;;
2739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2740 $as_echo "$ac_try_echo"; } >&5
2741 (eval "$ac_compile") 2>&5
2743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2744 test $ac_status = 0; }; then :
2745 for ac_file in conftest.o conftest.obj conftest.*; do
2746 test -f "$ac_file" || continue;
2748 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2749 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2754 $as_echo "$as_me: failed program was:" >&5
2755 sed 's/^/| /' conftest.$ac_ext >&5
2757 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2758 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2759 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2760 See \
`config.log' for more details" "$LINENO" 5; }
2762 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2765 $as_echo "$ac_cv_objext" >&6; }
2766 OBJEXT=$ac_cv_objext
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2769 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2770 if ${ac_cv_c_compiler_gnu+:} false; then :
2771 $as_echo_n "(cached) " >&6
2773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2774 /* end confdefs.h. */
2787 if ac_fn_c_try_compile "$LINENO"; then :
2792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2793 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2797 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2798 if test $ac_compiler_gnu = yes; then
2803 ac_test_CFLAGS=${CFLAGS+set}
2804 ac_save_CFLAGS=$CFLAGS
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2806 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2807 if ${ac_cv_prog_cc_g+:} false; then :
2808 $as_echo_n "(cached) " >&6
2810 ac_save_c_werror_flag=$ac_c_werror_flag
2811 ac_c_werror_flag=yes
2814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2815 /* end confdefs.h. */
2825 if ac_fn_c_try_compile "$LINENO"; then :
2829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2830 /* end confdefs.h. */
2840 if ac_fn_c_try_compile "$LINENO"; then :
2843 ac_c_werror_flag=$ac_save_c_werror_flag
2845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2846 /* end confdefs.h. */
2856 if ac_fn_c_try_compile "$LINENO"; then :
2859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2864 ac_c_werror_flag=$ac_save_c_werror_flag
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2867 $as_echo "$ac_cv_prog_cc_g" >&6; }
2868 if test "$ac_test_CFLAGS" = set; then
2869 CFLAGS=$ac_save_CFLAGS
2870 elif test $ac_cv_prog_cc_g = yes; then
2871 if test "$GCC" = yes; then
2877 if test "$GCC" = yes; then
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2884 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2885 if ${ac_cv_prog_cc_c89+:} false; then :
2886 $as_echo_n "(cached) " >&6
2888 ac_cv_prog_cc_c89=no
2890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2891 /* end confdefs.h. */
2895 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2896 struct buf { int x; };
2897 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2898 static char *e (p, i)
2904 static char *f (char * (*g) (char **, int), char **p, ...)
2909 s = g (p, va_arg (v,int));
2914 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2915 function prototypes and stuff, but not '\xHH' hex character constants.
2916 These don't provoke an error unfortunately, instead are silently treated
2917 as 'x'. The following induces an error, until -std is added to get
2918 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2919 array size at least. It's necessary to write '\x00'==0 to get something
2920 that's true only with -std. */
2921 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2923 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2924 inside strings and character constants. */
2926 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2928 int test (int i, double x);
2929 struct s1 {int (*f) (int a);};
2930 struct s2 {int (*f) (double a);};
2931 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2937 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2942 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2943 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2945 CC="$ac_save_CC $ac_arg"
2946 if ac_fn_c_try_compile "$LINENO"; then :
2947 ac_cv_prog_cc_c89=$ac_arg
2949 rm -f core conftest.err conftest.$ac_objext
2950 test "x$ac_cv_prog_cc_c89" != "xno" && break
2952 rm -f conftest.$ac_ext
2957 case "x$ac_cv_prog_cc_c89" in
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2960 $as_echo "none needed" >&6; } ;;
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2963 $as_echo "unsupported" >&6; } ;;
2965 CC="$CC $ac_cv_prog_cc_c89"
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2967 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2969 if test "x$ac_cv_prog_cc_c89" != xno; then :
2974 ac_cpp='$CPP $CPPFLAGS'
2975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2981 ac_cpp='$CPP $CPPFLAGS'
2982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2986 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2987 # On Suns, sometimes $CPP names a directory.
2988 if test -n "$CPP" && test -d "$CPP"; then
2991 if test -z "$CPP"; then
2992 if ${ac_cv_prog_CPP+:} false; then :
2993 $as_echo_n "(cached) " >&6
2995 # Double quotes because CPP needs to be expanded
2996 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2999 for ac_c_preproc_warn_flag in '' yes
3001 # Use a header file that comes with gcc, so configuring glibc
3002 # with a fresh cross-compiler works.
3003 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3004 # <limits.h> exists even on freestanding compilers.
3005 # On the NeXT, cc -E runs the code through the compiler's parser,
3006 # not just through cpp. "Syntax error" is here to catch this case.
3007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3008 /* end confdefs.h. */
3010 # include <limits.h>
3012 # include <assert.h>
3016 if ac_fn_c_try_cpp "$LINENO"; then :
3019 # Broken: fails on valid input.
3022 rm -f conftest.err conftest.i conftest.$ac_ext
3024 # OK, works on sane cases. Now check whether nonexistent headers
3025 # can be detected and how.
3026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3027 /* end confdefs.h. */
3028 #include <ac_nonexistent.h>
3030 if ac_fn_c_try_cpp "$LINENO"; then :
3031 # Broken: success on invalid input.
3034 # Passes both tests.
3038 rm -f conftest.err conftest.i conftest.$ac_ext
3041 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3042 rm -f conftest.i conftest.err conftest.
$ac_ext
3043 if $ac_preproc_ok; then :
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3056 $as_echo "$CPP" >&6; }
3058 for ac_c_preproc_warn_flag
in '' yes
3060 # Use a header file that comes with gcc, so configuring glibc
3061 # with a fresh cross-compiler works.
3062 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3063 # <limits.h> exists even on freestanding compilers.
3064 # On the NeXT, cc -E runs the code through the compiler's parser,
3065 # not just through cpp. "Syntax error" is here to catch this case.
3066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3067 /* end confdefs.h. */
3069 # include <limits.h>
3071 # include <assert.h>
3075 if ac_fn_c_try_cpp
"$LINENO"; then :
3078 # Broken: fails on valid input.
3081 rm -f conftest.err conftest.i conftest.
$ac_ext
3083 # OK, works on sane cases. Now check whether nonexistent headers
3084 # can be detected and how.
3085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3086 /* end confdefs.h. */
3087 #include <ac_nonexistent.h>
3089 if ac_fn_c_try_cpp
"$LINENO"; then :
3090 # Broken: success on invalid input.
3093 # Passes both tests.
3097 rm -f conftest.err conftest.i conftest.
$ac_ext
3100 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3101 rm -f conftest.i conftest.err conftest.
$ac_ext
3102 if $ac_preproc_ok; then :
3105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3107 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3108 See \`config.log' for more details" "$LINENO" 5; }
3112 ac_cpp
='$CPP $CPPFLAGS'
3113 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3114 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3115 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3119 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3120 if ${ac_cv_path_GREP+:} false
; then :
3121 $as_echo_n "(cached) " >&6
3123 if test -z "$GREP"; then
3124 ac_path_GREP_found
=false
3125 # Loop through the user's path and test for each of PROGNAME-LIST
3126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3127 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3130 test -z "$as_dir" && as_dir
=.
3131 for ac_prog
in grep ggrep
; do
3132 for ac_exec_ext
in '' $ac_executable_extensions; do
3133 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3134 as_fn_executable_p
"$ac_path_GREP" ||
continue
3135 # Check for GNU ac_path_GREP and select it if it is found.
3136 # Check for GNU $ac_path_GREP
3137 case `"$ac_path_GREP" --version 2>&1` in
3139 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3142 $as_echo_n 0123456789 >"conftest.in"
3145 cat "conftest.in" "conftest.in" >"conftest.tmp"
3146 mv "conftest.tmp" "conftest.in"
3147 cp "conftest.in" "conftest.nl"
3148 $as_echo 'GREP' >> "conftest.nl"
3149 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3150 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3151 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3152 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3153 # Best one so far, save it but keep looking for a better one
3154 ac_cv_path_GREP
="$ac_path_GREP"
3155 ac_path_GREP_max
=$ac_count
3157 # 10*(2^10) chars as input seems more than enough
3158 test $ac_count -gt 10 && break
3160 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3163 $ac_path_GREP_found && break 3
3168 if test -z "$ac_cv_path_GREP"; then
3169 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3172 ac_cv_path_GREP
=$GREP
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3177 $as_echo "$ac_cv_path_GREP" >&6; }
3178 GREP
="$ac_cv_path_GREP"
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3182 $as_echo_n "checking for egrep... " >&6; }
3183 if ${ac_cv_path_EGREP+:} false
; then :
3184 $as_echo_n "(cached) " >&6
3186 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3187 then ac_cv_path_EGREP
="$GREP -E"
3189 if test -z "$EGREP"; then
3190 ac_path_EGREP_found
=false
3191 # Loop through the user's path and test for each of PROGNAME-LIST
3192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3193 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3196 test -z "$as_dir" && as_dir
=.
3197 for ac_prog
in egrep; do
3198 for ac_exec_ext
in '' $ac_executable_extensions; do
3199 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3200 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3201 # Check for GNU ac_path_EGREP and select it if it is found.
3202 # Check for GNU $ac_path_EGREP
3203 case `"$ac_path_EGREP" --version 2>&1` in
3205 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3208 $as_echo_n 0123456789 >"conftest.in"
3211 cat "conftest.in" "conftest.in" >"conftest.tmp"
3212 mv "conftest.tmp" "conftest.in"
3213 cp "conftest.in" "conftest.nl"
3214 $as_echo 'EGREP' >> "conftest.nl"
3215 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3216 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3217 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3218 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3219 # Best one so far, save it but keep looking for a better one
3220 ac_cv_path_EGREP
="$ac_path_EGREP"
3221 ac_path_EGREP_max
=$ac_count
3223 # 10*(2^10) chars as input seems more than enough
3224 test $ac_count -gt 10 && break
3226 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3229 $ac_path_EGREP_found && break 3
3234 if test -z "$ac_cv_path_EGREP"; then
3235 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3238 ac_cv_path_EGREP
=$EGREP
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3244 $as_echo "$ac_cv_path_EGREP" >&6; }
3245 EGREP
="$ac_cv_path_EGREP"
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3249 $as_echo_n "checking for ANSI C header files... " >&6; }
3250 if ${ac_cv_header_stdc+:} false
; then :
3251 $as_echo_n "(cached) " >&6
3253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3254 /* end confdefs.h. */
3268 if ac_fn_c_try_compile
"$LINENO"; then :
3269 ac_cv_header_stdc
=yes
3271 ac_cv_header_stdc
=no
3273 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3275 if test $ac_cv_header_stdc = yes; then
3276 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h. */
3282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3283 $EGREP "memchr" >/dev
/null
2>&1; then :
3286 ac_cv_header_stdc
=no
3292 if test $ac_cv_header_stdc = yes; then
3293 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3295 /* end confdefs.h. */
3299 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3300 $EGREP "free" >/dev
/null
2>&1; then :
3303 ac_cv_header_stdc
=no
3309 if test $ac_cv_header_stdc = yes; then
3310 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3311 if test "$cross_compiling" = yes; then :
3314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3315 /* end confdefs.h. */
3318 #if ((' ' & 0x0FF) == 0x020)
3319 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3320 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3322 # define ISLOWER(c) \
3323 (('a' <= (c) && (c) <= 'i') \
3324 || ('j' <= (c) && (c) <= 'r') \
3325 || ('s' <= (c) && (c) <= 'z'))
3326 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3329 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3334 for (i = 0; i < 256; i++)
3335 if (XOR (islower (i), ISLOWER (i))
3336 || toupper (i) != TOUPPER (i))
3341 if ac_fn_c_try_run
"$LINENO"; then :
3344 ac_cv_header_stdc
=no
3346 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3347 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3353 $as_echo "$ac_cv_header_stdc" >&6; }
3354 if test $ac_cv_header_stdc = yes; then
3356 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3360 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3361 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3362 inttypes.h stdint.h unistd.h
3364 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3365 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3367 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3368 cat >>confdefs.h
<<_ACEOF
3369 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3378 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3379 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3386 if test "$MINIX" = yes; then
3388 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3391 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3394 $as_echo "#define _MINIX 1" >>confdefs.h
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3400 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3401 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3402 $as_echo_n "(cached) " >&6
3404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3405 /* end confdefs.h. */
3407 # define __EXTENSIONS__ 1
3408 $ac_includes_default
3417 if ac_fn_c_try_compile
"$LINENO"; then :
3418 ac_cv_safe_to_define___extensions__
=yes
3420 ac_cv_safe_to_define___extensions__
=no
3422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3425 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3426 test $ac_cv_safe_to_define___extensions__ = yes &&
3427 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3429 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3431 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3433 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3435 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3438 test "$program_prefix" != NONE
&&
3439 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3440 # Use a double $ so make ignores it.
3441 test "$program_suffix" != NONE
&&
3442 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3443 # Double any \ or $.
3444 # By default was `s,x,x', remove it if useless.
3445 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3446 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3448 # Find a good install program. We prefer a C program (faster),
3449 # so one script is as good as another. But avoid the broken or
3450 # incompatible versions:
3451 # SysV /etc/install, /usr/sbin/install
3452 # SunOS /usr/etc/install
3453 # IRIX /sbin/install
3455 # AmigaOS /C/install, which installs bootblocks on floppy discs
3456 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3457 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3458 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3459 # OS/2's system install, which has a completely different semantic
3460 # ./install, which can be erroneously created by make from ./install.sh.
3461 # Reject install programs that cannot install multiple files.
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3463 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3464 if test -z "$INSTALL"; then
3465 if ${ac_cv_path_install+:} false
; then :
3466 $as_echo_n "(cached) " >&6
3468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3472 test -z "$as_dir" && as_dir
=.
3473 # Account for people who put trailing slashes in PATH elements.
3474 case $as_dir/ in #((
3475 .
/ | .
// |
/[cC
]/* | \
3476 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3477 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3480 # OSF1 and SCO ODT 3.0 have their own names for install.
3481 # Don't use installbsd from OSF since it installs stuff as root
3483 for ac_prog
in ginstall scoinst
install; do
3484 for ac_exec_ext
in '' $ac_executable_extensions; do
3485 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3486 if test $ac_prog = install &&
3487 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3488 # AIX install. It has an incompatible calling convention.
3490 elif test $ac_prog = install &&
3491 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3492 # program-specific install script used by HP pwplus--don't use.
3495 rm -rf conftest.one conftest.two conftest.dir
3496 echo one
> conftest.one
3497 echo two
> conftest.two
3499 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3500 test -s conftest.one
&& test -s conftest.two
&&
3501 test -s conftest.dir
/conftest.one
&&
3502 test -s conftest.dir
/conftest.two
3504 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3517 rm -rf conftest.one conftest.two conftest.dir
3520 if test "${ac_cv_path_install+set}" = set; then
3521 INSTALL
=$ac_cv_path_install
3523 # As a last resort, use the slow shell script. Don't cache a
3524 # value for INSTALL within a source directory, because that will
3525 # break other packages using the cache if that directory is
3526 # removed, or if the value is a relative name.
3527 INSTALL
=$ac_install_sh
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3531 $as_echo "$INSTALL" >&6; }
3533 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3534 # It thinks the first close brace ends the variable substitution.
3535 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3537 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3539 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3541 rm -rf .tst
2>/dev
/null
3542 mkdir .tst
2>/dev
/null
3543 if test -d .tst
; then
3548 rmdir .tst
2>/dev
/null
3550 DEPDIR
="${am__leading_dot}deps"
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
3557 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
3558 if ${ac_cv_c_bigendian+:} false
; then :
3559 $as_echo_n "(cached) " >&6
3561 ac_cv_c_bigendian
=unknown
3562 # See if we're dealing with a universal compiler.
3563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3564 /* end confdefs.h. */
3565 #ifndef __APPLE_CC__
3566 not a universal capable compiler
3571 if ac_fn_c_try_compile
"$LINENO"; then :
3573 # Check for potential -arch flags. It is not universal unless
3574 # there are at least two -arch flags with different values.
3577 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
3578 if test -n "$ac_prev"; then
3580 i?
86 | x86_64 | ppc | ppc64
)
3581 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
3584 ac_cv_c_bigendian
=universal
3590 elif test "x$ac_word" = "x-arch"; then
3595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3596 if test $ac_cv_c_bigendian = unknown
; then
3597 # See if sys/param.h defines the BYTE_ORDER macro.
3598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3599 /* end confdefs.h. */
3600 #include <sys/types.h>
3601 #include <sys/param.h>
3606 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
3607 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
3616 if ac_fn_c_try_compile
"$LINENO"; then :
3617 # It does; now see whether it defined to BIG_ENDIAN or not.
3618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3619 /* end confdefs.h. */
3620 #include <sys/types.h>
3621 #include <sys/param.h>
3626 #if BYTE_ORDER != BIG_ENDIAN
3634 if ac_fn_c_try_compile
"$LINENO"; then :
3635 ac_cv_c_bigendian
=yes
3637 ac_cv_c_bigendian
=no
3639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3643 if test $ac_cv_c_bigendian = unknown
; then
3644 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
3645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3646 /* end confdefs.h. */
3652 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
3660 if ac_fn_c_try_compile
"$LINENO"; then :
3661 # It does; now see whether it defined to _BIG_ENDIAN or not.
3662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3663 /* end confdefs.h. */
3677 if ac_fn_c_try_compile
"$LINENO"; then :
3678 ac_cv_c_bigendian
=yes
3680 ac_cv_c_bigendian
=no
3682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3684 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3686 if test $ac_cv_c_bigendian = unknown
; then
3687 # Compile a test program.
3688 if test "$cross_compiling" = yes; then :
3689 # Try to guess by grepping values from an object file.
3690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3691 /* end confdefs.h. */
3692 short int ascii_mm[] =
3693 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3694 short int ascii_ii[] =
3695 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3696 int use_ascii (int i) {
3697 return ascii_mm[i] + ascii_ii[i];
3699 short int ebcdic_ii[] =
3700 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3701 short int ebcdic_mm[] =
3702 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3703 int use_ebcdic (int i) {
3704 return ebcdic_mm[i] + ebcdic_ii[i];
3711 return use_ascii (foo) == use_ebcdic (foo);
3716 if ac_fn_c_try_compile
"$LINENO"; then :
3717 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
3718 ac_cv_c_bigendian
=yes
3720 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
3721 if test "$ac_cv_c_bigendian" = unknown
; then
3722 ac_cv_c_bigendian
=no
3724 # finding both strings is unlikely to happen, but who knows?
3725 ac_cv_c_bigendian
=unknown
3729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3732 /* end confdefs.h. */
3733 $ac_includes_default
3738 /* Are we little or big endian? From Harbison&Steele. */
3742 char c[sizeof (long int)];
3745 return u.c[sizeof (long int) - 1] == 1;
3751 if ac_fn_c_try_run
"$LINENO"; then :
3752 ac_cv_c_bigendian
=no
3754 ac_cv_c_bigendian
=yes
3756 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3757 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
3763 $as_echo "$ac_cv_c_bigendian" >&6; }
3764 case $ac_cv_c_bigendian in #(
3766 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
3772 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
3776 as_fn_error $?
"unknown endianness
3777 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
3783 if test "x$cross_compiling" = "xno"; then
3784 : "${AR_FOR_BUILD:=\$(AR)}"
3785 : "${CC_FOR_BUILD:=\$(CC)}"
3786 : "${RANLIB_FOR_BUILD:=\$(RANLIB)}"
3787 : "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
3788 : "${LDFLAGS_FOR_BUILD:=\$(LDFLAGS)}"
3790 : "${AR_FOR_BUILD:=ar}"
3791 : "${CC_FOR_BUILD:=gcc}"
3792 : "${RANLIB_FOR_BUILD:=ranlib}"
3793 : "${CFLAGS_FOR_BUILD:=-g -O}"
3794 : "${LDLFAGS_FOR_BUILD:=}"
3803 if test -n "$ac_tool_prefix"; then
3804 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3805 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3807 $as_echo_n "checking for $ac_word... " >&6; }
3808 if ${ac_cv_prog_AR+:} false
; then :
3809 $as_echo_n "(cached) " >&6
3811 if test -n "$AR"; then
3812 ac_cv_prog_AR
="$AR" # Let the user override the test.
3814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3818 test -z "$as_dir" && as_dir
=.
3819 for ac_exec_ext
in '' $ac_executable_extensions; do
3820 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3821 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3832 if test -n "$AR"; then
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3834 $as_echo "$AR" >&6; }
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3837 $as_echo "no" >&6; }
3842 if test -z "$ac_cv_prog_AR"; then
3844 # Extract the first word of "ar", so it can be a program name with args.
3845 set dummy
ar; ac_word
=$2
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3847 $as_echo_n "checking for $ac_word... " >&6; }
3848 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
3849 $as_echo_n "(cached) " >&6
3851 if test -n "$ac_ct_AR"; then
3852 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3858 test -z "$as_dir" && as_dir
=.
3859 for ac_exec_ext
in '' $ac_executable_extensions; do
3860 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3861 ac_cv_prog_ac_ct_AR
="ar"
3862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3871 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3872 if test -n "$ac_ct_AR"; then
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3874 $as_echo "$ac_ct_AR" >&6; }
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3877 $as_echo "no" >&6; }
3880 if test "x$ac_ct_AR" = x
; then
3883 case $cross_compiling:$ac_tool_warned in
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3886 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3887 ac_tool_warned
=yes ;;
3895 if test -n "$ac_tool_prefix"; then
3896 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3897 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3899 $as_echo_n "checking for $ac_word... " >&6; }
3900 if ${ac_cv_prog_RANLIB+:} false
; then :
3901 $as_echo_n "(cached) " >&6
3903 if test -n "$RANLIB"; then
3904 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3910 test -z "$as_dir" && as_dir
=.
3911 for ac_exec_ext
in '' $ac_executable_extensions; do
3912 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3913 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3923 RANLIB
=$ac_cv_prog_RANLIB
3924 if test -n "$RANLIB"; then
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3926 $as_echo "$RANLIB" >&6; }
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3929 $as_echo "no" >&6; }
3934 if test -z "$ac_cv_prog_RANLIB"; then
3935 ac_ct_RANLIB
=$RANLIB
3936 # Extract the first word of "ranlib", so it can be a program name with args.
3937 set dummy ranlib
; ac_word
=$2
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3939 $as_echo_n "checking for $ac_word... " >&6; }
3940 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
3941 $as_echo_n "(cached) " >&6
3943 if test -n "$ac_ct_RANLIB"; then
3944 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3950 test -z "$as_dir" && as_dir
=.
3951 for ac_exec_ext
in '' $ac_executable_extensions; do
3952 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3953 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3963 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3964 if test -n "$ac_ct_RANLIB"; then
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3966 $as_echo "$ac_ct_RANLIB" >&6; }
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3969 $as_echo "no" >&6; }
3972 if test "x$ac_ct_RANLIB" = x
; then
3975 case $cross_compiling:$ac_tool_warned in
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3978 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3979 ac_tool_warned
=yes ;;
3981 RANLIB
=$ac_ct_RANLIB
3984 RANLIB
="$ac_cv_prog_RANLIB"
3988 # Require C11 or newer. Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
3989 # AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
3990 # is C99. So handle it ourselves.
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
3994 $as_echo_n "checking whether C11 is supported by default... " >&6; }
3995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3996 /* end confdefs.h. */
3998 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3999 # error "C11 support not found"
4003 if ac_fn_c_try_compile
"$LINENO"; then :
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4005 $as_echo "yes" >&6; }
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4009 $as_echo "no" >&6; }
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
4011 $as_echo_n "checking for -std=c11 support... " >&6; }
4014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4015 /* end confdefs.h. */
4017 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4018 # error "C11 support not found"
4022 if ac_fn_c_try_compile
"$LINENO"; then :
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4025 $as_echo "yes" >&6; }
4027 C_DIALECT
="-std=c11"
4030 as_fn_error $?
"C11 is required" "$LINENO" 5
4032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4034 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4038 # Dependency checking.
4039 ac_config_commands
="$ac_config_commands depdir"
4042 depcc
="$CC" am_compiler_list
=
4044 am_depcomp
=$ac_aux_dir/depcomp
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4046 $as_echo_n "checking dependency style of $depcc... " >&6; }
4047 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4048 $as_echo_n "(cached) " >&6
4050 if test -f "$am_depcomp"; then
4051 # We make a subdir and do the tests there. Otherwise we can end up
4052 # making bogus files that we don't know about and never remove. For
4053 # instance it was reported that on HP-UX the gcc test will end up
4054 # making a dummy file named `D' -- because `-MD' means `put the output
4057 # Copy depcomp to subdir because otherwise we won't find it if we're
4058 # using a relative directory.
4059 cp "$am_depcomp" conftest.dir
4061 # We will build objects and dependencies in a subdirectory because
4062 # it helps to detect inapplicable dependency modes. For instance
4063 # both Tru64's cc and ICC support -MD to output dependencies as a
4064 # side effect of compilation, but ICC will put the dependencies in
4065 # the current directory while Tru64 will put them in the object
4069 am_cv_CC_dependencies_compiler_type
=none
4070 if test "$am_compiler_list" = ""; then
4071 am_compiler_list
=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4073 for depmode
in $am_compiler_list; do
4074 if test $depmode = none
; then break; fi
4076 $as_echo "$as_me:$LINENO: trying $depmode" >&5
4077 # Setup a source with many dependencies, because some compilers
4078 # like to wrap large dependency lists on column 80 (with \), and
4079 # we should not choose a depcomp mode which is confused by this.
4081 # We need to recreate these files for each test, as the compiler may
4082 # overwrite some of them when testing with obscure command lines.
4083 # This happens at least with the AIX C compiler.
4085 for i
in 1 2 3 4 5 6; do
4086 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4087 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4088 # Solaris 8's {/usr,}/bin/sh.
4089 touch sub
/conftst
$i.h
4091 echo "include sub/conftest.Po" > confmf
4093 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4094 # mode. It turns out that the SunPro C++ compiler does not properly
4095 # handle `-M -o', and we need to detect this.
4096 depcmd
="depmode=$depmode \
4097 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4098 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4099 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
4100 echo "| $depcmd" |
sed -e 's/ */ /g' >&5
4101 if env
$depcmd > conftest.err
2>&1 &&
4102 grep sub
/conftst6.h sub
/conftest.Po
>>conftest.err
2>&1 &&
4103 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
>>conftest.err
2>&1 &&
4104 ${MAKE-make} -s -f confmf
>>conftest.err
2>&1; then
4105 # icc doesn't choke on unknown options, it will just issue warnings
4106 # or remarks (even with -Werror). So we grep stderr for any message
4107 # that says an option was ignored or not supported.
4108 # When given -MP, icc 7.0 and 7.1 complain thusly:
4109 # icc: Command line warning: ignoring option '-M'; no argument required
4110 # The diagnosis changed in icc 8.0:
4111 # icc: Command line remark: option '-MP' not supported
4112 if (grep 'ignoring option' conftest.err ||
4113 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4114 am_cv_CC_dependencies_compiler_type
=$depmode
4115 $as_echo "$as_me:$LINENO: success" >&5
4119 $as_echo "$as_me:$LINENO: failure, diagnostics are:" >&5
4120 sed -e 's/^/| /' < conftest.err
>&5
4126 am_cv_CC_dependencies_compiler_type
=none
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4131 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4132 if test x
${am_cv_CC_dependencies_compiler_type-none} = xnone
4133 then as_fn_error $?
"no usable dependency style found" "$LINENO" 5
4134 else CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4140 # If we haven't got the data from the intl directory,
4141 # assume NLS is disabled.
4150 if test -f ..
/..
/intl
/config.intl
; then
4151 . ..
/..
/intl
/config.intl
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4154 $as_echo_n "checking whether NLS is requested... " >&6; }
4155 if test x
"$USE_NLS" != xyes
; then
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4157 $as_echo "no" >&6; }
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4160 $as_echo "yes" >&6; }
4162 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
4166 $as_echo_n "checking for catalogs to be installed... " >&6; }
4167 # Look for .po and .gmo files in the source directory.
4170 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
4171 # If there aren't any .gmo files the shell will give us the
4172 # literal string "../path/to/srcdir/po/*.gmo" which has to be
4174 case "$cat" in *\
**)
4177 # The quadruple backslash is collapsed to a double backslash
4178 # by the backticks, then collapsed again by the double quotes,
4179 # leaving us with one backslash in the sed expression (right
4180 # before the dot that mustn't act as a wildcard).
4181 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
4182 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
4183 # The user is allowed to set LINGUAS to a list of languages to
4184 # install catalogs for. If it's empty that means "all of them."
4185 if test "x$LINGUAS" = x
; then
4186 CATALOGS
="$CATALOGS $cat"
4187 XLINGUAS
="$XLINGUAS $lang"
4189 case "$LINGUAS" in *$lang*)
4190 CATALOGS
="$CATALOGS $cat"
4191 XLINGUAS
="$XLINGUAS $lang"
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
4198 $as_echo "$LINGUAS" >&6; }
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4213 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4214 # Check whether --enable-maintainer-mode was given.
4215 if test "${enable_maintainer_mode+set}" = set; then :
4216 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4218 USE_MAINTAINER_MODE
=no
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4222 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4223 if test $USE_MAINTAINER_MODE = yes; then
4224 MAINTAINER_MODE_TRUE
=
4225 MAINTAINER_MODE_FALSE
='#'
4227 MAINTAINER_MODE_TRUE
='#'
4228 MAINTAINER_MODE_FALSE
=
4231 MAINT
=$MAINTAINER_MODE_TRUE
4236 sim_inline
="-DDEFAULT_INLINE=0"
4237 # Check whether --enable-sim-inline was given.
4238 if test "${enable_sim_inline+set}" = set; then :
4239 enableval
=$enable_sim_inline; sim_inline
=""
4240 case "$enableval" in
4241 no
) sim_inline
="-DDEFAULT_INLINE=0";;
4242 0) sim_inline
="-DDEFAULT_INLINE=0";;
4243 yes |
2) sim_inline
="-DDEFAULT_INLINE=ALL_C_INLINE";;
4244 1) sim_inline
="-DDEFAULT_INLINE=INLINE_LOCALS";;
4245 *) for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4248 *_INLINE
=*) new_flag
="-D$x";;
4249 *=*) new_flag
=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
4250 *_INLINE
) new_flag
="-D$x=ALL_C_INLINE";;
4251 *) new_flag
="-D$x""_INLINE=ALL_C_INLINE";;
4253 if test x
"$sim_inline" = x
""; then
4254 sim_inline
="$new_flag"
4256 sim_inline
="$sim_inline $new_flag"
4260 if test x
"$silent" != x
"yes" && test x
"$sim_inline" != x
""; then
4261 echo "Setting inline flags = $sim_inline" 6>&1
4268 default_sim_reserved_bits
="1"
4269 # Check whether --enable-sim-reserved-bits was given.
4270 if test "${enable_sim_reserved_bits+set}" = set; then :
4271 enableval
=$enable_sim_reserved_bits; case "${enableval}" in
4272 yes) sim_reserved_bits
="-DWITH_RESERVED_BITS=1";;
4273 no
) sim_reserved_bits
="-DWITH_RESERVED_BITS=0";;
4274 *) as_fn_error $?
"\"--enable-sim-reserved-bits does not take a value\"" "$LINENO" 5; sim_reserved_bits
="";;
4276 if test x
"$silent" != x
"yes" && test x
"$sim_reserved_bits" != x
""; then
4277 echo "Setting reserved flags = $sim_reserved_bits" 6>&1
4280 sim_reserved_bits
="-DWITH_RESERVED_BITS=${default_sim_reserved_bits}"
4283 wire_word_bitsize
="32"
4285 wire_address_bitsize
=""
4286 wire_cell_bitsize
=""
4287 # Check whether --enable-sim-bitsize was given.
4288 if test "${enable_sim_bitsize+set}" = set; then :
4289 enableval
=$enable_sim_bitsize; sim_bitsize
=
4290 case "${enableval}" in
4291 64,63 |
64,63,* ) sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=64 -DWITH_TARGET_WORD_MSB=63";;
4292 32,31 |
32,31,* ) sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=31";;
4293 64,0 |
64,0,* ) sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=0";;
4294 32,0 |
64,0,* ) sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=0";;
4295 32) if test x
"$wire_word_msb" != x
-a x
"$wire_word_msb" != x0
; then
4296 sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=31"
4298 sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=0"
4300 64) if test x
"$wire_word_msb" != x
-a x
"$wire_word_msb" != x0
; then
4301 sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=64 -DWITH_TARGET_WORD_MSB=63"
4303 sim_bitsize
="-DWITH_TARGET_WORD_BITSIZE=64 -DWITH_TARGET_WORD_MSB=0"
4305 *) as_fn_error $?
"\"--enable-sim-bitsize was given $enableval. Expected 32 or 64\"" "$LINENO" 5 ;;
4308 tmp
=`echo "${enableval}" | sed -e "s/^[0-9]*,*[0-9]*,*//"`
4311 x32 | x32
,* ) sim_bitsize
="${sim_bitsize} -DWITH_TARGET_ADDRESS_BITSIZE=32" ;;
4312 x64 | x64
,* ) sim_bitsize
="${sim_bitsize} -DWITH_TARGET_ADDRESS_BITSIZE=64" ;;
4313 * ) as_fn_error $?
"\"--enable-sim-bitsize was given address size $enableval. Expected 32 or 64\"" "$LINENO" 5 ;;
4316 tmp
=`echo "${enableval}" | sed -e "s/^[0-9]*,*[0-9*]*,*[0-9]*,*//"`
4319 x32 | x32
,* ) sim_bitsize
="${sim_bitsize} -DWITH_TARGET_CELL_BITSIZE=32" ;;
4320 x64 | x64
,* ) sim_bitsize
="${sim_bitsize} -DWITH_TARGET_CELL_BITSIZE=64" ;;
4321 * ) as_fn_error $?
"\"--enable-sim-bitsize was given cell size $enableval. Expected 32 or 64\"" "$LINENO" 5 ;;
4323 if test x
"$silent" != x
"yes" && test x
"$sim_bitsize" != x
""; then
4324 echo "Setting bitsize flags = $sim_bitsize" 6>&1
4328 if test x
"$wire_word_bitsize" != x
; then
4329 sim_bitsize
="$sim_bitsize -DWITH_TARGET_WORD_BITSIZE=$wire_word_bitsize"
4331 if test x
"$wire_word_msb" != x
; then
4332 sim_bitsize
="$sim_bitsize -DWITH_TARGET_WORD_MSB=$wire_word_msb"
4334 if test x
"$wire_address_bitsize" != x
; then
4335 sim_bitsize
="$sim_bitsize -DWITH_TARGET_ADDRESS_BITSIZE=$wire_address_bitsize"
4337 if test x
"$wire_cell_bitsize" != x
; then
4338 sim_bitsize
="$sim_bitsize -DWITH_TARGET_CELL_BITSIZE=$wire_cell_bitsize"
4344 hardware
="cfi core pal glue "
4345 sim_hw_cflags
="-DWITH_HW=1"
4347 sim_hw_objs
="\$(SIM_COMMON_HW_OBJS) `echo $sim_hw | sed -e 's/\([^ ][^ ]*\)/dv-\1.o/g'`"
4349 # Check whether --enable-sim-hardware was given.
4350 if test "${enable_sim_hardware+set}" = set; then :
4351 enableval
=$enable_sim_hardware;
4353 enable_sim_hardware
="yes"
4356 case ${enable_sim_hardware} in
4358 ,*) hardware
="${hardware} `echo ${enableval} | sed -e 's/,/ /'`";;
4359 *,) hardware
="`echo ${enableval} | sed -e 's/,/ /'` ${hardware}";;
4360 *) hardware
="`echo ${enableval} | sed -e 's/,/ /'`"'';;
4363 if test "$enable_sim_hardware" = no
; then
4365 sim_hw_cflags
="-DWITH_HW=0"
4368 sim_hw_cflags
="-DWITH_HW=1"
4371 sim_hw_objs
="\$(SIM_COMMON_HW_OBJS)"
4372 for i
in $hardware ; do
4375 *) sim_hw
="$sim_hw $i" ; sim_hw_objs
="$sim_hw_objs dv-$i.o";;
4378 # mingw does not support sockser
4381 *) # TODO: We don't add dv-sockser to sim_hw as it is not a "real" device
4382 # that you instatiate. Instead, other code will call into it directly.
4383 # At some point, we should convert it over.
4384 sim_hw_objs
="$sim_hw_objs dv-sockser.o"
4385 sim_hw_cflags
="$sim_hw_cflags -DHAVE_DV_SOCKSER"
4388 if test x
"$silent" != x
"yes"; then
4389 echo "Setting hardware to $sim_hw_cflags, $sim_hw, $sim_hw_objs"
4395 if grep CGEN_MAINT
$srcdir/Makefile.
in >/dev
/null
; then
4396 cgen_breaks
="break cgen_rtx_error";
4399 ac_config_files
="$ac_config_files Makefile.sim:Makefile.in"
4401 ac_config_files
="$ac_config_files Make-common.sim:../common/Make-common.in"
4403 ac_config_files
="$ac_config_files .gdbinit:../common/gdbinit.in"
4405 ac_config_commands
="$ac_config_commands Makefile"
4407 ac_config_commands
="$ac_config_commands stamp-h"
4419 cat >confcache
<<\_ACEOF
4420 # This file is a shell script that caches the results of configure
4421 # tests run on this system so they can be shared between configure
4422 # scripts and configure runs, see configure's option --config-cache.
4423 # It is not useful on other systems. If it contains results you don't
4424 # want to keep, you may remove or edit it.
4426 # config.status only pays attention to the cache file if you give it
4427 # the --recheck option to rerun configure.
4429 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4430 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4435 # The following way of writing the cache mishandles newlines in values,
4436 # but we know of no workaround that is simple, portable, and efficient.
4437 # So, we kill variables containing newlines.
4438 # Ultrix sh set writes to stderr and can't be redirected directly,
4439 # and sets the high bit in the cache file unless we assign to the vars.
4441 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4442 eval ac_val
=\$
$ac_var
4446 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4447 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4450 _ | IFS | as_nl
) ;; #(
4451 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4452 *) { eval $ac_var=; unset $ac_var;} ;;
4458 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4459 *${as_nl}ac_space
=\
*)
4460 # `set' does not quote correctly, so add quotes: double-quote
4461 # substitution turns \\\\ into \\, and sed turns \\ into \.
4464 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4467 # `set' quotes correctly as required by POSIX, so do not add quotes.
4468 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4477 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4479 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4481 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4482 if test -w "$cache_file"; then
4483 if test "x$cache_file" != "x/dev/null"; then
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4485 $as_echo "$as_me: updating cache $cache_file" >&6;}
4486 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4487 cat confcache
>"$cache_file"
4489 case $cache_file in #(
4491 mv -f confcache
"$cache_file"$$
&&
4492 mv -f "$cache_file"$$
"$cache_file" ;; #(
4494 mv -f confcache
"$cache_file" ;;
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4500 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4505 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4506 # Let make expand exec_prefix.
4507 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4509 # Transform confdefs.h into DEFS.
4510 # Protect against shell expansion while executing Makefile rules.
4511 # Protect against Makefile macro expansion.
4513 # If the first sed substitution is executed (which looks for macros that
4514 # take arguments), then branch to the quote section. Otherwise,
4515 # look for a macro that doesn't take arguments.
4525 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4527 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4531 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4544 DEFS
=`sed -n "$ac_script" confdefs.h`
4550 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4551 # 1. Remove the extension, and $U if already installed.
4552 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4553 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4554 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4555 # will be set to the directory where LIBOBJS objects are built.
4556 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4557 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4561 LTLIBOBJS
=$ac_ltlibobjs
4565 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4566 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
4567 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4570 : "${CONFIG_STATUS=./config.status}"
4572 ac_clean_files_save
=$ac_clean_files
4573 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4575 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4577 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4579 # Generated by $as_me.
4580 # Run this file to recreate the current configuration.
4581 # Compiler output produced by configure, useful for debugging
4582 # configure, is in config.log if it exists.
4588 SHELL=\${CONFIG_SHELL-$SHELL}
4591 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4592 ## -------------------- ##
4593 ## M4sh Initialization. ##
4594 ## -------------------- ##
4596 # Be more Bourne compatible
4597 DUALCASE
=1; export DUALCASE
# for MKS sh
4598 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4601 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4602 # is contrary to our usage. Disable this feature.
4603 alias -g '${1+"$@"}'='"$@"'
4604 setopt NO_GLOB_SUBST
4606 case `(set -o) 2>/dev/null` in #(
4618 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4619 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4620 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4621 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4622 # Prefer a ksh shell builtin over an external printf program on Solaris,
4623 # but without wasting forks for bash or zsh.
4624 if test -z "$BASH_VERSION$ZSH_VERSION" \
4625 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4626 as_echo='print
-r --'
4627 as_echo_n='print
-rn --'
4628 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4629 as_echo='printf %s
\n'
4630 as_echo_n='printf %s
'
4632 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4633 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4634 as_echo_n='/usr
/ucb
/echo -n'
4636 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4637 as_echo_n_body='eval
4641 expr "X$arg" : "X\\(.*\\)$as_nl";
4642 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4644 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4646 export as_echo_n_body
4647 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4650 as_echo='sh
-c $as_echo_body as_echo
'
4653 # The user is always right.
4654 if test "${PATH_SEPARATOR+set}" != set; then
4656 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4657 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4664 # We need space, tab and new line, in precisely that order. Quoting is
4665 # there to prevent editors from complaining about space-tab.
4666 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4667 # splitting by setting IFS to empty value.)
4670 # Find who we are. Look in the path if we contain no directory separator.
4673 *[\\/]* ) as_myself=$0 ;;
4674 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4678 test -z "$as_dir" && as_dir=.
4679 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4685 # We did not find ourselves, most probably we were run as `sh COMMAND'
4686 # in which case we are not to be found in the path.
4687 if test "x$as_myself" = x
; then
4690 if test ! -f "$as_myself"; then
4691 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4695 # Unset variables that we do not need and which cause bugs (e.g. in
4696 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4697 # suppresses any "Segmentation fault" message there. '((' could
4698 # trigger a bug in pdksh 5.2.14.
4699 for as_var
in BASH_ENV ENV MAIL MAILPATH
4700 do eval test x\
${$as_var+set} = xset \
4701 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4714 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4717 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4718 # ----------------------------------------
4719 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4720 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4721 # script with STATUS, using 1 if that was 0.
4724 as_status
=$1; test $as_status -eq 0 && as_status
=1
4726 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4727 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4729 $as_echo "$as_me: error: $2" >&2
4730 as_fn_exit
$as_status
4734 # as_fn_set_status STATUS
4735 # -----------------------
4736 # Set $? to STATUS, without forking.
4740 } # as_fn_set_status
4744 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4754 # Portably unset VAR.
4757 { eval $1=; unset $1;}
4759 as_unset
=as_fn_unset
4760 # as_fn_append VAR VALUE
4761 # ----------------------
4762 # Append the text in VALUE to the end of the definition contained in VAR. Take
4763 # advantage of any shell optimizations that allow amortized linear growth over
4764 # repeated appends, instead of the typical quadratic growth present in naive
4766 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4767 eval 'as_fn_append ()
4778 # as_fn_arith ARG...
4779 # ------------------
4780 # Perform arithmetic evaluation on the ARGs, and store the result in the
4781 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4782 # must be portable across $(()) and expr.
4783 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4784 eval 'as_fn_arith ()
4791 as_val
=`expr "$@" || test $? -eq 1`
4796 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4797 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4803 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4804 as_basename
=basename
4809 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4815 as_me
=`$as_basename -- "$0" ||
4816 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4817 X"$0" : 'X\(//\)$' \| \
4818 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4820 sed '/^.*\/\([^/][^/]*\)\/*$/{
4834 # Avoid depending upon Character Ranges.
4835 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4836 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4837 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4838 as_cr_digits
='0123456789'
4839 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4841 ECHO_C
= ECHO_N
= ECHO_T
=
4842 case `echo -n x` in #(((((
4844 case `echo 'xy\c'` in
4845 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4847 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4854 rm -f conf$$ conf$$.exe conf$$.
file
4855 if test -d conf$$.dir
; then
4856 rm -f conf$$.dir
/conf$$.
file
4859 mkdir conf$$.dir
2>/dev
/null
4861 if (echo >conf$$.
file) 2>/dev
/null
; then
4862 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4864 # ... but there are two gotchas:
4865 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4866 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4867 # In both cases, we have to default to `cp -pR'.
4868 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4870 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4878 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4879 rmdir conf$$.dir
2>/dev
/null
4884 # Create "$as_dir" as a directory, including parents if necessary.
4889 -*) as_dir
=.
/$as_dir;;
4891 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4895 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4896 *) as_qdir
=$as_dir;;
4898 as_dirs
="'$as_qdir' $as_dirs"
4899 as_dir
=`$as_dirname -- "$as_dir" ||
4900 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4901 X"$as_dir" : 'X\(//\)[^/]' \| \
4902 X"$as_dir" : 'X\(//\)$' \| \
4903 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4904 $as_echo X"$as_dir" |
4905 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4922 test -d "$as_dir" && break
4924 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4925 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4929 if mkdir
-p .
2>/dev
/null
; then
4930 as_mkdir_p
='mkdir -p "$as_dir"'
4932 test -d .
/-p && rmdir .
/-p
4937 # as_fn_executable_p FILE
4938 # -----------------------
4939 # Test if FILE is an executable regular file.
4940 as_fn_executable_p
()
4942 test -f "$1" && test -x "$1"
4943 } # as_fn_executable_p
4945 as_executable_p
=as_fn_executable_p
4947 # Sed expression to map a string onto a valid CPP name.
4948 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4950 # Sed expression to map a string onto a valid variable name.
4951 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4955 ## ----------------------------------- ##
4956 ## Main body of $CONFIG_STATUS script. ##
4957 ## ----------------------------------- ##
4959 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4962 # Save the log message, to keep $0 and so on meaningful, and to
4963 # report actual input values of CONFIG_FILES etc. instead of their
4964 # values after options handling.
4966 This file was extended by $as_me, which was
4967 generated by GNU Autoconf 2.69. Invocation command line was
4969 CONFIG_FILES = $CONFIG_FILES
4970 CONFIG_HEADERS = $CONFIG_HEADERS
4971 CONFIG_LINKS = $CONFIG_LINKS
4972 CONFIG_COMMANDS = $CONFIG_COMMANDS
4975 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4980 case $ac_config_files in *"
4981 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4987 # Files that config.status was made for.
4988 config_files="$ac_config_files"
4989 config_commands="$ac_config_commands"
4993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4995 \`$as_me' instantiates files and other configuration actions
4996 from templates according to the current configuration. Unless the files
4997 and actions are specified as TAGs, all are instantiated by default.
4999 Usage: $0 [OPTION]... [TAG]...
5001 -h, --help print this help, then exit
5002 -V, --version print version number and configuration settings, then exit
5003 --config print configuration, then exit
5004 -q, --quiet, --silent
5005 do not print progress messages
5006 -d, --debug don't remove temporary files
5007 --recheck update $as_me by reconfiguring in the same conditions
5008 --file=FILE[:TEMPLATE]
5009 instantiate the configuration file FILE
5011 Configuration files:
5014 Configuration commands:
5017 Report bugs to the package provider."
5020 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5021 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5024 configured by $0, generated by GNU Autoconf 2.69,
5025 with options \\"\$ac_cs_config\\"
5027 Copyright (C) 2012 Free Software Foundation, Inc.
5028 This config.status script is free software; the Free Software Foundation
5029 gives unlimited permission to copy, distribute and modify it."
5034 test -n "\$AWK" || AWK=awk
5037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5038 # The default lists apply if the user does not specify any file.
5044 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5045 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5049 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5061 # Handling of the options.
5062 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5064 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5065 $as_echo "$ac_cs_version"; exit ;;
5066 --config |
--confi |
--conf |
--con |
--co |
--c )
5067 $as_echo "$ac_cs_config"; exit ;;
5068 --debug |
--debu |
--deb |
--de |
--d |
-d )
5070 --file |
--fil |
--fi |
--f )
5073 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5074 '') as_fn_error $?
"missing file argument" ;;
5076 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5077 ac_need_defaults
=false
;;
5078 --he |
--h |
--help |
--hel |
-h )
5079 $as_echo "$ac_cs_usage"; exit ;;
5080 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5081 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5085 -*) as_fn_error $?
"unrecognized option: \`$1'
5086 Try \`$0 --help' for more information." ;;
5088 *) as_fn_append ac_config_targets
" $1"
5089 ac_need_defaults
=false
;;
5095 ac_configure_extra_args
=
5097 if $ac_cs_silent; then
5099 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5103 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5104 if \$ac_cs_recheck; then
5105 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5107 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5108 CONFIG_SHELL='$SHELL'
5114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5118 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5119 ## Running $as_me. ##
5125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5129 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
5133 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5135 # Handling of arguments.
5136 for ac_config_target
in $ac_config_targets
5138 case $ac_config_target in
5139 "depdir") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir" ;;
5140 "Makefile.sim") CONFIG_FILES
="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
5141 "Make-common.sim") CONFIG_FILES
="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
5142 ".gdbinit") CONFIG_FILES
="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
5143 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
5144 "stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS stamp-h" ;;
5146 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5151 # If the user did not use the arguments to specify the items to instantiate,
5152 # then the envvar interface is used. Set only those that are not.
5153 # We use the long form for the default assignment because of an extremely
5154 # bizarre bug on SunOS 4.1.3.
5155 if $ac_need_defaults; then
5156 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5157 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5160 # Have a temporary directory for convenience. Make it in the build tree
5161 # simply because there is no reason against having it here, and in addition,
5162 # creating and moving files from /tmp can sometimes cause problems.
5163 # Hook for its removal unless debugging.
5164 # Note that there is a small window in which the directory will not be cleaned:
5165 # after its creation but before its name has been assigned to `$tmp'.
5169 trap 'exit_status=$?
5171 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5173 trap 'as_fn_exit 1' 1 2 13 15
5175 # Create a (secure) tmp directory for tmp files.
5178 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5182 tmp
=.
/conf$$
-$RANDOM
5183 (umask 077 && mkdir
"$tmp")
5184 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5187 # Set up the scripts for CONFIG_FILES section.
5188 # No need to generate them if there are no CONFIG_FILES.
5189 # This happens for instance with `./config.status config.h'.
5190 if test -n "$CONFIG_FILES"; then
5193 ac_cr
=`echo X | tr X '\015'`
5194 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5195 # But we know of no other shell where ac_cr would be empty at this
5196 # point, so we can use a bashism as a fallback.
5197 if test "x$ac_cr" = x
; then
5198 eval ac_cr
=\$
\'\\r
\'
5200 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5201 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5207 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5212 echo "cat >conf$$subs.awk <<_ACEOF" &&
5213 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5216 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5217 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5219 for ac_last_try in false false false false false :; do
5220 . ./conf$$subs.sh ||
5221 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5223 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5224 if test $ac_delim_n = $ac_delim_num; then
5226 elif $ac_last_try; then
5227 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5229 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5235 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
5239 s/^/S["/; s
/!.
*/"]=/
5249 s/\(.\{148\}\)..*/\1/
5251 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5256 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5263 s/\(.\{148\}\)..*/\1/
5265 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5269 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5274 ' <conf$$subs.awk | sed '
5279 ' >>$CONFIG_STATUS || ac_write_fail=1
5280 rm -f conf$$subs.awk
5281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5283 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5284 for (key in S) S_is_set[key] = 1
5290 nfields = split(line, field, "@
")
5292 len = length(field[1])
5293 for (i = 2; i < nfields; i++) {
5295 keylen = length(key)
5296 if (S_is_set[key]) {
5298 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5299 len += length(value) + length(field[++i])
5310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5311 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5312 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5315 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5316 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5319 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5320 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5321 # trailing colons and then remove the whole line if VPATH becomes empty
5322 # (actually we leave an empty line to preserve line numbers).
5323 if test "x
$srcdir" = x.; then
5324 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5342 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5343 fi # test -n "$CONFIG_FILES"
5346 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
5351 :[FHLC]) ac_mode=$ac_tag; continue;;
5353 case $ac_mode$ac_tag in
5355 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
5356 :[FH]-) ac_tag=-:-;;
5357 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5374 -) ac_f="$ac_tmp/stdin";;
5375 *) # Look for the file first in the build tree, then in the source tree
5376 # (if the path is not absolute). The absolute path cannot be DOS-style,
5377 # because $ac_f cannot contain `:'.
5381 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5383 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5385 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
5386 as_fn_append ac_file_inputs " '$ac_f'"
5389 # Let's still pretend it is `configure' which instantiates (i.e., don't
5390 # use $as_me), people would be surprised to read:
5391 # /* config.h. Generated by config.status. */
5392 configure_input='Generated from '`
5393 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5395 if test x"$ac_file" != x-; then
5396 configure_input="$ac_file.
$configure_input"
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
5398 $as_echo "$as_me: creating
$ac_file" >&6;}
5400 # Neutralize special characters interpreted by sed in replacement strings.
5401 case $configure_input in #(
5402 *\&* | *\|* | *\\* )
5403 ac_sed_conf_input=`$as_echo "$configure_input" |
5404 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5405 *) ac_sed_conf_input=$configure_input;;
5409 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
5410 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
5415 ac_dir=`$as_dirname -- "$ac_file" ||
5416 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5417 X"$ac_file" : 'X\(//\)[^/]' \| \
5418 X"$ac_file" : 'X\(//\)$' \| \
5419 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5420 $as_echo X"$ac_file" |
5421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5438 as_dir="$ac_dir"; as_fn_mkdir_p
5442 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5444 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5445 # A "..
" for each directory in $ac_dir_suffix.
5446 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5447 case $ac_top_builddir_sub in
5448 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5449 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5452 ac_abs_top_builddir=$ac_pwd
5453 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5454 # for backward compatibility:
5455 ac_top_builddir=$ac_top_build_prefix
5458 .) # We are building in place.
5460 ac_top_srcdir=$ac_top_builddir_sub
5461 ac_abs_top_srcdir=$ac_pwd ;;
5462 [\\/]* | ?:[\\/]* ) # Absolute name.
5463 ac_srcdir=$srcdir$ac_dir_suffix;
5464 ac_top_srcdir=$srcdir
5465 ac_abs_top_srcdir=$srcdir ;;
5467 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5468 ac_top_srcdir=$ac_top_build_prefix$srcdir
5469 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5471 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5481 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5482 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5487 # If the template does not know about datarootdir, expand it.
5488 # FIXME: This hack should be removed a few years after 2.60.
5489 ac_datarootdir_hack=; ac_datarootdir_seen=
5500 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
5501 *datarootdir*) ac_datarootdir_seen=yes;;
5502 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
5504 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
5506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5507 ac_datarootdir_hack='
5508 s&@datadir@&$datadir&g
5509 s&@docdir@&$docdir&g
5510 s&@infodir@&$infodir&g
5511 s&@localedir@&$localedir&g
5512 s&@mandir@&$mandir&g
5513 s&\\\${datarootdir}&$datarootdir&g' ;;
5517 # Neutralize VPATH when `$srcdir' = `.'.
5518 # Shell code in configure.ac might set extrasub.
5519 # FIXME: do we really want to maintain this feature?
5520 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5521 ac_sed_extra="$ac_vpsub
5524 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5526 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5527 s|@configure_input@|
$ac_sed_conf_input|
;t t
5528 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5529 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5530 s
&@srcdir@
&$ac_srcdir&;t t
5531 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5532 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5533 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5534 s
&@builddir@
&$ac_builddir&;t t
5535 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5536 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5537 s
&@INSTALL@
&$ac_INSTALL&;t t
5538 $ac_datarootdir_hack
5540 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5541 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5543 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5544 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5545 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5546 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5548 which seems to be undefined. Please make sure it is defined" >&5
5549 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5550 which seems to be undefined. Please make sure it is defined" >&2;}
5552 rm -f "$ac_tmp/stdin"
5554 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5555 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5557 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5561 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5562 $as_echo "$as_me: executing $ac_file commands" >&6;}
5567 case $ac_file$ac_mode in
5568 "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;;
5569 "Makefile":C) echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
5570 rm -f Makesim1.tmp Makesim2.tmp Makefile
5571 sed -n -e '/^
## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim >Makesim1.tmp
5572 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>Makesim2.tmp
5573 sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \
5574 -e '/^## COMMON_POST_/ r Makesim2.tmp' \
5575 <Makefile.sim
>Makefile
5576 rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp
5578 "stamp-h":C
) echo > stamp-h
;;
5586 ac_clean_files
=$ac_clean_files_save
5588 test $ac_write_fail = 0 ||
5589 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
5592 # configure is writing to config.log, and then calls config.status.
5593 # config.status does its own redirection, appending to config.log.
5594 # Unfortunately, on DOS this fails, as config.log is still kept open
5595 # by configure, so config.status won't be able to write to it; its
5596 # output is simply discarded. So we exec the FD to /dev/null,
5597 # effectively closing config.log, so it can be properly (re)opened and
5598 # appended to by config.status. When coming back to configure, we
5599 # need to make the FD available again.
5600 if test "$no_create" != yes; then
5602 ac_config_status_args
=
5603 test "$silent" = yes &&
5604 ac_config_status_args
="$ac_config_status_args --quiet"
5606 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5608 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5609 # would make configure fail if this is the last instruction.
5610 $ac_cs_success || as_fn_exit
1
5612 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5614 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}