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
="table.h"
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
683 program_transform_name
709 enable_option_checking
711 enable_build_warnings
712 enable_sim_build_warnings
714 ac_precious_vars
='build_alias
725 # Initialize some variables set by options.
727 ac_init_version
=false
728 ac_unrecognized_opts
=
730 # The variables have the same names as the options, with
731 # dashes changed to underlines.
739 program_transform_name
=s
,x
,x
,
747 # Installation directory options.
748 # These are left unexpanded so users can "make install exec_prefix=/foo"
749 # and all the variables that are supposed to be based on exec_prefix
750 # by default will actually change.
751 # Use braces instead of parens because sh, perl, etc. also accept them.
752 # (The list follows the same order as the GNU Coding Standards.)
753 bindir
='${exec_prefix}/bin'
754 sbindir
='${exec_prefix}/sbin'
755 libexecdir
='${exec_prefix}/libexec'
756 datarootdir
='${prefix}/share'
757 datadir
='${datarootdir}'
758 sysconfdir
='${prefix}/etc'
759 sharedstatedir
='${prefix}/com'
760 localstatedir
='${prefix}/var'
761 includedir
='${prefix}/include'
762 oldincludedir
='/usr/include'
763 docdir
='${datarootdir}/doc/${PACKAGE}'
764 infodir
='${datarootdir}/info'
769 libdir
='${exec_prefix}/lib'
770 localedir
='${datarootdir}/locale'
771 mandir
='${datarootdir}/man'
777 # If the previous option needs an argument, assign it.
778 if test -n "$ac_prev"; then
779 eval $ac_prev=\
$ac_option
785 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
790 # Accept the important Cygnus configure options, so we can diagnose typos.
792 case $ac_dashdash$ac_option in
796 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
798 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
801 -build |
--build |
--buil |
--bui |
--bu)
802 ac_prev
=build_alias
;;
803 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
804 build_alias
=$ac_optarg ;;
806 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
807 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
808 ac_prev
=cache_file
;;
809 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
810 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
811 cache_file
=$ac_optarg ;;
814 cache_file
=config.cache
;;
816 -datadir |
--datadir |
--datadi |
--datad)
818 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
819 datadir
=$ac_optarg ;;
821 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
822 |
--dataroo |
--dataro |
--datar)
823 ac_prev
=datarootdir
;;
824 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
825 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
826 datarootdir
=$ac_optarg ;;
828 -disable-* |
--disable-*)
829 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
830 # Reject names that are not valid shell variable names.
831 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
832 as_fn_error $?
"invalid feature name: $ac_useropt"
833 ac_useropt_orig
=$ac_useropt
834 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
835 case $ac_user_opts in
839 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
840 ac_unrecognized_sep
=', ';;
842 eval enable_
$ac_useropt=no
;;
844 -docdir |
--docdir |
--docdi |
--doc |
--do)
846 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
849 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
851 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
854 -enable-* |
--enable-*)
855 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
856 # Reject names that are not valid shell variable names.
857 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
858 as_fn_error $?
"invalid feature name: $ac_useropt"
859 ac_useropt_orig
=$ac_useropt
860 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
861 case $ac_user_opts in
865 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
866 ac_unrecognized_sep
=', ';;
868 eval enable_
$ac_useropt=\
$ac_optarg ;;
870 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
871 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
872 |
--exec |
--exe |
--ex)
873 ac_prev
=exec_prefix
;;
874 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
875 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
876 |
--exec=* |
--exe=* |
--ex=*)
877 exec_prefix
=$ac_optarg ;;
879 -gas |
--gas |
--ga |
--g)
880 # Obsolete; use --with-gas.
883 -help |
--help |
--hel |
--he |
-h)
885 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
886 ac_init_help
=recursive
;;
887 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
888 ac_init_help
=short
;;
890 -host |
--host |
--hos |
--ho)
891 ac_prev
=host_alias
;;
892 -host=* |
--host=* |
--hos=* |
--ho=*)
893 host_alias
=$ac_optarg ;;
895 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
897 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
899 htmldir
=$ac_optarg ;;
901 -includedir |
--includedir |
--includedi |
--included |
--include \
902 |
--includ |
--inclu |
--incl |
--inc)
903 ac_prev
=includedir
;;
904 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
905 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
906 includedir
=$ac_optarg ;;
908 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
910 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
911 infodir
=$ac_optarg ;;
913 -libdir |
--libdir |
--libdi |
--libd)
915 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
918 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
919 |
--libexe |
--libex |
--libe)
920 ac_prev
=libexecdir
;;
921 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
922 |
--libexe=* |
--libex=* |
--libe=*)
923 libexecdir
=$ac_optarg ;;
925 -localedir |
--localedir |
--localedi |
--localed |
--locale)
927 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
928 localedir
=$ac_optarg ;;
930 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
931 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
932 ac_prev
=localstatedir
;;
933 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
934 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
935 localstatedir
=$ac_optarg ;;
937 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
939 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
943 # Obsolete; use --without-fp.
946 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
947 |
--no-cr |
--no-c |
-n)
950 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
951 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
954 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
955 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
956 |
--oldin |
--oldi |
--old |
--ol |
--o)
957 ac_prev
=oldincludedir
;;
958 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
959 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
960 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
961 oldincludedir
=$ac_optarg ;;
963 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
965 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
968 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
969 |
--program-pre |
--program-pr |
--program-p)
970 ac_prev
=program_prefix
;;
971 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
972 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
973 program_prefix
=$ac_optarg ;;
975 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
976 |
--program-suf |
--program-su |
--program-s)
977 ac_prev
=program_suffix
;;
978 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
979 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
980 program_suffix
=$ac_optarg ;;
982 -program-transform-name |
--program-transform-name \
983 |
--program-transform-nam |
--program-transform-na \
984 |
--program-transform-n |
--program-transform- \
985 |
--program-transform |
--program-transfor \
986 |
--program-transfo |
--program-transf \
987 |
--program-trans |
--program-tran \
988 |
--progr-tra |
--program-tr |
--program-t)
989 ac_prev
=program_transform_name
;;
990 -program-transform-name=* |
--program-transform-name=* \
991 |
--program-transform-nam=* |
--program-transform-na=* \
992 |
--program-transform-n=* |
--program-transform-=* \
993 |
--program-transform=* |
--program-transfor=* \
994 |
--program-transfo=* |
--program-transf=* \
995 |
--program-trans=* |
--program-tran=* \
996 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
997 program_transform_name
=$ac_optarg ;;
999 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1001 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1002 pdfdir
=$ac_optarg ;;
1004 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1006 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1009 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1010 |
-silent |
--silent |
--silen |
--sile |
--sil)
1013 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1015 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1017 sbindir
=$ac_optarg ;;
1019 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1020 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1021 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1023 ac_prev
=sharedstatedir
;;
1024 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1025 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1026 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1028 sharedstatedir
=$ac_optarg ;;
1030 -site |
--site |
--sit)
1032 -site=* |
--site=* |
--sit=*)
1035 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1037 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1038 srcdir
=$ac_optarg ;;
1040 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1041 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1042 ac_prev
=sysconfdir
;;
1043 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1044 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1045 sysconfdir
=$ac_optarg ;;
1047 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1048 ac_prev
=target_alias
;;
1049 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1050 target_alias
=$ac_optarg ;;
1052 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1055 -version |
--version |
--versio |
--versi |
--vers |
-V)
1056 ac_init_version
=: ;;
1059 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1060 # Reject names that are not valid shell variable names.
1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1062 as_fn_error $?
"invalid package name: $ac_useropt"
1063 ac_useropt_orig
=$ac_useropt
1064 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065 case $ac_user_opts in
1069 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1070 ac_unrecognized_sep
=', ';;
1072 eval with_
$ac_useropt=\
$ac_optarg ;;
1074 -without-* |
--without-*)
1075 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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--without-$ac_useropt_orig"
1086 ac_unrecognized_sep
=', ';;
1088 eval with_
$ac_useropt=no
;;
1091 # Obsolete; use --with-x.
1094 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1095 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1096 ac_prev
=x_includes
;;
1097 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1098 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1099 x_includes
=$ac_optarg ;;
1101 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1102 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1103 ac_prev
=x_libraries
;;
1104 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1105 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1106 x_libraries
=$ac_optarg ;;
1108 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1109 Try \`$0 --help' for more information"
1113 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1114 # Reject names that are not valid shell variable names.
1115 case $ac_envvar in #(
1116 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1117 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1119 eval $ac_envvar=\
$ac_optarg
1120 export $ac_envvar ;;
1123 # FIXME: should be removed in autoconf 3.0.
1124 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1125 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1126 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1127 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1133 if test -n "$ac_prev"; then
1134 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1135 as_fn_error $?
"missing argument to $ac_option"
1138 if test -n "$ac_unrecognized_opts"; then
1139 case $enable_option_checking in
1141 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1142 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1146 # Check all directory arguments for consistency.
1147 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1148 datadir sysconfdir sharedstatedir localstatedir includedir \
1149 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1150 libdir localedir mandir
1152 eval ac_val
=\$
$ac_var
1153 # Remove trailing slashes.
1156 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1157 eval $ac_var=\
$ac_val;;
1159 # Be sure to have absolute directory names.
1161 [\\/$
]* | ?
:[\\/]* ) continue;;
1162 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1164 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1167 # There might be people who depend on the old broken behavior: `$host'
1168 # used to hold the argument of --host etc.
1169 # FIXME: To remove some day.
1172 target
=$target_alias
1174 # FIXME: To remove some day.
1175 if test "x$host_alias" != x
; then
1176 if test "x$build_alias" = x
; then
1177 cross_compiling
=maybe
1178 elif test "x$build_alias" != "x$host_alias"; then
1184 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1186 test "$silent" = yes && exec 6>/dev
/null
1189 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1190 ac_ls_di
=`ls -di .` &&
1191 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1192 as_fn_error $?
"working directory cannot be determined"
1193 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1194 as_fn_error $?
"pwd does not report name of working directory"
1197 # Find the source files, if location was not specified.
1198 if test -z "$srcdir"; then
1199 ac_srcdir_defaulted
=yes
1200 # Try the directory containing this script, then the parent directory.
1201 ac_confdir
=`$as_dirname -- "$as_myself" ||
1202 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1203 X"$as_myself" : 'X\(//\)[^/]' \| \
1204 X"$as_myself" : 'X\(//\)$' \| \
1205 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1206 $as_echo X"$as_myself" |
1207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1225 if test ! -r "$srcdir/$ac_unique_file"; then
1229 ac_srcdir_defaulted
=no
1231 if test ! -r "$srcdir/$ac_unique_file"; then
1232 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1233 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1235 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1237 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1239 # When building in place, set srcdir=.
1240 if test "$ac_abs_confdir" = "$ac_pwd"; then
1243 # Remove unnecessary trailing slashes from srcdir.
1244 # Double slashes in file names in object file debugging info
1245 # mess up M-x gdb in Emacs.
1247 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1249 for ac_var
in $ac_precious_vars; do
1250 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1251 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1252 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1253 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1257 # Report the --help message.
1259 if test "$ac_init_help" = "long"; then
1260 # Omit some internal or obsolete options to make the list less imposing.
1261 # This message is too long to be a string in the A/UX 3.1 sh.
1263 \`configure' configures this package to adapt to many kinds of systems.
1265 Usage: $0 [OPTION]... [VAR=VALUE]...
1267 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1268 VAR=VALUE. See below for descriptions of some of the useful variables.
1270 Defaults for the options are specified in brackets.
1273 -h, --help display this help and exit
1274 --help=short display options specific to this package
1275 --help=recursive display the short help of all the included packages
1276 -V, --version display version information and exit
1277 -q, --quiet, --silent do not print \`checking ...' messages
1278 --cache-file=FILE cache test results in FILE [disabled]
1279 -C, --config-cache alias for \`--cache-file=config.cache'
1280 -n, --no-create do not create output files
1281 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1283 Installation directories:
1284 --prefix=PREFIX install architecture-independent files in PREFIX
1285 [$ac_default_prefix]
1286 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1289 By default, \`make install' will install all the files in
1290 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1291 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1292 for instance \`--prefix=\$HOME'.
1294 For better control, use the options below.
1296 Fine tuning of the installation directories:
1297 --bindir=DIR user executables [EPREFIX/bin]
1298 --sbindir=DIR system admin executables [EPREFIX/sbin]
1299 --libexecdir=DIR program executables [EPREFIX/libexec]
1300 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1301 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1302 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1303 --libdir=DIR object code libraries [EPREFIX/lib]
1304 --includedir=DIR C header files [PREFIX/include]
1305 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1306 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1307 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1308 --infodir=DIR info documentation [DATAROOTDIR/info]
1309 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1310 --mandir=DIR man documentation [DATAROOTDIR/man]
1311 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1312 --htmldir=DIR html documentation [DOCDIR]
1313 --dvidir=DIR dvi documentation [DOCDIR]
1314 --pdfdir=DIR pdf documentation [DOCDIR]
1315 --psdir=DIR ps documentation [DOCDIR]
1321 --program-prefix=PREFIX prepend PREFIX to installed program names
1322 --program-suffix=SUFFIX append SUFFIX to installed program names
1323 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1326 --build=BUILD configure
for building on BUILD
[guessed
]
1327 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1328 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1332 if test -n "$ac_init_help"; then
1337 --disable-option-checking ignore unrecognized
--enable/--with options
1338 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1339 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1340 --enable-werror treat compile warnings as errors
1341 --enable-build-warnings enable build-time compiler warnings
if gcc is used
1342 --enable-sim-build-warnings
1343 enable SIM specific build-time compiler warnings
if
1346 Some influential environment variables
:
1347 CC C compiler
command
1348 CFLAGS C compiler flags
1349 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1350 nonstandard directory
<lib dir
>
1351 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1352 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1353 you have headers
in a nonstandard directory
<include dir
>
1356 Use these variables to override the choices made by
`configure' or to help
1357 it to find libraries and programs with nonstandard names/locations.
1359 Report bugs to the package provider.
1364 if test "$ac_init_help" = "recursive"; then
1365 # If there are subdirs, report their specific --help.
1366 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1367 test -d "$ac_dir" ||
1368 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1373 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1375 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1376 # A ".." for each directory in $ac_dir_suffix.
1377 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1378 case $ac_top_builddir_sub in
1379 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1380 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1383 ac_abs_top_builddir=$ac_pwd
1384 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1385 # for backward compatibility:
1386 ac_top_builddir=$ac_top_build_prefix
1389 .) # We are building in place.
1391 ac_top_srcdir=$ac_top_builddir_sub
1392 ac_abs_top_srcdir=$ac_pwd ;;
1393 [\\/]* | ?:[\\/]* ) # Absolute name.
1394 ac_srcdir=$srcdir$ac_dir_suffix;
1395 ac_top_srcdir=$srcdir
1396 ac_abs_top_srcdir=$srcdir ;;
1398 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1399 ac_top_srcdir=$ac_top_build_prefix$srcdir
1400 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1402 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1404 cd "$ac_dir" || { ac_status=$?; continue; }
1405 # Check for guested configure.
1406 if test -f "$ac_srcdir/configure.gnu"; then
1408 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1409 elif test -f "$ac_srcdir/configure"; then
1411 $SHELL "$ac_srcdir/configure" --help=recursive
1413 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1415 cd "$ac_pwd" || { ac_status=$?; break; }
1419 test -n "$ac_init_help" && exit $ac_status
1420 if $ac_init_version; then
1423 generated by GNU Autoconf 2.69
1425 Copyright (C) 2012 Free Software Foundation, Inc.
1426 This configure script is free software; the Free Software Foundation
1427 gives unlimited permission to copy, distribute and modify it.
1432 ## ------------------------ ##
1433 ## Autoconf initialization. ##
1434 ## ------------------------ ##
1436 # ac_fn_c_try_compile LINENO
1437 # --------------------------
1438 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1439 ac_fn_c_try_compile ()
1441 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1442 rm -f conftest.$ac_objext
1443 if { { ac_try="$ac_compile"
1445 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1446 *) ac_try_echo
=$ac_try;;
1448 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1449 $as_echo "$ac_try_echo"; } >&5
1450 (eval "$ac_compile") 2>conftest.err
1452 if test -s conftest.err
; then
1453 grep -v '^ *+' conftest.err
>conftest.er1
1454 cat conftest.er1
>&5
1455 mv -f conftest.er1 conftest.err
1457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1458 test $ac_status = 0; } && {
1459 test -z "$ac_c_werror_flag" ||
1460 test ! -s conftest.err
1461 } && test -s conftest.
$ac_objext; then :
1464 $as_echo "$as_me: failed program was:" >&5
1465 sed 's/^/| /' conftest.
$ac_ext >&5
1469 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1470 as_fn_set_status
$ac_retval
1472 } # ac_fn_c_try_compile
1474 # ac_fn_c_try_cpp LINENO
1475 # ----------------------
1476 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1479 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1480 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1482 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1483 *) ac_try_echo=$ac_try;;
1485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1486 $as_echo "$ac_try_echo"; } >&5
1487 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1489 if test -s conftest.err; then
1490 grep -v '^ *+' conftest.err >conftest.er1
1491 cat conftest.er1 >&5
1492 mv -f conftest.er1 conftest.err
1494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1495 test $ac_status = 0; } > conftest.i && {
1496 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1497 test ! -s conftest.err
1501 $as_echo "$as_me: failed program was:" >&5
1502 sed 's/^/| /' conftest.$ac_ext >&5
1506 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1507 as_fn_set_status $ac_retval
1511 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1512 # -------------------------------------------------------
1513 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1514 # the include files in INCLUDES and setting the cache variable VAR
1516 ac_fn_c_check_header_mongrel ()
1518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1519 if eval \${$3+:} false; then :
1520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1521 $as_echo_n "checking for $2... " >&6; }
1522 if eval \${$3+:} false; then :
1523 $as_echo_n "(cached) " >&6
1526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1527 $as_echo "$ac_res" >&6; }
1529 # Is the header compilable?
1530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1531 $as_echo_n "checking $2 usability... " >&6; }
1532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1533 /* end confdefs.h. */
1537 if ac_fn_c_try_compile "$LINENO"; then :
1538 ac_header_compiler=yes
1540 ac_header_compiler=no
1542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1544 $as_echo "$ac_header_compiler" >&6; }
1546 # Is the header present?
1547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1548 $as_echo_n "checking $2 presence... " >&6; }
1549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1550 /* end confdefs.h. */
1553 if ac_fn_c_try_cpp "$LINENO"; then :
1554 ac_header_preproc=yes
1556 ac_header_preproc=no
1558 rm -f conftest.err conftest.i conftest.$ac_ext
1559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1560 $as_echo "$ac_header_preproc" >&6; }
1562 # So? What about this header?
1563 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1566 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1568 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1572 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1574 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1576 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1578 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1580 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1584 $as_echo_n "checking for $2... " >&6; }
1585 if eval \${$3+:} false; then :
1586 $as_echo_n "(cached) " >&6
1588 eval "$3=\$ac_header_compiler"
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1592 $as_echo "$ac_res" >&6; }
1594 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1596 } # ac_fn_c_check_header_mongrel
1598 # ac_fn_c_try_run LINENO
1599 # ----------------------
1600 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1601 # that executables *can* be run.
1604 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1605 if { { ac_try="$ac_link"
1607 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1608 *) ac_try_echo
=$ac_try;;
1610 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1611 $as_echo "$ac_try_echo"; } >&5
1612 (eval "$ac_link") 2>&5
1614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1616 { { case "(($ac_try" in
1617 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1618 *) ac_try_echo=$ac_try;;
1620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1621 $as_echo "$ac_try_echo"; } >&5
1622 (eval "$ac_try") 2>&5
1624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1625 test $ac_status = 0; }; }; then :
1628 $as_echo "$as_me: program exited with status $ac_status" >&5
1629 $as_echo "$as_me: failed program was:" >&5
1630 sed 's/^/| /' conftest.$ac_ext >&5
1632 ac_retval=$ac_status
1634 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1635 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1636 as_fn_set_status $ac_retval
1640 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1641 # -------------------------------------------------------
1642 # Tests whether HEADER exists and can be compiled using the include files in
1643 # INCLUDES, setting the cache variable VAR accordingly.
1644 ac_fn_c_check_header_compile ()
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1648 $as_echo_n "checking for $2... " >&6; }
1649 if eval \${$3+:} false; then :
1650 $as_echo_n "(cached) " >&6
1652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1653 /* end confdefs.h. */
1657 if ac_fn_c_try_compile "$LINENO"; then :
1662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1666 $as_echo "$ac_res" >&6; }
1667 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1669 } # ac_fn_c_check_header_compile
1671 # ac_fn_c_try_link LINENO
1672 # -----------------------
1673 # Try to link conftest.$ac_ext, and return whether this succeeded.
1676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1677 rm -f conftest.$ac_objext conftest$ac_exeext
1678 if { { ac_try="$ac_link"
1680 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1681 *) ac_try_echo
=$ac_try;;
1683 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1684 $as_echo "$ac_try_echo"; } >&5
1685 (eval "$ac_link") 2>conftest.err
1687 if test -s conftest.err
; then
1688 grep -v '^ *+' conftest.err
>conftest.er1
1689 cat conftest.er1
>&5
1690 mv -f conftest.er1 conftest.err
1692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1693 test $ac_status = 0; } && {
1694 test -z "$ac_c_werror_flag" ||
1695 test ! -s conftest.err
1696 } && test -s conftest
$ac_exeext && {
1697 test "$cross_compiling" = yes ||
1698 test -x conftest
$ac_exeext
1702 $as_echo "$as_me: failed program was:" >&5
1703 sed 's/^/| /' conftest.
$ac_ext >&5
1707 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1708 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1709 # interfere with the next link command; also delete a directory that is
1710 # left behind by Apple's compiler. We do this before executing the actions.
1711 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1713 as_fn_set_status
$ac_retval
1715 } # ac_fn_c_try_link
1716 cat >config.log
<<_ACEOF
1717 This file contains any messages produced by compilers while
1718 running configure, to aid debugging if configure makes a mistake.
1720 It was created by $as_me, which was
1721 generated by GNU Autoconf 2.69. Invocation command line was
1733 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1734 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1735 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1736 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1737 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1739 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1740 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1742 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1743 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1744 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1745 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1746 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1747 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1748 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1756 test -z "$as_dir" && as_dir
=.
1757 $as_echo "PATH: $as_dir"
1773 # Keep a trace of the command line.
1774 # Strip out --no-create and --no-recursion so they do not pile up.
1775 # Strip out --silent because we don't want to record it for future runs.
1776 # Also quote any args containing shell meta-characters.
1777 # Make two passes to allow for proper duplicate-argument suppression.
1781 ac_must_keep_next
=false
1787 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1788 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1789 |
-silent |
--silent |
--silen |
--sile |
--sil)
1792 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1795 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1797 as_fn_append ac_configure_args1
" '$ac_arg'"
1798 if test $ac_must_keep_next = true
; then
1799 ac_must_keep_next
=false
# Got value, back to normal.
1802 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1803 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1804 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1805 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1806 case "$ac_configure_args0 " in
1807 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1810 -* ) ac_must_keep_next
=true
;;
1813 as_fn_append ac_configure_args
" '$ac_arg'"
1818 { ac_configure_args0
=; unset ac_configure_args0
;}
1819 { ac_configure_args1
=; unset ac_configure_args1
;}
1821 # When interrupted or exit'd, cleanup temporary files, and complete
1822 # config.log. We remove comments because anyway the quotes in there
1823 # would cause problems or look ugly.
1824 # WARNING: Use '\'' to represent an apostrophe within the trap.
1825 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1826 trap 'exit_status=$?
1827 # Save into config.log some information that might help in debugging.
1831 $as_echo "## ---------------- ##
1832 ## Cache variables. ##
1833 ## ---------------- ##"
1835 # The following way of writing the cache mishandles newlines in values,
1837 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1838 eval ac_val=\$$ac_var
1842 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1843 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1846 _ | IFS | as_nl) ;; #(
1847 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1848 *) { eval $ac_var=; unset $ac_var;} ;;
1853 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1854 *${as_nl}ac_space=\ *)
1856 "s/'\''/'\''\\\\'\'''\''/g;
1857 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1860 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1867 $as_echo "## ----------------- ##
1868 ## Output variables. ##
1869 ## ----------------- ##"
1871 for ac_var in $ac_subst_vars
1873 eval ac_val=\$$ac_var
1875 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1877 $as_echo "$ac_var='\''$ac_val'\''"
1881 if test -n "$ac_subst_files"; then
1882 $as_echo "## ------------------- ##
1883 ## File substitutions. ##
1884 ## ------------------- ##"
1886 for ac_var
in $ac_subst_files
1888 eval ac_val
=\$
$ac_var
1890 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1892 $as_echo "$ac_var='\''$ac_val'\''"
1897 if test -s confdefs.h; then
1898 $as_echo "## ----------- ##
1905 test "$ac_signal" != 0 &&
1906 $as_echo "$as_me: caught signal $ac_signal"
1907 $as_echo "$as_me: exit $exit_status"
1909 rm -f core *.core core.conftest.* &&
1910 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1913 for ac_signal
in 1 2 13 15; do
1914 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1918 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1919 rm -f -r conftest
* confdefs.h
1921 $as_echo "/* confdefs.h */" > confdefs.h
1923 # Predefined preprocessor variables.
1925 cat >>confdefs.h
<<_ACEOF
1926 #define PACKAGE_NAME "$PACKAGE_NAME"
1929 cat >>confdefs.h
<<_ACEOF
1930 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1933 cat >>confdefs.h
<<_ACEOF
1934 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1937 cat >>confdefs.h
<<_ACEOF
1938 #define PACKAGE_STRING "$PACKAGE_STRING"
1941 cat >>confdefs.h
<<_ACEOF
1942 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1945 cat >>confdefs.h
<<_ACEOF
1946 #define PACKAGE_URL "$PACKAGE_URL"
1950 # Let the site file select an alternate cache file if it wants to.
1951 # Prefer an explicitly selected file to automatically selected ones.
1954 if test -n "$CONFIG_SITE"; then
1955 # We do not want a PATH search for config.site.
1956 case $CONFIG_SITE in #((
1957 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1958 */*) ac_site_file1
=$CONFIG_SITE;;
1959 *) ac_site_file1
=.
/$CONFIG_SITE;;
1961 elif test "x$prefix" != xNONE
; then
1962 ac_site_file1
=$prefix/share
/config.site
1963 ac_site_file2
=$prefix/etc
/config.site
1965 ac_site_file1
=$ac_default_prefix/share
/config.site
1966 ac_site_file2
=$ac_default_prefix/etc
/config.site
1968 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1970 test "x$ac_site_file" = xNONE
&& continue
1971 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1973 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1974 sed 's/^/| /' "$ac_site_file" >&5
1976 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1978 as_fn_error $?
"failed to load site script $ac_site_file
1979 See \`config.log' for more details" "$LINENO" 5; }
1983 if test -r "$cache_file"; then
1984 # Some versions of bash will fail to source /dev/null (special files
1985 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1986 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1988 $as_echo "$as_me: loading cache $cache_file" >&6;}
1990 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1991 *) .
"./$cache_file";;
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1996 $as_echo "$as_me: creating cache $cache_file" >&6;}
2000 # Check that the precious variables saved in the cache have kept the same
2002 ac_cache_corrupted
=false
2003 for ac_var
in $ac_precious_vars; do
2004 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2005 eval ac_new_set
=\
$ac_env_${ac_var}_set
2006 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2007 eval ac_new_val
=\
$ac_env_${ac_var}_value
2008 case $ac_old_set,$ac_new_set in
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2011 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2012 ac_cache_corrupted
=: ;;
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2015 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2016 ac_cache_corrupted
=: ;;
2019 if test "x$ac_old_val" != "x$ac_new_val"; then
2020 # differences in whitespace do not lead to failure.
2021 ac_old_val_w
=`echo x $ac_old_val`
2022 ac_new_val_w
=`echo x $ac_new_val`
2023 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2025 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2026 ac_cache_corrupted
=:
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2029 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2030 eval $ac_var=\
$ac_old_val
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2033 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2035 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2038 # Pass precious variables to config.status.
2039 if test "$ac_new_set" = set; then
2041 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2042 *) ac_arg
=$ac_var=$ac_new_val ;;
2044 case " $ac_configure_args " in
2045 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2046 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2050 if $ac_cache_corrupted; then
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2054 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2055 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2057 ## -------------------- ##
2058 ## Main body of script. ##
2059 ## -------------------- ##
2062 ac_cpp
='$CPP $CPPFLAGS'
2063 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2064 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2065 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2074 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2075 if test -f "$ac_dir/install-sh"; then
2077 ac_install_sh
="$ac_aux_dir/install-sh -c"
2079 elif test -f "$ac_dir/install.sh"; then
2081 ac_install_sh
="$ac_aux_dir/install.sh -c"
2083 elif test -f "$ac_dir/shtool"; then
2085 ac_install_sh
="$ac_aux_dir/shtool install -c"
2089 if test -z "$ac_aux_dir"; then
2090 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2093 # These three variables are undocumented and unsupported,
2094 # and are intended to be withdrawn in a future Autoconf release.
2095 # They can cause serious problems if a builder's source tree is in a directory
2096 # whose full name contains unusual characters.
2097 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2098 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2099 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2102 # Find a good install program. We prefer a C program (faster),
2103 # so one script is as good as another. But avoid the broken or
2104 # incompatible versions:
2105 # SysV /etc/install, /usr/sbin/install
2106 # SunOS /usr/etc/install
2107 # IRIX /sbin/install
2109 # AmigaOS /C/install, which installs bootblocks on floppy discs
2110 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2111 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2112 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2113 # OS/2's system install, which has a completely different semantic
2114 # ./install, which can be erroneously created by make from ./install.sh.
2115 # Reject install programs that cannot install multiple files.
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2117 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2118 if test -z "$INSTALL"; then
2119 if ${ac_cv_path_install+:} false
; then :
2120 $as_echo_n "(cached) " >&6
2122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2126 test -z "$as_dir" && as_dir
=.
2127 # Account for people who put trailing slashes in PATH elements.
2128 case $as_dir/ in #((
2129 .
/ | .
// |
/[cC
]/* | \
2130 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2131 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2134 # OSF1 and SCO ODT 3.0 have their own names for install.
2135 # Don't use installbsd from OSF since it installs stuff as root
2137 for ac_prog
in ginstall scoinst
install; do
2138 for ac_exec_ext
in '' $ac_executable_extensions; do
2139 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2140 if test $ac_prog = install &&
2141 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2142 # AIX install. It has an incompatible calling convention.
2144 elif test $ac_prog = install &&
2145 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2146 # program-specific install script used by HP pwplus--don't use.
2149 rm -rf conftest.one conftest.two conftest.dir
2150 echo one
> conftest.one
2151 echo two
> conftest.two
2153 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2154 test -s conftest.one
&& test -s conftest.two
&&
2155 test -s conftest.dir
/conftest.one
&&
2156 test -s conftest.dir
/conftest.two
2158 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2171 rm -rf conftest.one conftest.two conftest.dir
2174 if test "${ac_cv_path_install+set}" = set; then
2175 INSTALL
=$ac_cv_path_install
2177 # As a last resort, use the slow shell script. Don't cache a
2178 # value for INSTALL within a source directory, because that will
2179 # break other packages using the cache if that directory is
2180 # removed, or if the value is a relative name.
2181 INSTALL
=$ac_install_sh
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2185 $as_echo "$INSTALL" >&6; }
2187 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2188 # It thinks the first close brace ends the variable substitution.
2189 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2191 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2193 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2196 ac_cpp
='$CPP $CPPFLAGS'
2197 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2198 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2199 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2200 if test -n "$ac_tool_prefix"; then
2201 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2202 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2204 $as_echo_n "checking for $ac_word... " >&6; }
2205 if ${ac_cv_prog_CC+:} false
; then :
2206 $as_echo_n "(cached) " >&6
2208 if test -n "$CC"; then
2209 ac_cv_prog_CC
="$CC" # Let the user override the test.
2211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2215 test -z "$as_dir" && as_dir
=.
2216 for ac_exec_ext
in '' $ac_executable_extensions; do
2217 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2218 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2229 if test -n "$CC"; then
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2231 $as_echo "$CC" >&6; }
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2234 $as_echo "no" >&6; }
2239 if test -z "$ac_cv_prog_CC"; then
2241 # Extract the first word of "gcc", so it can be a program name with args.
2242 set dummy gcc
; ac_word
=$2
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2244 $as_echo_n "checking for $ac_word... " >&6; }
2245 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2246 $as_echo_n "(cached) " >&6
2248 if test -n "$ac_ct_CC"; then
2249 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2255 test -z "$as_dir" && as_dir
=.
2256 for ac_exec_ext
in '' $ac_executable_extensions; do
2257 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2258 ac_cv_prog_ac_ct_CC
="gcc"
2259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2268 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2269 if test -n "$ac_ct_CC"; then
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2271 $as_echo "$ac_ct_CC" >&6; }
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2274 $as_echo "no" >&6; }
2277 if test "x$ac_ct_CC" = x
; then
2280 case $cross_compiling:$ac_tool_warned in
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2284 ac_tool_warned
=yes ;;
2292 if test -z "$CC"; then
2293 if test -n "$ac_tool_prefix"; then
2294 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2295 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2297 $as_echo_n "checking for $ac_word... " >&6; }
2298 if ${ac_cv_prog_CC+:} false
; then :
2299 $as_echo_n "(cached) " >&6
2301 if test -n "$CC"; then
2302 ac_cv_prog_CC
="$CC" # Let the user override the test.
2304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2308 test -z "$as_dir" && as_dir
=.
2309 for ac_exec_ext
in '' $ac_executable_extensions; do
2310 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2311 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2322 if test -n "$CC"; then
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2324 $as_echo "$CC" >&6; }
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2327 $as_echo "no" >&6; }
2333 if test -z "$CC"; then
2334 # Extract the first word of "cc", so it can be a program name with args.
2335 set dummy cc
; ac_word
=$2
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2337 $as_echo_n "checking for $ac_word... " >&6; }
2338 if ${ac_cv_prog_CC+:} false
; then :
2339 $as_echo_n "(cached) " >&6
2341 if test -n "$CC"; then
2342 ac_cv_prog_CC
="$CC" # Let the user override the test.
2345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2349 test -z "$as_dir" && as_dir
=.
2350 for ac_exec_ext
in '' $ac_executable_extensions; do
2351 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2352 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2353 ac_prog_rejected
=yes
2357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2364 if test $ac_prog_rejected = yes; then
2365 # We found a bogon in the path, so make sure we never use it.
2366 set dummy
$ac_cv_prog_CC
2368 if test $# != 0; then
2369 # We chose a different compiler from the bogus one.
2370 # However, it has the same basename, so the bogon will be chosen
2371 # first if we set CC to just the basename; use the full file name.
2373 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2379 if test -n "$CC"; then
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2381 $as_echo "$CC" >&6; }
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2384 $as_echo "no" >&6; }
2389 if test -z "$CC"; then
2390 if test -n "$ac_tool_prefix"; then
2391 for ac_prog
in cl.exe
2393 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2394 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2396 $as_echo_n "checking for $ac_word... " >&6; }
2397 if ${ac_cv_prog_CC+:} false
; then :
2398 $as_echo_n "(cached) " >&6
2400 if test -n "$CC"; then
2401 ac_cv_prog_CC
="$CC" # Let the user override the test.
2403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2407 test -z "$as_dir" && as_dir
=.
2408 for ac_exec_ext
in '' $ac_executable_extensions; do
2409 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2410 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2421 if test -n "$CC"; then
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2423 $as_echo "$CC" >&6; }
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2426 $as_echo "no" >&6; }
2430 test -n "$CC" && break
2433 if test -z "$CC"; then
2435 for ac_prog
in cl.exe
2437 # Extract the first word of "$ac_prog", so it can be a program name with args.
2438 set dummy
$ac_prog; ac_word
=$2
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2440 $as_echo_n "checking for $ac_word... " >&6; }
2441 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2442 $as_echo_n "(cached) " >&6
2444 if test -n "$ac_ct_CC"; then
2445 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2451 test -z "$as_dir" && as_dir
=.
2452 for ac_exec_ext
in '' $ac_executable_extensions; do
2453 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2454 ac_cv_prog_ac_ct_CC
="$ac_prog"
2455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2464 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2465 if test -n "$ac_ct_CC"; then
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2467 $as_echo "$ac_ct_CC" >&6; }
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2470 $as_echo "no" >&6; }
2474 test -n "$ac_ct_CC" && break
2477 if test "x$ac_ct_CC" = x
; then
2480 case $cross_compiling:$ac_tool_warned in
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2484 ac_tool_warned
=yes ;;
2493 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2495 as_fn_error $?
"no acceptable C compiler found in \$PATH
2496 See \`config.log' for more details" "$LINENO" 5; }
2498 # Provide some information about the compiler.
2499 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2502 for ac_option
in --version -v -V -qversion; do
2503 { { ac_try
="$ac_compiler $ac_option >&5"
2505 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2506 *) ac_try_echo=$ac_try;;
2508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2509 $as_echo "$ac_try_echo"; } >&5
2510 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2512 if test -s conftest.err; then
2514 ... rest of stderr output deleted ...
2515 10q' conftest.err >conftest.er1
2516 cat conftest.er1 >&5
2518 rm -f conftest.er1 conftest.err
2519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2520 test $ac_status = 0; }
2523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2524 /* end confdefs.h. */
2534 ac_clean_files_save=$ac_clean_files
2535 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2536 # Try to create an executable without -o first, disregard a.out.
2537 # It will help us diagnose broken compilers, and finding out an intuition
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2540 $as_echo_n "checking whether the C compiler works... " >&6; }
2541 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2543 # The possible output files:
2544 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2547 for ac_file in $ac_files
2550 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2551 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2556 if { { ac_try="$ac_link_default"
2558 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2559 *) ac_try_echo
=$ac_try;;
2561 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2562 $as_echo "$ac_try_echo"; } >&5
2563 (eval "$ac_link_default") 2>&5
2565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2566 test $ac_status = 0; }; then :
2567 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2568 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2569 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2570 # so that the user can short-circuit this test for compilers unknown to
2572 for ac_file
in $ac_files ''
2574 test -f "$ac_file" ||
continue
2576 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2579 # We found the default executable, but exeext='' is most
2583 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2585 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2587 # We set ac_cv_exeext here because the later test for it is not
2588 # safe: cross compilers may not add the suffix if given an `-o'
2589 # argument, so we may need to know it at that point already.
2590 # Even if this section looks crufty: it has the advantage of
2597 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2602 if test -z "$ac_file"; then :
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2604 $as_echo "no" >&6; }
2605 $as_echo "$as_me: failed program was:" >&5
2606 sed 's/^/| /' conftest.
$ac_ext >&5
2608 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2610 as_fn_error
77 "C compiler cannot create executables
2611 See \`config.log' for more details" "$LINENO" 5; }
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2614 $as_echo "yes" >&6; }
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2617 $as_echo_n "checking for C compiler default output file name... " >&6; }
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2619 $as_echo "$ac_file" >&6; }
2620 ac_exeext
=$ac_cv_exeext
2622 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2623 ac_clean_files
=$ac_clean_files_save
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2625 $as_echo_n "checking for suffix of executables... " >&6; }
2626 if { { ac_try
="$ac_link"
2628 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2629 *) ac_try_echo=$ac_try;;
2631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2632 $as_echo "$ac_try_echo"; } >&5
2633 (eval "$ac_link") 2>&5
2635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2636 test $ac_status = 0; }; then :
2637 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2638 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2639 # work properly (i.e., refer to `conftest.exe'), while it won't with
2641 for ac_file
in conftest.exe conftest conftest.
*; do
2642 test -f "$ac_file" ||
continue
2644 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2645 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2651 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2652 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2653 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2654 See \`config.log' for more details" "$LINENO" 5; }
2656 rm -f conftest conftest
$ac_cv_exeext
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2658 $as_echo "$ac_cv_exeext" >&6; }
2660 rm -f conftest.
$ac_ext
2661 EXEEXT
=$ac_cv_exeext
2663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2664 /* end confdefs.h. */
2669 FILE *f = fopen ("conftest.out", "w");
2670 return ferror (f) || fclose (f) != 0;
2676 ac_clean_files
="$ac_clean_files conftest.out"
2677 # Check that the compiler produces executables we can run. If not, either
2678 # the compiler is broken, or we cross compile.
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2680 $as_echo_n "checking whether we are cross compiling... " >&6; }
2681 if test "$cross_compiling" != yes; then
2682 { { ac_try
="$ac_link"
2684 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2685 *) ac_try_echo=$ac_try;;
2687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2688 $as_echo "$ac_try_echo"; } >&5
2689 (eval "$ac_link") 2>&5
2691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2692 test $ac_status = 0; }
2693 if { ac_try='./conftest$ac_cv_exeext'
2694 { { case "(($ac_try" in
2695 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2696 *) ac_try_echo
=$ac_try;;
2698 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2699 $as_echo "$ac_try_echo"; } >&5
2700 (eval "$ac_try") 2>&5
2702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2703 test $ac_status = 0; }; }; then
2706 if test "$cross_compiling" = maybe
; then
2709 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2710 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2711 as_fn_error $?
"cannot run C compiled programs.
2712 If you meant to cross compile, use \`--host'.
2713 See \`config.log' for more details" "$LINENO" 5; }
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2718 $as_echo "$cross_compiling" >&6; }
2720 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2721 ac_clean_files
=$ac_clean_files_save
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2723 $as_echo_n "checking for suffix of object files... " >&6; }
2724 if ${ac_cv_objext+:} false
; then :
2725 $as_echo_n "(cached) " >&6
2727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2728 /* end confdefs.h. */
2738 rm -f conftest.o conftest.obj
2739 if { { ac_try
="$ac_compile"
2741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2742 *) ac_try_echo=$ac_try;;
2744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2745 $as_echo "$ac_try_echo"; } >&5
2746 (eval "$ac_compile") 2>&5
2748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2749 test $ac_status = 0; }; then :
2750 for ac_file in conftest.o conftest.obj conftest.*; do
2751 test -f "$ac_file" || continue;
2753 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2754 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2759 $as_echo "$as_me: failed program was:" >&5
2760 sed 's/^/| /' conftest.$ac_ext >&5
2762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2764 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2765 See \
`config.log' for more details" "$LINENO" 5; }
2767 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2770 $as_echo "$ac_cv_objext" >&6; }
2771 OBJEXT=$ac_cv_objext
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2774 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2775 if ${ac_cv_c_compiler_gnu+:} false; then :
2776 $as_echo_n "(cached) " >&6
2778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2779 /* end confdefs.h. */
2792 if ac_fn_c_try_compile "$LINENO"; then :
2797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2798 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2802 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2803 if test $ac_compiler_gnu = yes; then
2808 ac_test_CFLAGS=${CFLAGS+set}
2809 ac_save_CFLAGS=$CFLAGS
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2811 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2812 if ${ac_cv_prog_cc_g+:} false; then :
2813 $as_echo_n "(cached) " >&6
2815 ac_save_c_werror_flag=$ac_c_werror_flag
2816 ac_c_werror_flag=yes
2819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2820 /* end confdefs.h. */
2830 if ac_fn_c_try_compile "$LINENO"; then :
2834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2835 /* end confdefs.h. */
2845 if ac_fn_c_try_compile "$LINENO"; then :
2848 ac_c_werror_flag=$ac_save_c_werror_flag
2850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2851 /* end confdefs.h. */
2861 if ac_fn_c_try_compile "$LINENO"; then :
2864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2869 ac_c_werror_flag=$ac_save_c_werror_flag
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2872 $as_echo "$ac_cv_prog_cc_g" >&6; }
2873 if test "$ac_test_CFLAGS" = set; then
2874 CFLAGS=$ac_save_CFLAGS
2875 elif test $ac_cv_prog_cc_g = yes; then
2876 if test "$GCC" = yes; then
2882 if test "$GCC" = yes; then
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2889 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2890 if ${ac_cv_prog_cc_c89+:} false; then :
2891 $as_echo_n "(cached) " >&6
2893 ac_cv_prog_cc_c89=no
2895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2896 /* end confdefs.h. */
2900 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2901 struct buf { int x; };
2902 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2903 static char *e (p, i)
2909 static char *f (char * (*g) (char **, int), char **p, ...)
2914 s = g (p, va_arg (v,int));
2919 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2920 function prototypes and stuff, but not '\xHH' hex character constants.
2921 These don't provoke an error unfortunately, instead are silently treated
2922 as 'x'. The following induces an error, until -std is added to get
2923 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2924 array size at least. It's necessary to write '\x00'==0 to get something
2925 that's true only with -std. */
2926 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2928 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2929 inside strings and character constants. */
2931 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2933 int test (int i, double x);
2934 struct s1 {int (*f) (int a);};
2935 struct s2 {int (*f) (double a);};
2936 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2942 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2947 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2948 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2950 CC="$ac_save_CC $ac_arg"
2951 if ac_fn_c_try_compile "$LINENO"; then :
2952 ac_cv_prog_cc_c89=$ac_arg
2954 rm -f core conftest.err conftest.$ac_objext
2955 test "x$ac_cv_prog_cc_c89" != "xno" && break
2957 rm -f conftest.$ac_ext
2962 case "x$ac_cv_prog_cc_c89" in
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2965 $as_echo "none needed" >&6; } ;;
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2968 $as_echo "unsupported" >&6; } ;;
2970 CC="$CC $ac_cv_prog_cc_c89"
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2972 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2974 if test "x$ac_cv_prog_cc_c89" != xno; then :
2979 ac_cpp='$CPP $CPPFLAGS'
2980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2987 # Check whether --enable-werror was given.
2988 if test "${enable_werror+set}" = set; then :
2989 enableval=$enable_werror; case "${enableval}" in
2990 yes | y) ERROR_ON_WARNING="yes" ;;
2991 no | n) ERROR_ON_WARNING="no" ;;
2992 *) as_fn_error $? "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
2997 # Enable -Werror by default when using gcc
2998 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
2999 ERROR_ON_WARNING=yes
3003 if test "${ERROR_ON_WARNING}" = yes ; then
3004 WERROR_CFLAGS="-Werror"
3007 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
3009 -Wno-unused -Wunused-value -Wunused-function \
3010 -Wno-switch -Wno-char-subscripts -Wmissing-prototypes
3011 -Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type \
3012 -Wold-style-declaration -Wold-style-definition"
3014 # Enable -Wno-format by default when using gcc on mingw since many
3015 # GCC versions complain about %I64.
3017 *-*-mingw32*) build_warnings="$build_warnings -Wno-format" ;;
3018 *) build_warnings="$build_warnings -Wformat-nonliteral" ;;
3021 # Check whether --enable-build-warnings was given.
3022 if test "${enable_build_warnings+set}" = set; then :
3023 enableval=$enable_build_warnings; case "${enableval}" in
3025 no) build_warnings="-w";;
3026 ,*) t=`echo "${enableval}" |
sed -e "s/,/ /g"`
3027 build_warnings="${build_warnings} ${t}";;
3028 *,) t=`echo "${enableval}" |
sed -e "s/,/ /g"`
3029 build_warnings="${t} ${build_warnings}";;
3030 *) build_warnings=`echo "${enableval}" |
sed -e "s/,/ /g"`;;
3032 if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then
3033 echo "Setting compiler warning flags = $build_warnings" 6>&1
3036 # Check whether --enable-sim-build-warnings was given.
3037 if test "${enable_sim_build_warnings+set}" = set; then :
3038 enableval=$enable_sim_build_warnings; case "${enableval}" in
3040 no) build_warnings="-w";;
3041 ,*) t=`echo "${enableval}" |
sed -e "s/,/ /g"`
3042 build_warnings="${build_warnings} ${t}";;
3043 *,) t=`echo "${enableval}" |
sed -e "s/,/ /g"`
3044 build_warnings="${t} ${build_warnings}";;
3045 *) build_warnings=`echo "${enableval}" |
sed -e "s/,/ /g"`;;
3047 if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then
3048 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
3052 if test "x${build_warnings}" != x -a "x$GCC" = xyes
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&5
3055 $as_echo_n "checking compiler warning flags... " >&6; }
3056 # Separate out the -Werror flag as some files just cannot be
3057 # compiled with it enabled.
3058 for w in ${build_warnings}; do
3060 -Werr*) WERROR_CFLAGS=-Werror ;;
3061 *) # Check that GCC accepts it
3062 saved_CFLAGS="$CFLAGS"
3064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3065 /* end confdefs.h. */
3075 if ac_fn_c_try_compile "$LINENO"; then :
3076 WARN_CFLAGS="${WARN_CFLAGS} $w"
3078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3079 CFLAGS="$saved_CFLAGS"
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
3083 $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; }
3087 # Put a plausible default for CC_FOR_BUILD in Makefile.
3088 if test "x$cross_compiling" = "xno" -a "x$host" != "xi386-windows"; then
3089 AR_FOR_BUILD='$(AR)'
3090 AR_FLAGS_FOR_BUILD='$(AR_FLAGS)'
3091 CC_FOR_BUILD='$(CC)'
3092 CFLAGS_FOR_BUILD='$(CFLAGS)'
3093 RANLIB_FOR_BUILD='$(RANLIB)'
3095 AR_FOR_BUILD=${AR_FOR_BUILD-ar}
3096 AR_FLAGS_FOR_BUILD=${AR_FLAGS_FOR_BUILD-rc}
3097 CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
3098 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-"-g"}
3099 RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
3103 # Make sure we can run config.sub.
3104 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3105 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3108 $as_echo_n "checking build system type... " >&6; }
3109 if ${ac_cv_build+:} false; then :
3110 $as_echo_n "(cached) " >&6
3112 ac_build_alias=$build_alias
3113 test "x$ac_build_alias" = x &&
3114 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3115 test "x$ac_build_alias" = x &&
3116 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3117 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3118 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3122 $as_echo "$ac_cv_build" >&6; }
3123 case $ac_cv_build in
3125 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3128 ac_save_IFS=$IFS; IFS='-'
3134 # Remember, the first character of IFS is used to create $*,
3135 # except with old shells:
3138 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3142 $as_echo_n "checking host system type... " >&6; }
3143 if ${ac_cv_host+:} false; then :
3144 $as_echo_n "(cached) " >&6
3146 if test "x$host_alias" = x; then
3147 ac_cv_host=$ac_cv_build
3149 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3150 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3155 $as_echo "$ac_cv_host" >&6; }
3158 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3161 ac_save_IFS=$IFS; IFS='-'
3167 # Remember, the first character of IFS is used to create $*,
3168 # except with old shells:
3171 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3175 $as_echo_n "checking target system type... " >&6; }
3176 if ${ac_cv_target+:} false; then :
3177 $as_echo_n "(cached) " >&6
3179 if test "x$target_alias" = x; then
3180 ac_cv_target=$ac_cv_host
3182 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3183 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3188 $as_echo "$ac_cv_target" >&6; }
3189 case $ac_cv_target in
3191 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3193 target=$ac_cv_target
3194 ac_save_IFS=$IFS; IFS='-'
3200 # Remember, the first character of IFS is used to create $*,
3201 # except with old shells:
3204 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
3207 # The aliases save the names the user supplied, while $host etc.
3208 # will get canonicalized.
3209 test -n "$target_alias" &&
3210 test "$program_prefix$program_suffix$program_transform_name" = \
3212 program_prefix=${target_alias}-
3214 test "$program_prefix" != NONE &&
3215 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3216 # Use a double $ so make ignores it.
3217 test "$program_suffix" != NONE &&
3218 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3219 # Double any \ or $.
3220 # By default was `s
,x
,x
', remove it if useless.
3221 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
3222 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3225 ac_config_headers="$ac_config_headers config.h:config.in"
3228 # NB: You can assume C11 headers exist.
3230 ac_cpp='$CPP $CPPFLAGS'
3231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3232 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3235 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3236 # On Suns, sometimes $CPP names a directory.
3237 if test -n "$CPP" && test -d "$CPP"; then
3240 if test -z "$CPP"; then
3241 if ${ac_cv_prog_CPP+:} false; then :
3242 $as_echo_n "(cached) " >&6
3244 # Double quotes because CPP needs to be expanded
3245 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3248 for ac_c_preproc_warn_flag in '' yes
3250 # Use a header file that comes with gcc, so configuring glibc
3251 # with a fresh cross-compiler works.
3252 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3253 # <limits.h> exists even on freestanding compilers.
3254 # On the NeXT, cc -E runs the code through the compiler's parser
,
3255 # not just through cpp. "Syntax error" is here to catch this case.
3256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3257 /* end confdefs.h. */
3259 # include <limits.h>
3261 # include <assert.h>
3265 if ac_fn_c_try_cpp
"$LINENO"; then :
3268 # Broken: fails on valid input.
3271 rm -f conftest.err conftest.i conftest.
$ac_ext
3273 # OK, works on sane cases. Now check whether nonexistent headers
3274 # can be detected and how.
3275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3276 /* end confdefs.h. */
3277 #include <ac_nonexistent.h>
3279 if ac_fn_c_try_cpp
"$LINENO"; then :
3280 # Broken: success on invalid input.
3283 # Passes both tests.
3287 rm -f conftest.err conftest.i conftest.
$ac_ext
3290 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3291 rm -f conftest.i conftest.err conftest.
$ac_ext
3292 if $ac_preproc_ok; then :
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3305 $as_echo "$CPP" >&6; }
3307 for ac_c_preproc_warn_flag
in '' yes
3309 # Use a header file that comes with gcc, so configuring glibc
3310 # with a fresh cross-compiler works.
3311 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3312 # <limits.h> exists even on freestanding compilers.
3313 # On the NeXT, cc -E runs the code through the compiler's parser,
3314 # not just through cpp. "Syntax error" is here to catch this case.
3315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3316 /* end confdefs.h. */
3318 # include <limits.h>
3320 # include <assert.h>
3324 if ac_fn_c_try_cpp
"$LINENO"; then :
3327 # Broken: fails on valid input.
3330 rm -f conftest.err conftest.i conftest.
$ac_ext
3332 # OK, works on sane cases. Now check whether nonexistent headers
3333 # can be detected and how.
3334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3335 /* end confdefs.h. */
3336 #include <ac_nonexistent.h>
3338 if ac_fn_c_try_cpp
"$LINENO"; then :
3339 # Broken: success on invalid input.
3342 # Passes both tests.
3346 rm -f conftest.err conftest.i conftest.
$ac_ext
3349 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3350 rm -f conftest.i conftest.err conftest.
$ac_ext
3351 if $ac_preproc_ok; then :
3354 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3356 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3357 See \`config.log' for more details" "$LINENO" 5; }
3361 ac_cpp
='$CPP $CPPFLAGS'
3362 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3363 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3364 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3368 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3369 if ${ac_cv_path_GREP+:} false
; then :
3370 $as_echo_n "(cached) " >&6
3372 if test -z "$GREP"; then
3373 ac_path_GREP_found
=false
3374 # Loop through the user's path and test for each of PROGNAME-LIST
3375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3376 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3379 test -z "$as_dir" && as_dir
=.
3380 for ac_prog
in grep ggrep
; do
3381 for ac_exec_ext
in '' $ac_executable_extensions; do
3382 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3383 as_fn_executable_p
"$ac_path_GREP" ||
continue
3384 # Check for GNU ac_path_GREP and select it if it is found.
3385 # Check for GNU $ac_path_GREP
3386 case `"$ac_path_GREP" --version 2>&1` in
3388 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3391 $as_echo_n 0123456789 >"conftest.in"
3394 cat "conftest.in" "conftest.in" >"conftest.tmp"
3395 mv "conftest.tmp" "conftest.in"
3396 cp "conftest.in" "conftest.nl"
3397 $as_echo 'GREP' >> "conftest.nl"
3398 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3399 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3400 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3401 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3402 # Best one so far, save it but keep looking for a better one
3403 ac_cv_path_GREP
="$ac_path_GREP"
3404 ac_path_GREP_max
=$ac_count
3406 # 10*(2^10) chars as input seems more than enough
3407 test $ac_count -gt 10 && break
3409 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3412 $ac_path_GREP_found && break 3
3417 if test -z "$ac_cv_path_GREP"; then
3418 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3421 ac_cv_path_GREP
=$GREP
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3426 $as_echo "$ac_cv_path_GREP" >&6; }
3427 GREP
="$ac_cv_path_GREP"
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3431 $as_echo_n "checking for egrep... " >&6; }
3432 if ${ac_cv_path_EGREP+:} false
; then :
3433 $as_echo_n "(cached) " >&6
3435 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3436 then ac_cv_path_EGREP
="$GREP -E"
3438 if test -z "$EGREP"; then
3439 ac_path_EGREP_found
=false
3440 # Loop through the user's path and test for each of PROGNAME-LIST
3441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3442 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3445 test -z "$as_dir" && as_dir
=.
3446 for ac_prog
in egrep; do
3447 for ac_exec_ext
in '' $ac_executable_extensions; do
3448 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3449 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3450 # Check for GNU ac_path_EGREP and select it if it is found.
3451 # Check for GNU $ac_path_EGREP
3452 case `"$ac_path_EGREP" --version 2>&1` in
3454 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3457 $as_echo_n 0123456789 >"conftest.in"
3460 cat "conftest.in" "conftest.in" >"conftest.tmp"
3461 mv "conftest.tmp" "conftest.in"
3462 cp "conftest.in" "conftest.nl"
3463 $as_echo 'EGREP' >> "conftest.nl"
3464 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3465 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3466 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3467 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3468 # Best one so far, save it but keep looking for a better one
3469 ac_cv_path_EGREP
="$ac_path_EGREP"
3470 ac_path_EGREP_max
=$ac_count
3472 # 10*(2^10) chars as input seems more than enough
3473 test $ac_count -gt 10 && break
3475 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3478 $ac_path_EGREP_found && break 3
3483 if test -z "$ac_cv_path_EGREP"; then
3484 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3487 ac_cv_path_EGREP
=$EGREP
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3493 $as_echo "$ac_cv_path_EGREP" >&6; }
3494 EGREP
="$ac_cv_path_EGREP"
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3498 $as_echo_n "checking for ANSI C header files... " >&6; }
3499 if ${ac_cv_header_stdc+:} false
; then :
3500 $as_echo_n "(cached) " >&6
3502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3503 /* end confdefs.h. */
3517 if ac_fn_c_try_compile
"$LINENO"; then :
3518 ac_cv_header_stdc
=yes
3520 ac_cv_header_stdc
=no
3522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3524 if test $ac_cv_header_stdc = yes; then
3525 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3527 /* end confdefs.h. */
3531 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3532 $EGREP "memchr" >/dev
/null
2>&1; then :
3535 ac_cv_header_stdc
=no
3541 if test $ac_cv_header_stdc = yes; then
3542 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3544 /* end confdefs.h. */
3548 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3549 $EGREP "free" >/dev
/null
2>&1; then :
3552 ac_cv_header_stdc
=no
3558 if test $ac_cv_header_stdc = yes; then
3559 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3560 if test "$cross_compiling" = yes; then :
3563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3564 /* end confdefs.h. */
3567 #if ((' ' & 0x0FF) == 0x020)
3568 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3569 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3571 # define ISLOWER(c) \
3572 (('a' <= (c) && (c) <= 'i') \
3573 || ('j' <= (c) && (c) <= 'r') \
3574 || ('s' <= (c) && (c) <= 'z'))
3575 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3578 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3583 for (i = 0; i < 256; i++)
3584 if (XOR (islower (i), ISLOWER (i))
3585 || toupper (i) != TOUPPER (i))
3590 if ac_fn_c_try_run
"$LINENO"; then :
3593 ac_cv_header_stdc
=no
3595 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3596 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3602 $as_echo "$ac_cv_header_stdc" >&6; }
3603 if test $ac_cv_header_stdc = yes; then
3605 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3609 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3610 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3611 inttypes.h stdint.h unistd.h
3613 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3614 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3616 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3617 cat >>confdefs.h
<<_ACEOF
3618 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3626 for ac_header
in sys
/stat.h sys
/types.h unistd.h
3628 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3629 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3630 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3631 cat >>confdefs.h
<<_ACEOF
3632 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3640 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
3641 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
3643 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
3644 if eval \
${$as_ac_Header+:} false
; then :
3645 $as_echo_n "(cached) " >&6
3647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3648 /* end confdefs.h. */
3649 #include <sys/types.h>
3661 if ac_fn_c_try_compile
"$LINENO"; then :
3662 eval "$as_ac_Header=yes"
3664 eval "$as_ac_Header=no"
3666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3668 eval ac_res
=\$
$as_ac_Header
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3670 $as_echo "$ac_res" >&6; }
3671 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3672 cat >>confdefs.h
<<_ACEOF
3673 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
3676 ac_header_dirent
=$ac_hdr; break
3680 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3681 if test $ac_header_dirent = dirent.h
; then
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
3683 $as_echo_n "checking for library containing opendir... " >&6; }
3684 if ${ac_cv_search_opendir+:} false
; then :
3685 $as_echo_n "(cached) " >&6
3687 ac_func_search_save_LIBS
=$LIBS
3688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3689 /* end confdefs.h. */
3691 /* Override any GCC internal prototype to avoid an error.
3692 Use char because int might match the return type of a GCC
3693 builtin and then its argument prototype would still apply. */
3706 for ac_lib
in '' dir
; do
3707 if test -z "$ac_lib"; then
3708 ac_res
="none required"
3711 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3713 if ac_fn_c_try_link
"$LINENO"; then :
3714 ac_cv_search_opendir
=$ac_res
3716 rm -f core conftest.err conftest.
$ac_objext \
3718 if ${ac_cv_search_opendir+:} false
; then :
3722 if ${ac_cv_search_opendir+:} false
; then :
3725 ac_cv_search_opendir
=no
3728 LIBS
=$ac_func_search_save_LIBS
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
3731 $as_echo "$ac_cv_search_opendir" >&6; }
3732 ac_res
=$ac_cv_search_opendir
3733 if test "$ac_res" != no
; then :
3734 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
3740 $as_echo_n "checking for library containing opendir... " >&6; }
3741 if ${ac_cv_search_opendir+:} false
; then :
3742 $as_echo_n "(cached) " >&6
3744 ac_func_search_save_LIBS
=$LIBS
3745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3746 /* end confdefs.h. */
3748 /* Override any GCC internal prototype to avoid an error.
3749 Use char because int might match the return type of a GCC
3750 builtin and then its argument prototype would still apply. */
3763 for ac_lib
in '' x
; do
3764 if test -z "$ac_lib"; then
3765 ac_res
="none required"
3768 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3770 if ac_fn_c_try_link
"$LINENO"; then :
3771 ac_cv_search_opendir
=$ac_res
3773 rm -f core conftest.err conftest.
$ac_objext \
3775 if ${ac_cv_search_opendir+:} false
; then :
3779 if ${ac_cv_search_opendir+:} false
; then :
3782 ac_cv_search_opendir
=no
3785 LIBS
=$ac_func_search_save_LIBS
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
3788 $as_echo "$ac_cv_search_opendir" >&6; }
3789 ac_res
=$ac_cv_search_opendir
3790 if test "$ac_res" != no
; then :
3791 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
3806 if test -n "$ac_tool_prefix"; then
3807 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3808 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3810 $as_echo_n "checking for $ac_word... " >&6; }
3811 if ${ac_cv_prog_RANLIB+:} false
; then :
3812 $as_echo_n "(cached) " >&6
3814 if test -n "$RANLIB"; then
3815 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3821 test -z "$as_dir" && as_dir
=.
3822 for ac_exec_ext
in '' $ac_executable_extensions; do
3823 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3824 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3834 RANLIB
=$ac_cv_prog_RANLIB
3835 if test -n "$RANLIB"; then
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3837 $as_echo "$RANLIB" >&6; }
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3840 $as_echo "no" >&6; }
3845 if test -z "$ac_cv_prog_RANLIB"; then
3846 ac_ct_RANLIB
=$RANLIB
3847 # Extract the first word of "ranlib", so it can be a program name with args.
3848 set dummy ranlib
; ac_word
=$2
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3850 $as_echo_n "checking for $ac_word... " >&6; }
3851 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
3852 $as_echo_n "(cached) " >&6
3854 if test -n "$ac_ct_RANLIB"; then
3855 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3861 test -z "$as_dir" && as_dir
=.
3862 for ac_exec_ext
in '' $ac_executable_extensions; do
3863 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3864 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3874 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3875 if test -n "$ac_ct_RANLIB"; then
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3877 $as_echo "$ac_ct_RANLIB" >&6; }
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3880 $as_echo "no" >&6; }
3883 if test "x$ac_ct_RANLIB" = x
; then
3886 case $cross_compiling:$ac_tool_warned in
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3890 ac_tool_warned
=yes ;;
3892 RANLIB
=$ac_ct_RANLIB
3895 RANLIB
="$ac_cv_prog_RANLIB"
3899 ac_config_files
="$ac_config_files Makefile"
3901 ac_config_commands
="$ac_config_commands default"
3903 cat >confcache
<<\_ACEOF
3904 # This file is a shell script that caches the results of configure
3905 # tests run on this system so they can be shared between configure
3906 # scripts and configure runs, see configure's option --config-cache.
3907 # It is not useful on other systems. If it contains results you don't
3908 # want to keep, you may remove or edit it.
3910 # config.status only pays attention to the cache file if you give it
3911 # the --recheck option to rerun configure.
3913 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3914 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3919 # The following way of writing the cache mishandles newlines in values,
3920 # but we know of no workaround that is simple, portable, and efficient.
3921 # So, we kill variables containing newlines.
3922 # Ultrix sh set writes to stderr and can't be redirected directly,
3923 # and sets the high bit in the cache file unless we assign to the vars.
3925 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3926 eval ac_val
=\$
$ac_var
3930 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3931 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3934 _ | IFS | as_nl
) ;; #(
3935 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3936 *) { eval $ac_var=; unset $ac_var;} ;;
3942 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3943 *${as_nl}ac_space
=\
*)
3944 # `set' does not quote correctly, so add quotes: double-quote
3945 # substitution turns \\\\ into \\, and sed turns \\ into \.
3948 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3951 # `set' quotes correctly as required by POSIX, so do not add quotes.
3952 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3961 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3963 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3965 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3966 if test -w "$cache_file"; then
3967 if test "x$cache_file" != "x/dev/null"; then
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3969 $as_echo "$as_me: updating cache $cache_file" >&6;}
3970 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
3971 cat confcache
>"$cache_file"
3973 case $cache_file in #(
3975 mv -f confcache
"$cache_file"$$
&&
3976 mv -f "$cache_file"$$
"$cache_file" ;; #(
3978 mv -f confcache
"$cache_file" ;;
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3984 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3989 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3990 # Let make expand exec_prefix.
3991 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3993 DEFS
=-DHAVE_CONFIG_H
3998 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3999 # 1. Remove the extension, and $U if already installed.
4000 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4001 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4002 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4003 # will be set to the directory where LIBOBJS objects are built.
4004 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4005 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4009 LTLIBOBJS
=$ac_ltlibobjs
4013 : "${CONFIG_STATUS=./config.status}"
4015 ac_clean_files_save
=$ac_clean_files
4016 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4018 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4020 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4022 # Generated by $as_me.
4023 # Run this file to recreate the current configuration.
4024 # Compiler output produced by configure, useful for debugging
4025 # configure, is in config.log if it exists.
4031 SHELL=\${CONFIG_SHELL-$SHELL}
4034 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4035 ## -------------------- ##
4036 ## M4sh Initialization. ##
4037 ## -------------------- ##
4039 # Be more Bourne compatible
4040 DUALCASE
=1; export DUALCASE
# for MKS sh
4041 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4044 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4045 # is contrary to our usage. Disable this feature.
4046 alias -g '${1+"$@"}'='"$@"'
4047 setopt NO_GLOB_SUBST
4049 case `(set -o) 2>/dev/null` in #(
4061 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4062 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4063 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4064 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4065 # Prefer a ksh shell builtin over an external printf program on Solaris,
4066 # but without wasting forks for bash or zsh.
4067 if test -z "$BASH_VERSION$ZSH_VERSION" \
4068 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4069 as_echo='print
-r --'
4070 as_echo_n='print
-rn --'
4071 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4072 as_echo='printf %s
\n'
4073 as_echo_n='printf %s
'
4075 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4076 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4077 as_echo_n='/usr
/ucb
/echo -n'
4079 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4080 as_echo_n_body='eval
4084 expr "X$arg" : "X\\(.*\\)$as_nl";
4085 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4087 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4089 export as_echo_n_body
4090 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4093 as_echo='sh
-c $as_echo_body as_echo
'
4096 # The user is always right.
4097 if test "${PATH_SEPARATOR+set}" != set; then
4099 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4100 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4107 # We need space, tab and new line, in precisely that order. Quoting is
4108 # there to prevent editors from complaining about space-tab.
4109 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4110 # splitting by setting IFS to empty value.)
4113 # Find who we are. Look in the path if we contain no directory separator.
4116 *[\\/]* ) as_myself=$0 ;;
4117 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4121 test -z "$as_dir" && as_dir=.
4122 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4128 # We did not find ourselves, most probably we were run as `sh COMMAND'
4129 # in which case we are not to be found in the path.
4130 if test "x$as_myself" = x
; then
4133 if test ! -f "$as_myself"; then
4134 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4138 # Unset variables that we do not need and which cause bugs (e.g. in
4139 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4140 # suppresses any "Segmentation fault" message there. '((' could
4141 # trigger a bug in pdksh 5.2.14.
4142 for as_var
in BASH_ENV ENV MAIL MAILPATH
4143 do eval test x\
${$as_var+set} = xset \
4144 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4157 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4160 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4161 # ----------------------------------------
4162 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4163 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4164 # script with STATUS, using 1 if that was 0.
4167 as_status
=$1; test $as_status -eq 0 && as_status
=1
4169 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4170 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4172 $as_echo "$as_me: error: $2" >&2
4173 as_fn_exit
$as_status
4177 # as_fn_set_status STATUS
4178 # -----------------------
4179 # Set $? to STATUS, without forking.
4183 } # as_fn_set_status
4187 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4197 # Portably unset VAR.
4200 { eval $1=; unset $1;}
4202 as_unset
=as_fn_unset
4203 # as_fn_append VAR VALUE
4204 # ----------------------
4205 # Append the text in VALUE to the end of the definition contained in VAR. Take
4206 # advantage of any shell optimizations that allow amortized linear growth over
4207 # repeated appends, instead of the typical quadratic growth present in naive
4209 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4210 eval 'as_fn_append ()
4221 # as_fn_arith ARG...
4222 # ------------------
4223 # Perform arithmetic evaluation on the ARGs, and store the result in the
4224 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4225 # must be portable across $(()) and expr.
4226 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4227 eval 'as_fn_arith ()
4234 as_val
=`expr "$@" || test $? -eq 1`
4239 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4240 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4246 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4247 as_basename
=basename
4252 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4258 as_me
=`$as_basename -- "$0" ||
4259 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4260 X"$0" : 'X\(//\)$' \| \
4261 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4263 sed '/^.*\/\([^/][^/]*\)\/*$/{
4277 # Avoid depending upon Character Ranges.
4278 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4279 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4280 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4281 as_cr_digits
='0123456789'
4282 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4284 ECHO_C
= ECHO_N
= ECHO_T
=
4285 case `echo -n x` in #(((((
4287 case `echo 'xy\c'` in
4288 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4290 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4297 rm -f conf$$ conf$$.exe conf$$.
file
4298 if test -d conf$$.dir
; then
4299 rm -f conf$$.dir
/conf$$.
file
4302 mkdir conf$$.dir
2>/dev
/null
4304 if (echo >conf$$.
file) 2>/dev
/null
; then
4305 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4307 # ... but there are two gotchas:
4308 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4309 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4310 # In both cases, we have to default to `cp -pR'.
4311 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4313 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4321 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4322 rmdir conf$$.dir
2>/dev
/null
4327 # Create "$as_dir" as a directory, including parents if necessary.
4332 -*) as_dir
=.
/$as_dir;;
4334 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4338 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4339 *) as_qdir
=$as_dir;;
4341 as_dirs
="'$as_qdir' $as_dirs"
4342 as_dir
=`$as_dirname -- "$as_dir" ||
4343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4344 X"$as_dir" : 'X\(//\)[^/]' \| \
4345 X"$as_dir" : 'X\(//\)$' \| \
4346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4347 $as_echo X"$as_dir" |
4348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4365 test -d "$as_dir" && break
4367 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4368 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4372 if mkdir
-p .
2>/dev
/null
; then
4373 as_mkdir_p
='mkdir -p "$as_dir"'
4375 test -d .
/-p && rmdir .
/-p
4380 # as_fn_executable_p FILE
4381 # -----------------------
4382 # Test if FILE is an executable regular file.
4383 as_fn_executable_p
()
4385 test -f "$1" && test -x "$1"
4386 } # as_fn_executable_p
4388 as_executable_p
=as_fn_executable_p
4390 # Sed expression to map a string onto a valid CPP name.
4391 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4393 # Sed expression to map a string onto a valid variable name.
4394 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4398 ## ----------------------------------- ##
4399 ## Main body of $CONFIG_STATUS script. ##
4400 ## ----------------------------------- ##
4402 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4405 # Save the log message, to keep $0 and so on meaningful, and to
4406 # report actual input values of CONFIG_FILES etc. instead of their
4407 # values after options handling.
4409 This file was extended by $as_me, which was
4410 generated by GNU Autoconf 2.69. Invocation command line was
4412 CONFIG_FILES = $CONFIG_FILES
4413 CONFIG_HEADERS = $CONFIG_HEADERS
4414 CONFIG_LINKS = $CONFIG_LINKS
4415 CONFIG_COMMANDS = $CONFIG_COMMANDS
4418 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4423 case $ac_config_files in *"
4424 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4427 case $ac_config_headers in *"
4428 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
4432 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4433 # Files that config.status was made for.
4434 config_files="$ac_config_files"
4435 config_headers="$ac_config_headers"
4436 config_commands="$ac_config_commands"
4440 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4442 \`$as_me' instantiates files and other configuration actions
4443 from templates according to the current configuration. Unless the files
4444 and actions are specified as TAGs, all are instantiated by default.
4446 Usage: $0 [OPTION]... [TAG]...
4448 -h, --help print this help, then exit
4449 -V, --version print version number and configuration settings, then exit
4450 --config print configuration, then exit
4451 -q, --quiet, --silent
4452 do not print progress messages
4453 -d, --debug don't remove temporary files
4454 --recheck update $as_me by reconfiguring in the same conditions
4455 --file=FILE[:TEMPLATE]
4456 instantiate the configuration file FILE
4457 --header=FILE[:TEMPLATE]
4458 instantiate the configuration header FILE
4460 Configuration files:
4463 Configuration headers:
4466 Configuration commands:
4469 Report bugs to the package provider."
4472 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4473 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4476 configured by $0, generated by GNU Autoconf 2.69,
4477 with options \\"\$ac_cs_config\\"
4479 Copyright (C) 2012 Free Software Foundation, Inc.
4480 This config.status script is free software; the Free Software Foundation
4481 gives unlimited permission to copy, distribute and modify it."
4486 test -n "\$AWK" || AWK=awk
4489 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4490 # The default lists apply if the user does not specify any file.
4496 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4497 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4501 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4513 # Handling of the options.
4514 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4516 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4517 $as_echo "$ac_cs_version"; exit ;;
4518 --config |
--confi |
--conf |
--con |
--co |
--c )
4519 $as_echo "$ac_cs_config"; exit ;;
4520 --debug |
--debu |
--deb |
--de |
--d |
-d )
4522 --file |
--fil |
--fi |
--f )
4525 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4526 '') as_fn_error $?
"missing file argument" ;;
4528 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4529 ac_need_defaults
=false
;;
4530 --header |
--heade |
--head |
--hea )
4533 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4535 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
4536 ac_need_defaults
=false
;;
4538 # Conflict between --help and --header
4539 as_fn_error $?
"ambiguous option: \`$1'
4540 Try \`$0 --help' for more information.";;
4541 --help |
--hel |
-h )
4542 $as_echo "$ac_cs_usage"; exit ;;
4543 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4544 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4548 -*) as_fn_error $?
"unrecognized option: \`$1'
4549 Try \`$0 --help' for more information." ;;
4551 *) as_fn_append ac_config_targets
" $1"
4552 ac_need_defaults
=false
;;
4558 ac_configure_extra_args
=
4560 if $ac_cs_silent; then
4562 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4567 if \$ac_cs_recheck; then
4568 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4570 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4571 CONFIG_SHELL='$SHELL'
4577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4581 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4582 ## Running $as_me. ##
4588 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4593 # Handling of arguments.
4594 for ac_config_target
in $ac_config_targets
4596 case $ac_config_target in
4597 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
4598 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4599 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
4601 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4606 # If the user did not use the arguments to specify the items to instantiate,
4607 # then the envvar interface is used. Set only those that are not.
4608 # We use the long form for the default assignment because of an extremely
4609 # bizarre bug on SunOS 4.1.3.
4610 if $ac_need_defaults; then
4611 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4612 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
4613 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
4616 # Have a temporary directory for convenience. Make it in the build tree
4617 # simply because there is no reason against having it here, and in addition,
4618 # creating and moving files from /tmp can sometimes cause problems.
4619 # Hook for its removal unless debugging.
4620 # Note that there is a small window in which the directory will not be cleaned:
4621 # after its creation but before its name has been assigned to `$tmp'.
4625 trap 'exit_status=$?
4627 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4629 trap 'as_fn_exit 1' 1 2 13 15
4631 # Create a (secure) tmp directory for tmp files.
4634 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4638 tmp
=.
/conf$$
-$RANDOM
4639 (umask 077 && mkdir
"$tmp")
4640 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
4643 # Set up the scripts for CONFIG_FILES section.
4644 # No need to generate them if there are no CONFIG_FILES.
4645 # This happens for instance with `./config.status config.h'.
4646 if test -n "$CONFIG_FILES"; then
4649 ac_cr
=`echo X | tr X '\015'`
4650 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4651 # But we know of no other shell where ac_cr would be empty at this
4652 # point, so we can use a bashism as a fallback.
4653 if test "x$ac_cr" = x
; then
4654 eval ac_cr
=\$
\'\\r
\'
4656 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4657 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4663 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4668 echo "cat >conf$$subs.awk <<_ACEOF" &&
4669 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4672 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4673 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4675 for ac_last_try in false false false false false :; do
4676 . ./conf$$subs.sh ||
4677 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4679 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4680 if test $ac_delim_n = $ac_delim_num; then
4682 elif $ac_last_try; then
4683 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4685 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4690 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4691 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
4695 s/^/S["/; s
/!.
*/"]=/
4705 s/\(.\{148\}\)..*/\1/
4707 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4712 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4719 s/\(.\{148\}\)..*/\1/
4721 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4725 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4730 ' <conf$$subs.awk | sed '
4735 ' >>$CONFIG_STATUS || ac_write_fail=1
4736 rm -f conf$$subs.awk
4737 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4739 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
4740 for (key in S) S_is_set[key] = 1
4746 nfields = split(line, field, "@
")
4748 len = length(field[1])
4749 for (i = 2; i < nfields; i++) {
4751 keylen = length(key)
4752 if (S_is_set[key]) {
4754 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4755 len += length(value) + length(field[++i])
4766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4767 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4768 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4771 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
4772 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
4775 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4776 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
4777 # trailing colons and then remove the whole line if VPATH becomes empty
4778 # (actually we leave an empty line to preserve line numbers).
4779 if test "x
$srcdir" = x.; then
4780 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4798 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4799 fi # test -n "$CONFIG_FILES"
4801 # Set up the scripts for CONFIG_HEADERS section.
4802 # No need to generate them if there are no CONFIG_HEADERS.
4803 # This happens for instance with `./config.status Makefile'.
4804 if test -n "$CONFIG_HEADERS"; then
4805 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
4809 # Transform confdefs.h into an awk script `defines.awk', embedded as
4810 # here-document in config.status, that substitutes the proper values into
4811 # config.h.in to produce config.h.
4813 # Create a delimiter string that does not exist in confdefs.h, to ease
4814 # handling of long lines.
4816 for ac_last_try in false false :; do
4817 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
4818 if test -z "$ac_tt"; then
4820 elif $ac_last_try; then
4821 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
4823 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4827 # For the awk script, D is an array of macro values keyed by name,
4828 # likewise P contains macro parameters if any. Preserve backslash
4829 # newline sequences.
4831 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4833 s/.\{148\}/&'"$ac_delim"'/g
4836 s/^[ ]*#[ ]*define[ ][ ]*/ /
4843 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
4845 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
4849 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
4850 D["\
1"]=" \
3\\\\\\n
"\\/p
4852 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
4857 s/.\{148\}/&'"$ac_delim"'/g
4862 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
4865 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
4867 ' <confdefs.h | sed '
4868 s/'"$ac_delim"'/"\\\
4869 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4871 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4872 for (key in D) D_is_set[key] = 1
4875 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4877 split(line, arg, " ")
4878 if (arg[1] == "#") {
4882 defundef
= substr
(arg
[1], 2)
4885 split(mac1
, mac2
, "(") #)
4887 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
4888 if (D_is_set
[macro
]) {
4889 # Preserve the white space surrounding the "#".
4890 print prefix
"define", macro P
[macro
] D
[macro
]
4893 # Replace #undef with comments. This is necessary, for example,
4894 # in the case of _POSIX_SOURCE, which is predefined and required
4895 # on some systems where configure will not decide to define it.
4896 if (defundef
== "undef") {
4897 print
"/*", prefix defundef
, macro
, "*/"
4905 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4906 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
4907 fi # test -n "$CONFIG_HEADERS"
4910 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
4915 :[FHLC
]) ac_mode
=$ac_tag; continue;;
4917 case $ac_mode$ac_tag in
4919 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
4920 :[FH
]-) ac_tag
=-:-;;
4921 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
4938 -) ac_f
="$ac_tmp/stdin";;
4939 *) # Look for the file first in the build tree, then in the source tree
4940 # (if the path is not absolute). The absolute path cannot be DOS-style,
4941 # because $ac_f cannot contain `:'.
4945 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
4947 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4949 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4950 as_fn_append ac_file_inputs
" '$ac_f'"
4953 # Let's still pretend it is `configure' which instantiates (i.e., don't
4954 # use $as_me), people would be surprised to read:
4955 # /* config.h. Generated by config.status. */
4956 configure_input
='Generated from '`
4957 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4959 if test x
"$ac_file" != x-
; then
4960 configure_input
="$ac_file. $configure_input"
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4962 $as_echo "$as_me: creating $ac_file" >&6;}
4964 # Neutralize special characters interpreted by sed in replacement strings.
4965 case $configure_input in #(
4966 *\
&* |
*\|
* |
*\\* )
4967 ac_sed_conf_input
=`$as_echo "$configure_input" |
4968 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4969 *) ac_sed_conf_input
=$configure_input;;
4973 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
4974 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
4979 ac_dir
=`$as_dirname -- "$ac_file" ||
4980 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4981 X"$ac_file" : 'X\(//\)[^/]' \| \
4982 X"$ac_file" : 'X\(//\)$' \| \
4983 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4984 $as_echo X"$ac_file" |
4985 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5002 as_dir
="$ac_dir"; as_fn_mkdir_p
5006 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5008 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5009 # A ".." for each directory in $ac_dir_suffix.
5010 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5011 case $ac_top_builddir_sub in
5012 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5013 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
5016 ac_abs_top_builddir
=$ac_pwd
5017 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
5018 # for backward compatibility:
5019 ac_top_builddir
=$ac_top_build_prefix
5022 .
) # We are building in place.
5024 ac_top_srcdir
=$ac_top_builddir_sub
5025 ac_abs_top_srcdir
=$ac_pwd ;;
5026 [\\/]* | ?
:[\\/]* ) # Absolute name.
5027 ac_srcdir
=$srcdir$ac_dir_suffix;
5028 ac_top_srcdir
=$srcdir
5029 ac_abs_top_srcdir
=$srcdir ;;
5031 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
5032 ac_top_srcdir
=$ac_top_build_prefix$srcdir
5033 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
5035 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5045 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5046 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
5050 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5051 # If the template does not know about datarootdir, expand it.
5052 # FIXME: This hack should be removed a few years after 2.60.
5053 ac_datarootdir_hack
=; ac_datarootdir_seen
=
5064 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5065 *datarootdir
*) ac_datarootdir_seen
=yes;;
5066 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5068 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5070 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5071 ac_datarootdir_hack='
5072 s&@datadir@&$datadir&g
5073 s&@docdir@&$docdir&g
5074 s&@infodir@&$infodir&g
5075 s&@localedir@&$localedir&g
5076 s&@mandir@&$mandir&g
5077 s&\\\${datarootdir}&$datarootdir&g' ;;
5081 # Neutralize VPATH when `$srcdir' = `.'.
5082 # Shell code in configure.ac might set extrasub.
5083 # FIXME: do we really want to maintain this feature?
5084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5085 ac_sed_extra="$ac_vpsub
5088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5090 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5091 s|@configure_input@|
$ac_sed_conf_input|
;t t
5092 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5093 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5094 s
&@srcdir@
&$ac_srcdir&;t t
5095 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5096 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5097 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5098 s
&@builddir@
&$ac_builddir&;t t
5099 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5100 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5101 s
&@INSTALL@
&$ac_INSTALL&;t t
5102 $ac_datarootdir_hack
5104 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5105 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5107 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5108 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5109 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5110 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5112 which seems to be undefined. Please make sure it is defined" >&5
5113 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5114 which seems to be undefined. Please make sure it is defined" >&2;}
5116 rm -f "$ac_tmp/stdin"
5118 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5119 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5121 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5127 if test x"$ac_file" != x-; then
5129 $as_echo "/* $configure_input */" \
5130 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5131 } >"$ac_tmp/config.h" \
5132 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5133 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5135 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5138 mv "$ac_tmp/config.h" "$ac_file" \
5139 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5142 $as_echo "/* $configure_input */" \
5143 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5144 || as_fn_error $? "could not create -" "$LINENO" 5
5148 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5149 $as_echo "$as_me: executing $ac_file commands" >&6;}
5154 case $ac_file$ac_mode in
5155 "default":C) case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac ;;
5163 ac_clean_files=$ac_clean_files_save
5165 test $ac_write_fail = 0 ||
5166 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5169 # configure is writing to config.log, and then calls config.status.
5170 # config.status does its own redirection, appending to config.log.
5171 # Unfortunately, on DOS this fails, as config.log is still kept open
5172 # by configure, so config.status won't be able to
write to it
; its
5173 # output is simply discarded. So we exec the FD to /dev/null,
5174 # effectively closing config.log, so it can be properly (re)opened and
5175 # appended to by config.status. When coming back to configure, we
5176 # need to make the FD available again.
5177 if test "$no_create" != yes; then
5179 ac_config_status_args
=
5180 test "$silent" = yes &&
5181 ac_config_status_args
="$ac_config_status_args --quiet"
5183 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5185 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5186 # would make configure fail if this is the last instruction.
5187 $ac_cs_success || as_fn_exit
1
5189 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5191 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}