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
631 MAINTAINER_MODE_FALSE
708 program_transform_name
725 enable_option_checking
726 enable_maintainer_mode
730 ac_precious_vars
='build_alias
741 # Initialize some variables set by options.
743 ac_init_version
=false
744 ac_unrecognized_opts
=
746 # The variables have the same names as the options, with
747 # dashes changed to underlines.
755 program_transform_name
=s
,x
,x
,
763 # Installation directory options.
764 # These are left unexpanded so users can "make install exec_prefix=/foo"
765 # and all the variables that are supposed to be based on exec_prefix
766 # by default will actually change.
767 # Use braces instead of parens because sh, perl, etc. also accept them.
768 # (The list follows the same order as the GNU Coding Standards.)
769 bindir
='${exec_prefix}/bin'
770 sbindir
='${exec_prefix}/sbin'
771 libexecdir
='${exec_prefix}/libexec'
772 datarootdir
='${prefix}/share'
773 datadir
='${datarootdir}'
774 sysconfdir
='${prefix}/etc'
775 sharedstatedir
='${prefix}/com'
776 localstatedir
='${prefix}/var'
777 includedir
='${prefix}/include'
778 oldincludedir
='/usr/include'
779 docdir
='${datarootdir}/doc/${PACKAGE}'
780 infodir
='${datarootdir}/info'
785 libdir
='${exec_prefix}/lib'
786 localedir
='${datarootdir}/locale'
787 mandir
='${datarootdir}/man'
793 # If the previous option needs an argument, assign it.
794 if test -n "$ac_prev"; then
795 eval $ac_prev=\
$ac_option
801 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
806 # Accept the important Cygnus configure options, so we can diagnose typos.
808 case $ac_dashdash$ac_option in
812 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
814 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
817 -build |
--build |
--buil |
--bui |
--bu)
818 ac_prev
=build_alias
;;
819 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
820 build_alias
=$ac_optarg ;;
822 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
823 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
824 ac_prev
=cache_file
;;
825 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
826 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
827 cache_file
=$ac_optarg ;;
830 cache_file
=config.cache
;;
832 -datadir |
--datadir |
--datadi |
--datad)
834 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
835 datadir
=$ac_optarg ;;
837 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
838 |
--dataroo |
--dataro |
--datar)
839 ac_prev
=datarootdir
;;
840 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
841 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
842 datarootdir
=$ac_optarg ;;
844 -disable-* |
--disable-*)
845 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
846 # Reject names that are not valid shell variable names.
847 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
848 as_fn_error $?
"invalid feature name: $ac_useropt"
849 ac_useropt_orig
=$ac_useropt
850 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
851 case $ac_user_opts in
855 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
856 ac_unrecognized_sep
=', ';;
858 eval enable_
$ac_useropt=no
;;
860 -docdir |
--docdir |
--docdi |
--doc |
--do)
862 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
865 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
867 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
870 -enable-* |
--enable-*)
871 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
872 # Reject names that are not valid shell variable names.
873 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
874 as_fn_error $?
"invalid feature name: $ac_useropt"
875 ac_useropt_orig
=$ac_useropt
876 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
877 case $ac_user_opts in
881 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
882 ac_unrecognized_sep
=', ';;
884 eval enable_
$ac_useropt=\
$ac_optarg ;;
886 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
887 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
888 |
--exec |
--exe |
--ex)
889 ac_prev
=exec_prefix
;;
890 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
891 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
892 |
--exec=* |
--exe=* |
--ex=*)
893 exec_prefix
=$ac_optarg ;;
895 -gas |
--gas |
--ga |
--g)
896 # Obsolete; use --with-gas.
899 -help |
--help |
--hel |
--he |
-h)
901 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
902 ac_init_help
=recursive
;;
903 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
904 ac_init_help
=short
;;
906 -host |
--host |
--hos |
--ho)
907 ac_prev
=host_alias
;;
908 -host=* |
--host=* |
--hos=* |
--ho=*)
909 host_alias
=$ac_optarg ;;
911 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
913 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
915 htmldir
=$ac_optarg ;;
917 -includedir |
--includedir |
--includedi |
--included |
--include \
918 |
--includ |
--inclu |
--incl |
--inc)
919 ac_prev
=includedir
;;
920 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
921 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
922 includedir
=$ac_optarg ;;
924 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
926 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
927 infodir
=$ac_optarg ;;
929 -libdir |
--libdir |
--libdi |
--libd)
931 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
934 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
935 |
--libexe |
--libex |
--libe)
936 ac_prev
=libexecdir
;;
937 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
938 |
--libexe=* |
--libex=* |
--libe=*)
939 libexecdir
=$ac_optarg ;;
941 -localedir |
--localedir |
--localedi |
--localed |
--locale)
943 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
944 localedir
=$ac_optarg ;;
946 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
947 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
948 ac_prev
=localstatedir
;;
949 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
950 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
951 localstatedir
=$ac_optarg ;;
953 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
955 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
959 # Obsolete; use --without-fp.
962 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
963 |
--no-cr |
--no-c |
-n)
966 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
967 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
970 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
971 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
972 |
--oldin |
--oldi |
--old |
--ol |
--o)
973 ac_prev
=oldincludedir
;;
974 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
975 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
976 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
977 oldincludedir
=$ac_optarg ;;
979 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
981 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
984 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
985 |
--program-pre |
--program-pr |
--program-p)
986 ac_prev
=program_prefix
;;
987 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
988 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
989 program_prefix
=$ac_optarg ;;
991 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
992 |
--program-suf |
--program-su |
--program-s)
993 ac_prev
=program_suffix
;;
994 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
995 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
996 program_suffix
=$ac_optarg ;;
998 -program-transform-name |
--program-transform-name \
999 |
--program-transform-nam |
--program-transform-na \
1000 |
--program-transform-n |
--program-transform- \
1001 |
--program-transform |
--program-transfor \
1002 |
--program-transfo |
--program-transf \
1003 |
--program-trans |
--program-tran \
1004 |
--progr-tra |
--program-tr |
--program-t)
1005 ac_prev
=program_transform_name
;;
1006 -program-transform-name=* |
--program-transform-name=* \
1007 |
--program-transform-nam=* |
--program-transform-na=* \
1008 |
--program-transform-n=* |
--program-transform-=* \
1009 |
--program-transform=* |
--program-transfor=* \
1010 |
--program-transfo=* |
--program-transf=* \
1011 |
--program-trans=* |
--program-tran=* \
1012 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1013 program_transform_name
=$ac_optarg ;;
1015 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1017 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1018 pdfdir
=$ac_optarg ;;
1020 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1022 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1025 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1026 |
-silent |
--silent |
--silen |
--sile |
--sil)
1029 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1031 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1033 sbindir
=$ac_optarg ;;
1035 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1036 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1037 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1039 ac_prev
=sharedstatedir
;;
1040 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1041 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1042 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1044 sharedstatedir
=$ac_optarg ;;
1046 -site |
--site |
--sit)
1048 -site=* |
--site=* |
--sit=*)
1051 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1053 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1054 srcdir
=$ac_optarg ;;
1056 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1057 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1058 ac_prev
=sysconfdir
;;
1059 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1060 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1061 sysconfdir
=$ac_optarg ;;
1063 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1064 ac_prev
=target_alias
;;
1065 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1066 target_alias
=$ac_optarg ;;
1068 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1071 -version |
--version |
--versio |
--versi |
--vers |
-V)
1072 ac_init_version
=: ;;
1075 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1076 # Reject names that are not valid shell variable names.
1077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1078 as_fn_error $?
"invalid package name: $ac_useropt"
1079 ac_useropt_orig
=$ac_useropt
1080 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081 case $ac_user_opts in
1085 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1086 ac_unrecognized_sep
=', ';;
1088 eval with_
$ac_useropt=\
$ac_optarg ;;
1090 -without-* |
--without-*)
1091 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1092 # Reject names that are not valid shell variable names.
1093 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1094 as_fn_error $?
"invalid package name: $ac_useropt"
1095 ac_useropt_orig
=$ac_useropt
1096 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1097 case $ac_user_opts in
1101 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1102 ac_unrecognized_sep
=', ';;
1104 eval with_
$ac_useropt=no
;;
1107 # Obsolete; use --with-x.
1110 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1111 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1112 ac_prev
=x_includes
;;
1113 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1114 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1115 x_includes
=$ac_optarg ;;
1117 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1118 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1119 ac_prev
=x_libraries
;;
1120 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1121 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1122 x_libraries
=$ac_optarg ;;
1124 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1125 Try \`$0 --help' for more information"
1129 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1130 # Reject names that are not valid shell variable names.
1131 case $ac_envvar in #(
1132 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1133 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1135 eval $ac_envvar=\
$ac_optarg
1136 export $ac_envvar ;;
1139 # FIXME: should be removed in autoconf 3.0.
1140 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1141 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1142 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1143 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1149 if test -n "$ac_prev"; then
1150 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1151 as_fn_error $?
"missing argument to $ac_option"
1154 if test -n "$ac_unrecognized_opts"; then
1155 case $enable_option_checking in
1157 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1158 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1162 # Check all directory arguments for consistency.
1163 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1164 datadir sysconfdir sharedstatedir localstatedir includedir \
1165 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1166 libdir localedir mandir
1168 eval ac_val
=\$
$ac_var
1169 # Remove trailing slashes.
1172 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1173 eval $ac_var=\
$ac_val;;
1175 # Be sure to have absolute directory names.
1177 [\\/$
]* | ?
:[\\/]* ) continue;;
1178 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1180 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1183 # There might be people who depend on the old broken behavior: `$host'
1184 # used to hold the argument of --host etc.
1185 # FIXME: To remove some day.
1188 target
=$target_alias
1190 # FIXME: To remove some day.
1191 if test "x$host_alias" != x
; then
1192 if test "x$build_alias" = x
; then
1193 cross_compiling
=maybe
1194 elif test "x$build_alias" != "x$host_alias"; then
1200 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1202 test "$silent" = yes && exec 6>/dev
/null
1205 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1206 ac_ls_di
=`ls -di .` &&
1207 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1208 as_fn_error $?
"working directory cannot be determined"
1209 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1210 as_fn_error $?
"pwd does not report name of working directory"
1213 # Find the source files, if location was not specified.
1214 if test -z "$srcdir"; then
1215 ac_srcdir_defaulted
=yes
1216 # Try the directory containing this script, then the parent directory.
1217 ac_confdir
=`$as_dirname -- "$as_myself" ||
1218 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1219 X"$as_myself" : 'X\(//\)[^/]' \| \
1220 X"$as_myself" : 'X\(//\)$' \| \
1221 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1222 $as_echo X"$as_myself" |
1223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1241 if test ! -r "$srcdir/$ac_unique_file"; then
1245 ac_srcdir_defaulted
=no
1247 if test ! -r "$srcdir/$ac_unique_file"; then
1248 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1249 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1251 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1253 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1255 # When building in place, set srcdir=.
1256 if test "$ac_abs_confdir" = "$ac_pwd"; then
1259 # Remove unnecessary trailing slashes from srcdir.
1260 # Double slashes in file names in object file debugging info
1261 # mess up M-x gdb in Emacs.
1263 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1265 for ac_var
in $ac_precious_vars; do
1266 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1267 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1268 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1269 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1273 # Report the --help message.
1275 if test "$ac_init_help" = "long"; then
1276 # Omit some internal or obsolete options to make the list less imposing.
1277 # This message is too long to be a string in the A/UX 3.1 sh.
1279 \`configure' configures this package to adapt to many kinds of systems.
1281 Usage: $0 [OPTION]... [VAR=VALUE]...
1283 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1284 VAR=VALUE. See below for descriptions of some of the useful variables.
1286 Defaults for the options are specified in brackets.
1289 -h, --help display this help and exit
1290 --help=short display options specific to this package
1291 --help=recursive display the short help of all the included packages
1292 -V, --version display version information and exit
1293 -q, --quiet, --silent do not print \`checking ...' messages
1294 --cache-file=FILE cache test results in FILE [disabled]
1295 -C, --config-cache alias for \`--cache-file=config.cache'
1296 -n, --no-create do not create output files
1297 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1299 Installation directories:
1300 --prefix=PREFIX install architecture-independent files in PREFIX
1301 [$ac_default_prefix]
1302 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1305 By default, \`make install' will install all the files in
1306 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1307 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1308 for instance \`--prefix=\$HOME'.
1310 For better control, use the options below.
1312 Fine tuning of the installation directories:
1313 --bindir=DIR user executables [EPREFIX/bin]
1314 --sbindir=DIR system admin executables [EPREFIX/sbin]
1315 --libexecdir=DIR program executables [EPREFIX/libexec]
1316 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1317 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1318 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1319 --libdir=DIR object code libraries [EPREFIX/lib]
1320 --includedir=DIR C header files [PREFIX/include]
1321 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1322 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1323 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1324 --infodir=DIR info documentation [DATAROOTDIR/info]
1325 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1326 --mandir=DIR man documentation [DATAROOTDIR/man]
1327 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1328 --htmldir=DIR html documentation [DOCDIR]
1329 --dvidir=DIR dvi documentation [DOCDIR]
1330 --pdfdir=DIR pdf documentation [DOCDIR]
1331 --psdir=DIR ps documentation [DOCDIR]
1337 --program-prefix=PREFIX prepend PREFIX to installed program names
1338 --program-suffix=SUFFIX append SUFFIX to installed program names
1339 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1342 --build=BUILD configure
for building on BUILD
[guessed
]
1343 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1344 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1348 if test -n "$ac_init_help"; then
1353 --disable-option-checking ignore unrecognized
--enable/--with options
1354 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1355 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1356 --enable-maintainer-mode
1357 enable make rules and dependencies not useful
(and
1358 sometimes confusing
) to the casual installer
1359 --enable-sim-inline=inlines
1360 Specify
which functions should be inlined
1361 --enable-sim-hardware=LIST
1362 Specify the hardware to be included
in the build.
1364 Some influential environment variables
:
1365 CC C compiler
command
1366 CFLAGS C compiler flags
1367 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1368 nonstandard directory
<lib dir
>
1369 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1370 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1371 you have headers
in a nonstandard directory
<include dir
>
1374 Use these variables to override the choices made by
`configure' or to help
1375 it to find libraries and programs with nonstandard names/locations.
1377 Report bugs to the package provider.
1382 if test "$ac_init_help" = "recursive"; then
1383 # If there are subdirs, report their specific --help.
1384 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1385 test -d "$ac_dir" ||
1386 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1391 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1393 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1394 # A ".." for each directory in $ac_dir_suffix.
1395 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1396 case $ac_top_builddir_sub in
1397 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1398 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1401 ac_abs_top_builddir=$ac_pwd
1402 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1403 # for backward compatibility:
1404 ac_top_builddir=$ac_top_build_prefix
1407 .) # We are building in place.
1409 ac_top_srcdir=$ac_top_builddir_sub
1410 ac_abs_top_srcdir=$ac_pwd ;;
1411 [\\/]* | ?:[\\/]* ) # Absolute name.
1412 ac_srcdir=$srcdir$ac_dir_suffix;
1413 ac_top_srcdir=$srcdir
1414 ac_abs_top_srcdir=$srcdir ;;
1416 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1417 ac_top_srcdir=$ac_top_build_prefix$srcdir
1418 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1420 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1422 cd "$ac_dir" || { ac_status=$?; continue; }
1423 # Check for guested configure.
1424 if test -f "$ac_srcdir/configure.gnu"; then
1426 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1427 elif test -f "$ac_srcdir/configure"; then
1429 $SHELL "$ac_srcdir/configure" --help=recursive
1431 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1433 cd "$ac_pwd" || { ac_status=$?; break; }
1437 test -n "$ac_init_help" && exit $ac_status
1438 if $ac_init_version; then
1441 generated by GNU Autoconf 2.69
1443 Copyright (C) 2012 Free Software Foundation, Inc.
1444 This configure script is free software; the Free Software Foundation
1445 gives unlimited permission to copy, distribute and modify it.
1450 ## ------------------------ ##
1451 ## Autoconf initialization. ##
1452 ## ------------------------ ##
1454 # ac_fn_c_try_compile LINENO
1455 # --------------------------
1456 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1457 ac_fn_c_try_compile ()
1459 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1460 rm -f conftest.$ac_objext
1461 if { { ac_try="$ac_compile"
1463 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1464 *) ac_try_echo
=$ac_try;;
1466 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1467 $as_echo "$ac_try_echo"; } >&5
1468 (eval "$ac_compile") 2>conftest.err
1470 if test -s conftest.err
; then
1471 grep -v '^ *+' conftest.err
>conftest.er1
1472 cat conftest.er1
>&5
1473 mv -f conftest.er1 conftest.err
1475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1476 test $ac_status = 0; } && {
1477 test -z "$ac_c_werror_flag" ||
1478 test ! -s conftest.err
1479 } && test -s conftest.
$ac_objext; then :
1482 $as_echo "$as_me: failed program was:" >&5
1483 sed 's/^/| /' conftest.
$ac_ext >&5
1487 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1488 as_fn_set_status
$ac_retval
1490 } # ac_fn_c_try_compile
1492 # ac_fn_c_try_cpp LINENO
1493 # ----------------------
1494 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1497 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1498 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1501 *) ac_try_echo=$ac_try;;
1503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1504 $as_echo "$ac_try_echo"; } >&5
1505 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1507 if test -s conftest.err; then
1508 grep -v '^ *+' conftest.err >conftest.er1
1509 cat conftest.er1 >&5
1510 mv -f conftest.er1 conftest.err
1512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1513 test $ac_status = 0; } > conftest.i && {
1514 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1515 test ! -s conftest.err
1519 $as_echo "$as_me: failed program was:" >&5
1520 sed 's/^/| /' conftest.$ac_ext >&5
1524 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1525 as_fn_set_status $ac_retval
1529 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1530 # -------------------------------------------------------
1531 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1532 # the include files in INCLUDES and setting the cache variable VAR
1534 ac_fn_c_check_header_mongrel ()
1536 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1537 if eval \${$3+:} false; then :
1538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1539 $as_echo_n "checking for $2... " >&6; }
1540 if eval \${$3+:} false; then :
1541 $as_echo_n "(cached) " >&6
1544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1545 $as_echo "$ac_res" >&6; }
1547 # Is the header compilable?
1548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1549 $as_echo_n "checking $2 usability... " >&6; }
1550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1551 /* end confdefs.h. */
1555 if ac_fn_c_try_compile "$LINENO"; then :
1556 ac_header_compiler=yes
1558 ac_header_compiler=no
1560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1562 $as_echo "$ac_header_compiler" >&6; }
1564 # Is the header present?
1565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1566 $as_echo_n "checking $2 presence... " >&6; }
1567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1568 /* end confdefs.h. */
1571 if ac_fn_c_try_cpp "$LINENO"; then :
1572 ac_header_preproc=yes
1574 ac_header_preproc=no
1576 rm -f conftest.err conftest.i conftest.$ac_ext
1577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1578 $as_echo "$ac_header_preproc" >&6; }
1580 # So? What about this header?
1581 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1584 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1586 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1590 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1592 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1594 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1596 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1598 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1602 $as_echo_n "checking for $2... " >&6; }
1603 if eval \${$3+:} false; then :
1604 $as_echo_n "(cached) " >&6
1606 eval "$3=\$ac_header_compiler"
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1610 $as_echo "$ac_res" >&6; }
1612 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1614 } # ac_fn_c_check_header_mongrel
1616 # ac_fn_c_try_run LINENO
1617 # ----------------------
1618 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1619 # that executables *can* be run.
1622 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1623 if { { ac_try="$ac_link"
1625 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1626 *) ac_try_echo
=$ac_try;;
1628 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1629 $as_echo "$ac_try_echo"; } >&5
1630 (eval "$ac_link") 2>&5
1632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1634 { { case "(($ac_try" in
1635 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1636 *) ac_try_echo=$ac_try;;
1638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1639 $as_echo "$ac_try_echo"; } >&5
1640 (eval "$ac_try") 2>&5
1642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1643 test $ac_status = 0; }; }; then :
1646 $as_echo "$as_me: program exited with status $ac_status" >&5
1647 $as_echo "$as_me: failed program was:" >&5
1648 sed 's/^/| /' conftest.$ac_ext >&5
1650 ac_retval=$ac_status
1652 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654 as_fn_set_status $ac_retval
1658 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1659 # -------------------------------------------------------
1660 # Tests whether HEADER exists and can be compiled using the include files in
1661 # INCLUDES, setting the cache variable VAR accordingly.
1662 ac_fn_c_check_header_compile ()
1664 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1666 $as_echo_n "checking for $2... " >&6; }
1667 if eval \${$3+:} false; then :
1668 $as_echo_n "(cached) " >&6
1670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1671 /* end confdefs.h. */
1675 if ac_fn_c_try_compile "$LINENO"; then :
1680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1684 $as_echo "$ac_res" >&6; }
1685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1687 } # ac_fn_c_check_header_compile
1688 cat >config.log <<_ACEOF
1689 This file contains any messages produced by compilers while
1690 running configure, to aid debugging if configure makes a mistake.
1692 It was created by $as_me, which was
1693 generated by GNU Autoconf 2.69. Invocation command line was
1705 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1706 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1707 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1708 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1709 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1711 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1712 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1714 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1715 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1716 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1717 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1718 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1719 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1720 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1728 test -z "$as_dir" && as_dir=.
1729 $as_echo "PATH: $as_dir"
1745 # Keep a trace of the command line.
1746 # Strip out --no-create and --no-recursion so they do not pile up.
1747 # Strip out --silent because we don't want to record it for future runs.
1748 # Also quote any args containing shell meta-characters.
1749 # Make two passes to allow for proper duplicate-argument suppression.
1753 ac_must_keep_next=false
1759 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1760 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1761 | -silent | --silent | --silen | --sile | --sil)
1764 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1767 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1769 as_fn_append ac_configure_args1 " '$ac_arg'"
1770 if test $ac_must_keep_next = true; then
1771 ac_must_keep_next=false # Got value, back to normal.
1774 *=* | --config-cache | -C | -disable-* | --disable-* \
1775 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1776 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1777 | -with-* | --with-* | -without-* | --without-* | --x)
1778 case "$ac_configure_args0 " in
1779 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1782 -* ) ac_must_keep_next=true ;;
1785 as_fn_append ac_configure_args " '$ac_arg'"
1790 { ac_configure_args0=; unset ac_configure_args0;}
1791 { ac_configure_args1=; unset ac_configure_args1;}
1793 # When interrupted or exit'd, cleanup temporary files, and complete
1794 # config.log. We remove comments because anyway the quotes in there
1795 # would cause problems or look ugly.
1796 # WARNING: Use '\'' to represent an apostrophe within the trap.
1797 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1798 trap 'exit_status=$?
1799 # Save into config.log some information that might help in debugging.
1803 $as_echo "## ---------------- ##
1804 ## Cache variables. ##
1805 ## ---------------- ##"
1807 # The following way of writing the cache mishandles newlines in values,
1809 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1810 eval ac_val=\$$ac_var
1814 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1815 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1818 _ | IFS | as_nl) ;; #(
1819 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1820 *) { eval $ac_var=; unset $ac_var;} ;;
1825 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1826 *${as_nl}ac_space=\ *)
1828 "s/'\''/'\''\\\\'\'''\''/g;
1829 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1832 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1839 $as_echo "## ----------------- ##
1840 ## Output variables. ##
1841 ## ----------------- ##"
1843 for ac_var in $ac_subst_vars
1845 eval ac_val=\$$ac_var
1847 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1849 $as_echo "$ac_var='\''$ac_val'\''"
1853 if test -n "$ac_subst_files"; then
1854 $as_echo "## ------------------- ##
1855 ## File substitutions. ##
1856 ## ------------------- ##"
1858 for ac_var in $ac_subst_files
1860 eval ac_val=\$$ac_var
1862 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1864 $as_echo "$ac_var='\''$ac_val'\''"
1869 if test -s confdefs.h; then
1870 $as_echo "## ----------- ##
1877 test "$ac_signal" != 0 &&
1878 $as_echo "$as_me: caught signal $ac_signal"
1879 $as_echo "$as_me: exit $exit_status"
1881 rm -f core *.core core.conftest.* &&
1882 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1885 for ac_signal in 1 2 13 15; do
1886 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1890 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1891 rm -f -r conftest* confdefs.h
1893 $as_echo "/* confdefs.h */" > confdefs.h
1895 # Predefined preprocessor variables.
1897 cat >>confdefs.h <<_ACEOF
1898 #define PACKAGE_NAME "$PACKAGE_NAME"
1901 cat >>confdefs.h <<_ACEOF
1902 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1905 cat >>confdefs.h <<_ACEOF
1906 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1909 cat >>confdefs.h <<_ACEOF
1910 #define PACKAGE_STRING "$PACKAGE_STRING"
1913 cat >>confdefs.h <<_ACEOF
1914 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1917 cat >>confdefs.h <<_ACEOF
1918 #define PACKAGE_URL "$PACKAGE_URL"
1922 # Let the site file select an alternate cache file if it wants to.
1923 # Prefer an explicitly selected file to automatically selected ones.
1926 if test -n "$CONFIG_SITE"; then
1927 # We do not want a PATH search for config.site.
1928 case $CONFIG_SITE in #((
1929 -*) ac_site_file1=./$CONFIG_SITE;;
1930 */*) ac_site_file1=$CONFIG_SITE;;
1931 *) ac_site_file1=./$CONFIG_SITE;;
1933 elif test "x$prefix" != xNONE; then
1934 ac_site_file1=$prefix/share/config.site
1935 ac_site_file2=$prefix/etc/config.site
1937 ac_site_file1=$ac_default_prefix/share/config.site
1938 ac_site_file2=$ac_default_prefix/etc/config.site
1940 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1942 test "x$ac_site_file" = xNONE && continue
1943 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1945 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1946 sed 's/^/| /' "$ac_site_file" >&5
1948 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1950 as_fn_error $? "failed to load site
script $ac_site_file
1951 See \
`config.log' for more details" "$LINENO" 5; }
1955 if test -r "$cache_file"; then
1956 # Some versions of bash will fail to source /dev/null (special files
1957 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1958 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1960 $as_echo "$as_me: loading cache $cache_file" >&6;}
1962 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1963 *) . "./$cache_file";;
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1968 $as_echo "$as_me: creating cache $cache_file" >&6;}
1972 # Check that the precious variables saved in the cache have kept the same
1974 ac_cache_corrupted=false
1975 for ac_var in $ac_precious_vars; do
1976 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1977 eval ac_new_set=\$ac_env_${ac_var}_set
1978 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1979 eval ac_new_val=\$ac_env_${ac_var}_value
1980 case $ac_old_set,$ac_new_set in
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1983 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1984 ac_cache_corrupted=: ;;
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1987 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1988 ac_cache_corrupted=: ;;
1991 if test "x$ac_old_val" != "x$ac_new_val"; then
1992 # differences in whitespace do not lead to failure.
1993 ac_old_val_w=`echo x
$ac_old_val`
1994 ac_new_val_w=`echo x
$ac_new_val`
1995 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1997 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1998 ac_cache_corrupted=:
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2001 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2002 eval $ac_var=\$ac_old_val
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2005 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2007 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2010 # Pass precious variables to config.status.
2011 if test "$ac_new_set" = set; then
2013 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2014 *) ac_arg=$ac_var=$ac_new_val ;;
2016 case " $ac_configure_args " in
2017 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2018 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2022 if $ac_cache_corrupted; then
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2026 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2027 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2029 ## -------------------- ##
2030 ## Main body of script. ##
2031 ## -------------------- ##
2034 ac_cpp='$CPP $CPPFLAGS'
2035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2046 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2047 if test -f "$ac_dir/install-sh"; then
2049 ac_install_sh="$ac_aux_dir/install-sh -c"
2051 elif test -f "$ac_dir/install.sh"; then
2053 ac_install_sh="$ac_aux_dir/install.sh -c"
2055 elif test -f "$ac_dir/shtool"; then
2057 ac_install_sh="$ac_aux_dir/shtool install -c"
2061 if test -z "$ac_aux_dir"; then
2062 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2065 # These three variables are undocumented and unsupported,
2066 # and are intended to be withdrawn in a future Autoconf release.
2067 # They can cause serious problems if a builder's source tree is in a directory
2068 # whose full name contains unusual characters.
2069 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2070 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2071 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2074 # Make sure we can run config.sub.
2075 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2076 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2079 $as_echo_n "checking build system type... " >&6; }
2080 if ${ac_cv_build+:} false; then :
2081 $as_echo_n "(cached) " >&6
2083 ac_build_alias=$build_alias
2084 test "x$ac_build_alias" = x &&
2085 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2086 test "x$ac_build_alias" = x &&
2087 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2088 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2089 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2093 $as_echo "$ac_cv_build" >&6; }
2094 case $ac_cv_build in
2096 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2099 ac_save_IFS=$IFS; IFS='-'
2105 # Remember, the first character of IFS is used to create $*,
2106 # except with old shells:
2109 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2113 $as_echo_n "checking host system type... " >&6; }
2114 if ${ac_cv_host+:} false; then :
2115 $as_echo_n "(cached) " >&6
2117 if test "x$host_alias" = x; then
2118 ac_cv_host=$ac_cv_build
2120 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2121 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2126 $as_echo "$ac_cv_host" >&6; }
2129 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2132 ac_save_IFS=$IFS; IFS='-'
2138 # Remember, the first character of IFS is used to create $*,
2139 # except with old shells:
2142 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2146 $as_echo_n "checking target system type... " >&6; }
2147 if ${ac_cv_target+:} false; then :
2148 $as_echo_n "(cached) " >&6
2150 if test "x$target_alias" = x; then
2151 ac_cv_target=$ac_cv_host
2153 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2154 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2159 $as_echo "$ac_cv_target" >&6; }
2160 case $ac_cv_target in
2162 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2164 target=$ac_cv_target
2165 ac_save_IFS=$IFS; IFS='-'
2171 # Remember, the first character of IFS is used to create $*,
2172 # except with old shells:
2175 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2178 # The aliases save the names the user supplied, while $host etc.
2179 # will get canonicalized.
2180 test -n "$target_alias" &&
2181 test "$program_prefix$program_suffix$program_transform_name" = \
2183 program_prefix=${target_alias}-
2185 ac_cpp='$CPP $CPPFLAGS'
2186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2189 if test -n "$ac_tool_prefix"; then
2190 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2191 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2193 $as_echo_n "checking for $ac_word... " >&6; }
2194 if ${ac_cv_prog_CC+:} false; then :
2195 $as_echo_n "(cached) " >&6
2197 if test -n "$CC"; then
2198 ac_cv_prog_CC="$CC" # Let the user override the test.
2200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2204 test -z "$as_dir" && as_dir=.
2205 for ac_exec_ext in '' $ac_executable_extensions; do
2206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2207 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2218 if test -n "$CC"; then
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2220 $as_echo "$CC" >&6; }
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2223 $as_echo "no" >&6; }
2228 if test -z "$ac_cv_prog_CC"; then
2230 # Extract the first word of "gcc", so it can be a program name with args.
2231 set dummy gcc; ac_word=$2
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2233 $as_echo_n "checking for $ac_word... " >&6; }
2234 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2235 $as_echo_n "(cached) " >&6
2237 if test -n "$ac_ct_CC"; then
2238 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2244 test -z "$as_dir" && as_dir=.
2245 for ac_exec_ext in '' $ac_executable_extensions; do
2246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2247 ac_cv_prog_ac_ct_CC="gcc"
2248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2257 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2258 if test -n "$ac_ct_CC"; then
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2260 $as_echo "$ac_ct_CC" >&6; }
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2263 $as_echo "no" >&6; }
2266 if test "x$ac_ct_CC" = x; then
2269 case $cross_compiling:$ac_tool_warned in
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2273 ac_tool_warned=yes ;;
2281 if test -z "$CC"; then
2282 if test -n "$ac_tool_prefix"; then
2283 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2284 set dummy ${ac_tool_prefix}cc; ac_word=$2
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2286 $as_echo_n "checking for $ac_word... " >&6; }
2287 if ${ac_cv_prog_CC+:} false; then :
2288 $as_echo_n "(cached) " >&6
2290 if test -n "$CC"; then
2291 ac_cv_prog_CC="$CC" # Let the user override the test.
2293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2297 test -z "$as_dir" && as_dir=.
2298 for ac_exec_ext in '' $ac_executable_extensions; do
2299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2300 ac_cv_prog_CC="${ac_tool_prefix}cc"
2301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2311 if test -n "$CC"; then
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2313 $as_echo "$CC" >&6; }
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2316 $as_echo "no" >&6; }
2322 if test -z "$CC"; then
2323 # Extract the first word of "cc", so it can be a program name with args.
2324 set dummy cc; ac_word=$2
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2326 $as_echo_n "checking for $ac_word... " >&6; }
2327 if ${ac_cv_prog_CC+:} false; then :
2328 $as_echo_n "(cached) " >&6
2330 if test -n "$CC"; then
2331 ac_cv_prog_CC="$CC" # Let the user override the test.
2334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2338 test -z "$as_dir" && as_dir=.
2339 for ac_exec_ext in '' $ac_executable_extensions; do
2340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2341 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2342 ac_prog_rejected=yes
2346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2353 if test $ac_prog_rejected = yes; then
2354 # We found a bogon in the path, so make sure we never use it.
2355 set dummy $ac_cv_prog_CC
2357 if test $# != 0; then
2358 # We chose a different compiler from the bogus one.
2359 # However, it has the same basename, so the bogon will be chosen
2360 # first if we set CC to just the basename; use the full file name.
2362 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2368 if test -n "$CC"; then
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2370 $as_echo "$CC" >&6; }
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2373 $as_echo "no" >&6; }
2378 if test -z "$CC"; then
2379 if test -n "$ac_tool_prefix"; then
2380 for ac_prog in cl.exe
2382 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2383 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2385 $as_echo_n "checking for $ac_word... " >&6; }
2386 if ${ac_cv_prog_CC+:} false; then :
2387 $as_echo_n "(cached) " >&6
2389 if test -n "$CC"; then
2390 ac_cv_prog_CC="$CC" # Let the user override the test.
2392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2396 test -z "$as_dir" && as_dir=.
2397 for ac_exec_ext in '' $ac_executable_extensions; do
2398 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2399 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2410 if test -n "$CC"; then
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2412 $as_echo "$CC" >&6; }
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2415 $as_echo "no" >&6; }
2419 test -n "$CC" && break
2422 if test -z "$CC"; then
2424 for ac_prog in cl.exe
2426 # Extract the first word of "$ac_prog", so it can be a program name with args.
2427 set dummy $ac_prog; ac_word=$2
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2429 $as_echo_n "checking for $ac_word... " >&6; }
2430 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2431 $as_echo_n "(cached) " >&6
2433 if test -n "$ac_ct_CC"; then
2434 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2440 test -z "$as_dir" && as_dir=.
2441 for ac_exec_ext in '' $ac_executable_extensions; do
2442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2443 ac_cv_prog_ac_ct_CC="$ac_prog"
2444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2453 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2454 if test -n "$ac_ct_CC"; then
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2456 $as_echo "$ac_ct_CC" >&6; }
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2459 $as_echo "no" >&6; }
2463 test -n "$ac_ct_CC" && break
2466 if test "x$ac_ct_CC" = x; then
2469 case $cross_compiling:$ac_tool_warned in
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2472 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2473 ac_tool_warned=yes ;;
2482 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2484 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2485 See \
`config.log' for more details" "$LINENO" 5; }
2487 # Provide some information about the compiler.
2488 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2491 for ac_option in --version -v -V -qversion; do
2492 { { ac_try="$ac_compiler $ac_option >&5"
2494 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2495 *) ac_try_echo
=$ac_try;;
2497 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2498 $as_echo "$ac_try_echo"; } >&5
2499 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2501 if test -s conftest.err
; then
2503 ... rest of stderr output deleted ...
2504 10q' conftest.err
>conftest.er1
2505 cat conftest.er1
>&5
2507 rm -f conftest.er1 conftest.err
2508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2509 test $ac_status = 0; }
2512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2513 /* end confdefs.h. */
2523 ac_clean_files_save
=$ac_clean_files
2524 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2525 # Try to create an executable without -o first, disregard a.out.
2526 # It will help us diagnose broken compilers, and finding out an intuition
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2529 $as_echo_n "checking whether the C compiler works... " >&6; }
2530 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2532 # The possible output files:
2533 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2536 for ac_file
in $ac_files
2539 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2540 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2545 if { { ac_try
="$ac_link_default"
2547 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2548 *) ac_try_echo=$ac_try;;
2550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2551 $as_echo "$ac_try_echo"; } >&5
2552 (eval "$ac_link_default") 2>&5
2554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2555 test $ac_status = 0; }; then :
2556 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2557 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2558 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2559 # so that the user can short-circuit this test for compilers unknown to
2561 for ac_file in $ac_files ''
2563 test -f "$ac_file" || continue
2565 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2568 # We found the default executable, but exeext='' is most
2572 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2574 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2576 # We set ac_cv_exeext here because the later test for it is not
2577 # safe: cross compilers may not add the suffix if given an `-o'
2578 # argument, so we may need to know it at that point already.
2579 # Even if this section looks crufty: it has the advantage of
2586 test "$ac_cv_exeext" = no && ac_cv_exeext=
2591 if test -z "$ac_file"; then :
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2593 $as_echo "no" >&6; }
2594 $as_echo "$as_me: failed program was:" >&5
2595 sed 's
/^
/|
/' conftest.$ac_ext >&5
2597 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2598 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2599 as_fn_error 77 "C compiler cannot create executables
2600 See \`config.log
' for more details" "$LINENO" 5; }
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2603 $as_echo "yes" >&6; }
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2606 $as_echo_n "checking for C compiler default output file name... " >&6; }
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2608 $as_echo "$ac_file" >&6; }
2609 ac_exeext=$ac_cv_exeext
2611 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2612 ac_clean_files=$ac_clean_files_save
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2614 $as_echo_n "checking for suffix of executables... " >&6; }
2615 if { { ac_try="$ac_link"
2617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2618 *) ac_try_echo=$ac_try;;
2620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2621 $as_echo "$ac_try_echo"; } >&5
2622 (eval "$ac_link") 2>&5
2624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2625 test $ac_status = 0; }; then :
2626 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2627 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2628 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2630 for ac_file
in conftest.exe conftest conftest.
*; do
2631 test -f "$ac_file" ||
continue
2633 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2634 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2640 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2641 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2642 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2643 See \`config.log' for more details" "$LINENO" 5; }
2645 rm -f conftest conftest
$ac_cv_exeext
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2647 $as_echo "$ac_cv_exeext" >&6; }
2649 rm -f conftest.
$ac_ext
2650 EXEEXT
=$ac_cv_exeext
2652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2653 /* end confdefs.h. */
2658 FILE *f = fopen ("conftest.out", "w");
2659 return ferror (f) || fclose (f) != 0;
2665 ac_clean_files
="$ac_clean_files conftest.out"
2666 # Check that the compiler produces executables we can run. If not, either
2667 # the compiler is broken, or we cross compile.
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2669 $as_echo_n "checking whether we are cross compiling... " >&6; }
2670 if test "$cross_compiling" != yes; then
2671 { { ac_try
="$ac_link"
2673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2674 *) ac_try_echo=$ac_try;;
2676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2677 $as_echo "$ac_try_echo"; } >&5
2678 (eval "$ac_link") 2>&5
2680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2681 test $ac_status = 0; }
2682 if { ac_try='./conftest$ac_cv_exeext'
2683 { { case "(($ac_try" in
2684 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2685 *) ac_try_echo
=$ac_try;;
2687 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2688 $as_echo "$ac_try_echo"; } >&5
2689 (eval "$ac_try") 2>&5
2691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2692 test $ac_status = 0; }; }; then
2695 if test "$cross_compiling" = maybe
; then
2698 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2700 as_fn_error $?
"cannot run C compiled programs.
2701 If you meant to cross compile, use \`--host'.
2702 See \`config.log' for more details" "$LINENO" 5; }
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2707 $as_echo "$cross_compiling" >&6; }
2709 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2710 ac_clean_files
=$ac_clean_files_save
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2712 $as_echo_n "checking for suffix of object files... " >&6; }
2713 if ${ac_cv_objext+:} false
; then :
2714 $as_echo_n "(cached) " >&6
2716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2717 /* end confdefs.h. */
2727 rm -f conftest.o conftest.obj
2728 if { { ac_try
="$ac_compile"
2730 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2731 *) ac_try_echo=$ac_try;;
2733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2734 $as_echo "$ac_try_echo"; } >&5
2735 (eval "$ac_compile") 2>&5
2737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2738 test $ac_status = 0; }; then :
2739 for ac_file in conftest.o conftest.obj conftest.*; do
2740 test -f "$ac_file" || continue;
2742 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2743 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2748 $as_echo "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.$ac_ext >&5
2751 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2753 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2754 See \
`config.log' for more details" "$LINENO" 5; }
2756 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2759 $as_echo "$ac_cv_objext" >&6; }
2760 OBJEXT=$ac_cv_objext
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2763 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2764 if ${ac_cv_c_compiler_gnu+:} false; then :
2765 $as_echo_n "(cached) " >&6
2767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2768 /* end confdefs.h. */
2781 if ac_fn_c_try_compile "$LINENO"; then :
2786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2787 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2791 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2792 if test $ac_compiler_gnu = yes; then
2797 ac_test_CFLAGS=${CFLAGS+set}
2798 ac_save_CFLAGS=$CFLAGS
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2800 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2801 if ${ac_cv_prog_cc_g+:} false; then :
2802 $as_echo_n "(cached) " >&6
2804 ac_save_c_werror_flag=$ac_c_werror_flag
2805 ac_c_werror_flag=yes
2808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2809 /* end confdefs.h. */
2819 if ac_fn_c_try_compile "$LINENO"; then :
2823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2824 /* end confdefs.h. */
2834 if ac_fn_c_try_compile "$LINENO"; then :
2837 ac_c_werror_flag=$ac_save_c_werror_flag
2839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2840 /* end confdefs.h. */
2850 if ac_fn_c_try_compile "$LINENO"; then :
2853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2858 ac_c_werror_flag=$ac_save_c_werror_flag
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2861 $as_echo "$ac_cv_prog_cc_g" >&6; }
2862 if test "$ac_test_CFLAGS" = set; then
2863 CFLAGS=$ac_save_CFLAGS
2864 elif test $ac_cv_prog_cc_g = yes; then
2865 if test "$GCC" = yes; then
2871 if test "$GCC" = yes; then
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2878 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2879 if ${ac_cv_prog_cc_c89+:} false; then :
2880 $as_echo_n "(cached) " >&6
2882 ac_cv_prog_cc_c89=no
2884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2885 /* end confdefs.h. */
2889 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2890 struct buf { int x; };
2891 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2892 static char *e (p, i)
2898 static char *f (char * (*g) (char **, int), char **p, ...)
2903 s = g (p, va_arg (v,int));
2908 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2909 function prototypes and stuff, but not '\xHH' hex character constants.
2910 These don't provoke an error unfortunately, instead are silently treated
2911 as 'x'. The following induces an error, until -std is added to get
2912 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2913 array size at least. It's necessary to write '\x00'==0 to get something
2914 that's true only with -std. */
2915 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2917 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2918 inside strings and character constants. */
2920 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2922 int test (int i, double x);
2923 struct s1 {int (*f) (int a);};
2924 struct s2 {int (*f) (double a);};
2925 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2931 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2936 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2937 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2939 CC="$ac_save_CC $ac_arg"
2940 if ac_fn_c_try_compile "$LINENO"; then :
2941 ac_cv_prog_cc_c89=$ac_arg
2943 rm -f core conftest.err conftest.$ac_objext
2944 test "x$ac_cv_prog_cc_c89" != "xno" && break
2946 rm -f conftest.$ac_ext
2951 case "x$ac_cv_prog_cc_c89" in
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2954 $as_echo "none needed" >&6; } ;;
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2957 $as_echo "unsupported" >&6; } ;;
2959 CC="$CC $ac_cv_prog_cc_c89"
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2961 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2963 if test "x$ac_cv_prog_cc_c89" != xno; then :
2968 ac_cpp='$CPP $CPPFLAGS'
2969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2975 ac_cpp='$CPP $CPPFLAGS'
2976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2980 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2981 # On Suns, sometimes $CPP names a directory.
2982 if test -n "$CPP" && test -d "$CPP"; then
2985 if test -z "$CPP"; then
2986 if ${ac_cv_prog_CPP+:} false; then :
2987 $as_echo_n "(cached) " >&6
2989 # Double quotes because CPP needs to be expanded
2990 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2993 for ac_c_preproc_warn_flag in '' yes
2995 # Use a header file that comes with gcc, so configuring glibc
2996 # with a fresh cross-compiler works.
2997 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2998 # <limits.h> exists even on freestanding compilers.
2999 # On the NeXT, cc -E runs the code through the compiler's parser,
3000 # not just through cpp. "Syntax error" is here to catch this case.
3001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3002 /* end confdefs.h. */
3004 # include <limits.h>
3006 # include <assert.h>
3010 if ac_fn_c_try_cpp "$LINENO"; then :
3013 # Broken: fails on valid input.
3016 rm -f conftest.err conftest.i conftest.$ac_ext
3018 # OK, works on sane cases. Now check whether nonexistent headers
3019 # can be detected and how.
3020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3021 /* end confdefs.h. */
3022 #include <ac_nonexistent.h>
3024 if ac_fn_c_try_cpp "$LINENO"; then :
3025 # Broken: success on invalid input.
3028 # Passes both tests.
3032 rm -f conftest.err conftest.i conftest.$ac_ext
3035 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3036 rm -f conftest.i conftest.err conftest.
$ac_ext
3037 if $ac_preproc_ok; then :
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3050 $as_echo "$CPP" >&6; }
3052 for ac_c_preproc_warn_flag
in '' yes
3054 # Use a header file that comes with gcc, so configuring glibc
3055 # with a fresh cross-compiler works.
3056 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3057 # <limits.h> exists even on freestanding compilers.
3058 # On the NeXT, cc -E runs the code through the compiler's parser,
3059 # not just through cpp. "Syntax error" is here to catch this case.
3060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3061 /* end confdefs.h. */
3063 # include <limits.h>
3065 # include <assert.h>
3069 if ac_fn_c_try_cpp
"$LINENO"; then :
3072 # Broken: fails on valid input.
3075 rm -f conftest.err conftest.i conftest.
$ac_ext
3077 # OK, works on sane cases. Now check whether nonexistent headers
3078 # can be detected and how.
3079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3080 /* end confdefs.h. */
3081 #include <ac_nonexistent.h>
3083 if ac_fn_c_try_cpp
"$LINENO"; then :
3084 # Broken: success on invalid input.
3087 # Passes both tests.
3091 rm -f conftest.err conftest.i conftest.
$ac_ext
3094 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3095 rm -f conftest.i conftest.err conftest.
$ac_ext
3096 if $ac_preproc_ok; then :
3099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3101 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3102 See \`config.log' for more details" "$LINENO" 5; }
3106 ac_cpp
='$CPP $CPPFLAGS'
3107 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3108 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3109 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3113 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3114 if ${ac_cv_path_GREP+:} false
; then :
3115 $as_echo_n "(cached) " >&6
3117 if test -z "$GREP"; then
3118 ac_path_GREP_found
=false
3119 # Loop through the user's path and test for each of PROGNAME-LIST
3120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3121 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3124 test -z "$as_dir" && as_dir
=.
3125 for ac_prog
in grep ggrep
; do
3126 for ac_exec_ext
in '' $ac_executable_extensions; do
3127 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3128 as_fn_executable_p
"$ac_path_GREP" ||
continue
3129 # Check for GNU ac_path_GREP and select it if it is found.
3130 # Check for GNU $ac_path_GREP
3131 case `"$ac_path_GREP" --version 2>&1` in
3133 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3136 $as_echo_n 0123456789 >"conftest.in"
3139 cat "conftest.in" "conftest.in" >"conftest.tmp"
3140 mv "conftest.tmp" "conftest.in"
3141 cp "conftest.in" "conftest.nl"
3142 $as_echo 'GREP' >> "conftest.nl"
3143 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3144 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3145 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3146 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3147 # Best one so far, save it but keep looking for a better one
3148 ac_cv_path_GREP
="$ac_path_GREP"
3149 ac_path_GREP_max
=$ac_count
3151 # 10*(2^10) chars as input seems more than enough
3152 test $ac_count -gt 10 && break
3154 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3157 $ac_path_GREP_found && break 3
3162 if test -z "$ac_cv_path_GREP"; then
3163 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3166 ac_cv_path_GREP
=$GREP
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3171 $as_echo "$ac_cv_path_GREP" >&6; }
3172 GREP
="$ac_cv_path_GREP"
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3176 $as_echo_n "checking for egrep... " >&6; }
3177 if ${ac_cv_path_EGREP+:} false
; then :
3178 $as_echo_n "(cached) " >&6
3180 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3181 then ac_cv_path_EGREP
="$GREP -E"
3183 if test -z "$EGREP"; then
3184 ac_path_EGREP_found
=false
3185 # Loop through the user's path and test for each of PROGNAME-LIST
3186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3187 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3190 test -z "$as_dir" && as_dir
=.
3191 for ac_prog
in egrep; do
3192 for ac_exec_ext
in '' $ac_executable_extensions; do
3193 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3194 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3195 # Check for GNU ac_path_EGREP and select it if it is found.
3196 # Check for GNU $ac_path_EGREP
3197 case `"$ac_path_EGREP" --version 2>&1` in
3199 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3202 $as_echo_n 0123456789 >"conftest.in"
3205 cat "conftest.in" "conftest.in" >"conftest.tmp"
3206 mv "conftest.tmp" "conftest.in"
3207 cp "conftest.in" "conftest.nl"
3208 $as_echo 'EGREP' >> "conftest.nl"
3209 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3210 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3211 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3212 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3213 # Best one so far, save it but keep looking for a better one
3214 ac_cv_path_EGREP
="$ac_path_EGREP"
3215 ac_path_EGREP_max
=$ac_count
3217 # 10*(2^10) chars as input seems more than enough
3218 test $ac_count -gt 10 && break
3220 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3223 $ac_path_EGREP_found && break 3
3228 if test -z "$ac_cv_path_EGREP"; then
3229 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3232 ac_cv_path_EGREP
=$EGREP
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3238 $as_echo "$ac_cv_path_EGREP" >&6; }
3239 EGREP
="$ac_cv_path_EGREP"
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3243 $as_echo_n "checking for ANSI C header files... " >&6; }
3244 if ${ac_cv_header_stdc+:} false
; then :
3245 $as_echo_n "(cached) " >&6
3247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3248 /* end confdefs.h. */
3262 if ac_fn_c_try_compile
"$LINENO"; then :
3263 ac_cv_header_stdc
=yes
3265 ac_cv_header_stdc
=no
3267 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3269 if test $ac_cv_header_stdc = yes; then
3270 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3272 /* end confdefs.h. */
3276 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3277 $EGREP "memchr" >/dev
/null
2>&1; then :
3280 ac_cv_header_stdc
=no
3286 if test $ac_cv_header_stdc = yes; then
3287 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3289 /* end confdefs.h. */
3293 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3294 $EGREP "free" >/dev
/null
2>&1; then :
3297 ac_cv_header_stdc
=no
3303 if test $ac_cv_header_stdc = yes; then
3304 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3305 if test "$cross_compiling" = yes; then :
3308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3309 /* end confdefs.h. */
3312 #if ((' ' & 0x0FF) == 0x020)
3313 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3314 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3316 # define ISLOWER(c) \
3317 (('a' <= (c) && (c) <= 'i') \
3318 || ('j' <= (c) && (c) <= 'r') \
3319 || ('s' <= (c) && (c) <= 'z'))
3320 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3323 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3328 for (i = 0; i < 256; i++)
3329 if (XOR (islower (i), ISLOWER (i))
3330 || toupper (i) != TOUPPER (i))
3335 if ac_fn_c_try_run
"$LINENO"; then :
3338 ac_cv_header_stdc
=no
3340 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3341 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3347 $as_echo "$ac_cv_header_stdc" >&6; }
3348 if test $ac_cv_header_stdc = yes; then
3350 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3354 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3355 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3356 inttypes.h stdint.h unistd.h
3358 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3359 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3361 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3362 cat >>confdefs.h
<<_ACEOF
3363 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3372 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3373 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3380 if test "$MINIX" = yes; then
3382 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3385 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3388 $as_echo "#define _MINIX 1" >>confdefs.h
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3394 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3395 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3396 $as_echo_n "(cached) " >&6
3398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3399 /* end confdefs.h. */
3401 # define __EXTENSIONS__ 1
3402 $ac_includes_default
3411 if ac_fn_c_try_compile
"$LINENO"; then :
3412 ac_cv_safe_to_define___extensions__
=yes
3414 ac_cv_safe_to_define___extensions__
=no
3416 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3419 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3420 test $ac_cv_safe_to_define___extensions__ = yes &&
3421 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3423 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3425 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3427 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3429 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3432 test "$program_prefix" != NONE
&&
3433 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3434 # Use a double $ so make ignores it.
3435 test "$program_suffix" != NONE
&&
3436 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3437 # Double any \ or $.
3438 # By default was `s,x,x', remove it if useless.
3439 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3440 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3442 # Find a good install program. We prefer a C program (faster),
3443 # so one script is as good as another. But avoid the broken or
3444 # incompatible versions:
3445 # SysV /etc/install, /usr/sbin/install
3446 # SunOS /usr/etc/install
3447 # IRIX /sbin/install
3449 # AmigaOS /C/install, which installs bootblocks on floppy discs
3450 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3451 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3452 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3453 # OS/2's system install, which has a completely different semantic
3454 # ./install, which can be erroneously created by make from ./install.sh.
3455 # Reject install programs that cannot install multiple files.
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3457 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3458 if test -z "$INSTALL"; then
3459 if ${ac_cv_path_install+:} false
; then :
3460 $as_echo_n "(cached) " >&6
3462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3466 test -z "$as_dir" && as_dir
=.
3467 # Account for people who put trailing slashes in PATH elements.
3468 case $as_dir/ in #((
3469 .
/ | .
// |
/[cC
]/* | \
3470 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3471 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3474 # OSF1 and SCO ODT 3.0 have their own names for install.
3475 # Don't use installbsd from OSF since it installs stuff as root
3477 for ac_prog
in ginstall scoinst
install; do
3478 for ac_exec_ext
in '' $ac_executable_extensions; do
3479 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3480 if test $ac_prog = install &&
3481 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3482 # AIX install. It has an incompatible calling convention.
3484 elif test $ac_prog = install &&
3485 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3486 # program-specific install script used by HP pwplus--don't use.
3489 rm -rf conftest.one conftest.two conftest.dir
3490 echo one
> conftest.one
3491 echo two
> conftest.two
3493 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3494 test -s conftest.one
&& test -s conftest.two
&&
3495 test -s conftest.dir
/conftest.one
&&
3496 test -s conftest.dir
/conftest.two
3498 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3511 rm -rf conftest.one conftest.two conftest.dir
3514 if test "${ac_cv_path_install+set}" = set; then
3515 INSTALL
=$ac_cv_path_install
3517 # As a last resort, use the slow shell script. Don't cache a
3518 # value for INSTALL within a source directory, because that will
3519 # break other packages using the cache if that directory is
3520 # removed, or if the value is a relative name.
3521 INSTALL
=$ac_install_sh
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3525 $as_echo "$INSTALL" >&6; }
3527 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3528 # It thinks the first close brace ends the variable substitution.
3529 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3531 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3533 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3535 rm -rf .tst
2>/dev
/null
3536 mkdir .tst
2>/dev
/null
3537 if test -d .tst
; then
3542 rmdir .tst
2>/dev
/null
3544 DEPDIR
="${am__leading_dot}deps"
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
3551 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
3552 if ${ac_cv_c_bigendian+:} false
; then :
3553 $as_echo_n "(cached) " >&6
3555 ac_cv_c_bigendian
=unknown
3556 # See if we're dealing with a universal compiler.
3557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3558 /* end confdefs.h. */
3559 #ifndef __APPLE_CC__
3560 not a universal capable compiler
3565 if ac_fn_c_try_compile
"$LINENO"; then :
3567 # Check for potential -arch flags. It is not universal unless
3568 # there are at least two -arch flags with different values.
3571 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
3572 if test -n "$ac_prev"; then
3574 i?
86 | x86_64 | ppc | ppc64
)
3575 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
3578 ac_cv_c_bigendian
=universal
3584 elif test "x$ac_word" = "x-arch"; then
3589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3590 if test $ac_cv_c_bigendian = unknown
; then
3591 # See if sys/param.h defines the BYTE_ORDER macro.
3592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3593 /* end confdefs.h. */
3594 #include <sys/types.h>
3595 #include <sys/param.h>
3600 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
3601 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
3610 if ac_fn_c_try_compile
"$LINENO"; then :
3611 # It does; now see whether it defined to BIG_ENDIAN or not.
3612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3613 /* end confdefs.h. */
3614 #include <sys/types.h>
3615 #include <sys/param.h>
3620 #if BYTE_ORDER != BIG_ENDIAN
3628 if ac_fn_c_try_compile
"$LINENO"; then :
3629 ac_cv_c_bigendian
=yes
3631 ac_cv_c_bigendian
=no
3633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3635 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3637 if test $ac_cv_c_bigendian = unknown
; then
3638 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
3639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3640 /* end confdefs.h. */
3646 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
3654 if ac_fn_c_try_compile
"$LINENO"; then :
3655 # It does; now see whether it defined to _BIG_ENDIAN or not.
3656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3657 /* end confdefs.h. */
3671 if ac_fn_c_try_compile
"$LINENO"; then :
3672 ac_cv_c_bigendian
=yes
3674 ac_cv_c_bigendian
=no
3676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3680 if test $ac_cv_c_bigendian = unknown
; then
3681 # Compile a test program.
3682 if test "$cross_compiling" = yes; then :
3683 # Try to guess by grepping values from an object file.
3684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3685 /* end confdefs.h. */
3686 short int ascii_mm[] =
3687 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3688 short int ascii_ii[] =
3689 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3690 int use_ascii (int i) {
3691 return ascii_mm[i] + ascii_ii[i];
3693 short int ebcdic_ii[] =
3694 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3695 short int ebcdic_mm[] =
3696 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3697 int use_ebcdic (int i) {
3698 return ebcdic_mm[i] + ebcdic_ii[i];
3705 return use_ascii (foo) == use_ebcdic (foo);
3710 if ac_fn_c_try_compile
"$LINENO"; then :
3711 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
3712 ac_cv_c_bigendian
=yes
3714 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
3715 if test "$ac_cv_c_bigendian" = unknown
; then
3716 ac_cv_c_bigendian
=no
3718 # finding both strings is unlikely to happen, but who knows?
3719 ac_cv_c_bigendian
=unknown
3723 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3726 /* end confdefs.h. */
3727 $ac_includes_default
3732 /* Are we little or big endian? From Harbison&Steele. */
3736 char c[sizeof (long int)];
3739 return u.c[sizeof (long int) - 1] == 1;
3745 if ac_fn_c_try_run
"$LINENO"; then :
3746 ac_cv_c_bigendian
=no
3748 ac_cv_c_bigendian
=yes
3750 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3751 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
3757 $as_echo "$ac_cv_c_bigendian" >&6; }
3758 case $ac_cv_c_bigendian in #(
3760 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
3766 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
3770 as_fn_error $?
"unknown endianness
3771 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
3777 if test "x$cross_compiling" = "xno"; then
3778 : "${AR_FOR_BUILD:=\$(AR)}"
3779 : "${CC_FOR_BUILD:=\$(CC)}"
3780 : "${RANLIB_FOR_BUILD:=\$(RANLIB)}"
3781 : "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
3782 : "${LDFLAGS_FOR_BUILD:=\$(LDFLAGS)}"
3784 : "${AR_FOR_BUILD:=ar}"
3785 : "${CC_FOR_BUILD:=gcc}"
3786 : "${RANLIB_FOR_BUILD:=ranlib}"
3787 : "${CFLAGS_FOR_BUILD:=-g -O}"
3788 : "${LDLFAGS_FOR_BUILD:=}"
3797 if test -n "$ac_tool_prefix"; then
3798 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3799 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3801 $as_echo_n "checking for $ac_word... " >&6; }
3802 if ${ac_cv_prog_AR+:} false
; then :
3803 $as_echo_n "(cached) " >&6
3805 if test -n "$AR"; then
3806 ac_cv_prog_AR
="$AR" # Let the user override the test.
3808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3812 test -z "$as_dir" && as_dir
=.
3813 for ac_exec_ext
in '' $ac_executable_extensions; do
3814 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3815 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3826 if test -n "$AR"; then
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3828 $as_echo "$AR" >&6; }
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3831 $as_echo "no" >&6; }
3836 if test -z "$ac_cv_prog_AR"; then
3838 # Extract the first word of "ar", so it can be a program name with args.
3839 set dummy
ar; ac_word
=$2
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3841 $as_echo_n "checking for $ac_word... " >&6; }
3842 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
3843 $as_echo_n "(cached) " >&6
3845 if test -n "$ac_ct_AR"; then
3846 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3852 test -z "$as_dir" && as_dir
=.
3853 for ac_exec_ext
in '' $ac_executable_extensions; do
3854 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3855 ac_cv_prog_ac_ct_AR
="ar"
3856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3865 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3866 if test -n "$ac_ct_AR"; then
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3868 $as_echo "$ac_ct_AR" >&6; }
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3871 $as_echo "no" >&6; }
3874 if test "x$ac_ct_AR" = x
; then
3877 case $cross_compiling:$ac_tool_warned in
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3880 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3881 ac_tool_warned
=yes ;;
3889 if test -n "$ac_tool_prefix"; then
3890 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3891 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3893 $as_echo_n "checking for $ac_word... " >&6; }
3894 if ${ac_cv_prog_RANLIB+:} false
; then :
3895 $as_echo_n "(cached) " >&6
3897 if test -n "$RANLIB"; then
3898 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3904 test -z "$as_dir" && as_dir
=.
3905 for ac_exec_ext
in '' $ac_executable_extensions; do
3906 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3907 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3917 RANLIB
=$ac_cv_prog_RANLIB
3918 if test -n "$RANLIB"; then
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3920 $as_echo "$RANLIB" >&6; }
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3923 $as_echo "no" >&6; }
3928 if test -z "$ac_cv_prog_RANLIB"; then
3929 ac_ct_RANLIB
=$RANLIB
3930 # Extract the first word of "ranlib", so it can be a program name with args.
3931 set dummy ranlib
; ac_word
=$2
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3933 $as_echo_n "checking for $ac_word... " >&6; }
3934 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
3935 $as_echo_n "(cached) " >&6
3937 if test -n "$ac_ct_RANLIB"; then
3938 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3944 test -z "$as_dir" && as_dir
=.
3945 for ac_exec_ext
in '' $ac_executable_extensions; do
3946 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3947 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3957 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3958 if test -n "$ac_ct_RANLIB"; then
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3960 $as_echo "$ac_ct_RANLIB" >&6; }
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3963 $as_echo "no" >&6; }
3966 if test "x$ac_ct_RANLIB" = x
; then
3969 case $cross_compiling:$ac_tool_warned in
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3973 ac_tool_warned
=yes ;;
3975 RANLIB
=$ac_ct_RANLIB
3978 RANLIB
="$ac_cv_prog_RANLIB"
3982 # Require C11 or newer. Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
3983 # AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
3984 # is C99. So handle it ourselves.
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
3988 $as_echo_n "checking whether C11 is supported by default... " >&6; }
3989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3990 /* end confdefs.h. */
3992 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3993 # error "C11 support not found"
3997 if ac_fn_c_try_compile
"$LINENO"; then :
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3999 $as_echo "yes" >&6; }
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4003 $as_echo "no" >&6; }
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
4005 $as_echo_n "checking for -std=c11 support... " >&6; }
4008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4009 /* end confdefs.h. */
4011 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4012 # error "C11 support not found"
4016 if ac_fn_c_try_compile
"$LINENO"; then :
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4019 $as_echo "yes" >&6; }
4021 C_DIALECT
="-std=c11"
4024 as_fn_error $?
"C11 is required" "$LINENO" 5
4026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4032 # Dependency checking.
4033 ac_config_commands
="$ac_config_commands depdir"
4036 depcc
="$CC" am_compiler_list
=
4038 am_depcomp
=$ac_aux_dir/depcomp
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4040 $as_echo_n "checking dependency style of $depcc... " >&6; }
4041 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4042 $as_echo_n "(cached) " >&6
4044 if test -f "$am_depcomp"; then
4045 # We make a subdir and do the tests there. Otherwise we can end up
4046 # making bogus files that we don't know about and never remove. For
4047 # instance it was reported that on HP-UX the gcc test will end up
4048 # making a dummy file named `D' -- because `-MD' means `put the output
4051 # Copy depcomp to subdir because otherwise we won't find it if we're
4052 # using a relative directory.
4053 cp "$am_depcomp" conftest.dir
4055 # We will build objects and dependencies in a subdirectory because
4056 # it helps to detect inapplicable dependency modes. For instance
4057 # both Tru64's cc and ICC support -MD to output dependencies as a
4058 # side effect of compilation, but ICC will put the dependencies in
4059 # the current directory while Tru64 will put them in the object
4063 am_cv_CC_dependencies_compiler_type
=none
4064 if test "$am_compiler_list" = ""; then
4065 am_compiler_list
=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4067 for depmode
in $am_compiler_list; do
4068 if test $depmode = none
; then break; fi
4070 $as_echo "$as_me:$LINENO: trying $depmode" >&5
4071 # Setup a source with many dependencies, because some compilers
4072 # like to wrap large dependency lists on column 80 (with \), and
4073 # we should not choose a depcomp mode which is confused by this.
4075 # We need to recreate these files for each test, as the compiler may
4076 # overwrite some of them when testing with obscure command lines.
4077 # This happens at least with the AIX C compiler.
4079 for i
in 1 2 3 4 5 6; do
4080 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4081 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4082 # Solaris 8's {/usr,}/bin/sh.
4083 touch sub
/conftst
$i.h
4085 echo "include sub/conftest.Po" > confmf
4087 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4088 # mode. It turns out that the SunPro C++ compiler does not properly
4089 # handle `-M -o', and we need to detect this.
4090 depcmd
="depmode=$depmode \
4091 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4092 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4093 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
4094 echo "| $depcmd" |
sed -e 's/ */ /g' >&5
4095 if env
$depcmd > conftest.err
2>&1 &&
4096 grep sub
/conftst6.h sub
/conftest.Po
>>conftest.err
2>&1 &&
4097 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
>>conftest.err
2>&1 &&
4098 ${MAKE-make} -s -f confmf
>>conftest.err
2>&1; then
4099 # icc doesn't choke on unknown options, it will just issue warnings
4100 # or remarks (even with -Werror). So we grep stderr for any message
4101 # that says an option was ignored or not supported.
4102 # When given -MP, icc 7.0 and 7.1 complain thusly:
4103 # icc: Command line warning: ignoring option '-M'; no argument required
4104 # The diagnosis changed in icc 8.0:
4105 # icc: Command line remark: option '-MP' not supported
4106 if (grep 'ignoring option' conftest.err ||
4107 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4108 am_cv_CC_dependencies_compiler_type
=$depmode
4109 $as_echo "$as_me:$LINENO: success" >&5
4113 $as_echo "$as_me:$LINENO: failure, diagnostics are:" >&5
4114 sed -e 's/^/| /' < conftest.err
>&5
4120 am_cv_CC_dependencies_compiler_type
=none
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4125 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4126 if test x
${am_cv_CC_dependencies_compiler_type-none} = xnone
4127 then as_fn_error $?
"no usable dependency style found" "$LINENO" 5
4128 else CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4134 # If we haven't got the data from the intl directory,
4135 # assume NLS is disabled.
4144 if test -f ..
/..
/intl
/config.intl
; then
4145 . ..
/..
/intl
/config.intl
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4148 $as_echo_n "checking whether NLS is requested... " >&6; }
4149 if test x
"$USE_NLS" != xyes
; then
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4151 $as_echo "no" >&6; }
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4154 $as_echo "yes" >&6; }
4156 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
4160 $as_echo_n "checking for catalogs to be installed... " >&6; }
4161 # Look for .po and .gmo files in the source directory.
4164 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
4165 # If there aren't any .gmo files the shell will give us the
4166 # literal string "../path/to/srcdir/po/*.gmo" which has to be
4168 case "$cat" in *\
**)
4171 # The quadruple backslash is collapsed to a double backslash
4172 # by the backticks, then collapsed again by the double quotes,
4173 # leaving us with one backslash in the sed expression (right
4174 # before the dot that mustn't act as a wildcard).
4175 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
4176 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
4177 # The user is allowed to set LINGUAS to a list of languages to
4178 # install catalogs for. If it's empty that means "all of them."
4179 if test "x$LINGUAS" = x
; then
4180 CATALOGS
="$CATALOGS $cat"
4181 XLINGUAS
="$XLINGUAS $lang"
4183 case "$LINGUAS" in *$lang*)
4184 CATALOGS
="$CATALOGS $cat"
4185 XLINGUAS
="$XLINGUAS $lang"
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
4192 $as_echo "$LINGUAS" >&6; }
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4207 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4208 # Check whether --enable-maintainer-mode was given.
4209 if test "${enable_maintainer_mode+set}" = set; then :
4210 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4212 USE_MAINTAINER_MODE
=no
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4216 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4217 if test $USE_MAINTAINER_MODE = yes; then
4218 MAINTAINER_MODE_TRUE
=
4219 MAINTAINER_MODE_FALSE
='#'
4221 MAINTAINER_MODE_TRUE
='#'
4222 MAINTAINER_MODE_FALSE
=
4225 MAINT
=$MAINTAINER_MODE_TRUE
4230 sim_inline
="-DDEFAULT_INLINE=0"
4231 # Check whether --enable-sim-inline was given.
4232 if test "${enable_sim_inline+set}" = set; then :
4233 enableval
=$enable_sim_inline; sim_inline
=""
4234 case "$enableval" in
4235 no
) sim_inline
="-DDEFAULT_INLINE=0";;
4236 0) sim_inline
="-DDEFAULT_INLINE=0";;
4237 yes |
2) sim_inline
="-DDEFAULT_INLINE=ALL_C_INLINE";;
4238 1) sim_inline
="-DDEFAULT_INLINE=INLINE_LOCALS";;
4239 *) for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4242 *_INLINE
=*) new_flag
="-D$x";;
4243 *=*) new_flag
=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
4244 *_INLINE
) new_flag
="-D$x=ALL_C_INLINE";;
4245 *) new_flag
="-D$x""_INLINE=ALL_C_INLINE";;
4247 if test x
"$sim_inline" = x
""; then
4248 sim_inline
="$new_flag"
4250 sim_inline
="$sim_inline $new_flag"
4254 if test x
"$silent" != x
"yes" && test x
"$sim_inline" != x
""; then
4255 echo "Setting inline flags = $sim_inline" 6>&1
4262 hardware
="cfi core pal glue "
4263 sim_hw_cflags
="-DWITH_HW=1"
4265 sim_hw_objs
="\$(SIM_COMMON_HW_OBJS) `echo $sim_hw | sed -e 's/\([^ ][^ ]*\)/dv-\1.o/g'`"
4267 # Check whether --enable-sim-hardware was given.
4268 if test "${enable_sim_hardware+set}" = set; then :
4269 enableval
=$enable_sim_hardware;
4271 enable_sim_hardware
="yes"
4274 case ${enable_sim_hardware} in
4276 ,*) hardware
="${hardware} `echo ${enableval} | sed -e 's/,/ /'`";;
4277 *,) hardware
="`echo ${enableval} | sed -e 's/,/ /'` ${hardware}";;
4278 *) hardware
="`echo ${enableval} | sed -e 's/,/ /'`"'';;
4281 if test "$enable_sim_hardware" = no
; then
4283 sim_hw_cflags
="-DWITH_HW=0"
4286 sim_hw_cflags
="-DWITH_HW=1"
4289 sim_hw_objs
="\$(SIM_COMMON_HW_OBJS)"
4290 for i
in $hardware ; do
4293 *) sim_hw
="$sim_hw $i" ; sim_hw_objs
="$sim_hw_objs dv-$i.o";;
4296 # mingw does not support sockser
4299 *) # TODO: We don't add dv-sockser to sim_hw as it is not a "real" device
4300 # that you instatiate. Instead, other code will call into it directly.
4301 # At some point, we should convert it over.
4302 sim_hw_objs
="$sim_hw_objs dv-sockser.o"
4303 sim_hw_cflags
="$sim_hw_cflags -DHAVE_DV_SOCKSER"
4306 if test x
"$silent" != x
"yes"; then
4307 echo "Setting hardware to $sim_hw_cflags, $sim_hw, $sim_hw_objs"
4313 if grep CGEN_MAINT
$srcdir/Makefile.
in >/dev
/null
; then
4314 cgen_breaks
="break cgen_rtx_error";
4317 ac_config_files
="$ac_config_files Makefile.sim:Makefile.in"
4319 ac_config_files
="$ac_config_files Make-common.sim:../common/Make-common.in"
4321 ac_config_files
="$ac_config_files .gdbinit:../common/gdbinit.in"
4323 ac_config_commands
="$ac_config_commands Makefile"
4325 ac_config_commands
="$ac_config_commands stamp-h"
4337 cat >confcache
<<\_ACEOF
4338 # This file is a shell script that caches the results of configure
4339 # tests run on this system so they can be shared between configure
4340 # scripts and configure runs, see configure's option --config-cache.
4341 # It is not useful on other systems. If it contains results you don't
4342 # want to keep, you may remove or edit it.
4344 # config.status only pays attention to the cache file if you give it
4345 # the --recheck option to rerun configure.
4347 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4348 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4353 # The following way of writing the cache mishandles newlines in values,
4354 # but we know of no workaround that is simple, portable, and efficient.
4355 # So, we kill variables containing newlines.
4356 # Ultrix sh set writes to stderr and can't be redirected directly,
4357 # and sets the high bit in the cache file unless we assign to the vars.
4359 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4360 eval ac_val
=\$
$ac_var
4364 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4365 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4368 _ | IFS | as_nl
) ;; #(
4369 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4370 *) { eval $ac_var=; unset $ac_var;} ;;
4376 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4377 *${as_nl}ac_space
=\
*)
4378 # `set' does not quote correctly, so add quotes: double-quote
4379 # substitution turns \\\\ into \\, and sed turns \\ into \.
4382 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4385 # `set' quotes correctly as required by POSIX, so do not add quotes.
4386 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4395 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4397 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4399 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4400 if test -w "$cache_file"; then
4401 if test "x$cache_file" != "x/dev/null"; then
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4403 $as_echo "$as_me: updating cache $cache_file" >&6;}
4404 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4405 cat confcache
>"$cache_file"
4407 case $cache_file in #(
4409 mv -f confcache
"$cache_file"$$
&&
4410 mv -f "$cache_file"$$
"$cache_file" ;; #(
4412 mv -f confcache
"$cache_file" ;;
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4418 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4423 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4424 # Let make expand exec_prefix.
4425 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4427 # Transform confdefs.h into DEFS.
4428 # Protect against shell expansion while executing Makefile rules.
4429 # Protect against Makefile macro expansion.
4431 # If the first sed substitution is executed (which looks for macros that
4432 # take arguments), then branch to the quote section. Otherwise,
4433 # look for a macro that doesn't take arguments.
4443 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4445 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4449 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4462 DEFS
=`sed -n "$ac_script" confdefs.h`
4468 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4469 # 1. Remove the extension, and $U if already installed.
4470 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4471 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4472 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4473 # will be set to the directory where LIBOBJS objects are built.
4474 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4475 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4479 LTLIBOBJS
=$ac_ltlibobjs
4483 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4484 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
4485 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4488 : "${CONFIG_STATUS=./config.status}"
4490 ac_clean_files_save
=$ac_clean_files
4491 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4493 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4495 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4497 # Generated by $as_me.
4498 # Run this file to recreate the current configuration.
4499 # Compiler output produced by configure, useful for debugging
4500 # configure, is in config.log if it exists.
4506 SHELL=\${CONFIG_SHELL-$SHELL}
4509 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4510 ## -------------------- ##
4511 ## M4sh Initialization. ##
4512 ## -------------------- ##
4514 # Be more Bourne compatible
4515 DUALCASE
=1; export DUALCASE
# for MKS sh
4516 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4519 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4520 # is contrary to our usage. Disable this feature.
4521 alias -g '${1+"$@"}'='"$@"'
4522 setopt NO_GLOB_SUBST
4524 case `(set -o) 2>/dev/null` in #(
4536 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4537 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4538 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4539 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4540 # Prefer a ksh shell builtin over an external printf program on Solaris,
4541 # but without wasting forks for bash or zsh.
4542 if test -z "$BASH_VERSION$ZSH_VERSION" \
4543 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4544 as_echo='print
-r --'
4545 as_echo_n='print
-rn --'
4546 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4547 as_echo='printf %s
\n'
4548 as_echo_n='printf %s
'
4550 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4551 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4552 as_echo_n='/usr
/ucb
/echo -n'
4554 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4555 as_echo_n_body='eval
4559 expr "X$arg" : "X\\(.*\\)$as_nl";
4560 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4562 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4564 export as_echo_n_body
4565 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4568 as_echo='sh
-c $as_echo_body as_echo
'
4571 # The user is always right.
4572 if test "${PATH_SEPARATOR+set}" != set; then
4574 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4575 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4582 # We need space, tab and new line, in precisely that order. Quoting is
4583 # there to prevent editors from complaining about space-tab.
4584 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4585 # splitting by setting IFS to empty value.)
4588 # Find who we are. Look in the path if we contain no directory separator.
4591 *[\\/]* ) as_myself=$0 ;;
4592 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4596 test -z "$as_dir" && as_dir=.
4597 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4603 # We did not find ourselves, most probably we were run as `sh COMMAND'
4604 # in which case we are not to be found in the path.
4605 if test "x$as_myself" = x
; then
4608 if test ! -f "$as_myself"; then
4609 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4613 # Unset variables that we do not need and which cause bugs (e.g. in
4614 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4615 # suppresses any "Segmentation fault" message there. '((' could
4616 # trigger a bug in pdksh 5.2.14.
4617 for as_var
in BASH_ENV ENV MAIL MAILPATH
4618 do eval test x\
${$as_var+set} = xset \
4619 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4632 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4635 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4636 # ----------------------------------------
4637 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4638 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4639 # script with STATUS, using 1 if that was 0.
4642 as_status
=$1; test $as_status -eq 0 && as_status
=1
4644 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4645 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4647 $as_echo "$as_me: error: $2" >&2
4648 as_fn_exit
$as_status
4652 # as_fn_set_status STATUS
4653 # -----------------------
4654 # Set $? to STATUS, without forking.
4658 } # as_fn_set_status
4662 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4672 # Portably unset VAR.
4675 { eval $1=; unset $1;}
4677 as_unset
=as_fn_unset
4678 # as_fn_append VAR VALUE
4679 # ----------------------
4680 # Append the text in VALUE to the end of the definition contained in VAR. Take
4681 # advantage of any shell optimizations that allow amortized linear growth over
4682 # repeated appends, instead of the typical quadratic growth present in naive
4684 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4685 eval 'as_fn_append ()
4696 # as_fn_arith ARG...
4697 # ------------------
4698 # Perform arithmetic evaluation on the ARGs, and store the result in the
4699 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4700 # must be portable across $(()) and expr.
4701 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4702 eval 'as_fn_arith ()
4709 as_val
=`expr "$@" || test $? -eq 1`
4714 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4715 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4721 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4722 as_basename
=basename
4727 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4733 as_me
=`$as_basename -- "$0" ||
4734 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4735 X"$0" : 'X\(//\)$' \| \
4736 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4738 sed '/^.*\/\([^/][^/]*\)\/*$/{
4752 # Avoid depending upon Character Ranges.
4753 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4754 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4755 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4756 as_cr_digits
='0123456789'
4757 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4759 ECHO_C
= ECHO_N
= ECHO_T
=
4760 case `echo -n x` in #(((((
4762 case `echo 'xy\c'` in
4763 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4765 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4772 rm -f conf$$ conf$$.exe conf$$.
file
4773 if test -d conf$$.dir
; then
4774 rm -f conf$$.dir
/conf$$.
file
4777 mkdir conf$$.dir
2>/dev
/null
4779 if (echo >conf$$.
file) 2>/dev
/null
; then
4780 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4782 # ... but there are two gotchas:
4783 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4784 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4785 # In both cases, we have to default to `cp -pR'.
4786 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4788 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4796 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4797 rmdir conf$$.dir
2>/dev
/null
4802 # Create "$as_dir" as a directory, including parents if necessary.
4807 -*) as_dir
=.
/$as_dir;;
4809 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4813 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4814 *) as_qdir
=$as_dir;;
4816 as_dirs
="'$as_qdir' $as_dirs"
4817 as_dir
=`$as_dirname -- "$as_dir" ||
4818 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4819 X"$as_dir" : 'X\(//\)[^/]' \| \
4820 X"$as_dir" : 'X\(//\)$' \| \
4821 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4822 $as_echo X"$as_dir" |
4823 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4840 test -d "$as_dir" && break
4842 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4843 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4847 if mkdir
-p .
2>/dev
/null
; then
4848 as_mkdir_p
='mkdir -p "$as_dir"'
4850 test -d .
/-p && rmdir .
/-p
4855 # as_fn_executable_p FILE
4856 # -----------------------
4857 # Test if FILE is an executable regular file.
4858 as_fn_executable_p
()
4860 test -f "$1" && test -x "$1"
4861 } # as_fn_executable_p
4863 as_executable_p
=as_fn_executable_p
4865 # Sed expression to map a string onto a valid CPP name.
4866 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4868 # Sed expression to map a string onto a valid variable name.
4869 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4873 ## ----------------------------------- ##
4874 ## Main body of $CONFIG_STATUS script. ##
4875 ## ----------------------------------- ##
4877 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4879 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4880 # Save the log message, to keep $0 and so on meaningful, and to
4881 # report actual input values of CONFIG_FILES etc. instead of their
4882 # values after options handling.
4884 This file was extended by $as_me, which was
4885 generated by GNU Autoconf 2.69. Invocation command line was
4887 CONFIG_FILES = $CONFIG_FILES
4888 CONFIG_HEADERS = $CONFIG_HEADERS
4889 CONFIG_LINKS = $CONFIG_LINKS
4890 CONFIG_COMMANDS = $CONFIG_COMMANDS
4893 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4898 case $ac_config_files in *"
4899 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4904 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4905 # Files that config.status was made for.
4906 config_files="$ac_config_files"
4907 config_commands="$ac_config_commands"
4911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4913 \`$as_me' instantiates files and other configuration actions
4914 from templates according to the current configuration. Unless the files
4915 and actions are specified as TAGs, all are instantiated by default.
4917 Usage: $0 [OPTION]... [TAG]...
4919 -h, --help print this help, then exit
4920 -V, --version print version number and configuration settings, then exit
4921 --config print configuration, then exit
4922 -q, --quiet, --silent
4923 do not print progress messages
4924 -d, --debug don't remove temporary files
4925 --recheck update $as_me by reconfiguring in the same conditions
4926 --file=FILE[:TEMPLATE]
4927 instantiate the configuration file FILE
4929 Configuration files:
4932 Configuration commands:
4935 Report bugs to the package provider."
4938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4939 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4942 configured by $0, generated by GNU Autoconf 2.69,
4943 with options \\"\$ac_cs_config\\"
4945 Copyright (C) 2012 Free Software Foundation, Inc.
4946 This config.status script is free software; the Free Software Foundation
4947 gives unlimited permission to copy, distribute and modify it."
4952 test -n "\$AWK" || AWK=awk
4955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4956 # The default lists apply if the user does not specify any file.
4962 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4963 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4967 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4979 # Handling of the options.
4980 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4982 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4983 $as_echo "$ac_cs_version"; exit ;;
4984 --config |
--confi |
--conf |
--con |
--co |
--c )
4985 $as_echo "$ac_cs_config"; exit ;;
4986 --debug |
--debu |
--deb |
--de |
--d |
-d )
4988 --file |
--fil |
--fi |
--f )
4991 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4992 '') as_fn_error $?
"missing file argument" ;;
4994 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4995 ac_need_defaults
=false
;;
4996 --he |
--h |
--help |
--hel |
-h )
4997 $as_echo "$ac_cs_usage"; exit ;;
4998 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4999 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5003 -*) as_fn_error $?
"unrecognized option: \`$1'
5004 Try \`$0 --help' for more information." ;;
5006 *) as_fn_append ac_config_targets
" $1"
5007 ac_need_defaults
=false
;;
5013 ac_configure_extra_args
=
5015 if $ac_cs_silent; then
5017 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5022 if \$ac_cs_recheck; then
5023 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5025 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5026 CONFIG_SHELL='$SHELL'
5032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5036 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5037 ## Running $as_me. ##
5043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5047 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
5051 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5053 # Handling of arguments.
5054 for ac_config_target
in $ac_config_targets
5056 case $ac_config_target in
5057 "depdir") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir" ;;
5058 "Makefile.sim") CONFIG_FILES
="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
5059 "Make-common.sim") CONFIG_FILES
="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
5060 ".gdbinit") CONFIG_FILES
="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
5061 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
5062 "stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS stamp-h" ;;
5064 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5069 # If the user did not use the arguments to specify the items to instantiate,
5070 # then the envvar interface is used. Set only those that are not.
5071 # We use the long form for the default assignment because of an extremely
5072 # bizarre bug on SunOS 4.1.3.
5073 if $ac_need_defaults; then
5074 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5075 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5078 # Have a temporary directory for convenience. Make it in the build tree
5079 # simply because there is no reason against having it here, and in addition,
5080 # creating and moving files from /tmp can sometimes cause problems.
5081 # Hook for its removal unless debugging.
5082 # Note that there is a small window in which the directory will not be cleaned:
5083 # after its creation but before its name has been assigned to `$tmp'.
5087 trap 'exit_status=$?
5089 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5091 trap 'as_fn_exit 1' 1 2 13 15
5093 # Create a (secure) tmp directory for tmp files.
5096 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5100 tmp
=.
/conf$$
-$RANDOM
5101 (umask 077 && mkdir
"$tmp")
5102 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5105 # Set up the scripts for CONFIG_FILES section.
5106 # No need to generate them if there are no CONFIG_FILES.
5107 # This happens for instance with `./config.status config.h'.
5108 if test -n "$CONFIG_FILES"; then
5111 ac_cr
=`echo X | tr X '\015'`
5112 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5113 # But we know of no other shell where ac_cr would be empty at this
5114 # point, so we can use a bashism as a fallback.
5115 if test "x$ac_cr" = x
; then
5116 eval ac_cr
=\$
\'\\r
\'
5118 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5119 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5125 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5130 echo "cat >conf$$subs.awk <<_ACEOF" &&
5131 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5134 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5135 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5137 for ac_last_try in false false false false false :; do
5138 . ./conf$$subs.sh ||
5139 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5141 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5142 if test $ac_delim_n = $ac_delim_num; then
5144 elif $ac_last_try; then
5145 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5147 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5152 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5153 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
5157 s/^/S["/; s
/!.
*/"]=/
5167 s/\(.\{148\}\)..*/\1/
5169 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5174 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5181 s/\(.\{148\}\)..*/\1/
5183 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5187 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5192 ' <conf$$subs.awk | sed '
5197 ' >>$CONFIG_STATUS || ac_write_fail=1
5198 rm -f conf$$subs.awk
5199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5201 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5202 for (key in S) S_is_set[key] = 1
5208 nfields = split(line, field, "@
")
5210 len = length(field[1])
5211 for (i = 2; i < nfields; i++) {
5213 keylen = length(key)
5214 if (S_is_set[key]) {
5216 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5217 len += length(value) + length(field[++i])
5228 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5229 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5230 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5233 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5234 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5237 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5238 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5239 # trailing colons and then remove the whole line if VPATH becomes empty
5240 # (actually we leave an empty line to preserve line numbers).
5241 if test "x
$srcdir" = x.; then
5242 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5261 fi # test -n "$CONFIG_FILES"
5264 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
5269 :[FHLC]) ac_mode=$ac_tag; continue;;
5271 case $ac_mode$ac_tag in
5273 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
5274 :[FH]-) ac_tag=-:-;;
5275 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5292 -) ac_f="$ac_tmp/stdin";;
5293 *) # Look for the file first in the build tree, then in the source tree
5294 # (if the path is not absolute). The absolute path cannot be DOS-style,
5295 # because $ac_f cannot contain `:'.
5299 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5301 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5303 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
5304 as_fn_append ac_file_inputs " '$ac_f'"
5307 # Let's still pretend it is `configure' which instantiates (i.e., don't
5308 # use $as_me), people would be surprised to read:
5309 # /* config.h. Generated by config.status. */
5310 configure_input='Generated from '`
5311 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5313 if test x"$ac_file" != x-; then
5314 configure_input="$ac_file.
$configure_input"
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
5316 $as_echo "$as_me: creating
$ac_file" >&6;}
5318 # Neutralize special characters interpreted by sed in replacement strings.
5319 case $configure_input in #(
5320 *\&* | *\|* | *\\* )
5321 ac_sed_conf_input=`$as_echo "$configure_input" |
5322 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5323 *) ac_sed_conf_input=$configure_input;;
5327 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
5328 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
5333 ac_dir=`$as_dirname -- "$ac_file" ||
5334 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5335 X"$ac_file" : 'X\(//\)[^/]' \| \
5336 X"$ac_file" : 'X\(//\)$' \| \
5337 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5338 $as_echo X"$ac_file" |
5339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5356 as_dir="$ac_dir"; as_fn_mkdir_p
5360 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5362 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5363 # A "..
" for each directory in $ac_dir_suffix.
5364 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5365 case $ac_top_builddir_sub in
5366 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5367 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5370 ac_abs_top_builddir=$ac_pwd
5371 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5372 # for backward compatibility:
5373 ac_top_builddir=$ac_top_build_prefix
5376 .) # We are building in place.
5378 ac_top_srcdir=$ac_top_builddir_sub
5379 ac_abs_top_srcdir=$ac_pwd ;;
5380 [\\/]* | ?:[\\/]* ) # Absolute name.
5381 ac_srcdir=$srcdir$ac_dir_suffix;
5382 ac_top_srcdir=$srcdir
5383 ac_abs_top_srcdir=$srcdir ;;
5385 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5386 ac_top_srcdir=$ac_top_build_prefix$srcdir
5387 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5389 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5399 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5400 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5405 # If the template does not know about datarootdir, expand it.
5406 # FIXME: This hack should be removed a few years after 2.60.
5407 ac_datarootdir_hack=; ac_datarootdir_seen=
5418 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
5419 *datarootdir*) ac_datarootdir_seen=yes;;
5420 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
5422 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
5424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5425 ac_datarootdir_hack='
5426 s&@datadir@&$datadir&g
5427 s&@docdir@&$docdir&g
5428 s&@infodir@&$infodir&g
5429 s&@localedir@&$localedir&g
5430 s&@mandir@&$mandir&g
5431 s&\\\${datarootdir}&$datarootdir&g' ;;
5435 # Neutralize VPATH when `$srcdir' = `.'.
5436 # Shell code in configure.ac might set extrasub.
5437 # FIXME: do we really want to maintain this feature?
5438 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5439 ac_sed_extra="$ac_vpsub
5442 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5444 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5445 s|@configure_input@|
$ac_sed_conf_input|
;t t
5446 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5447 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5448 s
&@srcdir@
&$ac_srcdir&;t t
5449 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5450 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5451 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5452 s
&@builddir@
&$ac_builddir&;t t
5453 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5454 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5455 s
&@INSTALL@
&$ac_INSTALL&;t t
5456 $ac_datarootdir_hack
5458 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5459 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5461 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5462 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5463 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5464 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5466 which seems to be undefined. Please make sure it is defined" >&5
5467 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5468 which seems to be undefined. Please make sure it is defined" >&2;}
5470 rm -f "$ac_tmp/stdin"
5472 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5473 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5475 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5479 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5480 $as_echo "$as_me: executing $ac_file commands" >&6;}
5485 case $ac_file$ac_mode in
5486 "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;;
5487 "Makefile":C) echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
5488 rm -f Makesim1.tmp Makesim2.tmp Makefile
5489 sed -n -e '/^
## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim >Makesim1.tmp
5490 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>Makesim2.tmp
5491 sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \
5492 -e '/^## COMMON_POST_/ r Makesim2.tmp' \
5493 <Makefile.sim
>Makefile
5494 rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp
5496 "stamp-h":C
) echo > stamp-h
;;
5504 ac_clean_files
=$ac_clean_files_save
5506 test $ac_write_fail = 0 ||
5507 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
5510 # configure is writing to config.log, and then calls config.status.
5511 # config.status does its own redirection, appending to config.log.
5512 # Unfortunately, on DOS this fails, as config.log is still kept open
5513 # by configure, so config.status won't be able to write to it; its
5514 # output is simply discarded. So we exec the FD to /dev/null,
5515 # effectively closing config.log, so it can be properly (re)opened and
5516 # appended to by config.status. When coming back to configure, we
5517 # need to make the FD available again.
5518 if test "$no_create" != yes; then
5520 ac_config_status_args
=
5521 test "$silent" = yes &&
5522 ac_config_status_args
="$ac_config_status_args --quiet"
5524 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5526 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5527 # would make configure fail if this is the last instruction.
5528 $ac_cs_success || as_fn_exit
1
5530 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5532 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}