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
="c++tools"
586 ac_unique_file
="server.cc"
587 # Factoring default headers for most tests.
588 ac_includes_default
="\
590 #ifdef HAVE_SYS_TYPES_H
591 # include <sys/types.h>
593 #ifdef HAVE_SYS_STAT_H
594 # include <sys/stat.h>
600 # ifdef HAVE_STDLIB_H
605 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
610 #ifdef HAVE_STRINGS_H
611 # include <strings.h>
613 #ifdef HAVE_INTTYPES_H
614 # include <inttypes.h>
623 ac_subst_vars
='LTLIBOBJS
688 program_transform_name
701 enable_option_checking
703 enable_maintainer_mode
705 with_gcc_major_version_only
707 ac_precious_vars
='build_alias
721 # Initialize some variables set by options.
723 ac_init_version
=false
724 ac_unrecognized_opts
=
726 # The variables have the same names as the options, with
727 # dashes changed to underlines.
735 program_transform_name
=s
,x
,x
,
743 # Installation directory options.
744 # These are left unexpanded so users can "make install exec_prefix=/foo"
745 # and all the variables that are supposed to be based on exec_prefix
746 # by default will actually change.
747 # Use braces instead of parens because sh, perl, etc. also accept them.
748 # (The list follows the same order as the GNU Coding Standards.)
749 bindir
='${exec_prefix}/bin'
750 sbindir
='${exec_prefix}/sbin'
751 libexecdir
='${exec_prefix}/libexec'
752 datarootdir
='${prefix}/share'
753 datadir
='${datarootdir}'
754 sysconfdir
='${prefix}/etc'
755 sharedstatedir
='${prefix}/com'
756 localstatedir
='${prefix}/var'
757 includedir
='${prefix}/include'
758 oldincludedir
='/usr/include'
759 docdir
='${datarootdir}/doc/${PACKAGE}'
760 infodir
='${datarootdir}/info'
765 libdir
='${exec_prefix}/lib'
766 localedir
='${datarootdir}/locale'
767 mandir
='${datarootdir}/man'
773 # If the previous option needs an argument, assign it.
774 if test -n "$ac_prev"; then
775 eval $ac_prev=\
$ac_option
781 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
786 # Accept the important Cygnus configure options, so we can diagnose typos.
788 case $ac_dashdash$ac_option in
792 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
794 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
797 -build |
--build |
--buil |
--bui |
--bu)
798 ac_prev
=build_alias
;;
799 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
800 build_alias
=$ac_optarg ;;
802 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
803 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
804 ac_prev
=cache_file
;;
805 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
806 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
807 cache_file
=$ac_optarg ;;
810 cache_file
=config.cache
;;
812 -datadir |
--datadir |
--datadi |
--datad)
814 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
815 datadir
=$ac_optarg ;;
817 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
818 |
--dataroo |
--dataro |
--datar)
819 ac_prev
=datarootdir
;;
820 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
821 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
822 datarootdir
=$ac_optarg ;;
824 -disable-* |
--disable-*)
825 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
826 # Reject names that are not valid shell variable names.
827 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
828 as_fn_error $?
"invalid feature name: $ac_useropt"
829 ac_useropt_orig
=$ac_useropt
830 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
831 case $ac_user_opts in
835 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
836 ac_unrecognized_sep
=', ';;
838 eval enable_
$ac_useropt=no
;;
840 -docdir |
--docdir |
--docdi |
--doc |
--do)
842 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
845 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
847 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
850 -enable-* |
--enable-*)
851 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
852 # Reject names that are not valid shell variable names.
853 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
854 as_fn_error $?
"invalid feature name: $ac_useropt"
855 ac_useropt_orig
=$ac_useropt
856 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
857 case $ac_user_opts in
861 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
862 ac_unrecognized_sep
=', ';;
864 eval enable_
$ac_useropt=\
$ac_optarg ;;
866 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
867 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
868 |
--exec |
--exe |
--ex)
869 ac_prev
=exec_prefix
;;
870 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
871 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
872 |
--exec=* |
--exe=* |
--ex=*)
873 exec_prefix
=$ac_optarg ;;
875 -gas |
--gas |
--ga |
--g)
876 # Obsolete; use --with-gas.
879 -help |
--help |
--hel |
--he |
-h)
881 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
882 ac_init_help
=recursive
;;
883 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
884 ac_init_help
=short
;;
886 -host |
--host |
--hos |
--ho)
887 ac_prev
=host_alias
;;
888 -host=* |
--host=* |
--hos=* |
--ho=*)
889 host_alias
=$ac_optarg ;;
891 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
893 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
895 htmldir
=$ac_optarg ;;
897 -includedir |
--includedir |
--includedi |
--included |
--include \
898 |
--includ |
--inclu |
--incl |
--inc)
899 ac_prev
=includedir
;;
900 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
901 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
902 includedir
=$ac_optarg ;;
904 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
906 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
907 infodir
=$ac_optarg ;;
909 -libdir |
--libdir |
--libdi |
--libd)
911 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
914 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
915 |
--libexe |
--libex |
--libe)
916 ac_prev
=libexecdir
;;
917 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
918 |
--libexe=* |
--libex=* |
--libe=*)
919 libexecdir
=$ac_optarg ;;
921 -localedir |
--localedir |
--localedi |
--localed |
--locale)
923 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
924 localedir
=$ac_optarg ;;
926 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
927 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
928 ac_prev
=localstatedir
;;
929 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
930 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
931 localstatedir
=$ac_optarg ;;
933 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
935 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
939 # Obsolete; use --without-fp.
942 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
943 |
--no-cr |
--no-c |
-n)
946 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
947 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
950 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
951 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
952 |
--oldin |
--oldi |
--old |
--ol |
--o)
953 ac_prev
=oldincludedir
;;
954 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
955 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
956 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
957 oldincludedir
=$ac_optarg ;;
959 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
961 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
964 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
965 |
--program-pre |
--program-pr |
--program-p)
966 ac_prev
=program_prefix
;;
967 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
968 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
969 program_prefix
=$ac_optarg ;;
971 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
972 |
--program-suf |
--program-su |
--program-s)
973 ac_prev
=program_suffix
;;
974 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
975 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
976 program_suffix
=$ac_optarg ;;
978 -program-transform-name |
--program-transform-name \
979 |
--program-transform-nam |
--program-transform-na \
980 |
--program-transform-n |
--program-transform- \
981 |
--program-transform |
--program-transfor \
982 |
--program-transfo |
--program-transf \
983 |
--program-trans |
--program-tran \
984 |
--progr-tra |
--program-tr |
--program-t)
985 ac_prev
=program_transform_name
;;
986 -program-transform-name=* |
--program-transform-name=* \
987 |
--program-transform-nam=* |
--program-transform-na=* \
988 |
--program-transform-n=* |
--program-transform-=* \
989 |
--program-transform=* |
--program-transfor=* \
990 |
--program-transfo=* |
--program-transf=* \
991 |
--program-trans=* |
--program-tran=* \
992 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
993 program_transform_name
=$ac_optarg ;;
995 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
997 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1000 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1002 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1005 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1006 |
-silent |
--silent |
--silen |
--sile |
--sil)
1009 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1011 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1013 sbindir
=$ac_optarg ;;
1015 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1016 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1017 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1019 ac_prev
=sharedstatedir
;;
1020 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1021 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1022 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1024 sharedstatedir
=$ac_optarg ;;
1026 -site |
--site |
--sit)
1028 -site=* |
--site=* |
--sit=*)
1031 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1033 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1034 srcdir
=$ac_optarg ;;
1036 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1037 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1038 ac_prev
=sysconfdir
;;
1039 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1040 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1041 sysconfdir
=$ac_optarg ;;
1043 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1044 ac_prev
=target_alias
;;
1045 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1046 target_alias
=$ac_optarg ;;
1048 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1051 -version |
--version |
--versio |
--versi |
--vers |
-V)
1052 ac_init_version
=: ;;
1055 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1058 as_fn_error $?
"invalid package name: $ac_useropt"
1059 ac_useropt_orig
=$ac_useropt
1060 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1065 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1066 ac_unrecognized_sep
=', ';;
1068 eval with_
$ac_useropt=\
$ac_optarg ;;
1070 -without-* |
--without-*)
1071 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1072 # Reject names that are not valid shell variable names.
1073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1074 as_fn_error $?
"invalid package name: $ac_useropt"
1075 ac_useropt_orig
=$ac_useropt
1076 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1077 case $ac_user_opts in
1081 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1082 ac_unrecognized_sep
=', ';;
1084 eval with_
$ac_useropt=no
;;
1087 # Obsolete; use --with-x.
1090 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1091 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1092 ac_prev
=x_includes
;;
1093 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1094 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1095 x_includes
=$ac_optarg ;;
1097 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1098 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1099 ac_prev
=x_libraries
;;
1100 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1101 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1102 x_libraries
=$ac_optarg ;;
1104 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1105 Try \`$0 --help' for more information"
1109 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1110 # Reject names that are not valid shell variable names.
1111 case $ac_envvar in #(
1112 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1113 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1115 eval $ac_envvar=\
$ac_optarg
1116 export $ac_envvar ;;
1119 # FIXME: should be removed in autoconf 3.0.
1120 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1121 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1122 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1123 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1129 if test -n "$ac_prev"; then
1130 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1131 as_fn_error $?
"missing argument to $ac_option"
1134 if test -n "$ac_unrecognized_opts"; then
1135 case $enable_option_checking in
1137 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1138 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1142 # Check all directory arguments for consistency.
1143 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1144 datadir sysconfdir sharedstatedir localstatedir includedir \
1145 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1146 libdir localedir mandir
1148 eval ac_val
=\$
$ac_var
1149 # Remove trailing slashes.
1152 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1153 eval $ac_var=\
$ac_val;;
1155 # Be sure to have absolute directory names.
1157 [\\/$
]* | ?
:[\\/]* ) continue;;
1158 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1160 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1163 # There might be people who depend on the old broken behavior: `$host'
1164 # used to hold the argument of --host etc.
1165 # FIXME: To remove some day.
1168 target
=$target_alias
1170 # FIXME: To remove some day.
1171 if test "x$host_alias" != x
; then
1172 if test "x$build_alias" = x
; then
1173 cross_compiling
=maybe
1174 elif test "x$build_alias" != "x$host_alias"; then
1180 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1182 test "$silent" = yes && exec 6>/dev
/null
1185 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1186 ac_ls_di
=`ls -di .` &&
1187 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1188 as_fn_error $?
"working directory cannot be determined"
1189 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1190 as_fn_error $?
"pwd does not report name of working directory"
1193 # Find the source files, if location was not specified.
1194 if test -z "$srcdir"; then
1195 ac_srcdir_defaulted
=yes
1196 # Try the directory containing this script, then the parent directory.
1197 ac_confdir
=`$as_dirname -- "$as_myself" ||
1198 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1199 X"$as_myself" : 'X\(//\)[^/]' \| \
1200 X"$as_myself" : 'X\(//\)$' \| \
1201 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1202 $as_echo X"$as_myself" |
1203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1221 if test ! -r "$srcdir/$ac_unique_file"; then
1225 ac_srcdir_defaulted
=no
1227 if test ! -r "$srcdir/$ac_unique_file"; then
1228 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1229 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1231 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1233 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1235 # When building in place, set srcdir=.
1236 if test "$ac_abs_confdir" = "$ac_pwd"; then
1239 # Remove unnecessary trailing slashes from srcdir.
1240 # Double slashes in file names in object file debugging info
1241 # mess up M-x gdb in Emacs.
1243 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1245 for ac_var
in $ac_precious_vars; do
1246 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1247 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1248 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1249 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1253 # Report the --help message.
1255 if test "$ac_init_help" = "long"; then
1256 # Omit some internal or obsolete options to make the list less imposing.
1257 # This message is too long to be a string in the A/UX 3.1 sh.
1259 \`configure' configures this package to adapt to many kinds of systems.
1261 Usage: $0 [OPTION]... [VAR=VALUE]...
1263 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1264 VAR=VALUE. See below for descriptions of some of the useful variables.
1266 Defaults for the options are specified in brackets.
1269 -h, --help display this help and exit
1270 --help=short display options specific to this package
1271 --help=recursive display the short help of all the included packages
1272 -V, --version display version information and exit
1273 -q, --quiet, --silent do not print \`checking ...' messages
1274 --cache-file=FILE cache test results in FILE [disabled]
1275 -C, --config-cache alias for \`--cache-file=config.cache'
1276 -n, --no-create do not create output files
1277 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1279 Installation directories:
1280 --prefix=PREFIX install architecture-independent files in PREFIX
1281 [$ac_default_prefix]
1282 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1285 By default, \`make install' will install all the files in
1286 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1287 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1288 for instance \`--prefix=\$HOME'.
1290 For better control, use the options below.
1292 Fine tuning of the installation directories:
1293 --bindir=DIR user executables [EPREFIX/bin]
1294 --sbindir=DIR system admin executables [EPREFIX/sbin]
1295 --libexecdir=DIR program executables [EPREFIX/libexec]
1296 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1297 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1298 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1299 --libdir=DIR object code libraries [EPREFIX/lib]
1300 --includedir=DIR C header files [PREFIX/include]
1301 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1302 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1303 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1304 --infodir=DIR info documentation [DATAROOTDIR/info]
1305 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1306 --mandir=DIR man documentation [DATAROOTDIR/man]
1307 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1308 --htmldir=DIR html documentation [DOCDIR]
1309 --dvidir=DIR dvi documentation [DOCDIR]
1310 --pdfdir=DIR pdf documentation [DOCDIR]
1311 --psdir=DIR ps documentation [DOCDIR]
1317 --build=BUILD configure
for building on BUILD
[guessed
]
1318 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1319 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1323 if test -n "$ac_init_help"; then
1328 --disable-option-checking ignore unrecognized
--enable/--with options
1329 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1330 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1331 --enable-c++-tools build auxiliary c
++ tools
1332 --enable-maintainer-mode
1333 enable maintainer mode. Add rules to rebuild
1335 --enable-default-pie enable Position Independent Executable as default
1338 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1339 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1340 --with-gcc-major-version-only
1341 use only GCC major number
in filesystem paths
1343 Some influential environment variables
:
1344 CXX C
++ compiler
command
1345 CXXFLAGS C
++ compiler flags
1346 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1347 nonstandard directory
<lib dir
>
1348 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1349 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1350 you have headers
in a nonstandard directory
<include dir
>
1351 CC C compiler
command
1352 CFLAGS C compiler flags
1355 Use these variables to override the choices made by
`configure' or to help
1356 it to find libraries and programs with nonstandard names/locations.
1358 Report bugs to the package provider.
1363 if test "$ac_init_help" = "recursive"; then
1364 # If there are subdirs, report their specific --help.
1365 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1366 test -d "$ac_dir" ||
1367 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1372 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1374 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1375 # A ".." for each directory in $ac_dir_suffix.
1376 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1377 case $ac_top_builddir_sub in
1378 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1379 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1382 ac_abs_top_builddir=$ac_pwd
1383 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1384 # for backward compatibility:
1385 ac_top_builddir=$ac_top_build_prefix
1388 .) # We are building in place.
1390 ac_top_srcdir=$ac_top_builddir_sub
1391 ac_abs_top_srcdir=$ac_pwd ;;
1392 [\\/]* | ?:[\\/]* ) # Absolute name.
1393 ac_srcdir=$srcdir$ac_dir_suffix;
1394 ac_top_srcdir=$srcdir
1395 ac_abs_top_srcdir=$srcdir ;;
1397 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1398 ac_top_srcdir=$ac_top_build_prefix$srcdir
1399 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1401 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1403 cd "$ac_dir" || { ac_status=$?; continue; }
1404 # Check for guested configure.
1405 if test -f "$ac_srcdir/configure.gnu"; then
1407 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1408 elif test -f "$ac_srcdir/configure"; then
1410 $SHELL "$ac_srcdir/configure" --help=recursive
1412 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1414 cd "$ac_pwd" || { ac_status=$?; break; }
1418 test -n "$ac_init_help" && exit $ac_status
1419 if $ac_init_version; then
1422 generated by GNU Autoconf 2.69
1424 Copyright (C) 2012 Free Software Foundation, Inc.
1425 This configure script is free software; the Free Software Foundation
1426 gives unlimited permission to copy, distribute and modify it.
1431 ## ------------------------ ##
1432 ## Autoconf initialization. ##
1433 ## ------------------------ ##
1435 # ac_fn_cxx_try_compile LINENO
1436 # ----------------------------
1437 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1438 ac_fn_cxx_try_compile ()
1440 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1441 rm -f conftest.$ac_objext
1442 if { { ac_try="$ac_compile"
1444 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1445 *) ac_try_echo
=$ac_try;;
1447 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1448 $as_echo "$ac_try_echo"; } >&5
1449 (eval "$ac_compile") 2>conftest.err
1451 if test -s conftest.err
; then
1452 grep -v '^ *+' conftest.err
>conftest.er1
1453 cat conftest.er1
>&5
1454 mv -f conftest.er1 conftest.err
1456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1457 test $ac_status = 0; } && {
1458 test -z "$ac_cxx_werror_flag" ||
1459 test ! -s conftest.err
1460 } && test -s conftest.
$ac_objext; then :
1463 $as_echo "$as_me: failed program was:" >&5
1464 sed 's/^/| /' conftest.
$ac_ext >&5
1468 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1469 as_fn_set_status
$ac_retval
1471 } # ac_fn_cxx_try_compile
1473 # ac_fn_c_try_compile LINENO
1474 # --------------------------
1475 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1476 ac_fn_c_try_compile
()
1478 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1479 rm -f conftest.
$ac_objext
1480 if { { ac_try
="$ac_compile"
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_compile") 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; } && {
1496 test -z "$ac_c_werror_flag" ||
1497 test ! -s conftest.err
1498 } && test -s conftest.$ac_objext; then :
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
1509 } # ac_fn_c_try_compile
1511 # ac_fn_c_try_cpp LINENO
1512 # ----------------------
1513 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1516 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1517 if { { ac_try="$ac_cpp conftest.$ac_ext"
1519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1520 *) ac_try_echo
=$ac_try;;
1522 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1523 $as_echo "$ac_try_echo"; } >&5
1524 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1526 if test -s conftest.err
; then
1527 grep -v '^ *+' conftest.err
>conftest.er1
1528 cat conftest.er1
>&5
1529 mv -f conftest.er1 conftest.err
1531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1532 test $ac_status = 0; } > conftest.i
&& {
1533 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1534 test ! -s conftest.err
1538 $as_echo "$as_me: failed program was:" >&5
1539 sed 's/^/| /' conftest.
$ac_ext >&5
1543 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1544 as_fn_set_status
$ac_retval
1548 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1549 # -------------------------------------------------------
1550 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1551 # the include files in INCLUDES and setting the cache variable VAR
1553 ac_fn_c_check_header_mongrel
()
1555 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1556 if eval \
${$3+:} false
; then :
1557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1558 $as_echo_n "checking for $2... " >&6; }
1559 if eval \
${$3+:} false
; then :
1560 $as_echo_n "(cached) " >&6
1563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1564 $as_echo "$ac_res" >&6; }
1566 # Is the header compilable?
1567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1568 $as_echo_n "checking $2 usability... " >&6; }
1569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1570 /* end confdefs.h. */
1574 if ac_fn_c_try_compile
"$LINENO"; then :
1575 ac_header_compiler
=yes
1577 ac_header_compiler
=no
1579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1581 $as_echo "$ac_header_compiler" >&6; }
1583 # Is the header present?
1584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1585 $as_echo_n "checking $2 presence... " >&6; }
1586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1587 /* end confdefs.h. */
1590 if ac_fn_c_try_cpp
"$LINENO"; then :
1591 ac_header_preproc
=yes
1593 ac_header_preproc
=no
1595 rm -f conftest.err conftest.i conftest.
$ac_ext
1596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1597 $as_echo "$ac_header_preproc" >&6; }
1599 # So? What about this header?
1600 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1603 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1605 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1609 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1611 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1613 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1615 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1617 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1621 $as_echo_n "checking for $2... " >&6; }
1622 if eval \
${$3+:} false
; then :
1623 $as_echo_n "(cached) " >&6
1625 eval "$3=\$ac_header_compiler"
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1629 $as_echo "$ac_res" >&6; }
1631 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1633 } # ac_fn_c_check_header_mongrel
1635 # ac_fn_c_try_run LINENO
1636 # ----------------------
1637 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1638 # that executables *can* be run.
1641 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1642 if { { ac_try
="$ac_link"
1644 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1645 *) ac_try_echo=$ac_try;;
1647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1648 $as_echo "$ac_try_echo"; } >&5
1649 (eval "$ac_link") 2>&5
1651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1653 { { case "(($ac_try" in
1654 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1655 *) ac_try_echo
=$ac_try;;
1657 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1658 $as_echo "$ac_try_echo"; } >&5
1659 (eval "$ac_try") 2>&5
1661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1662 test $ac_status = 0; }; }; then :
1665 $as_echo "$as_me: program exited with status $ac_status" >&5
1666 $as_echo "$as_me: failed program was:" >&5
1667 sed 's/^/| /' conftest.
$ac_ext >&5
1669 ac_retval
=$ac_status
1671 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1673 as_fn_set_status
$ac_retval
1677 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1678 # -------------------------------------------------------
1679 # Tests whether HEADER exists and can be compiled using the include files in
1680 # INCLUDES, setting the cache variable VAR accordingly.
1681 ac_fn_c_check_header_compile
()
1683 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1685 $as_echo_n "checking for $2... " >&6; }
1686 if eval \
${$3+:} false
; then :
1687 $as_echo_n "(cached) " >&6
1689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1690 /* end confdefs.h. */
1694 if ac_fn_c_try_compile
"$LINENO"; then :
1699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1703 $as_echo "$ac_res" >&6; }
1704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1706 } # ac_fn_c_check_header_compile
1708 # ac_fn_c_try_link LINENO
1709 # -----------------------
1710 # Try to link conftest.$ac_ext, and return whether this succeeded.
1713 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1714 rm -f conftest.
$ac_objext conftest
$ac_exeext
1715 if { { ac_try
="$ac_link"
1717 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1718 *) ac_try_echo=$ac_try;;
1720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1721 $as_echo "$ac_try_echo"; } >&5
1722 (eval "$ac_link") 2>conftest.err
1724 if test -s conftest.err; then
1725 grep -v '^ *+' conftest.err >conftest.er1
1726 cat conftest.er1 >&5
1727 mv -f conftest.er1 conftest.err
1729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1730 test $ac_status = 0; } && {
1731 test -z "$ac_c_werror_flag" ||
1732 test ! -s conftest.err
1733 } && test -s conftest$ac_exeext && {
1734 test "$cross_compiling" = yes ||
1735 test -x conftest$ac_exeext
1739 $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.$ac_ext >&5
1744 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1745 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1746 # interfere with the next link command; also delete a directory that is
1747 # left behind by Apple's compiler. We do this before executing the actions.
1748 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1750 as_fn_set_status $ac_retval
1752 } # ac_fn_c_try_link
1753 cat >config.log <<_ACEOF
1754 This file contains any messages produced by compilers while
1755 running configure, to aid debugging if configure makes a mistake.
1757 It was created by $as_me, which was
1758 generated by GNU Autoconf 2.69. Invocation command line was
1770 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1771 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1772 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1773 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1774 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1776 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1777 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1779 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1780 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1781 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1782 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1783 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1784 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1785 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1793 test -z "$as_dir" && as_dir=.
1794 $as_echo "PATH: $as_dir"
1810 # Keep a trace of the command line.
1811 # Strip out --no-create and --no-recursion so they do not pile up.
1812 # Strip out --silent because we don't want to record it for future runs.
1813 # Also quote any args containing shell meta-characters.
1814 # Make two passes to allow for proper duplicate-argument suppression.
1818 ac_must_keep_next=false
1824 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1825 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1826 | -silent | --silent | --silen | --sile | --sil)
1829 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1832 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1834 as_fn_append ac_configure_args1 " '$ac_arg'"
1835 if test $ac_must_keep_next = true; then
1836 ac_must_keep_next=false # Got value, back to normal.
1839 *=* | --config-cache | -C | -disable-* | --disable-* \
1840 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1841 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1842 | -with-* | --with-* | -without-* | --without-* | --x)
1843 case "$ac_configure_args0 " in
1844 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1847 -* ) ac_must_keep_next=true ;;
1850 as_fn_append ac_configure_args " '$ac_arg'"
1855 { ac_configure_args0=; unset ac_configure_args0;}
1856 { ac_configure_args1=; unset ac_configure_args1;}
1858 # When interrupted or exit'd, cleanup temporary files, and complete
1859 # config.log. We remove comments because anyway the quotes in there
1860 # would cause problems or look ugly.
1861 # WARNING: Use '\'' to represent an apostrophe within the trap.
1862 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1863 trap 'exit_status=$?
1864 # Save into config.log some information that might help in debugging.
1868 $as_echo "## ---------------- ##
1869 ## Cache variables. ##
1870 ## ---------------- ##"
1872 # The following way of writing the cache mishandles newlines in values,
1874 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1875 eval ac_val=\$$ac_var
1879 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1880 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1883 _ | IFS | as_nl) ;; #(
1884 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1885 *) { eval $ac_var=; unset $ac_var;} ;;
1890 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1891 *${as_nl}ac_space=\ *)
1893 "s/'\''/'\''\\\\'\'''\''/g;
1894 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1897 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1904 $as_echo "## ----------------- ##
1905 ## Output variables. ##
1906 ## ----------------- ##"
1908 for ac_var in $ac_subst_vars
1910 eval ac_val=\$$ac_var
1912 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1914 $as_echo "$ac_var='\''$ac_val'\''"
1918 if test -n "$ac_subst_files"; then
1919 $as_echo "## ------------------- ##
1920 ## File substitutions. ##
1921 ## ------------------- ##"
1923 for ac_var in $ac_subst_files
1925 eval ac_val=\$$ac_var
1927 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1929 $as_echo "$ac_var='\''$ac_val'\''"
1934 if test -s confdefs.h; then
1935 $as_echo "## ----------- ##
1942 test "$ac_signal" != 0 &&
1943 $as_echo "$as_me: caught signal $ac_signal"
1944 $as_echo "$as_me: exit $exit_status"
1946 rm -f core *.core core.conftest.* &&
1947 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1950 for ac_signal in 1 2 13 15; do
1951 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1955 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1956 rm -f -r conftest* confdefs.h
1958 $as_echo "/* confdefs.h */" > confdefs.h
1960 # Predefined preprocessor variables.
1962 cat >>confdefs.h <<_ACEOF
1963 #define PACKAGE_NAME "$PACKAGE_NAME"
1966 cat >>confdefs.h <<_ACEOF
1967 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1970 cat >>confdefs.h <<_ACEOF
1971 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1974 cat >>confdefs.h <<_ACEOF
1975 #define PACKAGE_STRING "$PACKAGE_STRING"
1978 cat >>confdefs.h <<_ACEOF
1979 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1982 cat >>confdefs.h <<_ACEOF
1983 #define PACKAGE_URL "$PACKAGE_URL"
1987 # Let the site file select an alternate cache file if it wants to.
1988 # Prefer an explicitly selected file to automatically selected ones.
1991 if test -n "$CONFIG_SITE"; then
1992 # We do not want a PATH search for config.site.
1993 case $CONFIG_SITE in #((
1994 -*) ac_site_file1=./$CONFIG_SITE;;
1995 */*) ac_site_file1=$CONFIG_SITE;;
1996 *) ac_site_file1=./$CONFIG_SITE;;
1998 elif test "x$prefix" != xNONE; then
1999 ac_site_file1=$prefix/share/config.site
2000 ac_site_file2=$prefix/etc/config.site
2002 ac_site_file1=$ac_default_prefix/share/config.site
2003 ac_site_file2=$ac_default_prefix/etc/config.site
2005 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2007 test "x$ac_site_file" = xNONE && continue
2008 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2010 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2011 sed 's/^/| /' "$ac_site_file" >&5
2013 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2015 as_fn_error $? "failed to load site
script $ac_site_file
2016 See \
`config.log' for more details" "$LINENO" 5; }
2020 if test -r "$cache_file"; then
2021 # Some versions of bash will fail to source /dev/null (special files
2022 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2023 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2025 $as_echo "$as_me: loading cache $cache_file" >&6;}
2027 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2028 *) . "./$cache_file";;
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2033 $as_echo "$as_me: creating cache $cache_file" >&6;}
2037 # Check that the precious variables saved in the cache have kept the same
2039 ac_cache_corrupted=false
2040 for ac_var in $ac_precious_vars; do
2041 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2042 eval ac_new_set=\$ac_env_${ac_var}_set
2043 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2044 eval ac_new_val=\$ac_env_${ac_var}_value
2045 case $ac_old_set,$ac_new_set in
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2048 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2049 ac_cache_corrupted=: ;;
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2052 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2053 ac_cache_corrupted=: ;;
2056 if test "x$ac_old_val" != "x$ac_new_val"; then
2057 # differences in whitespace do not lead to failure.
2058 ac_old_val_w=`echo x
$ac_old_val`
2059 ac_new_val_w=`echo x
$ac_new_val`
2060 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2062 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2063 ac_cache_corrupted=:
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2066 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2067 eval $ac_var=\$ac_old_val
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2070 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2072 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2075 # Pass precious variables to config.status.
2076 if test "$ac_new_set" = set; then
2078 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2079 *) ac_arg=$ac_var=$ac_new_val ;;
2081 case " $ac_configure_args " in
2082 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2083 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2087 if $ac_cache_corrupted; then
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2089 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2091 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2092 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2094 ## -------------------- ##
2095 ## Main body of script. ##
2096 ## -------------------- ##
2099 ac_cpp='$CPP $CPPFLAGS'
2100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2108 # Determine the noncanonical names used for directories.
2110 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2111 if test -f "$ac_dir/install-sh"; then
2113 ac_install_sh="$ac_aux_dir/install-sh -c"
2115 elif test -f "$ac_dir/install.sh"; then
2117 ac_install_sh="$ac_aux_dir/install.sh -c"
2119 elif test -f "$ac_dir/shtool"; then
2121 ac_install_sh="$ac_aux_dir/shtool install -c"
2125 if test -z "$ac_aux_dir"; then
2126 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2129 # These three variables are undocumented and unsupported,
2130 # and are intended to be withdrawn in a future Autoconf release.
2131 # They can cause serious problems if a builder's source tree is in a directory
2132 # whose full name contains unusual characters.
2133 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2134 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2135 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2138 # Make sure we can run config.sub.
2139 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2140 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2143 $as_echo_n "checking build system type... " >&6; }
2144 if ${ac_cv_build+:} false; then :
2145 $as_echo_n "(cached) " >&6
2147 ac_build_alias=$build_alias
2148 test "x$ac_build_alias" = x &&
2149 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2150 test "x$ac_build_alias" = x &&
2151 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2152 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2153 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2157 $as_echo "$ac_cv_build" >&6; }
2158 case $ac_cv_build in
2160 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2163 ac_save_IFS=$IFS; IFS='-'
2169 # Remember, the first character of IFS is used to create $*,
2170 # except with old shells:
2173 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2176 case ${build_alias} in
2177 "") build_noncanonical=${build} ;;
2178 *) build_noncanonical=${build_alias} ;;
2181 case ${host_alias} in
2182 "") host_noncanonical=${build_noncanonical} ;;
2183 *) host_noncanonical=${host_alias} ;;
2186 case ${target_alias} in
2187 "") target_noncanonical=${host_noncanonical} ;;
2188 *) target_noncanonical=${target_alias} ;;
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2195 $as_echo_n "checking host system type... " >&6; }
2196 if ${ac_cv_host+:} false; then :
2197 $as_echo_n "(cached) " >&6
2199 if test "x$host_alias" = x; then
2200 ac_cv_host=$ac_cv_build
2202 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2203 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2208 $as_echo "$ac_cv_host" >&6; }
2211 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2214 ac_save_IFS=$IFS; IFS='-'
2220 # Remember, the first character of IFS is used to create $*,
2221 # except with old shells:
2224 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2228 $as_echo_n "checking target system type... " >&6; }
2229 if ${ac_cv_target+:} false; then :
2230 $as_echo_n "(cached) " >&6
2232 if test "x$target_alias" = x; then
2233 ac_cv_target=$ac_cv_host
2235 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2236 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2241 $as_echo "$ac_cv_target" >&6; }
2242 case $ac_cv_target in
2244 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2246 target=$ac_cv_target
2247 ac_save_IFS=$IFS; IFS='-'
2253 # Remember, the first character of IFS is used to create $*,
2254 # except with old shells:
2257 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2260 # The aliases save the names the user supplied, while $host etc.
2261 # will get canonicalized.
2262 test -n "$target_alias" &&
2263 test "$program_prefix$program_suffix$program_transform_name" = \
2265 program_prefix=${target_alias}-
2267 # Find a good install program. We prefer a C program (faster),
2268 # so one script is as good as another. But avoid the broken or
2269 # incompatible versions:
2270 # SysV /etc/install, /usr/sbin/install
2271 # SunOS /usr/etc/install
2272 # IRIX /sbin/install
2274 # AmigaOS /C/install, which installs bootblocks on floppy discs
2275 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2276 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2277 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2278 # OS/2's system install, which has a completely different semantic
2279 # ./install, which can be erroneously created by make from ./install.sh.
2280 # Reject install programs that cannot install multiple files.
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2282 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2283 if test -z "$INSTALL"; then
2284 if ${ac_cv_path_install+:} false; then :
2285 $as_echo_n "(cached) " >&6
2287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2291 test -z "$as_dir" && as_dir=.
2292 # Account for people who put trailing slashes in PATH elements.
2293 case $as_dir/ in #((
2294 ./ | .// | /[cC]/* | \
2295 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2296 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2299 # OSF1 and SCO ODT 3.0 have their own names for install.
2300 # Don't use installbsd from OSF since it installs stuff as root
2302 for ac_prog in ginstall scoinst install; do
2303 for ac_exec_ext in '' $ac_executable_extensions; do
2304 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2305 if test $ac_prog = install &&
2306 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2307 # AIX install. It has an incompatible calling convention.
2309 elif test $ac_prog = install &&
2310 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2311 # program-specific install script used by HP pwplus--don't use.
2314 rm -rf conftest.one conftest.two conftest.dir
2315 echo one > conftest.one
2316 echo two > conftest.two
2318 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2319 test -s conftest.one && test -s conftest.two &&
2320 test -s conftest.dir/conftest.one &&
2321 test -s conftest.dir/conftest.two
2323 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2336 rm -rf conftest.one conftest.two conftest.dir
2339 if test "${ac_cv_path_install+set}" = set; then
2340 INSTALL=$ac_cv_path_install
2342 # As a last resort, use the slow shell script. Don't cache a
2343 # value for INSTALL within a source directory, because that will
2344 # break other packages using the cache if that directory is
2345 # removed, or if the value is a relative name.
2346 INSTALL=$ac_install_sh
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2350 $as_echo "$INSTALL" >&6; }
2352 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2353 # It thinks the first close brace ends the variable substitution.
2354 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2356 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2358 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2360 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2364 ac_cpp='$CXXCPP $CPPFLAGS'
2365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2368 if test -z "$CXX"; then
2369 if test -n "$CCC"; then
2372 if test -n "$ac_tool_prefix"; then
2373 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2375 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2376 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2378 $as_echo_n "checking for $ac_word... " >&6; }
2379 if ${ac_cv_prog_CXX+:} false; then :
2380 $as_echo_n "(cached) " >&6
2382 if test -n "$CXX"; then
2383 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2389 test -z "$as_dir" && as_dir=.
2390 for ac_exec_ext in '' $ac_executable_extensions; do
2391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2392 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2403 if test -n "$CXX"; then
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2405 $as_echo "$CXX" >&6; }
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2408 $as_echo "no" >&6; }
2412 test -n "$CXX" && break
2415 if test -z "$CXX"; then
2417 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2419 # Extract the first word of "$ac_prog", so it can be a program name with args.
2420 set dummy $ac_prog; ac_word=$2
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2422 $as_echo_n "checking for $ac_word... " >&6; }
2423 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2424 $as_echo_n "(cached) " >&6
2426 if test -n "$ac_ct_CXX"; then
2427 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2433 test -z "$as_dir" && as_dir=.
2434 for ac_exec_ext in '' $ac_executable_extensions; do
2435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2436 ac_cv_prog_ac_ct_CXX="$ac_prog"
2437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2446 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2447 if test -n "$ac_ct_CXX"; then
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2449 $as_echo "$ac_ct_CXX" >&6; }
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2452 $as_echo "no" >&6; }
2456 test -n "$ac_ct_CXX" && break
2459 if test "x$ac_ct_CXX" = x; then
2462 case $cross_compiling:$ac_tool_warned in
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2466 ac_tool_warned=yes ;;
2474 # Provide some information about the compiler.
2475 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2478 for ac_option in --version -v -V -qversion; do
2479 { { ac_try="$ac_compiler $ac_option >&5"
2481 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2482 *) ac_try_echo
=$ac_try;;
2484 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2485 $as_echo "$ac_try_echo"; } >&5
2486 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2488 if test -s conftest.err
; then
2490 ... rest of stderr output deleted ...
2491 10q' conftest.err
>conftest.er1
2492 cat conftest.er1
>&5
2494 rm -f conftest.er1 conftest.err
2495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2496 test $ac_status = 0; }
2499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2500 /* end confdefs.h. */
2510 ac_clean_files_save
=$ac_clean_files
2511 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2512 # Try to create an executable without -o first, disregard a.out.
2513 # It will help us diagnose broken compilers, and finding out an intuition
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2516 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2517 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2519 # The possible output files:
2520 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2523 for ac_file
in $ac_files
2526 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2527 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2532 if { { ac_try
="$ac_link_default"
2534 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2535 *) ac_try_echo=$ac_try;;
2537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2538 $as_echo "$ac_try_echo"; } >&5
2539 (eval "$ac_link_default") 2>&5
2541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2542 test $ac_status = 0; }; then :
2543 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2544 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2545 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2546 # so that the user can short-circuit this test for compilers unknown to
2548 for ac_file in $ac_files ''
2550 test -f "$ac_file" || continue
2552 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2555 # We found the default executable, but exeext='' is most
2559 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2561 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2563 # We set ac_cv_exeext here because the later test for it is not
2564 # safe: cross compilers may not add the suffix if given an `-o'
2565 # argument, so we may need to know it at that point already.
2566 # Even if this section looks crufty: it has the advantage of
2573 test "$ac_cv_exeext" = no && ac_cv_exeext=
2578 if test -z "$ac_file"; then :
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2580 $as_echo "no" >&6; }
2581 $as_echo "$as_me: failed program was:" >&5
2582 sed 's
/^
/|
/' conftest.$ac_ext >&5
2584 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2585 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2586 as_fn_error 77 "C++ compiler cannot create executables
2587 See \`config.log
' for more details" "$LINENO" 5; }
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2590 $as_echo "yes" >&6; }
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2593 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2595 $as_echo "$ac_file" >&6; }
2596 ac_exeext=$ac_cv_exeext
2598 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2599 ac_clean_files=$ac_clean_files_save
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2601 $as_echo_n "checking for suffix of executables... " >&6; }
2602 if { { ac_try="$ac_link"
2604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2605 *) ac_try_echo=$ac_try;;
2607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2608 $as_echo "$ac_try_echo"; } >&5
2609 (eval "$ac_link") 2>&5
2611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2612 test $ac_status = 0; }; then :
2613 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2614 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2615 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2617 for ac_file
in conftest.exe conftest conftest.
*; do
2618 test -f "$ac_file" ||
continue
2620 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2621 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2627 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2629 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2630 See \`config.log' for more details" "$LINENO" 5; }
2632 rm -f conftest conftest
$ac_cv_exeext
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2634 $as_echo "$ac_cv_exeext" >&6; }
2636 rm -f conftest.
$ac_ext
2637 EXEEXT
=$ac_cv_exeext
2639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2640 /* end confdefs.h. */
2645 FILE *f = fopen ("conftest.out", "w");
2646 return ferror (f) || fclose (f) != 0;
2652 ac_clean_files
="$ac_clean_files conftest.out"
2653 # Check that the compiler produces executables we can run. If not, either
2654 # the compiler is broken, or we cross compile.
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2656 $as_echo_n "checking whether we are cross compiling... " >&6; }
2657 if test "$cross_compiling" != yes; then
2658 { { ac_try
="$ac_link"
2660 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2661 *) ac_try_echo=$ac_try;;
2663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2664 $as_echo "$ac_try_echo"; } >&5
2665 (eval "$ac_link") 2>&5
2667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2668 test $ac_status = 0; }
2669 if { ac_try='./conftest$ac_cv_exeext'
2670 { { case "(($ac_try" in
2671 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2672 *) ac_try_echo
=$ac_try;;
2674 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2675 $as_echo "$ac_try_echo"; } >&5
2676 (eval "$ac_try") 2>&5
2678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2679 test $ac_status = 0; }; }; then
2682 if test "$cross_compiling" = maybe
; then
2685 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2687 as_fn_error $?
"cannot run C++ compiled programs.
2688 If you meant to cross compile, use \`--host'.
2689 See \`config.log' for more details" "$LINENO" 5; }
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2694 $as_echo "$cross_compiling" >&6; }
2696 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2697 ac_clean_files
=$ac_clean_files_save
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2699 $as_echo_n "checking for suffix of object files... " >&6; }
2700 if ${ac_cv_objext+:} false
; then :
2701 $as_echo_n "(cached) " >&6
2703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2704 /* end confdefs.h. */
2714 rm -f conftest.o conftest.obj
2715 if { { ac_try
="$ac_compile"
2717 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2718 *) ac_try_echo=$ac_try;;
2720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2721 $as_echo "$ac_try_echo"; } >&5
2722 (eval "$ac_compile") 2>&5
2724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2725 test $ac_status = 0; }; then :
2726 for ac_file in conftest.o conftest.obj conftest.*; do
2727 test -f "$ac_file" || continue;
2729 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2730 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2735 $as_echo "$as_me: failed program was:" >&5
2736 sed 's/^/| /' conftest.$ac_ext >&5
2738 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2740 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2741 See \
`config.log' for more details" "$LINENO" 5; }
2743 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2746 $as_echo "$ac_cv_objext" >&6; }
2747 OBJEXT=$ac_cv_objext
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2750 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2751 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2752 $as_echo_n "(cached) " >&6
2754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2755 /* end confdefs.h. */
2768 if ac_fn_cxx_try_compile "$LINENO"; then :
2773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2774 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2778 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2779 if test $ac_compiler_gnu = yes; then
2784 ac_test_CXXFLAGS=${CXXFLAGS+set}
2785 ac_save_CXXFLAGS=$CXXFLAGS
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2787 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2788 if ${ac_cv_prog_cxx_g+:} false; then :
2789 $as_echo_n "(cached) " >&6
2791 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2792 ac_cxx_werror_flag=yes
2795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2796 /* end confdefs.h. */
2806 if ac_fn_cxx_try_compile "$LINENO"; then :
2807 ac_cv_prog_cxx_g=yes
2810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2811 /* end confdefs.h. */
2821 if ac_fn_cxx_try_compile "$LINENO"; then :
2824 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2827 /* end confdefs.h. */
2837 if ac_fn_cxx_try_compile "$LINENO"; then :
2838 ac_cv_prog_cxx_g=yes
2840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2845 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2848 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2849 if test "$ac_test_CXXFLAGS" = set; then
2850 CXXFLAGS=$ac_save_CXXFLAGS
2851 elif test $ac_cv_prog_cxx_g = yes; then
2852 if test "$GXX" = yes; then
2858 if test "$GXX" = yes; then
2865 ac_cpp='$CPP $CPPFLAGS'
2866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2870 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
2871 for ac_prog in autoconf
2873 # Extract the first word of "$ac_prog", so it can be a program name with args.
2874 set dummy $ac_prog; ac_word=$2
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2876 $as_echo_n "checking for $ac_word... " >&6; }
2877 if ${ac_cv_prog_AUTOCONF+:} false; then :
2878 $as_echo_n "(cached) " >&6
2880 if test -n "$AUTOCONF"; then
2881 ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
2883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2887 test -z "$as_dir" && as_dir=.
2888 for ac_exec_ext in '' $ac_executable_extensions; do
2889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2890 ac_cv_prog_AUTOCONF="$ac_prog"
2891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2900 AUTOCONF=$ac_cv_prog_AUTOCONF
2901 if test -n "$AUTOCONF"; then
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
2903 $as_echo "$AUTOCONF" >&6; }
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2906 $as_echo "no" >&6; }
2910 test -n "$AUTOCONF" && break
2912 test -n "$AUTOCONF" || AUTOCONF="$MISSING autoconf"
2914 for ac_prog in autoheader
2916 # Extract the first word of "$ac_prog", so it can be a program name with args.
2917 set dummy $ac_prog; ac_word=$2
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2919 $as_echo_n "checking for $ac_word... " >&6; }
2920 if ${ac_cv_prog_AUTOHEADER+:} false; then :
2921 $as_echo_n "(cached) " >&6
2923 if test -n "$AUTOHEADER"; then
2924 ac_cv_prog_AUTOHEADER="$AUTOHEADER" # Let the user override the test.
2926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2930 test -z "$as_dir" && as_dir=.
2931 for ac_exec_ext in '' $ac_executable_extensions; do
2932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2933 ac_cv_prog_AUTOHEADER="$ac_prog"
2934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2943 AUTOHEADER=$ac_cv_prog_AUTOHEADER
2944 if test -n "$AUTOHEADER"; then
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
2946 $as_echo "$AUTOHEADER" >&6; }
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2949 $as_echo "no" >&6; }
2953 test -n "$AUTOHEADER" && break
2955 test -n "$AUTOHEADER" || AUTOHEADER="$MISSING autoheader"
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build C++ tools" >&5
2959 $as_echo_n "checking whether to build C++ tools... " >&6; }
2960 # Check whether --enable-c++-tools was given.
2961 if test "${enable_c___tools+set}" = set; then :
2962 enableval=$enable_c___tools; cxx_aux_tools=$enableval
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cxx_aux_tools" >&5
2969 $as_echo "$cxx_aux_tools" >&6; }
2970 CXX_AUX_TOOLS="$cxx_aux_tools"
2973 # Check whether --enable-maintainer-mode was given.
2974 if test "${enable_maintainer_mode+set}" = set; then :
2975 enableval=$enable_maintainer_mode;
2977 enable_maintainer_mode=no
2980 case "$enable_maintainer_mode" in
2981 yes) maintainer_mode=yes ;;
2982 no) maintainer_mode=no ;;
2983 *) as_fn_error $? "unknown maintainer mode $enable_maintainer_mode" "$LINENO" 5 ;;
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking maintainer-mode" >&5
2986 $as_echo_n "checking maintainer-mode... " >&6; }
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $maintainer_mode" >&5
2988 $as_echo "$maintainer_mode" >&6; }
2989 test "$maintainer_mode" = yes && MAINTAINER=yes
2992 # Check whether --enable-default-pie was given.
2993 # Check whether --enable-default-pie was given.
2994 if test "${enable_default_pie+set}" = set; then :
2995 enableval=$enable_default_pie; PIEFLAG=-fPIE
3002 # Check if O_CLOEXEC is defined by fcntl
3004 ac_cpp='$CPP $CPPFLAGS'
3005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3008 if test -n "$ac_tool_prefix"; then
3009 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3010 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3012 $as_echo_n "checking for $ac_word... " >&6; }
3013 if ${ac_cv_prog_CC+:} false; then :
3014 $as_echo_n "(cached) " >&6
3016 if test -n "$CC"; then
3017 ac_cv_prog_CC="$CC" # Let the user override the test.
3019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3023 test -z "$as_dir" && as_dir=.
3024 for ac_exec_ext in '' $ac_executable_extensions; do
3025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3026 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3037 if test -n "$CC"; then
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3039 $as_echo "$CC" >&6; }
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3042 $as_echo "no" >&6; }
3047 if test -z "$ac_cv_prog_CC"; then
3049 # Extract the first word of "gcc", so it can be a program name with args.
3050 set dummy gcc; ac_word=$2
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3052 $as_echo_n "checking for $ac_word... " >&6; }
3053 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3054 $as_echo_n "(cached) " >&6
3056 if test -n "$ac_ct_CC"; then
3057 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3063 test -z "$as_dir" && as_dir=.
3064 for ac_exec_ext in '' $ac_executable_extensions; do
3065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3066 ac_cv_prog_ac_ct_CC="gcc"
3067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3076 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3077 if test -n "$ac_ct_CC"; then
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3079 $as_echo "$ac_ct_CC" >&6; }
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3082 $as_echo "no" >&6; }
3085 if test "x$ac_ct_CC" = x; then
3088 case $cross_compiling:$ac_tool_warned in
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3092 ac_tool_warned=yes ;;
3100 if test -z "$CC"; then
3101 if test -n "$ac_tool_prefix"; then
3102 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3103 set dummy ${ac_tool_prefix}cc; ac_word=$2
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3105 $as_echo_n "checking for $ac_word... " >&6; }
3106 if ${ac_cv_prog_CC+:} false; then :
3107 $as_echo_n "(cached) " >&6
3109 if test -n "$CC"; then
3110 ac_cv_prog_CC="$CC" # Let the user override the test.
3112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3116 test -z "$as_dir" && as_dir=.
3117 for ac_exec_ext in '' $ac_executable_extensions; do
3118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3119 ac_cv_prog_CC="${ac_tool_prefix}cc"
3120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3130 if test -n "$CC"; then
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3132 $as_echo "$CC" >&6; }
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3135 $as_echo "no" >&6; }
3141 if test -z "$CC"; then
3142 # Extract the first word of "cc", so it can be a program name with args.
3143 set dummy cc; ac_word=$2
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3145 $as_echo_n "checking for $ac_word... " >&6; }
3146 if ${ac_cv_prog_CC+:} false; then :
3147 $as_echo_n "(cached) " >&6
3149 if test -n "$CC"; then
3150 ac_cv_prog_CC="$CC" # Let the user override the test.
3153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3157 test -z "$as_dir" && as_dir=.
3158 for ac_exec_ext in '' $ac_executable_extensions; do
3159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3160 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3161 ac_prog_rejected=yes
3165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3172 if test $ac_prog_rejected = yes; then
3173 # We found a bogon in the path, so make sure we never use it.
3174 set dummy $ac_cv_prog_CC
3176 if test $# != 0; then
3177 # We chose a different compiler from the bogus one.
3178 # However, it has the same basename, so the bogon will be chosen
3179 # first if we set CC to just the basename; use the full file name.
3181 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3187 if test -n "$CC"; then
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3189 $as_echo "$CC" >&6; }
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3192 $as_echo "no" >&6; }
3197 if test -z "$CC"; then
3198 if test -n "$ac_tool_prefix"; then
3199 for ac_prog in cl.exe
3201 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3202 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3204 $as_echo_n "checking for $ac_word... " >&6; }
3205 if ${ac_cv_prog_CC+:} false; then :
3206 $as_echo_n "(cached) " >&6
3208 if test -n "$CC"; then
3209 ac_cv_prog_CC="$CC" # Let the user override the test.
3211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3215 test -z "$as_dir" && as_dir=.
3216 for ac_exec_ext in '' $ac_executable_extensions; do
3217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3218 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3229 if test -n "$CC"; then
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3231 $as_echo "$CC" >&6; }
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3234 $as_echo "no" >&6; }
3238 test -n "$CC" && break
3241 if test -z "$CC"; then
3243 for ac_prog in cl.exe
3245 # Extract the first word of "$ac_prog", so it can be a program name with args.
3246 set dummy $ac_prog; ac_word=$2
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3248 $as_echo_n "checking for $ac_word... " >&6; }
3249 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3250 $as_echo_n "(cached) " >&6
3252 if test -n "$ac_ct_CC"; then
3253 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3259 test -z "$as_dir" && as_dir=.
3260 for ac_exec_ext in '' $ac_executable_extensions; do
3261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3262 ac_cv_prog_ac_ct_CC="$ac_prog"
3263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3272 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3273 if test -n "$ac_ct_CC"; then
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3275 $as_echo "$ac_ct_CC" >&6; }
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3278 $as_echo "no" >&6; }
3282 test -n "$ac_ct_CC" && break
3285 if test "x$ac_ct_CC" = x; then
3288 case $cross_compiling:$ac_tool_warned in
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3291 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3292 ac_tool_warned=yes ;;
3301 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3303 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3304 See \
`config.log' for more details" "$LINENO" 5; }
3306 # Provide some information about the compiler.
3307 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3310 for ac_option in --version -v -V -qversion; do
3311 { { ac_try="$ac_compiler $ac_option >&5"
3313 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3314 *) ac_try_echo
=$ac_try;;
3316 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3317 $as_echo "$ac_try_echo"; } >&5
3318 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3320 if test -s conftest.err
; then
3322 ... rest of stderr output deleted ...
3323 10q' conftest.err
>conftest.er1
3324 cat conftest.er1
>&5
3326 rm -f conftest.er1 conftest.err
3327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3328 test $ac_status = 0; }
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3332 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3333 if ${ac_cv_c_compiler_gnu+:} false
; then :
3334 $as_echo_n "(cached) " >&6
3336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3337 /* end confdefs.h. */
3350 if ac_fn_c_try_compile
"$LINENO"; then :
3355 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3356 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3360 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3361 if test $ac_compiler_gnu = yes; then
3366 ac_test_CFLAGS
=${CFLAGS+set}
3367 ac_save_CFLAGS
=$CFLAGS
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3369 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3370 if ${ac_cv_prog_cc_g+:} false
; then :
3371 $as_echo_n "(cached) " >&6
3373 ac_save_c_werror_flag
=$ac_c_werror_flag
3374 ac_c_werror_flag
=yes
3377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3378 /* end confdefs.h. */
3388 if ac_fn_c_try_compile
"$LINENO"; then :
3392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3393 /* end confdefs.h. */
3403 if ac_fn_c_try_compile
"$LINENO"; then :
3406 ac_c_werror_flag
=$ac_save_c_werror_flag
3408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3409 /* end confdefs.h. */
3419 if ac_fn_c_try_compile
"$LINENO"; then :
3422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3424 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3426 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3427 ac_c_werror_flag
=$ac_save_c_werror_flag
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3430 $as_echo "$ac_cv_prog_cc_g" >&6; }
3431 if test "$ac_test_CFLAGS" = set; then
3432 CFLAGS
=$ac_save_CFLAGS
3433 elif test $ac_cv_prog_cc_g = yes; then
3434 if test "$GCC" = yes; then
3440 if test "$GCC" = yes; then
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3447 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3448 if ${ac_cv_prog_cc_c89+:} false
; then :
3449 $as_echo_n "(cached) " >&6
3451 ac_cv_prog_cc_c89
=no
3453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3454 /* end confdefs.h. */
3458 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3459 struct buf { int x; };
3460 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3461 static char *e (p, i)
3467 static char *f (char * (*g) (char **, int), char **p, ...)
3472 s = g (p, va_arg (v,int));
3477 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3478 function prototypes and stuff, but not '\xHH' hex character constants.
3479 These don't provoke an error unfortunately, instead are silently treated
3480 as 'x'. The following induces an error, until -std is added to get
3481 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3482 array size at least. It's necessary to write '\x00'==0 to get something
3483 that's true only with -std. */
3484 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3486 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3487 inside strings and character constants. */
3489 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3491 int test (int i, double x);
3492 struct s1 {int (*f) (int a);};
3493 struct s2 {int (*f) (double a);};
3494 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3500 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3505 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3506 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3508 CC
="$ac_save_CC $ac_arg"
3509 if ac_fn_c_try_compile
"$LINENO"; then :
3510 ac_cv_prog_cc_c89
=$ac_arg
3512 rm -f core conftest.err conftest.
$ac_objext
3513 test "x$ac_cv_prog_cc_c89" != "xno" && break
3515 rm -f conftest.
$ac_ext
3520 case "x$ac_cv_prog_cc_c89" in
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3523 $as_echo "none needed" >&6; } ;;
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3526 $as_echo "unsupported" >&6; } ;;
3528 CC
="$CC $ac_cv_prog_cc_c89"
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3530 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3532 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3537 ac_cpp
='$CPP $CPPFLAGS'
3538 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3539 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3540 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for O_CLOEXEC" >&5
3544 $as_echo_n "checking for O_CLOEXEC... " >&6; }
3545 if ${ac_cv_o_cloexec+:} false
; then :
3546 $as_echo_n "(cached) " >&6
3549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3550 /* end confdefs.h. */
3557 return open ("/dev/null", O_RDONLY | O_CLOEXEC);
3562 if ac_fn_c_try_compile
"$LINENO"; then :
3567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_o_cloexec" >&5
3570 $as_echo "$ac_cv_o_cloexec" >&6; }
3571 if test $ac_cv_o_cloexec = yes; then
3573 $as_echo "#define HOST_HAS_O_CLOEXEC 1" >>confdefs.h
3578 ac_cpp
='$CPP $CPPFLAGS'
3579 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3580 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3581 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3583 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3584 # On Suns, sometimes $CPP names a directory.
3585 if test -n "$CPP" && test -d "$CPP"; then
3588 if test -z "$CPP"; then
3589 if ${ac_cv_prog_CPP+:} false
; then :
3590 $as_echo_n "(cached) " >&6
3592 # Double quotes because CPP needs to be expanded
3593 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3596 for ac_c_preproc_warn_flag
in '' yes
3598 # Use a header file that comes with gcc, so configuring glibc
3599 # with a fresh cross-compiler works.
3600 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3601 # <limits.h> exists even on freestanding compilers.
3602 # On the NeXT, cc -E runs the code through the compiler's parser,
3603 # not just through cpp. "Syntax error" is here to catch this case.
3604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3605 /* end confdefs.h. */
3607 # include <limits.h>
3609 # include <assert.h>
3613 if ac_fn_c_try_cpp
"$LINENO"; then :
3616 # Broken: fails on valid input.
3619 rm -f conftest.err conftest.i conftest.
$ac_ext
3621 # OK, works on sane cases. Now check whether nonexistent headers
3622 # can be detected and how.
3623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3624 /* end confdefs.h. */
3625 #include <ac_nonexistent.h>
3627 if ac_fn_c_try_cpp
"$LINENO"; then :
3628 # Broken: success on invalid input.
3631 # Passes both tests.
3635 rm -f conftest.err conftest.i conftest.
$ac_ext
3638 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3639 rm -f conftest.i conftest.err conftest.
$ac_ext
3640 if $ac_preproc_ok; then :
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3653 $as_echo "$CPP" >&6; }
3655 for ac_c_preproc_warn_flag
in '' yes
3657 # Use a header file that comes with gcc, so configuring glibc
3658 # with a fresh cross-compiler works.
3659 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3660 # <limits.h> exists even on freestanding compilers.
3661 # On the NeXT, cc -E runs the code through the compiler's parser,
3662 # not just through cpp. "Syntax error" is here to catch this case.
3663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3664 /* end confdefs.h. */
3666 # include <limits.h>
3668 # include <assert.h>
3672 if ac_fn_c_try_cpp
"$LINENO"; then :
3675 # Broken: fails on valid input.
3678 rm -f conftest.err conftest.i conftest.
$ac_ext
3680 # OK, works on sane cases. Now check whether nonexistent headers
3681 # can be detected and how.
3682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3683 /* end confdefs.h. */
3684 #include <ac_nonexistent.h>
3686 if ac_fn_c_try_cpp
"$LINENO"; then :
3687 # Broken: success on invalid input.
3690 # Passes both tests.
3694 rm -f conftest.err conftest.i conftest.
$ac_ext
3697 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3698 rm -f conftest.i conftest.err conftest.
$ac_ext
3699 if $ac_preproc_ok; then :
3702 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3704 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3705 See \`config.log' for more details" "$LINENO" 5; }
3709 ac_cpp
='$CPP $CPPFLAGS'
3710 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3711 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3712 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3716 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3717 if ${ac_cv_path_GREP+:} false
; then :
3718 $as_echo_n "(cached) " >&6
3720 if test -z "$GREP"; then
3721 ac_path_GREP_found
=false
3722 # Loop through the user's path and test for each of PROGNAME-LIST
3723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3724 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3727 test -z "$as_dir" && as_dir
=.
3728 for ac_prog
in grep ggrep
; do
3729 for ac_exec_ext
in '' $ac_executable_extensions; do
3730 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3731 as_fn_executable_p
"$ac_path_GREP" ||
continue
3732 # Check for GNU ac_path_GREP and select it if it is found.
3733 # Check for GNU $ac_path_GREP
3734 case `"$ac_path_GREP" --version 2>&1` in
3736 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3739 $as_echo_n 0123456789 >"conftest.in"
3742 cat "conftest.in" "conftest.in" >"conftest.tmp"
3743 mv "conftest.tmp" "conftest.in"
3744 cp "conftest.in" "conftest.nl"
3745 $as_echo 'GREP' >> "conftest.nl"
3746 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3747 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3748 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3749 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3750 # Best one so far, save it but keep looking for a better one
3751 ac_cv_path_GREP
="$ac_path_GREP"
3752 ac_path_GREP_max
=$ac_count
3754 # 10*(2^10) chars as input seems more than enough
3755 test $ac_count -gt 10 && break
3757 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3760 $ac_path_GREP_found && break 3
3765 if test -z "$ac_cv_path_GREP"; then
3766 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3769 ac_cv_path_GREP
=$GREP
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3774 $as_echo "$ac_cv_path_GREP" >&6; }
3775 GREP
="$ac_cv_path_GREP"
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3779 $as_echo_n "checking for egrep... " >&6; }
3780 if ${ac_cv_path_EGREP+:} false
; then :
3781 $as_echo_n "(cached) " >&6
3783 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3784 then ac_cv_path_EGREP
="$GREP -E"
3786 if test -z "$EGREP"; then
3787 ac_path_EGREP_found
=false
3788 # Loop through the user's path and test for each of PROGNAME-LIST
3789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3790 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3793 test -z "$as_dir" && as_dir
=.
3794 for ac_prog
in egrep; do
3795 for ac_exec_ext
in '' $ac_executable_extensions; do
3796 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3797 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3798 # Check for GNU ac_path_EGREP and select it if it is found.
3799 # Check for GNU $ac_path_EGREP
3800 case `"$ac_path_EGREP" --version 2>&1` in
3802 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3805 $as_echo_n 0123456789 >"conftest.in"
3808 cat "conftest.in" "conftest.in" >"conftest.tmp"
3809 mv "conftest.tmp" "conftest.in"
3810 cp "conftest.in" "conftest.nl"
3811 $as_echo 'EGREP' >> "conftest.nl"
3812 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3813 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3814 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3815 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3816 # Best one so far, save it but keep looking for a better one
3817 ac_cv_path_EGREP
="$ac_path_EGREP"
3818 ac_path_EGREP_max
=$ac_count
3820 # 10*(2^10) chars as input seems more than enough
3821 test $ac_count -gt 10 && break
3823 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3826 $ac_path_EGREP_found && break 3
3831 if test -z "$ac_cv_path_EGREP"; then
3832 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3835 ac_cv_path_EGREP
=$EGREP
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3841 $as_echo "$ac_cv_path_EGREP" >&6; }
3842 EGREP
="$ac_cv_path_EGREP"
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3846 $as_echo_n "checking for ANSI C header files... " >&6; }
3847 if ${ac_cv_header_stdc+:} false
; then :
3848 $as_echo_n "(cached) " >&6
3850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3851 /* end confdefs.h. */
3865 if ac_fn_c_try_compile
"$LINENO"; then :
3866 ac_cv_header_stdc
=yes
3868 ac_cv_header_stdc
=no
3870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3872 if test $ac_cv_header_stdc = yes; then
3873 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3875 /* end confdefs.h. */
3879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3880 $EGREP "memchr" >/dev
/null
2>&1; then :
3883 ac_cv_header_stdc
=no
3889 if test $ac_cv_header_stdc = yes; then
3890 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3892 /* end confdefs.h. */
3896 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3897 $EGREP "free" >/dev
/null
2>&1; then :
3900 ac_cv_header_stdc
=no
3906 if test $ac_cv_header_stdc = yes; then
3907 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3908 if test "$cross_compiling" = yes; then :
3911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3912 /* end confdefs.h. */
3915 #if ((' ' & 0x0FF) == 0x020)
3916 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3917 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3919 # define ISLOWER(c) \
3920 (('a' <= (c) && (c) <= 'i') \
3921 || ('j' <= (c) && (c) <= 'r') \
3922 || ('s' <= (c) && (c) <= 'z'))
3923 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3926 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3931 for (i = 0; i < 256; i++)
3932 if (XOR (islower (i), ISLOWER (i))
3933 || toupper (i) != TOUPPER (i))
3938 if ac_fn_c_try_run
"$LINENO"; then :
3941 ac_cv_header_stdc
=no
3943 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3944 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3950 $as_echo "$ac_cv_header_stdc" >&6; }
3951 if test $ac_cv_header_stdc = yes; then
3953 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3957 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3958 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3959 inttypes.h stdint.h unistd.h
3961 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3962 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3964 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3965 cat >>confdefs.h
<<_ACEOF
3966 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3974 for ac_header
in sys
/mman.h
3976 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
3977 if test "x$ac_cv_header_sys_mman_h" = xyes
; then :
3978 cat >>confdefs.h
<<_ACEOF
3979 #define HAVE_SYS_MMAN_H 1
3987 # C++ Modules would like some networking features to provide the mapping
3988 # server. You can still use modules without them though.
3989 # The following network-related checks could probably do with some
3990 # Windows and other non-linux defenses and checking.
3992 # Local socket connectivity wants AF_UNIX networking
3993 # Check for AF_UNIX networking
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AF_UNIX" >&5
3995 $as_echo_n "checking for AF_UNIX... " >&6; }
3996 if ${ac_cv_af_unix+:} false
; then :
3997 $as_echo_n "(cached) " >&6
4000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4001 /* end confdefs.h. */
4003 #include <sys/types.h>
4004 #include <sys/socket.h>
4006 #include <netinet/in.h>
4012 un.sun_family = AF_UNSPEC;
4013 int fd = socket (AF_UNIX, SOCK_STREAM, 0);
4014 connect (fd, (sockaddr *)&un, sizeof (un));
4019 if ac_fn_c_try_compile
"$LINENO"; then :
4024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_af_unix" >&5
4027 $as_echo "$ac_cv_af_unix" >&6; }
4028 if test $ac_cv_af_unix = yes; then
4030 $as_echo "#define HAVE_AF_UNIX 1" >>confdefs.h
4034 # Remote socket connectivity wants AF_INET6 networking
4035 # Check for AF_INET6 networking
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AF_INET6" >&5
4037 $as_echo_n "checking for AF_INET6... " >&6; }
4038 if ${ac_cv_af_inet6+:} false
; then :
4039 $as_echo_n "(cached) " >&6
4042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4043 /* end confdefs.h. */
4045 #include <sys/types.h>
4046 #include <sys/socket.h>
4047 #include <netinet/in.h>
4054 in6.sin6_family = AF_UNSPEC;
4055 struct addrinfo *addrs = 0;
4056 struct addrinfo hints;
4058 hints.ai_family = AF_INET6;
4059 hints.ai_socktype = SOCK_STREAM;
4060 hints.ai_protocol = 0;
4061 hints.ai_canonname = 0;
4064 int e = getaddrinfo ("localhost", 0, &hints, &addrs);
4065 const char *str = gai_strerror (e);
4066 freeaddrinfo (addrs);
4067 int fd = socket (AF_INET6, SOCK_STREAM, 0);
4068 connect (fd, (sockaddr *)&in6, sizeof (in6));
4073 if ac_fn_c_try_compile
"$LINENO"; then :
4078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_af_inet6" >&5
4081 $as_echo "$ac_cv_af_inet6" >&6; }
4082 if test $ac_cv_af_inet6 = yes; then
4084 $as_echo "#define HAVE_AF_INET6 1" >>confdefs.h
4088 # Efficient server response wants epoll
4089 # Check for epoll_create, epoll_ctl, epoll_pwait
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll" >&5
4091 $as_echo_n "checking for epoll... " >&6; }
4092 if ${ac_cv_epoll+:} false
; then :
4093 $as_echo_n "(cached) " >&6
4096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4097 /* end confdefs.h. */
4099 #include <sys/epoll.h>
4104 int fd = epoll_create (1);
4106 ev.events = EPOLLIN;
4108 epoll_ctl (fd, EPOLL_CTL_ADD, 0, &ev);
4109 epoll_pwait (fd, 0, 0, -1, 0);
4114 if ac_fn_c_try_compile
"$LINENO"; then :
4119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_epoll" >&5
4122 $as_echo "$ac_cv_epoll" >&6; }
4123 if test $ac_cv_epoll = yes; then
4125 $as_echo "#define HAVE_EPOLL 1" >>confdefs.h
4129 # If we can't use epoll, try pselect.
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pselect" >&5
4132 $as_echo_n "checking for pselect... " >&6; }
4133 if ${ac_cv_pselect+:} false
; then :
4134 $as_echo_n "(cached) " >&6
4137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4138 /* end confdefs.h. */
4140 #include <sys/select.h>
4145 pselect (0, 0, 0, 0, 0, 0);
4150 if ac_fn_c_try_compile
"$LINENO"; then :
4155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pselect" >&5
4158 $as_echo "$ac_cv_pselect" >&6; }
4159 if test $ac_cv_pselect = yes; then
4161 $as_echo "#define HAVE_PSELECT 1" >>confdefs.h
4165 # And failing that, use good old select.
4166 # If we can't even use this, the server is serialized.
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for select" >&5
4169 $as_echo_n "checking for select... " >&6; }
4170 if ${ac_cv_select+:} false
; then :
4171 $as_echo_n "(cached) " >&6
4174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4175 /* end confdefs.h. */
4177 #include <sys/select.h>
4182 select (0, 0, 0, 0, 0);
4187 if ac_fn_c_try_compile
"$LINENO"; then :
4192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_select" >&5
4195 $as_echo "$ac_cv_select" >&6; }
4196 if test $ac_cv_select = yes; then
4198 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
4202 # Avoid some fnctl calls by using accept4, when available.
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for accept4" >&5
4205 $as_echo_n "checking for accept4... " >&6; }
4206 if ${ac_cv_accept4+:} false
; then :
4207 $as_echo_n "(cached) " >&6
4210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h. */
4213 #include <sys/socket.h>
4218 int err = accept4 (1, 0, 0, SOCK_NONBLOCK);
4223 if ac_fn_c_try_compile
"$LINENO"; then :
4228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_accept4" >&5
4231 $as_echo "$ac_cv_accept4" >&6; }
4232 if test $ac_cv_accept4 = yes; then
4234 $as_echo "#define HAVE_ACCEPT4 1" >>confdefs.h
4238 # For better server messages, look for a way to stringize network addresses
4239 # Check for inet_ntop
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntop" >&5
4241 $as_echo_n "checking for inet_ntop... " >&6; }
4242 if ${ac_cv_inet_ntop+:} false
; then :
4243 $as_echo_n "(cached) " >&6
4246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4247 /* end confdefs.h. */
4249 #include <arpa/inet.h>
4250 #include <netinet/in.h>
4256 char buf[INET6_ADDRSTRLEN];
4257 const char *str = inet_ntop (AF_INET6, &in6, buf, sizeof (buf));
4262 if ac_fn_c_try_compile
"$LINENO"; then :
4267 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_inet_ntop" >&5
4270 $as_echo "$ac_cv_inet_ntop" >&6; }
4271 if test $ac_cv_inet_ntop = yes; then
4273 $as_echo "#define HAVE_INET_NTOP 1" >>confdefs.h
4277 # Determine what GCC version number to use in filesystem paths.
4279 get_gcc_base_ver
="cat"
4281 # Check whether --with-gcc-major-version-only was given.
4282 if test "${with_gcc_major_version_only+set}" = set; then :
4283 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
4284 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
4292 # Solaris needs libsocket and libnsl for socket functions before 11.4.
4293 # libcody uses those.
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
4298 $as_echo_n "checking for library containing gethostbyname... " >&6; }
4299 if ${ac_cv_search_gethostbyname+:} false
; then :
4300 $as_echo_n "(cached) " >&6
4302 ac_func_search_save_LIBS
=$LIBS
4303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4304 /* end confdefs.h. */
4306 /* Override any GCC internal prototype to avoid an error.
4307 Use char because int might match the return type of a GCC
4308 builtin and then its argument prototype would still apply. */
4312 char gethostbyname ();
4316 return gethostbyname ();
4321 for ac_lib
in '' nsl
; do
4322 if test -z "$ac_lib"; then
4323 ac_res
="none required"
4326 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4328 if ac_fn_c_try_link
"$LINENO"; then :
4329 ac_cv_search_gethostbyname
=$ac_res
4331 rm -f core conftest.err conftest.
$ac_objext \
4333 if ${ac_cv_search_gethostbyname+:} false
; then :
4337 if ${ac_cv_search_gethostbyname+:} false
; then :
4340 ac_cv_search_gethostbyname
=no
4343 LIBS
=$ac_func_search_save_LIBS
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
4346 $as_echo "$ac_cv_search_gethostbyname" >&6; }
4347 ac_res
=$ac_cv_search_gethostbyname
4348 if test "$ac_res" != no
; then :
4349 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
4354 $as_echo_n "checking for library containing socket... " >&6; }
4355 if ${ac_cv_search_socket+:} false
; then :
4356 $as_echo_n "(cached) " >&6
4358 ac_func_search_save_LIBS
=$LIBS
4359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4360 /* end confdefs.h. */
4362 /* Override any GCC internal prototype to avoid an error.
4363 Use char because int might match the return type of a GCC
4364 builtin and then its argument prototype would still apply. */
4377 for ac_lib
in '' socket
; do
4378 if test -z "$ac_lib"; then
4379 ac_res
="none required"
4382 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4384 if ac_fn_c_try_link
"$LINENO"; then :
4385 ac_cv_search_socket
=$ac_res
4387 rm -f core conftest.err conftest.
$ac_objext \
4389 if ${ac_cv_search_socket+:} false
; then :
4393 if ${ac_cv_search_socket+:} false
; then :
4396 ac_cv_search_socket
=no
4399 LIBS
=$ac_func_search_save_LIBS
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
4402 $as_echo "$ac_cv_search_socket" >&6; }
4403 ac_res
=$ac_cv_search_socket
4404 if test "$ac_res" != no
; then :
4405 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
4410 $as_echo_n "checking for socket in -lsocket... " >&6; }
4411 if ${ac_cv_lib_socket_socket+:} false
; then :
4412 $as_echo_n "(cached) " >&6
4414 ac_check_lib_save_LIBS
=$LIBS
4415 LIBS
="-lsocket -lnsl $LIBS"
4416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4417 /* end confdefs.h. */
4419 /* Override any GCC internal prototype to avoid an error.
4420 Use char because int might match the return type of a GCC
4421 builtin and then its argument prototype would still apply. */
4434 if ac_fn_c_try_link
"$LINENO"; then :
4435 ac_cv_lib_socket_socket
=yes
4437 ac_cv_lib_socket_socket
=no
4439 rm -f core conftest.err conftest.
$ac_objext \
4440 conftest
$ac_exeext conftest.
$ac_ext
4441 LIBS
=$ac_check_lib_save_LIBS
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
4444 $as_echo "$ac_cv_lib_socket_socket" >&6; }
4445 if test "x$ac_cv_lib_socket_socket" = xyes
; then :
4446 LIBS
="-lsocket -lnsl $LIBS"
4456 ac_config_headers
="$ac_config_headers config.h"
4458 ac_config_files
="$ac_config_files Makefile"
4461 cat >confcache
<<\_ACEOF
4462 # This file is a shell script that caches the results of configure
4463 # tests run on this system so they can be shared between configure
4464 # scripts and configure runs, see configure's option --config-cache.
4465 # It is not useful on other systems. If it contains results you don't
4466 # want to keep, you may remove or edit it.
4468 # config.status only pays attention to the cache file if you give it
4469 # the --recheck option to rerun configure.
4471 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4472 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4477 # The following way of writing the cache mishandles newlines in values,
4478 # but we know of no workaround that is simple, portable, and efficient.
4479 # So, we kill variables containing newlines.
4480 # Ultrix sh set writes to stderr and can't be redirected directly,
4481 # and sets the high bit in the cache file unless we assign to the vars.
4483 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4484 eval ac_val
=\$
$ac_var
4488 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4489 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4492 _ | IFS | as_nl
) ;; #(
4493 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4494 *) { eval $ac_var=; unset $ac_var;} ;;
4500 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4501 *${as_nl}ac_space
=\
*)
4502 # `set' does not quote correctly, so add quotes: double-quote
4503 # substitution turns \\\\ into \\, and sed turns \\ into \.
4506 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4509 # `set' quotes correctly as required by POSIX, so do not add quotes.
4510 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4519 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4521 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4523 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4524 if test -w "$cache_file"; then
4525 if test "x$cache_file" != "x/dev/null"; then
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4527 $as_echo "$as_me: updating cache $cache_file" >&6;}
4528 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4529 cat confcache
>"$cache_file"
4531 case $cache_file in #(
4533 mv -f confcache
"$cache_file"$$
&&
4534 mv -f "$cache_file"$$
"$cache_file" ;; #(
4536 mv -f confcache
"$cache_file" ;;
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4542 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4547 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4548 # Let make expand exec_prefix.
4549 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4551 DEFS
=-DHAVE_CONFIG_H
4556 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4557 # 1. Remove the extension, and $U if already installed.
4558 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4559 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4560 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4561 # will be set to the directory where LIBOBJS objects are built.
4562 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4563 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4567 LTLIBOBJS
=$ac_ltlibobjs
4571 : "${CONFIG_STATUS=./config.status}"
4573 ac_clean_files_save
=$ac_clean_files
4574 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4576 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4578 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4580 # Generated by $as_me.
4581 # Run this file to recreate the current configuration.
4582 # Compiler output produced by configure, useful for debugging
4583 # configure, is in config.log if it exists.
4589 SHELL=\${CONFIG_SHELL-$SHELL}
4592 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4593 ## -------------------- ##
4594 ## M4sh Initialization. ##
4595 ## -------------------- ##
4597 # Be more Bourne compatible
4598 DUALCASE
=1; export DUALCASE
# for MKS sh
4599 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4602 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4603 # is contrary to our usage. Disable this feature.
4604 alias -g '${1+"$@"}'='"$@"'
4605 setopt NO_GLOB_SUBST
4607 case `(set -o) 2>/dev/null` in #(
4619 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4620 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4621 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4622 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4623 # Prefer a ksh shell builtin over an external printf program on Solaris,
4624 # but without wasting forks for bash or zsh.
4625 if test -z "$BASH_VERSION$ZSH_VERSION" \
4626 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4627 as_echo='print
-r --'
4628 as_echo_n='print
-rn --'
4629 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4630 as_echo='printf %s
\n'
4631 as_echo_n='printf %s
'
4633 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4634 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4635 as_echo_n='/usr
/ucb
/echo -n'
4637 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4638 as_echo_n_body='eval
4642 expr "X$arg" : "X\\(.*\\)$as_nl";
4643 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4645 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4647 export as_echo_n_body
4648 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4651 as_echo='sh
-c $as_echo_body as_echo
'
4654 # The user is always right.
4655 if test "${PATH_SEPARATOR+set}" != set; then
4657 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4658 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4665 # We need space, tab and new line, in precisely that order. Quoting is
4666 # there to prevent editors from complaining about space-tab.
4667 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4668 # splitting by setting IFS to empty value.)
4671 # Find who we are. Look in the path if we contain no directory separator.
4674 *[\\/]* ) as_myself=$0 ;;
4675 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4679 test -z "$as_dir" && as_dir=.
4680 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4686 # We did not find ourselves, most probably we were run as `sh COMMAND'
4687 # in which case we are not to be found in the path.
4688 if test "x$as_myself" = x
; then
4691 if test ! -f "$as_myself"; then
4692 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4696 # Unset variables that we do not need and which cause bugs (e.g. in
4697 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4698 # suppresses any "Segmentation fault" message there. '((' could
4699 # trigger a bug in pdksh 5.2.14.
4700 for as_var
in BASH_ENV ENV MAIL MAILPATH
4701 do eval test x\
${$as_var+set} = xset \
4702 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4715 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4718 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4719 # ----------------------------------------
4720 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4721 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4722 # script with STATUS, using 1 if that was 0.
4725 as_status
=$1; test $as_status -eq 0 && as_status
=1
4727 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4728 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4730 $as_echo "$as_me: error: $2" >&2
4731 as_fn_exit
$as_status
4735 # as_fn_set_status STATUS
4736 # -----------------------
4737 # Set $? to STATUS, without forking.
4741 } # as_fn_set_status
4745 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4755 # Portably unset VAR.
4758 { eval $1=; unset $1;}
4760 as_unset
=as_fn_unset
4761 # as_fn_append VAR VALUE
4762 # ----------------------
4763 # Append the text in VALUE to the end of the definition contained in VAR. Take
4764 # advantage of any shell optimizations that allow amortized linear growth over
4765 # repeated appends, instead of the typical quadratic growth present in naive
4767 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4768 eval 'as_fn_append ()
4779 # as_fn_arith ARG...
4780 # ------------------
4781 # Perform arithmetic evaluation on the ARGs, and store the result in the
4782 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4783 # must be portable across $(()) and expr.
4784 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4785 eval 'as_fn_arith ()
4792 as_val
=`expr "$@" || test $? -eq 1`
4797 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4798 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4804 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4805 as_basename
=basename
4810 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4816 as_me
=`$as_basename -- "$0" ||
4817 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4818 X"$0" : 'X\(//\)$' \| \
4819 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4821 sed '/^.*\/\([^/][^/]*\)\/*$/{
4835 # Avoid depending upon Character Ranges.
4836 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4837 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4838 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4839 as_cr_digits
='0123456789'
4840 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4842 ECHO_C
= ECHO_N
= ECHO_T
=
4843 case `echo -n x` in #(((((
4845 case `echo 'xy\c'` in
4846 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4848 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4855 rm -f conf$$ conf$$.exe conf$$.
file
4856 if test -d conf$$.dir
; then
4857 rm -f conf$$.dir
/conf$$.
file
4860 mkdir conf$$.dir
2>/dev
/null
4862 if (echo >conf$$.
file) 2>/dev
/null
; then
4863 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4865 # ... but there are two gotchas:
4866 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4867 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4868 # In both cases, we have to default to `cp -pR'.
4869 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4871 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4879 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4880 rmdir conf$$.dir
2>/dev
/null
4885 # Create "$as_dir" as a directory, including parents if necessary.
4890 -*) as_dir
=.
/$as_dir;;
4892 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4896 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4897 *) as_qdir
=$as_dir;;
4899 as_dirs
="'$as_qdir' $as_dirs"
4900 as_dir
=`$as_dirname -- "$as_dir" ||
4901 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4902 X"$as_dir" : 'X\(//\)[^/]' \| \
4903 X"$as_dir" : 'X\(//\)$' \| \
4904 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4905 $as_echo X"$as_dir" |
4906 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4923 test -d "$as_dir" && break
4925 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4926 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4930 if mkdir
-p .
2>/dev
/null
; then
4931 as_mkdir_p
='mkdir -p "$as_dir"'
4933 test -d .
/-p && rmdir .
/-p
4938 # as_fn_executable_p FILE
4939 # -----------------------
4940 # Test if FILE is an executable regular file.
4941 as_fn_executable_p
()
4943 test -f "$1" && test -x "$1"
4944 } # as_fn_executable_p
4946 as_executable_p
=as_fn_executable_p
4948 # Sed expression to map a string onto a valid CPP name.
4949 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4951 # Sed expression to map a string onto a valid variable name.
4952 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4956 ## ----------------------------------- ##
4957 ## Main body of $CONFIG_STATUS script. ##
4958 ## ----------------------------------- ##
4960 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4963 # Save the log message, to keep $0 and so on meaningful, and to
4964 # report actual input values of CONFIG_FILES etc. instead of their
4965 # values after options handling.
4967 This file was extended by $as_me, which was
4968 generated by GNU Autoconf 2.69. Invocation command line was
4970 CONFIG_FILES = $CONFIG_FILES
4971 CONFIG_HEADERS = $CONFIG_HEADERS
4972 CONFIG_LINKS = $CONFIG_LINKS
4973 CONFIG_COMMANDS = $CONFIG_COMMANDS
4976 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4981 case $ac_config_files in *"
4982 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4985 case $ac_config_headers in *"
4986 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
4990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4991 # Files that config.status was made for.
4992 config_files="$ac_config_files"
4993 config_headers="$ac_config_headers"
4997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4999 \`$as_me' instantiates files and other configuration actions
5000 from templates according to the current configuration. Unless the files
5001 and actions are specified as TAGs, all are instantiated by default.
5003 Usage: $0 [OPTION]... [TAG]...
5005 -h, --help print this help, then exit
5006 -V, --version print version number and configuration settings, then exit
5007 --config print configuration, then exit
5008 -q, --quiet, --silent
5009 do not print progress messages
5010 -d, --debug don't remove temporary files
5011 --recheck update $as_me by reconfiguring in the same conditions
5012 --file=FILE[:TEMPLATE]
5013 instantiate the configuration file FILE
5014 --header=FILE[:TEMPLATE]
5015 instantiate the configuration header FILE
5017 Configuration files:
5020 Configuration headers:
5023 Report bugs to the package provider."
5026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5027 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5030 configured by $0, generated by GNU Autoconf 2.69,
5031 with options \\"\$ac_cs_config\\"
5033 Copyright (C) 2012 Free Software Foundation, Inc.
5034 This config.status script is free software; the Free Software Foundation
5035 gives unlimited permission to copy, distribute and modify it."
5040 test -n "\$AWK" || AWK=awk
5043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5044 # The default lists apply if the user does not specify any file.
5050 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5051 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5055 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5067 # Handling of the options.
5068 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5070 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5071 $as_echo "$ac_cs_version"; exit ;;
5072 --config |
--confi |
--conf |
--con |
--co |
--c )
5073 $as_echo "$ac_cs_config"; exit ;;
5074 --debug |
--debu |
--deb |
--de |
--d |
-d )
5076 --file |
--fil |
--fi |
--f )
5079 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5080 '') as_fn_error $?
"missing file argument" ;;
5082 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5083 ac_need_defaults
=false
;;
5084 --header |
--heade |
--head |
--hea )
5087 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5089 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
5090 ac_need_defaults
=false
;;
5092 # Conflict between --help and --header
5093 as_fn_error $?
"ambiguous option: \`$1'
5094 Try \`$0 --help' for more information.";;
5095 --help |
--hel |
-h )
5096 $as_echo "$ac_cs_usage"; exit ;;
5097 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5098 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5102 -*) as_fn_error $?
"unrecognized option: \`$1'
5103 Try \`$0 --help' for more information." ;;
5105 *) as_fn_append ac_config_targets
" $1"
5106 ac_need_defaults
=false
;;
5112 ac_configure_extra_args
=
5114 if $ac_cs_silent; then
5116 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5120 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5121 if \$ac_cs_recheck; then
5122 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5124 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5125 CONFIG_SHELL='$SHELL'
5131 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5135 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5136 ## Running $as_me. ##
5142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5145 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5147 # Handling of arguments.
5148 for ac_config_target
in $ac_config_targets
5150 case $ac_config_target in
5151 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5152 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5154 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5159 # If the user did not use the arguments to specify the items to instantiate,
5160 # then the envvar interface is used. Set only those that are not.
5161 # We use the long form for the default assignment because of an extremely
5162 # bizarre bug on SunOS 4.1.3.
5163 if $ac_need_defaults; then
5164 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5165 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5168 # Have a temporary directory for convenience. Make it in the build tree
5169 # simply because there is no reason against having it here, and in addition,
5170 # creating and moving files from /tmp can sometimes cause problems.
5171 # Hook for its removal unless debugging.
5172 # Note that there is a small window in which the directory will not be cleaned:
5173 # after its creation but before its name has been assigned to `$tmp'.
5177 trap 'exit_status=$?
5179 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5181 trap 'as_fn_exit 1' 1 2 13 15
5183 # Create a (secure) tmp directory for tmp files.
5186 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5190 tmp
=.
/conf$$
-$RANDOM
5191 (umask 077 && mkdir
"$tmp")
5192 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5195 # Set up the scripts for CONFIG_FILES section.
5196 # No need to generate them if there are no CONFIG_FILES.
5197 # This happens for instance with `./config.status config.h'.
5198 if test -n "$CONFIG_FILES"; then
5201 ac_cr
=`echo X | tr X '\015'`
5202 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5203 # But we know of no other shell where ac_cr would be empty at this
5204 # point, so we can use a bashism as a fallback.
5205 if test "x$ac_cr" = x
; then
5206 eval ac_cr
=\$
\'\\r
\'
5208 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5209 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5215 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5220 echo "cat >conf$$subs.awk <<_ACEOF" &&
5221 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5224 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5225 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5227 for ac_last_try in false false false false false :; do
5228 . ./conf$$subs.sh ||
5229 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5231 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5232 if test $ac_delim_n = $ac_delim_num; then
5234 elif $ac_last_try; then
5235 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5237 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5243 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
5247 s/^/S["/; s
/!.
*/"]=/
5257 s/\(.\{148\}\)..*/\1/
5259 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5264 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5271 s/\(.\{148\}\)..*/\1/
5273 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5277 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5282 ' <conf$$subs.awk | sed '
5287 ' >>$CONFIG_STATUS || ac_write_fail=1
5288 rm -f conf$$subs.awk
5289 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5291 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5292 for (key in S) S_is_set[key] = 1
5298 nfields = split(line, field, "@
")
5300 len = length(field[1])
5301 for (i = 2; i < nfields; i++) {
5303 keylen = length(key)
5304 if (S_is_set[key]) {
5306 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5307 len += length(value) + length(field[++i])
5318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5319 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5320 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5323 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5324 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5327 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5328 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5329 # trailing colons and then remove the whole line if VPATH becomes empty
5330 # (actually we leave an empty line to preserve line numbers).
5331 if test "x
$srcdir" = x.; then
5332 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5350 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5351 fi # test -n "$CONFIG_FILES"
5353 # Set up the scripts for CONFIG_HEADERS section.
5354 # No need to generate them if there are no CONFIG_HEADERS.
5355 # This happens for instance with `./config.status Makefile'.
5356 if test -n "$CONFIG_HEADERS"; then
5357 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
5361 # Transform confdefs.h into an awk script `defines.awk', embedded as
5362 # here-document in config.status, that substitutes the proper values into
5363 # config.h.in to produce config.h.
5365 # Create a delimiter string that does not exist in confdefs.h, to ease
5366 # handling of long lines.
5368 for ac_last_try in false false :; do
5369 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
5370 if test -z "$ac_tt"; then
5372 elif $ac_last_try; then
5373 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
5375 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5379 # For the awk script, D is an array of macro values keyed by name,
5380 # likewise P contains macro parameters if any. Preserve backslash
5381 # newline sequences.
5383 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5385 s/.\{148\}/&'"$ac_delim"'/g
5388 s/^[ ]*#[ ]*define[ ][ ]*/ /
5395 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
5397 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
5401 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
5402 D["\
1"]=" \
3\\\\\\n
"\\/p
5404 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
5409 s/.\{148\}/&'"$ac_delim"'/g
5414 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
5417 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
5419 ' <confdefs.h | sed '
5420 s/'"$ac_delim"'/"\\\
5421 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5424 for (key in D) D_is_set[key] = 1
5427 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5429 split(line, arg, " ")
5430 if (arg[1] == "#") {
5434 defundef
= substr
(arg
[1], 2)
5437 split(mac1
, mac2
, "(") #)
5439 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
5440 if (D_is_set
[macro
]) {
5441 # Preserve the white space surrounding the "#".
5442 print prefix
"define", macro P
[macro
] D
[macro
]
5445 # Replace #undef with comments. This is necessary, for example,
5446 # in the case of _POSIX_SOURCE, which is predefined and required
5447 # on some systems where configure will not decide to define it.
5448 if (defundef
== "undef") {
5449 print
"/*", prefix defundef
, macro
, "*/"
5457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5458 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
5459 fi # test -n "$CONFIG_HEADERS"
5462 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
5467 :[FHLC
]) ac_mode
=$ac_tag; continue;;
5469 case $ac_mode$ac_tag in
5471 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
5472 :[FH
]-) ac_tag
=-:-;;
5473 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
5490 -) ac_f
="$ac_tmp/stdin";;
5491 *) # Look for the file first in the build tree, then in the source tree
5492 # (if the path is not absolute). The absolute path cannot be DOS-style,
5493 # because $ac_f cannot contain `:'.
5497 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
5499 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5501 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5502 as_fn_append ac_file_inputs
" '$ac_f'"
5505 # Let's still pretend it is `configure' which instantiates (i.e., don't
5506 # use $as_me), people would be surprised to read:
5507 # /* config.h. Generated by config.status. */
5508 configure_input
='Generated from '`
5509 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5511 if test x
"$ac_file" != x-
; then
5512 configure_input
="$ac_file. $configure_input"
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5514 $as_echo "$as_me: creating $ac_file" >&6;}
5516 # Neutralize special characters interpreted by sed in replacement strings.
5517 case $configure_input in #(
5518 *\
&* |
*\|
* |
*\\* )
5519 ac_sed_conf_input
=`$as_echo "$configure_input" |
5520 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5521 *) ac_sed_conf_input
=$configure_input;;
5525 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
5526 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
5531 ac_dir
=`$as_dirname -- "$ac_file" ||
5532 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5533 X"$ac_file" : 'X\(//\)[^/]' \| \
5534 X"$ac_file" : 'X\(//\)$' \| \
5535 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5536 $as_echo X"$ac_file" |
5537 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5554 as_dir
="$ac_dir"; as_fn_mkdir_p
5558 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5560 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5561 # A ".." for each directory in $ac_dir_suffix.
5562 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5563 case $ac_top_builddir_sub in
5564 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5565 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
5568 ac_abs_top_builddir
=$ac_pwd
5569 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
5570 # for backward compatibility:
5571 ac_top_builddir
=$ac_top_build_prefix
5574 .
) # We are building in place.
5576 ac_top_srcdir
=$ac_top_builddir_sub
5577 ac_abs_top_srcdir
=$ac_pwd ;;
5578 [\\/]* | ?
:[\\/]* ) # Absolute name.
5579 ac_srcdir
=$srcdir$ac_dir_suffix;
5580 ac_top_srcdir
=$srcdir
5581 ac_abs_top_srcdir
=$srcdir ;;
5583 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
5584 ac_top_srcdir
=$ac_top_build_prefix$srcdir
5585 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
5587 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5597 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5598 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
5602 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5603 # If the template does not know about datarootdir, expand it.
5604 # FIXME: This hack should be removed a few years after 2.60.
5605 ac_datarootdir_hack
=; ac_datarootdir_seen
=
5616 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5617 *datarootdir
*) ac_datarootdir_seen
=yes;;
5618 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5620 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5622 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5623 ac_datarootdir_hack='
5624 s&@datadir@&$datadir&g
5625 s&@docdir@&$docdir&g
5626 s&@infodir@&$infodir&g
5627 s&@localedir@&$localedir&g
5628 s&@mandir@&$mandir&g
5629 s&\\\${datarootdir}&$datarootdir&g' ;;
5633 # Neutralize VPATH when `$srcdir' = `.'.
5634 # Shell code in configure.ac might set extrasub.
5635 # FIXME: do we really want to maintain this feature?
5636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5637 ac_sed_extra="$ac_vpsub
5640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5642 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5643 s|@configure_input@|
$ac_sed_conf_input|
;t t
5644 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5645 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5646 s
&@srcdir@
&$ac_srcdir&;t t
5647 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5648 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5649 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5650 s
&@builddir@
&$ac_builddir&;t t
5651 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5652 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5653 s
&@INSTALL@
&$ac_INSTALL&;t t
5654 $ac_datarootdir_hack
5656 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5657 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5659 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5660 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5661 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5662 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5664 which seems to be undefined. Please make sure it is defined" >&5
5665 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5666 which seems to be undefined. Please make sure it is defined" >&2;}
5668 rm -f "$ac_tmp/stdin"
5670 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5671 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5673 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5679 if test x"$ac_file" != x-; then
5681 $as_echo "/* $configure_input */" \
5682 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5683 } >"$ac_tmp/config.h" \
5684 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5685 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5687 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5690 mv "$ac_tmp/config.h" "$ac_file" \
5691 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5694 $as_echo "/* $configure_input */" \
5695 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5696 || as_fn_error $? "could not create -" "$LINENO" 5
5708 ac_clean_files=$ac_clean_files_save
5710 test $ac_write_fail = 0 ||
5711 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5714 # configure is writing to config.log, and then calls config.status.
5715 # config.status does its own redirection, appending to config.log.
5716 # Unfortunately, on DOS this fails, as config.log is still kept open
5717 # by configure, so config.status won't be able to
write to it
; its
5718 # output is simply discarded. So we exec the FD to /dev/null,
5719 # effectively closing config.log, so it can be properly (re)opened and
5720 # appended to by config.status. When coming back to configure, we
5721 # need to make the FD available again.
5722 if test "$no_create" != yes; then
5724 ac_config_status_args
=
5725 test "$silent" = yes &&
5726 ac_config_status_args
="$ac_config_status_args --quiet"
5728 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5730 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5731 # would make configure fail if this is the last instruction.
5732 $ac_cs_success || as_fn_exit
1
5734 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5736 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}