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
687 program_transform_name
700 enable_option_checking
702 enable_maintainer_mode
707 with_gcc_major_version_only
709 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-checking[=LIST
]
1336 enable expensive run-time checks. With LIST
, enable
1337 only specific categories of checks. Categories are
:
1338 yes,no
,all
,none
,release.
1339 --enable-default-pie enable Position Independent Executable as default
1340 --enable-host-pie build
host code as PIE
1341 --enable-host-bind-now link
host code as BIND_NOW
1344 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1345 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1346 --with-gcc-major-version-only
1347 use only GCC major number
in filesystem paths
1349 Some influential environment variables
:
1350 CXX C
++ compiler
command
1351 CXXFLAGS C
++ compiler flags
1352 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1353 nonstandard directory
<lib dir
>
1354 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1355 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1356 you have headers
in a nonstandard directory
<include dir
>
1357 CXXCPP C
++ preprocessor
1359 Use these variables to override the choices made by
`configure' or to help
1360 it to find libraries and programs with nonstandard names/locations.
1362 Report bugs to the package provider.
1367 if test "$ac_init_help" = "recursive"; then
1368 # If there are subdirs, report their specific --help.
1369 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1370 test -d "$ac_dir" ||
1371 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1376 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1378 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1379 # A ".." for each directory in $ac_dir_suffix.
1380 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1381 case $ac_top_builddir_sub in
1382 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1383 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1386 ac_abs_top_builddir=$ac_pwd
1387 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1388 # for backward compatibility:
1389 ac_top_builddir=$ac_top_build_prefix
1392 .) # We are building in place.
1394 ac_top_srcdir=$ac_top_builddir_sub
1395 ac_abs_top_srcdir=$ac_pwd ;;
1396 [\\/]* | ?:[\\/]* ) # Absolute name.
1397 ac_srcdir=$srcdir$ac_dir_suffix;
1398 ac_top_srcdir=$srcdir
1399 ac_abs_top_srcdir=$srcdir ;;
1401 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1402 ac_top_srcdir=$ac_top_build_prefix$srcdir
1403 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1405 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1407 cd "$ac_dir" || { ac_status=$?; continue; }
1408 # Check for guested configure.
1409 if test -f "$ac_srcdir/configure.gnu"; then
1411 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1412 elif test -f "$ac_srcdir/configure"; then
1414 $SHELL "$ac_srcdir/configure" --help=recursive
1416 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1418 cd "$ac_pwd" || { ac_status=$?; break; }
1422 test -n "$ac_init_help" && exit $ac_status
1423 if $ac_init_version; then
1426 generated by GNU Autoconf 2.69
1428 Copyright (C) 2012 Free Software Foundation, Inc.
1429 This configure script is free software; the Free Software Foundation
1430 gives unlimited permission to copy, distribute and modify it.
1435 ## ------------------------ ##
1436 ## Autoconf initialization. ##
1437 ## ------------------------ ##
1439 # ac_fn_cxx_try_compile LINENO
1440 # ----------------------------
1441 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1442 ac_fn_cxx_try_compile ()
1444 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1445 rm -f conftest.$ac_objext
1446 if { { ac_try="$ac_compile"
1448 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1449 *) ac_try_echo
=$ac_try;;
1451 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1452 $as_echo "$ac_try_echo"; } >&5
1453 (eval "$ac_compile") 2>conftest.err
1455 if test -s conftest.err
; then
1456 grep -v '^ *+' conftest.err
>conftest.er1
1457 cat conftest.er1
>&5
1458 mv -f conftest.er1 conftest.err
1460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1461 test $ac_status = 0; } && {
1462 test -z "$ac_cxx_werror_flag" ||
1463 test ! -s conftest.err
1464 } && test -s conftest.
$ac_objext; then :
1467 $as_echo "$as_me: failed program was:" >&5
1468 sed 's/^/| /' conftest.
$ac_ext >&5
1472 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1473 as_fn_set_status
$ac_retval
1475 } # ac_fn_cxx_try_compile
1477 # ac_fn_cxx_try_cpp LINENO
1478 # ------------------------
1479 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1480 ac_fn_cxx_try_cpp
()
1482 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1483 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1485 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1486 *) ac_try_echo=$ac_try;;
1488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1489 $as_echo "$ac_try_echo"; } >&5
1490 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1492 if test -s conftest.err; then
1493 grep -v '^ *+' conftest.err >conftest.er1
1494 cat conftest.er1 >&5
1495 mv -f conftest.er1 conftest.err
1497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1498 test $ac_status = 0; } > conftest.i && {
1499 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1500 test ! -s conftest.err
1504 $as_echo "$as_me: failed program was:" >&5
1505 sed 's/^/| /' conftest.$ac_ext >&5
1509 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1510 as_fn_set_status $ac_retval
1512 } # ac_fn_cxx_try_cpp
1514 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1515 # ---------------------------------------------------------
1516 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1517 # the include files in INCLUDES and setting the cache variable VAR
1519 ac_fn_cxx_check_header_mongrel ()
1521 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1522 if eval \${$3+:} false; then :
1523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1524 $as_echo_n "checking for $2... " >&6; }
1525 if eval \${$3+:} false; then :
1526 $as_echo_n "(cached) " >&6
1529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1530 $as_echo "$ac_res" >&6; }
1532 # Is the header compilable?
1533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1534 $as_echo_n "checking $2 usability... " >&6; }
1535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1536 /* end confdefs.h. */
1540 if ac_fn_cxx_try_compile "$LINENO"; then :
1541 ac_header_compiler=yes
1543 ac_header_compiler=no
1545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1547 $as_echo "$ac_header_compiler" >&6; }
1549 # Is the header present?
1550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1551 $as_echo_n "checking $2 presence... " >&6; }
1552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1553 /* end confdefs.h. */
1556 if ac_fn_cxx_try_cpp "$LINENO"; then :
1557 ac_header_preproc=yes
1559 ac_header_preproc=no
1561 rm -f conftest.err conftest.i conftest.$ac_ext
1562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1563 $as_echo "$ac_header_preproc" >&6; }
1565 # So? What about this header?
1566 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1569 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1571 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1575 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1577 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1579 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1581 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1583 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1587 $as_echo_n "checking for $2... " >&6; }
1588 if eval \${$3+:} false; then :
1589 $as_echo_n "(cached) " >&6
1591 eval "$3=\$ac_header_compiler"
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1595 $as_echo "$ac_res" >&6; }
1597 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1599 } # ac_fn_cxx_check_header_mongrel
1601 # ac_fn_cxx_try_run LINENO
1602 # ------------------------
1603 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1604 # that executables *can* be run.
1605 ac_fn_cxx_try_run ()
1607 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1608 if { { ac_try="$ac_link"
1610 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1611 *) ac_try_echo
=$ac_try;;
1613 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1614 $as_echo "$ac_try_echo"; } >&5
1615 (eval "$ac_link") 2>&5
1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1619 { { case "(($ac_try" in
1620 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1621 *) ac_try_echo=$ac_try;;
1623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624 $as_echo "$ac_try_echo"; } >&5
1625 (eval "$ac_try") 2>&5
1627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1628 test $ac_status = 0; }; }; then :
1631 $as_echo "$as_me: program exited with status $ac_status" >&5
1632 $as_echo "$as_me: failed program was:" >&5
1633 sed 's/^/| /' conftest.$ac_ext >&5
1635 ac_retval=$ac_status
1637 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1638 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1639 as_fn_set_status $ac_retval
1641 } # ac_fn_cxx_try_run
1643 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1644 # ---------------------------------------------------------
1645 # Tests whether HEADER exists and can be compiled using the include files in
1646 # INCLUDES, setting the cache variable VAR accordingly.
1647 ac_fn_cxx_check_header_compile ()
1649 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1651 $as_echo_n "checking for $2... " >&6; }
1652 if eval \${$3+:} false; then :
1653 $as_echo_n "(cached) " >&6
1655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1656 /* end confdefs.h. */
1660 if ac_fn_cxx_try_compile "$LINENO"; then :
1665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1669 $as_echo "$ac_res" >&6; }
1670 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1672 } # ac_fn_cxx_check_header_compile
1674 # ac_fn_cxx_try_link LINENO
1675 # -------------------------
1676 # Try to link conftest.$ac_ext, and return whether this succeeded.
1677 ac_fn_cxx_try_link ()
1679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680 rm -f conftest.$ac_objext conftest$ac_exeext
1681 if { { ac_try="$ac_link"
1683 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1684 *) ac_try_echo
=$ac_try;;
1686 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687 $as_echo "$ac_try_echo"; } >&5
1688 (eval "$ac_link") 2>conftest.err
1690 if test -s conftest.err
; then
1691 grep -v '^ *+' conftest.err
>conftest.er1
1692 cat conftest.er1
>&5
1693 mv -f conftest.er1 conftest.err
1695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696 test $ac_status = 0; } && {
1697 test -z "$ac_cxx_werror_flag" ||
1698 test ! -s conftest.err
1699 } && test -s conftest
$ac_exeext && {
1700 test "$cross_compiling" = yes ||
1701 test -x conftest
$ac_exeext
1705 $as_echo "$as_me: failed program was:" >&5
1706 sed 's/^/| /' conftest.
$ac_ext >&5
1710 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1711 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1712 # interfere with the next link command; also delete a directory that is
1713 # left behind by Apple's compiler. We do this before executing the actions.
1714 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1716 as_fn_set_status
$ac_retval
1718 } # ac_fn_cxx_try_link
1719 cat >config.log
<<_ACEOF
1720 This file contains any messages produced by compilers while
1721 running configure, to aid debugging if configure makes a mistake.
1723 It was created by $as_me, which was
1724 generated by GNU Autoconf 2.69. Invocation command line was
1736 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1737 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1738 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1739 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1740 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1742 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1743 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1745 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1746 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1747 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1748 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1749 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1750 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1751 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1759 test -z "$as_dir" && as_dir
=.
1760 $as_echo "PATH: $as_dir"
1776 # Keep a trace of the command line.
1777 # Strip out --no-create and --no-recursion so they do not pile up.
1778 # Strip out --silent because we don't want to record it for future runs.
1779 # Also quote any args containing shell meta-characters.
1780 # Make two passes to allow for proper duplicate-argument suppression.
1784 ac_must_keep_next
=false
1790 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1791 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1792 |
-silent |
--silent |
--silen |
--sile |
--sil)
1795 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1798 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1800 as_fn_append ac_configure_args1
" '$ac_arg'"
1801 if test $ac_must_keep_next = true
; then
1802 ac_must_keep_next
=false
# Got value, back to normal.
1805 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1806 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1807 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1808 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1809 case "$ac_configure_args0 " in
1810 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1813 -* ) ac_must_keep_next
=true
;;
1816 as_fn_append ac_configure_args
" '$ac_arg'"
1821 { ac_configure_args0
=; unset ac_configure_args0
;}
1822 { ac_configure_args1
=; unset ac_configure_args1
;}
1824 # When interrupted or exit'd, cleanup temporary files, and complete
1825 # config.log. We remove comments because anyway the quotes in there
1826 # would cause problems or look ugly.
1827 # WARNING: Use '\'' to represent an apostrophe within the trap.
1828 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1829 trap 'exit_status=$?
1830 # Save into config.log some information that might help in debugging.
1834 $as_echo "## ---------------- ##
1835 ## Cache variables. ##
1836 ## ---------------- ##"
1838 # The following way of writing the cache mishandles newlines in values,
1840 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1841 eval ac_val=\$$ac_var
1845 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1846 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1849 _ | IFS | as_nl) ;; #(
1850 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1851 *) { eval $ac_var=; unset $ac_var;} ;;
1856 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1857 *${as_nl}ac_space=\ *)
1859 "s/'\''/'\''\\\\'\'''\''/g;
1860 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1863 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1870 $as_echo "## ----------------- ##
1871 ## Output variables. ##
1872 ## ----------------- ##"
1874 for ac_var in $ac_subst_vars
1876 eval ac_val=\$$ac_var
1878 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1880 $as_echo "$ac_var='\''$ac_val'\''"
1884 if test -n "$ac_subst_files"; then
1885 $as_echo "## ------------------- ##
1886 ## File substitutions. ##
1887 ## ------------------- ##"
1889 for ac_var
in $ac_subst_files
1891 eval ac_val
=\$
$ac_var
1893 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1895 $as_echo "$ac_var='\''$ac_val'\''"
1900 if test -s confdefs.h; then
1901 $as_echo "## ----------- ##
1908 test "$ac_signal" != 0 &&
1909 $as_echo "$as_me: caught signal $ac_signal"
1910 $as_echo "$as_me: exit $exit_status"
1912 rm -f core *.core core.conftest.* &&
1913 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1916 for ac_signal
in 1 2 13 15; do
1917 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1921 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1922 rm -f -r conftest
* confdefs.h
1924 $as_echo "/* confdefs.h */" > confdefs.h
1926 # Predefined preprocessor variables.
1928 cat >>confdefs.h
<<_ACEOF
1929 #define PACKAGE_NAME "$PACKAGE_NAME"
1932 cat >>confdefs.h
<<_ACEOF
1933 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1936 cat >>confdefs.h
<<_ACEOF
1937 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1940 cat >>confdefs.h
<<_ACEOF
1941 #define PACKAGE_STRING "$PACKAGE_STRING"
1944 cat >>confdefs.h
<<_ACEOF
1945 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1948 cat >>confdefs.h
<<_ACEOF
1949 #define PACKAGE_URL "$PACKAGE_URL"
1953 # Let the site file select an alternate cache file if it wants to.
1954 # Prefer an explicitly selected file to automatically selected ones.
1957 if test -n "$CONFIG_SITE"; then
1958 # We do not want a PATH search for config.site.
1959 case $CONFIG_SITE in #((
1960 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1961 */*) ac_site_file1
=$CONFIG_SITE;;
1962 *) ac_site_file1
=.
/$CONFIG_SITE;;
1964 elif test "x$prefix" != xNONE
; then
1965 ac_site_file1
=$prefix/share
/config.site
1966 ac_site_file2
=$prefix/etc
/config.site
1968 ac_site_file1
=$ac_default_prefix/share
/config.site
1969 ac_site_file2
=$ac_default_prefix/etc
/config.site
1971 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1973 test "x$ac_site_file" = xNONE
&& continue
1974 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1976 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1977 sed 's/^/| /' "$ac_site_file" >&5
1979 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1980 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1981 as_fn_error $?
"failed to load site script $ac_site_file
1982 See \`config.log' for more details" "$LINENO" 5; }
1986 if test -r "$cache_file"; then
1987 # Some versions of bash will fail to source /dev/null (special files
1988 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1989 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1991 $as_echo "$as_me: loading cache $cache_file" >&6;}
1993 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1994 *) .
"./$cache_file";;
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1999 $as_echo "$as_me: creating cache $cache_file" >&6;}
2003 # Check that the precious variables saved in the cache have kept the same
2005 ac_cache_corrupted
=false
2006 for ac_var
in $ac_precious_vars; do
2007 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2008 eval ac_new_set
=\
$ac_env_${ac_var}_set
2009 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2010 eval ac_new_val
=\
$ac_env_${ac_var}_value
2011 case $ac_old_set,$ac_new_set in
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2014 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2015 ac_cache_corrupted
=: ;;
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2018 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2019 ac_cache_corrupted
=: ;;
2022 if test "x$ac_old_val" != "x$ac_new_val"; then
2023 # differences in whitespace do not lead to failure.
2024 ac_old_val_w
=`echo x $ac_old_val`
2025 ac_new_val_w
=`echo x $ac_new_val`
2026 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2028 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2029 ac_cache_corrupted
=:
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2032 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2033 eval $ac_var=\
$ac_old_val
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2036 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2038 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2041 # Pass precious variables to config.status.
2042 if test "$ac_new_set" = set; then
2044 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2045 *) ac_arg
=$ac_var=$ac_new_val ;;
2047 case " $ac_configure_args " in
2048 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2049 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2053 if $ac_cache_corrupted; then
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2057 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2058 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2060 ## -------------------- ##
2061 ## Main body of script. ##
2062 ## -------------------- ##
2065 ac_cpp
='$CPP $CPPFLAGS'
2066 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2067 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2068 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2074 # Determine the noncanonical names used for directories.
2076 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2077 if test -f "$ac_dir/install-sh"; then
2079 ac_install_sh
="$ac_aux_dir/install-sh -c"
2081 elif test -f "$ac_dir/install.sh"; then
2083 ac_install_sh
="$ac_aux_dir/install.sh -c"
2085 elif test -f "$ac_dir/shtool"; then
2087 ac_install_sh
="$ac_aux_dir/shtool install -c"
2091 if test -z "$ac_aux_dir"; then
2092 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2095 # These three variables are undocumented and unsupported,
2096 # and are intended to be withdrawn in a future Autoconf release.
2097 # They can cause serious problems if a builder's source tree is in a directory
2098 # whose full name contains unusual characters.
2099 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2100 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2101 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2104 # Make sure we can run config.sub.
2105 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2106 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2109 $as_echo_n "checking build system type... " >&6; }
2110 if ${ac_cv_build+:} false
; then :
2111 $as_echo_n "(cached) " >&6
2113 ac_build_alias
=$build_alias
2114 test "x$ac_build_alias" = x
&&
2115 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2116 test "x$ac_build_alias" = x
&&
2117 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2118 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2119 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2123 $as_echo "$ac_cv_build" >&6; }
2124 case $ac_cv_build in
2126 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2129 ac_save_IFS
=$IFS; IFS
='-'
2135 # Remember, the first character of IFS is used to create $*,
2136 # except with old shells:
2139 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2142 case ${build_alias} in
2143 "") build_noncanonical
=${build} ;;
2144 *) build_noncanonical
=${build_alias} ;;
2147 case ${host_alias} in
2148 "") host_noncanonical
=${build_noncanonical} ;;
2149 *) host_noncanonical
=${host_alias} ;;
2152 case ${target_alias} in
2153 "") target_noncanonical
=${host_noncanonical} ;;
2154 *) target_noncanonical
=${target_alias} ;;
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2161 $as_echo_n "checking host system type... " >&6; }
2162 if ${ac_cv_host+:} false
; then :
2163 $as_echo_n "(cached) " >&6
2165 if test "x$host_alias" = x
; then
2166 ac_cv_host
=$ac_cv_build
2168 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2169 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2174 $as_echo "$ac_cv_host" >&6; }
2177 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2180 ac_save_IFS
=$IFS; IFS
='-'
2186 # Remember, the first character of IFS is used to create $*,
2187 # except with old shells:
2190 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2194 $as_echo_n "checking target system type... " >&6; }
2195 if ${ac_cv_target+:} false
; then :
2196 $as_echo_n "(cached) " >&6
2198 if test "x$target_alias" = x
; then
2199 ac_cv_target
=$ac_cv_host
2201 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2202 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2207 $as_echo "$ac_cv_target" >&6; }
2208 case $ac_cv_target in
2210 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2212 target
=$ac_cv_target
2213 ac_save_IFS
=$IFS; IFS
='-'
2219 # Remember, the first character of IFS is used to create $*,
2220 # except with old shells:
2223 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2226 # The aliases save the names the user supplied, while $host etc.
2227 # will get canonicalized.
2228 test -n "$target_alias" &&
2229 test "$program_prefix$program_suffix$program_transform_name" = \
2231 program_prefix
=${target_alias}-
2233 # Find a good install program. We prefer a C program (faster),
2234 # so one script is as good as another. But avoid the broken or
2235 # incompatible versions:
2236 # SysV /etc/install, /usr/sbin/install
2237 # SunOS /usr/etc/install
2238 # IRIX /sbin/install
2240 # AmigaOS /C/install, which installs bootblocks on floppy discs
2241 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2242 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2243 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2244 # OS/2's system install, which has a completely different semantic
2245 # ./install, which can be erroneously created by make from ./install.sh.
2246 # Reject install programs that cannot install multiple files.
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2248 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2249 if test -z "$INSTALL"; then
2250 if ${ac_cv_path_install+:} false
; then :
2251 $as_echo_n "(cached) " >&6
2253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2257 test -z "$as_dir" && as_dir
=.
2258 # Account for people who put trailing slashes in PATH elements.
2259 case $as_dir/ in #((
2260 .
/ | .
// |
/[cC
]/* | \
2261 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2262 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2265 # OSF1 and SCO ODT 3.0 have their own names for install.
2266 # Don't use installbsd from OSF since it installs stuff as root
2268 for ac_prog
in ginstall scoinst
install; do
2269 for ac_exec_ext
in '' $ac_executable_extensions; do
2270 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2271 if test $ac_prog = install &&
2272 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2273 # AIX install. It has an incompatible calling convention.
2275 elif test $ac_prog = install &&
2276 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2277 # program-specific install script used by HP pwplus--don't use.
2280 rm -rf conftest.one conftest.two conftest.dir
2281 echo one
> conftest.one
2282 echo two
> conftest.two
2284 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2285 test -s conftest.one
&& test -s conftest.two
&&
2286 test -s conftest.dir
/conftest.one
&&
2287 test -s conftest.dir
/conftest.two
2289 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2302 rm -rf conftest.one conftest.two conftest.dir
2305 if test "${ac_cv_path_install+set}" = set; then
2306 INSTALL
=$ac_cv_path_install
2308 # As a last resort, use the slow shell script. Don't cache a
2309 # value for INSTALL within a source directory, because that will
2310 # break other packages using the cache if that directory is
2311 # removed, or if the value is a relative name.
2312 INSTALL
=$ac_install_sh
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2316 $as_echo "$INSTALL" >&6; }
2318 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2319 # It thinks the first close brace ends the variable substitution.
2320 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2322 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2324 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2326 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2330 ac_cpp
='$CXXCPP $CPPFLAGS'
2331 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2332 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2333 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2334 if test -z "$CXX"; then
2335 if test -n "$CCC"; then
2338 if test -n "$ac_tool_prefix"; then
2339 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2341 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2342 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2344 $as_echo_n "checking for $ac_word... " >&6; }
2345 if ${ac_cv_prog_CXX+:} false
; then :
2346 $as_echo_n "(cached) " >&6
2348 if test -n "$CXX"; then
2349 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2355 test -z "$as_dir" && as_dir
=.
2356 for ac_exec_ext
in '' $ac_executable_extensions; do
2357 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2358 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2369 if test -n "$CXX"; then
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2371 $as_echo "$CXX" >&6; }
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2374 $as_echo "no" >&6; }
2378 test -n "$CXX" && break
2381 if test -z "$CXX"; then
2383 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2385 # Extract the first word of "$ac_prog", so it can be a program name with args.
2386 set dummy
$ac_prog; ac_word
=$2
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2388 $as_echo_n "checking for $ac_word... " >&6; }
2389 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
2390 $as_echo_n "(cached) " >&6
2392 if test -n "$ac_ct_CXX"; then
2393 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2399 test -z "$as_dir" && as_dir
=.
2400 for ac_exec_ext
in '' $ac_executable_extensions; do
2401 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2402 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2412 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2413 if test -n "$ac_ct_CXX"; then
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2415 $as_echo "$ac_ct_CXX" >&6; }
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2418 $as_echo "no" >&6; }
2422 test -n "$ac_ct_CXX" && break
2425 if test "x$ac_ct_CXX" = x
; then
2428 case $cross_compiling:$ac_tool_warned in
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2432 ac_tool_warned
=yes ;;
2440 # Provide some information about the compiler.
2441 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2444 for ac_option
in --version -v -V -qversion; do
2445 { { ac_try
="$ac_compiler $ac_option >&5"
2447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2448 *) ac_try_echo=$ac_try;;
2450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2451 $as_echo "$ac_try_echo"; } >&5
2452 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2454 if test -s conftest.err; then
2456 ... rest of stderr output deleted ...
2457 10q' conftest.err >conftest.er1
2458 cat conftest.er1 >&5
2460 rm -f conftest.er1 conftest.err
2461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2462 test $ac_status = 0; }
2465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2466 /* end confdefs.h. */
2476 ac_clean_files_save=$ac_clean_files
2477 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2478 # Try to create an executable without -o first, disregard a.out.
2479 # It will help us diagnose broken compilers, and finding out an intuition
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2482 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2483 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2485 # The possible output files:
2486 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2489 for ac_file in $ac_files
2492 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2493 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2498 if { { ac_try="$ac_link_default"
2500 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2501 *) ac_try_echo
=$ac_try;;
2503 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2504 $as_echo "$ac_try_echo"; } >&5
2505 (eval "$ac_link_default") 2>&5
2507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2508 test $ac_status = 0; }; then :
2509 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2510 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2511 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2512 # so that the user can short-circuit this test for compilers unknown to
2514 for ac_file
in $ac_files ''
2516 test -f "$ac_file" ||
continue
2518 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2521 # We found the default executable, but exeext='' is most
2525 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2527 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2529 # We set ac_cv_exeext here because the later test for it is not
2530 # safe: cross compilers may not add the suffix if given an `-o'
2531 # argument, so we may need to know it at that point already.
2532 # Even if this section looks crufty: it has the advantage of
2539 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2544 if test -z "$ac_file"; then :
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2546 $as_echo "no" >&6; }
2547 $as_echo "$as_me: failed program was:" >&5
2548 sed 's/^/| /' conftest.
$ac_ext >&5
2550 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2552 as_fn_error
77 "C++ compiler cannot create executables
2553 See \`config.log' for more details" "$LINENO" 5; }
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2556 $as_echo "yes" >&6; }
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2559 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2561 $as_echo "$ac_file" >&6; }
2562 ac_exeext
=$ac_cv_exeext
2564 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2565 ac_clean_files
=$ac_clean_files_save
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2567 $as_echo_n "checking for suffix of executables... " >&6; }
2568 if { { ac_try
="$ac_link"
2570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2571 *) ac_try_echo=$ac_try;;
2573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2574 $as_echo "$ac_try_echo"; } >&5
2575 (eval "$ac_link") 2>&5
2577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2578 test $ac_status = 0; }; then :
2579 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2580 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2581 # work properly (i.e., refer to `conftest.exe'), while it won't with
2583 for ac_file
in conftest.exe conftest conftest.
*; do
2584 test -f "$ac_file" ||
continue
2586 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2587 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2593 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2595 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2596 See \`config.log' for more details" "$LINENO" 5; }
2598 rm -f conftest conftest
$ac_cv_exeext
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2600 $as_echo "$ac_cv_exeext" >&6; }
2602 rm -f conftest.
$ac_ext
2603 EXEEXT
=$ac_cv_exeext
2605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2606 /* end confdefs.h. */
2611 FILE *f = fopen ("conftest.out", "w");
2612 return ferror (f) || fclose (f) != 0;
2618 ac_clean_files
="$ac_clean_files conftest.out"
2619 # Check that the compiler produces executables we can run. If not, either
2620 # the compiler is broken, or we cross compile.
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2622 $as_echo_n "checking whether we are cross compiling... " >&6; }
2623 if test "$cross_compiling" != yes; then
2624 { { ac_try
="$ac_link"
2626 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2627 *) ac_try_echo=$ac_try;;
2629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2630 $as_echo "$ac_try_echo"; } >&5
2631 (eval "$ac_link") 2>&5
2633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2634 test $ac_status = 0; }
2635 if { ac_try='./conftest$ac_cv_exeext'
2636 { { case "(($ac_try" in
2637 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2638 *) ac_try_echo
=$ac_try;;
2640 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2641 $as_echo "$ac_try_echo"; } >&5
2642 (eval "$ac_try") 2>&5
2644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2645 test $ac_status = 0; }; }; then
2648 if test "$cross_compiling" = maybe
; then
2651 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2652 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2653 as_fn_error $?
"cannot run C++ compiled programs.
2654 If you meant to cross compile, use \`--host'.
2655 See \`config.log' for more details" "$LINENO" 5; }
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2660 $as_echo "$cross_compiling" >&6; }
2662 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2663 ac_clean_files
=$ac_clean_files_save
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2665 $as_echo_n "checking for suffix of object files... " >&6; }
2666 if ${ac_cv_objext+:} false
; then :
2667 $as_echo_n "(cached) " >&6
2669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2670 /* end confdefs.h. */
2680 rm -f conftest.o conftest.obj
2681 if { { ac_try
="$ac_compile"
2683 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2684 *) ac_try_echo=$ac_try;;
2686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2687 $as_echo "$ac_try_echo"; } >&5
2688 (eval "$ac_compile") 2>&5
2690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2691 test $ac_status = 0; }; then :
2692 for ac_file in conftest.o conftest.obj conftest.*; do
2693 test -f "$ac_file" || continue;
2695 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2696 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2701 $as_echo "$as_me: failed program was:" >&5
2702 sed 's/^/| /' conftest.$ac_ext >&5
2704 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2706 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2707 See \
`config.log' for more details" "$LINENO" 5; }
2709 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2712 $as_echo "$ac_cv_objext" >&6; }
2713 OBJEXT=$ac_cv_objext
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2716 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2717 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2718 $as_echo_n "(cached) " >&6
2720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2721 /* end confdefs.h. */
2734 if ac_fn_cxx_try_compile "$LINENO"; then :
2739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2740 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2744 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2745 if test $ac_compiler_gnu = yes; then
2750 ac_test_CXXFLAGS=${CXXFLAGS+set}
2751 ac_save_CXXFLAGS=$CXXFLAGS
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2753 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2754 if ${ac_cv_prog_cxx_g+:} false; then :
2755 $as_echo_n "(cached) " >&6
2757 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2758 ac_cxx_werror_flag=yes
2761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2762 /* end confdefs.h. */
2772 if ac_fn_cxx_try_compile "$LINENO"; then :
2773 ac_cv_prog_cxx_g=yes
2776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2777 /* end confdefs.h. */
2787 if ac_fn_cxx_try_compile "$LINENO"; then :
2790 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2793 /* end confdefs.h. */
2803 if ac_fn_cxx_try_compile "$LINENO"; then :
2804 ac_cv_prog_cxx_g=yes
2806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2811 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2814 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2815 if test "$ac_test_CXXFLAGS" = set; then
2816 CXXFLAGS=$ac_save_CXXFLAGS
2817 elif test $ac_cv_prog_cxx_g = yes; then
2818 if test "$GXX" = yes; then
2824 if test "$GXX" = yes; then
2831 ac_cpp='$CPP $CPPFLAGS'
2832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2836 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
2837 for ac_prog in autoconf
2839 # Extract the first word of "$ac_prog", so it can be a program name with args.
2840 set dummy $ac_prog; ac_word=$2
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2842 $as_echo_n "checking for $ac_word... " >&6; }
2843 if ${ac_cv_prog_AUTOCONF+:} false; then :
2844 $as_echo_n "(cached) " >&6
2846 if test -n "$AUTOCONF"; then
2847 ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
2849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2853 test -z "$as_dir" && as_dir=.
2854 for ac_exec_ext in '' $ac_executable_extensions; do
2855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2856 ac_cv_prog_AUTOCONF="$ac_prog"
2857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2866 AUTOCONF=$ac_cv_prog_AUTOCONF
2867 if test -n "$AUTOCONF"; then
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
2869 $as_echo "$AUTOCONF" >&6; }
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2872 $as_echo "no" >&6; }
2876 test -n "$AUTOCONF" && break
2878 test -n "$AUTOCONF" || AUTOCONF="$MISSING autoconf"
2880 for ac_prog in autoheader
2882 # Extract the first word of "$ac_prog", so it can be a program name with args.
2883 set dummy $ac_prog; ac_word=$2
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2885 $as_echo_n "checking for $ac_word... " >&6; }
2886 if ${ac_cv_prog_AUTOHEADER+:} false; then :
2887 $as_echo_n "(cached) " >&6
2889 if test -n "$AUTOHEADER"; then
2890 ac_cv_prog_AUTOHEADER="$AUTOHEADER" # Let the user override the test.
2892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2896 test -z "$as_dir" && as_dir=.
2897 for ac_exec_ext in '' $ac_executable_extensions; do
2898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2899 ac_cv_prog_AUTOHEADER="$ac_prog"
2900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2909 AUTOHEADER=$ac_cv_prog_AUTOHEADER
2910 if test -n "$AUTOHEADER"; then
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
2912 $as_echo "$AUTOHEADER" >&6; }
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2915 $as_echo "no" >&6; }
2919 test -n "$AUTOHEADER" && break
2921 test -n "$AUTOHEADER" || AUTOHEADER="$MISSING autoheader"
2925 ac_cpp='$CXXCPP $CPPFLAGS'
2926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build C++ tools" >&5
2932 $as_echo_n "checking whether to build C++ tools... " >&6; }
2933 # Check whether --enable-c++-tools was given.
2934 if test "${enable_c___tools+set}" = set; then :
2935 enableval=$enable_c___tools; cxx_aux_tools=$enableval
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cxx_aux_tools" >&5
2942 $as_echo "$cxx_aux_tools" >&6; }
2943 CXX_AUX_TOOLS="$cxx_aux_tools"
2946 # Check whether --enable-maintainer-mode was given.
2947 if test "${enable_maintainer_mode+set}" = set; then :
2948 enableval=$enable_maintainer_mode;
2950 enable_maintainer_mode=no
2953 case "$enable_maintainer_mode" in
2954 yes) maintainer_mode=yes ;;
2955 no) maintainer_mode=no ;;
2956 *) as_fn_error $? "unknown maintainer mode $enable_maintainer_mode" "$LINENO" 5 ;;
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking maintainer-mode" >&5
2959 $as_echo_n "checking maintainer-mode... " >&6; }
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $maintainer_mode" >&5
2961 $as_echo "$maintainer_mode" >&6; }
2962 test "$maintainer_mode" = yes && MAINTAINER=yes
2965 # Handle configuration of checking; for the tools in this directory we
2966 # default to release checking and stricter checks do not change this.
2968 # Check whether --enable-checking was given.
2969 if test "${enable_checking+set}" = set; then :
2970 enableval=$enable_checking; ac_checking_flags="${enableval}"
2973 # Default to checking.
2974 ac_checking_flags=yes
2978 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$IFS,"
2979 for check in release $ac_checking_flags
2982 # these set all the flags to specific states
2983 yes|all|release|assert) ac_assert_checking=1 ; ;;
2984 no|none) ac_assert_checking= ; ;;
2990 if test x$ac_assert_checking != x ; then
2992 $as_echo "#define ENABLE_ASSERT_CHECKING 1" >>confdefs.h
2996 # Check whether --enable-default-pie was given.
2997 # Check whether --enable-default-pie was given.
2998 if test "${enable_default_pie+set}" = set; then :
2999 enableval=$enable_default_pie; PICFLAG=-fPIE
3005 # Enable --enable-host-pie
3006 # Check whether --enable-host-pie was given.
3007 if test "${enable_host_pie+set}" = set; then :
3008 enableval=$enable_host_pie; PICFLAG=-fPIE; LD_PICFLAG=-pie
3013 # Enable --enable-host-bind-now
3014 # Check whether --enable-host-bind-now was given.
3015 if test "${enable_host_bind_now+set}" = set; then :
3016 enableval=$enable_host_bind_now; LD_PICFLAG="$LD_PICFLAG -Wl,-z,now"
3022 # Check if O_CLOEXEC is defined by fcntl
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for O_CLOEXEC" >&5
3025 $as_echo_n "checking for O_CLOEXEC... " >&6; }
3026 if ${ac_cv_o_cloexec+:} false; then :
3027 $as_echo_n "(cached) " >&6
3030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3031 /* end confdefs.h. */
3038 return open ("/dev/null", O_RDONLY | O_CLOEXEC);
3043 if ac_fn_cxx_try_compile "$LINENO"; then :
3048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_o_cloexec" >&5
3051 $as_echo "$ac_cv_o_cloexec" >&6; }
3052 if test $ac_cv_o_cloexec = yes; then
3054 $as_echo "#define HOST_HAS_O_CLOEXEC 1" >>confdefs.h
3059 ac_cpp='$CXXCPP $CPPFLAGS'
3060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
3064 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
3065 if test -z "$CXXCPP"; then
3066 if ${ac_cv_prog_CXXCPP+:} false; then :
3067 $as_echo_n "(cached) " >&6
3069 # Double quotes because CXXCPP needs to be expanded
3070 for CXXCPP in "$CXX -E" "/lib/cpp"
3073 for ac_cxx_preproc_warn_flag in '' yes
3075 # Use a header file that comes with gcc, so configuring glibc
3076 # with a fresh cross-compiler works.
3077 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3078 # <limits.h> exists even on freestanding compilers.
3079 # On the NeXT, cc -E runs the code through the compiler's parser,
3080 # not just through cpp. "Syntax error" is here to catch this case.
3081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3082 /* end confdefs.h. */
3084 # include <limits.h>
3086 # include <assert.h>
3090 if ac_fn_cxx_try_cpp "$LINENO"; then :
3093 # Broken: fails on valid input.
3096 rm -f conftest.err conftest.i conftest.$ac_ext
3098 # OK, works on sane cases. Now check whether nonexistent headers
3099 # can be detected and how.
3100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101 /* end confdefs.h. */
3102 #include <ac_nonexistent.h>
3104 if ac_fn_cxx_try_cpp "$LINENO"; then :
3105 # Broken: success on invalid input.
3108 # Passes both tests.
3112 rm -f conftest.err conftest.i conftest.$ac_ext
3115 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3116 rm -f conftest.i conftest.err conftest.
$ac_ext
3117 if $ac_preproc_ok; then :
3122 ac_cv_prog_CXXCPP
=$CXXCPP
3125 CXXCPP
=$ac_cv_prog_CXXCPP
3127 ac_cv_prog_CXXCPP
=$CXXCPP
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
3130 $as_echo "$CXXCPP" >&6; }
3132 for ac_cxx_preproc_warn_flag
in '' yes
3134 # Use a header file that comes with gcc, so configuring glibc
3135 # with a fresh cross-compiler works.
3136 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3137 # <limits.h> exists even on freestanding compilers.
3138 # On the NeXT, cc -E runs the code through the compiler's parser,
3139 # not just through cpp. "Syntax error" is here to catch this case.
3140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3141 /* end confdefs.h. */
3143 # include <limits.h>
3145 # include <assert.h>
3149 if ac_fn_cxx_try_cpp
"$LINENO"; then :
3152 # Broken: fails on valid input.
3155 rm -f conftest.err conftest.i conftest.
$ac_ext
3157 # OK, works on sane cases. Now check whether nonexistent headers
3158 # can be detected and how.
3159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3160 /* end confdefs.h. */
3161 #include <ac_nonexistent.h>
3163 if ac_fn_cxx_try_cpp
"$LINENO"; then :
3164 # Broken: success on invalid input.
3167 # Passes both tests.
3171 rm -f conftest.err conftest.i conftest.
$ac_ext
3174 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3175 rm -f conftest.i conftest.err conftest.
$ac_ext
3176 if $ac_preproc_ok; then :
3179 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3181 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
3182 See \`config.log' for more details" "$LINENO" 5; }
3186 ac_cpp
='$CXXCPP $CPPFLAGS'
3187 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3188 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3189 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3193 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3194 if ${ac_cv_path_GREP+:} false
; then :
3195 $as_echo_n "(cached) " >&6
3197 if test -z "$GREP"; then
3198 ac_path_GREP_found
=false
3199 # Loop through the user's path and test for each of PROGNAME-LIST
3200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3201 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3204 test -z "$as_dir" && as_dir
=.
3205 for ac_prog
in grep ggrep
; do
3206 for ac_exec_ext
in '' $ac_executable_extensions; do
3207 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3208 as_fn_executable_p
"$ac_path_GREP" ||
continue
3209 # Check for GNU ac_path_GREP and select it if it is found.
3210 # Check for GNU $ac_path_GREP
3211 case `"$ac_path_GREP" --version 2>&1` in
3213 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3216 $as_echo_n 0123456789 >"conftest.in"
3219 cat "conftest.in" "conftest.in" >"conftest.tmp"
3220 mv "conftest.tmp" "conftest.in"
3221 cp "conftest.in" "conftest.nl"
3222 $as_echo 'GREP' >> "conftest.nl"
3223 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3224 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3225 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3226 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3227 # Best one so far, save it but keep looking for a better one
3228 ac_cv_path_GREP
="$ac_path_GREP"
3229 ac_path_GREP_max
=$ac_count
3231 # 10*(2^10) chars as input seems more than enough
3232 test $ac_count -gt 10 && break
3234 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3237 $ac_path_GREP_found && break 3
3242 if test -z "$ac_cv_path_GREP"; then
3243 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3246 ac_cv_path_GREP
=$GREP
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3251 $as_echo "$ac_cv_path_GREP" >&6; }
3252 GREP
="$ac_cv_path_GREP"
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3256 $as_echo_n "checking for egrep... " >&6; }
3257 if ${ac_cv_path_EGREP+:} false
; then :
3258 $as_echo_n "(cached) " >&6
3260 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3261 then ac_cv_path_EGREP
="$GREP -E"
3263 if test -z "$EGREP"; then
3264 ac_path_EGREP_found
=false
3265 # Loop through the user's path and test for each of PROGNAME-LIST
3266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3267 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3270 test -z "$as_dir" && as_dir
=.
3271 for ac_prog
in egrep; do
3272 for ac_exec_ext
in '' $ac_executable_extensions; do
3273 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3274 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3275 # Check for GNU ac_path_EGREP and select it if it is found.
3276 # Check for GNU $ac_path_EGREP
3277 case `"$ac_path_EGREP" --version 2>&1` in
3279 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3282 $as_echo_n 0123456789 >"conftest.in"
3285 cat "conftest.in" "conftest.in" >"conftest.tmp"
3286 mv "conftest.tmp" "conftest.in"
3287 cp "conftest.in" "conftest.nl"
3288 $as_echo 'EGREP' >> "conftest.nl"
3289 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3290 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3291 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3292 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3293 # Best one so far, save it but keep looking for a better one
3294 ac_cv_path_EGREP
="$ac_path_EGREP"
3295 ac_path_EGREP_max
=$ac_count
3297 # 10*(2^10) chars as input seems more than enough
3298 test $ac_count -gt 10 && break
3300 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3303 $ac_path_EGREP_found && break 3
3308 if test -z "$ac_cv_path_EGREP"; then
3309 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3312 ac_cv_path_EGREP
=$EGREP
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3318 $as_echo "$ac_cv_path_EGREP" >&6; }
3319 EGREP
="$ac_cv_path_EGREP"
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3323 $as_echo_n "checking for ANSI C header files... " >&6; }
3324 if ${ac_cv_header_stdc+:} false
; then :
3325 $as_echo_n "(cached) " >&6
3327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3328 /* end confdefs.h. */
3342 if ac_fn_cxx_try_compile
"$LINENO"; then :
3343 ac_cv_header_stdc
=yes
3345 ac_cv_header_stdc
=no
3347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3349 if test $ac_cv_header_stdc = yes; then
3350 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3352 /* end confdefs.h. */
3356 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3357 $EGREP "memchr" >/dev
/null
2>&1; then :
3360 ac_cv_header_stdc
=no
3366 if test $ac_cv_header_stdc = yes; then
3367 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3369 /* end confdefs.h. */
3373 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3374 $EGREP "free" >/dev
/null
2>&1; then :
3377 ac_cv_header_stdc
=no
3383 if test $ac_cv_header_stdc = yes; then
3384 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3385 if test "$cross_compiling" = yes; then :
3388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3389 /* end confdefs.h. */
3392 #if ((' ' & 0x0FF) == 0x020)
3393 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3394 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3396 # define ISLOWER(c) \
3397 (('a' <= (c) && (c) <= 'i') \
3398 || ('j' <= (c) && (c) <= 'r') \
3399 || ('s' <= (c) && (c) <= 'z'))
3400 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3403 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3408 for (i = 0; i < 256; i++)
3409 if (XOR (islower (i), ISLOWER (i))
3410 || toupper (i) != TOUPPER (i))
3415 if ac_fn_cxx_try_run
"$LINENO"; then :
3418 ac_cv_header_stdc
=no
3420 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3421 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3427 $as_echo "$ac_cv_header_stdc" >&6; }
3428 if test $ac_cv_header_stdc = yes; then
3430 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3434 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3435 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3436 inttypes.h stdint.h unistd.h
3438 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3439 ac_fn_cxx_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3441 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3442 cat >>confdefs.h
<<_ACEOF
3443 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3451 for ac_header
in sys
/mman.h
3453 ac_fn_cxx_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
3454 if test "x$ac_cv_header_sys_mman_h" = xyes
; then :
3455 cat >>confdefs.h
<<_ACEOF
3456 #define HAVE_SYS_MMAN_H 1
3464 # C++ Modules would like some networking features to provide the mapping
3465 # server. You can still use modules without them though.
3466 # The following network-related checks could probably do with some
3467 # Windows and other non-linux defenses and checking.
3469 # Local socket connectivity wants AF_UNIX networking
3470 # Check for AF_UNIX networking
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AF_UNIX" >&5
3472 $as_echo_n "checking for AF_UNIX... " >&6; }
3473 if ${ac_cv_af_unix+:} false
; then :
3474 $as_echo_n "(cached) " >&6
3477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h. */
3480 #include <sys/types.h>
3481 #include <sys/socket.h>
3483 #include <netinet/in.h>
3489 un.sun_family = AF_UNSPEC;
3490 int fd = socket (AF_UNIX, SOCK_STREAM, 0);
3491 connect (fd, (sockaddr *)&un, sizeof (un));
3496 if ac_fn_cxx_try_compile
"$LINENO"; then :
3501 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_af_unix" >&5
3504 $as_echo "$ac_cv_af_unix" >&6; }
3505 if test $ac_cv_af_unix = yes; then
3507 $as_echo "#define HAVE_AF_UNIX 1" >>confdefs.h
3511 # Remote socket connectivity wants AF_INET6 networking
3512 # Check for AF_INET6 networking
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AF_INET6" >&5
3514 $as_echo_n "checking for AF_INET6... " >&6; }
3515 if ${ac_cv_af_inet6+:} false
; then :
3516 $as_echo_n "(cached) " >&6
3519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h. */
3522 #include <sys/types.h>
3523 #include <sys/socket.h>
3524 #include <netinet/in.h>
3531 in6.sin6_family = AF_UNSPEC;
3532 struct addrinfo *addrs = 0;
3533 struct addrinfo hints;
3535 hints.ai_family = AF_INET6;
3536 hints.ai_socktype = SOCK_STREAM;
3537 hints.ai_protocol = 0;
3538 hints.ai_canonname = 0;
3541 int e = getaddrinfo ("localhost", 0, &hints, &addrs);
3542 const char *str = gai_strerror (e);
3543 freeaddrinfo (addrs);
3544 int fd = socket (AF_INET6, SOCK_STREAM, 0);
3545 connect (fd, (sockaddr *)&in6, sizeof (in6));
3550 if ac_fn_cxx_try_compile
"$LINENO"; then :
3555 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_af_inet6" >&5
3558 $as_echo "$ac_cv_af_inet6" >&6; }
3559 if test $ac_cv_af_inet6 = yes; then
3561 $as_echo "#define HAVE_AF_INET6 1" >>confdefs.h
3565 # Efficient server response wants epoll
3566 # Check for epoll_create, epoll_ctl, epoll_pwait
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll" >&5
3568 $as_echo_n "checking for epoll... " >&6; }
3569 if ${ac_cv_epoll+:} false
; then :
3570 $as_echo_n "(cached) " >&6
3573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3574 /* end confdefs.h. */
3576 #include <sys/epoll.h>
3581 int fd = epoll_create (1);
3583 ev.events = EPOLLIN;
3585 epoll_ctl (fd, EPOLL_CTL_ADD, 0, &ev);
3586 epoll_pwait (fd, 0, 0, -1, 0);
3591 if ac_fn_cxx_try_compile
"$LINENO"; then :
3596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_epoll" >&5
3599 $as_echo "$ac_cv_epoll" >&6; }
3600 if test $ac_cv_epoll = yes; then
3602 $as_echo "#define HAVE_EPOLL 1" >>confdefs.h
3606 # If we can't use epoll, try pselect.
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pselect" >&5
3609 $as_echo_n "checking for pselect... " >&6; }
3610 if ${ac_cv_pselect+:} false
; then :
3611 $as_echo_n "(cached) " >&6
3614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3615 /* end confdefs.h. */
3617 #include <sys/select.h>
3622 pselect (0, 0, 0, 0, 0, 0);
3627 if ac_fn_cxx_try_compile
"$LINENO"; then :
3632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pselect" >&5
3635 $as_echo "$ac_cv_pselect" >&6; }
3636 if test $ac_cv_pselect = yes; then
3638 $as_echo "#define HAVE_PSELECT 1" >>confdefs.h
3642 # And failing that, use good old select.
3643 # If we can't even use this, the server is serialized.
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for select" >&5
3646 $as_echo_n "checking for select... " >&6; }
3647 if ${ac_cv_select+:} false
; then :
3648 $as_echo_n "(cached) " >&6
3651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3652 /* end confdefs.h. */
3654 #include <sys/select.h>
3659 select (0, 0, 0, 0, 0);
3664 if ac_fn_cxx_try_compile
"$LINENO"; then :
3669 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_select" >&5
3672 $as_echo "$ac_cv_select" >&6; }
3673 if test $ac_cv_select = yes; then
3675 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
3679 # Avoid some fnctl calls by using accept4, when available.
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for accept4" >&5
3682 $as_echo_n "checking for accept4... " >&6; }
3683 if ${ac_cv_accept4+:} false
; then :
3684 $as_echo_n "(cached) " >&6
3687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3688 /* end confdefs.h. */
3690 #include <sys/socket.h>
3695 int err = accept4 (1, 0, 0, SOCK_NONBLOCK);
3700 if ac_fn_cxx_try_compile
"$LINENO"; then :
3705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_accept4" >&5
3708 $as_echo "$ac_cv_accept4" >&6; }
3709 if test $ac_cv_accept4 = yes; then
3711 $as_echo "#define HAVE_ACCEPT4 1" >>confdefs.h
3715 # For better server messages, look for a way to stringize network addresses
3716 # Check for inet_ntop
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntop" >&5
3718 $as_echo_n "checking for inet_ntop... " >&6; }
3719 if ${ac_cv_inet_ntop+:} false
; then :
3720 $as_echo_n "(cached) " >&6
3723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3724 /* end confdefs.h. */
3726 #include <arpa/inet.h>
3727 #include <netinet/in.h>
3733 char buf[INET6_ADDRSTRLEN];
3734 const char *str = inet_ntop (AF_INET6, &in6, buf, sizeof (buf));
3739 if ac_fn_cxx_try_compile
"$LINENO"; then :
3744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_inet_ntop" >&5
3747 $as_echo "$ac_cv_inet_ntop" >&6; }
3748 if test $ac_cv_inet_ntop = yes; then
3750 $as_echo "#define HAVE_INET_NTOP 1" >>confdefs.h
3754 # Determine what GCC version number to use in filesystem paths.
3756 get_gcc_base_ver
="cat"
3758 # Check whether --with-gcc-major-version-only was given.
3759 if test "${with_gcc_major_version_only+set}" = set; then :
3760 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
3761 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
3769 # Solaris needs libsocket and libnsl for socket functions before 11.4.
3770 # libcody uses those.
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
3775 $as_echo_n "checking for library containing gethostbyname... " >&6; }
3776 if ${ac_cv_search_gethostbyname+:} false
; then :
3777 $as_echo_n "(cached) " >&6
3779 ac_func_search_save_LIBS
=$LIBS
3780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3781 /* end confdefs.h. */
3783 /* Override any GCC internal prototype to avoid an error.
3784 Use char because int might match the return type of a GCC
3785 builtin and then its argument prototype would still apply. */
3789 char gethostbyname ();
3793 return gethostbyname ();
3798 for ac_lib
in '' nsl
; do
3799 if test -z "$ac_lib"; then
3800 ac_res
="none required"
3803 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3805 if ac_fn_cxx_try_link
"$LINENO"; then :
3806 ac_cv_search_gethostbyname
=$ac_res
3808 rm -f core conftest.err conftest.
$ac_objext \
3810 if ${ac_cv_search_gethostbyname+:} false
; then :
3814 if ${ac_cv_search_gethostbyname+:} false
; then :
3817 ac_cv_search_gethostbyname
=no
3820 LIBS
=$ac_func_search_save_LIBS
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
3823 $as_echo "$ac_cv_search_gethostbyname" >&6; }
3824 ac_res
=$ac_cv_search_gethostbyname
3825 if test "$ac_res" != no
; then :
3826 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
3831 $as_echo_n "checking for library containing socket... " >&6; }
3832 if ${ac_cv_search_socket+:} false
; then :
3833 $as_echo_n "(cached) " >&6
3835 ac_func_search_save_LIBS
=$LIBS
3836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3837 /* end confdefs.h. */
3839 /* Override any GCC internal prototype to avoid an error.
3840 Use char because int might match the return type of a GCC
3841 builtin and then its argument prototype would still apply. */
3854 for ac_lib
in '' socket
; do
3855 if test -z "$ac_lib"; then
3856 ac_res
="none required"
3859 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3861 if ac_fn_cxx_try_link
"$LINENO"; then :
3862 ac_cv_search_socket
=$ac_res
3864 rm -f core conftest.err conftest.
$ac_objext \
3866 if ${ac_cv_search_socket+:} false
; then :
3870 if ${ac_cv_search_socket+:} false
; then :
3873 ac_cv_search_socket
=no
3876 LIBS
=$ac_func_search_save_LIBS
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
3879 $as_echo "$ac_cv_search_socket" >&6; }
3880 ac_res
=$ac_cv_search_socket
3881 if test "$ac_res" != no
; then :
3882 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
3887 $as_echo_n "checking for socket in -lsocket... " >&6; }
3888 if ${ac_cv_lib_socket_socket+:} false
; then :
3889 $as_echo_n "(cached) " >&6
3891 ac_check_lib_save_LIBS
=$LIBS
3892 LIBS
="-lsocket -lnsl $LIBS"
3893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3894 /* end confdefs.h. */
3896 /* Override any GCC internal prototype to avoid an error.
3897 Use char because int might match the return type of a GCC
3898 builtin and then its argument prototype would still apply. */
3911 if ac_fn_cxx_try_link
"$LINENO"; then :
3912 ac_cv_lib_socket_socket
=yes
3914 ac_cv_lib_socket_socket
=no
3916 rm -f core conftest.err conftest.
$ac_objext \
3917 conftest
$ac_exeext conftest.
$ac_ext
3918 LIBS
=$ac_check_lib_save_LIBS
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
3921 $as_echo "$ac_cv_lib_socket_socket" >&6; }
3922 if test "x$ac_cv_lib_socket_socket" = xyes
; then :
3923 LIBS
="-lsocket -lnsl $LIBS"
3933 ac_config_headers
="$ac_config_headers config.h"
3935 ac_config_files
="$ac_config_files Makefile"
3938 cat >confcache
<<\_ACEOF
3939 # This file is a shell script that caches the results of configure
3940 # tests run on this system so they can be shared between configure
3941 # scripts and configure runs, see configure's option --config-cache.
3942 # It is not useful on other systems. If it contains results you don't
3943 # want to keep, you may remove or edit it.
3945 # config.status only pays attention to the cache file if you give it
3946 # the --recheck option to rerun configure.
3948 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3949 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3954 # The following way of writing the cache mishandles newlines in values,
3955 # but we know of no workaround that is simple, portable, and efficient.
3956 # So, we kill variables containing newlines.
3957 # Ultrix sh set writes to stderr and can't be redirected directly,
3958 # and sets the high bit in the cache file unless we assign to the vars.
3960 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3961 eval ac_val
=\$
$ac_var
3965 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3966 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3969 _ | IFS | as_nl
) ;; #(
3970 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3971 *) { eval $ac_var=; unset $ac_var;} ;;
3977 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3978 *${as_nl}ac_space
=\
*)
3979 # `set' does not quote correctly, so add quotes: double-quote
3980 # substitution turns \\\\ into \\, and sed turns \\ into \.
3983 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3986 # `set' quotes correctly as required by POSIX, so do not add quotes.
3987 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3996 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3998 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4000 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4001 if test -w "$cache_file"; then
4002 if test "x$cache_file" != "x/dev/null"; then
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4004 $as_echo "$as_me: updating cache $cache_file" >&6;}
4005 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4006 cat confcache
>"$cache_file"
4008 case $cache_file in #(
4010 mv -f confcache
"$cache_file"$$
&&
4011 mv -f "$cache_file"$$
"$cache_file" ;; #(
4013 mv -f confcache
"$cache_file" ;;
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4019 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4024 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4025 # Let make expand exec_prefix.
4026 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4028 DEFS
=-DHAVE_CONFIG_H
4033 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4034 # 1. Remove the extension, and $U if already installed.
4035 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4036 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4037 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4038 # will be set to the directory where LIBOBJS objects are built.
4039 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4040 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4044 LTLIBOBJS
=$ac_ltlibobjs
4048 : "${CONFIG_STATUS=./config.status}"
4050 ac_clean_files_save
=$ac_clean_files
4051 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4053 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4055 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4057 # Generated by $as_me.
4058 # Run this file to recreate the current configuration.
4059 # Compiler output produced by configure, useful for debugging
4060 # configure, is in config.log if it exists.
4066 SHELL=\${CONFIG_SHELL-$SHELL}
4069 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4070 ## -------------------- ##
4071 ## M4sh Initialization. ##
4072 ## -------------------- ##
4074 # Be more Bourne compatible
4075 DUALCASE
=1; export DUALCASE
# for MKS sh
4076 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4079 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4080 # is contrary to our usage. Disable this feature.
4081 alias -g '${1+"$@"}'='"$@"'
4082 setopt NO_GLOB_SUBST
4084 case `(set -o) 2>/dev/null` in #(
4096 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4097 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4098 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4099 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4100 # Prefer a ksh shell builtin over an external printf program on Solaris,
4101 # but without wasting forks for bash or zsh.
4102 if test -z "$BASH_VERSION$ZSH_VERSION" \
4103 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4104 as_echo='print
-r --'
4105 as_echo_n='print
-rn --'
4106 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4107 as_echo='printf %s
\n'
4108 as_echo_n='printf %s
'
4110 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4111 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4112 as_echo_n='/usr
/ucb
/echo -n'
4114 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4115 as_echo_n_body='eval
4119 expr "X$arg" : "X\\(.*\\)$as_nl";
4120 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4122 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4124 export as_echo_n_body
4125 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4128 as_echo='sh
-c $as_echo_body as_echo
'
4131 # The user is always right.
4132 if test "${PATH_SEPARATOR+set}" != set; then
4134 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4135 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4142 # We need space, tab and new line, in precisely that order. Quoting is
4143 # there to prevent editors from complaining about space-tab.
4144 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4145 # splitting by setting IFS to empty value.)
4148 # Find who we are. Look in the path if we contain no directory separator.
4151 *[\\/]* ) as_myself=$0 ;;
4152 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4156 test -z "$as_dir" && as_dir=.
4157 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4163 # We did not find ourselves, most probably we were run as `sh COMMAND'
4164 # in which case we are not to be found in the path.
4165 if test "x$as_myself" = x
; then
4168 if test ! -f "$as_myself"; then
4169 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4173 # Unset variables that we do not need and which cause bugs (e.g. in
4174 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4175 # suppresses any "Segmentation fault" message there. '((' could
4176 # trigger a bug in pdksh 5.2.14.
4177 for as_var
in BASH_ENV ENV MAIL MAILPATH
4178 do eval test x\
${$as_var+set} = xset \
4179 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4192 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4195 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4196 # ----------------------------------------
4197 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4198 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4199 # script with STATUS, using 1 if that was 0.
4202 as_status
=$1; test $as_status -eq 0 && as_status
=1
4204 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4205 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4207 $as_echo "$as_me: error: $2" >&2
4208 as_fn_exit
$as_status
4212 # as_fn_set_status STATUS
4213 # -----------------------
4214 # Set $? to STATUS, without forking.
4218 } # as_fn_set_status
4222 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4232 # Portably unset VAR.
4235 { eval $1=; unset $1;}
4237 as_unset
=as_fn_unset
4238 # as_fn_append VAR VALUE
4239 # ----------------------
4240 # Append the text in VALUE to the end of the definition contained in VAR. Take
4241 # advantage of any shell optimizations that allow amortized linear growth over
4242 # repeated appends, instead of the typical quadratic growth present in naive
4244 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4245 eval 'as_fn_append ()
4256 # as_fn_arith ARG...
4257 # ------------------
4258 # Perform arithmetic evaluation on the ARGs, and store the result in the
4259 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4260 # must be portable across $(()) and expr.
4261 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4262 eval 'as_fn_arith ()
4269 as_val
=`expr "$@" || test $? -eq 1`
4274 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4275 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4281 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4282 as_basename
=basename
4287 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4293 as_me
=`$as_basename -- "$0" ||
4294 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4295 X"$0" : 'X\(//\)$' \| \
4296 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4298 sed '/^.*\/\([^/][^/]*\)\/*$/{
4312 # Avoid depending upon Character Ranges.
4313 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4314 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4315 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4316 as_cr_digits
='0123456789'
4317 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4319 ECHO_C
= ECHO_N
= ECHO_T
=
4320 case `echo -n x` in #(((((
4322 case `echo 'xy\c'` in
4323 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4325 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4332 rm -f conf$$ conf$$.exe conf$$.
file
4333 if test -d conf$$.dir
; then
4334 rm -f conf$$.dir
/conf$$.
file
4337 mkdir conf$$.dir
2>/dev
/null
4339 if (echo >conf$$.
file) 2>/dev
/null
; then
4340 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4342 # ... but there are two gotchas:
4343 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4344 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4345 # In both cases, we have to default to `cp -pR'.
4346 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4348 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4356 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4357 rmdir conf$$.dir
2>/dev
/null
4362 # Create "$as_dir" as a directory, including parents if necessary.
4367 -*) as_dir
=.
/$as_dir;;
4369 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4373 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4374 *) as_qdir
=$as_dir;;
4376 as_dirs
="'$as_qdir' $as_dirs"
4377 as_dir
=`$as_dirname -- "$as_dir" ||
4378 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4379 X"$as_dir" : 'X\(//\)[^/]' \| \
4380 X"$as_dir" : 'X\(//\)$' \| \
4381 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4382 $as_echo X"$as_dir" |
4383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4400 test -d "$as_dir" && break
4402 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4403 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4407 if mkdir
-p .
2>/dev
/null
; then
4408 as_mkdir_p
='mkdir -p "$as_dir"'
4410 test -d .
/-p && rmdir .
/-p
4415 # as_fn_executable_p FILE
4416 # -----------------------
4417 # Test if FILE is an executable regular file.
4418 as_fn_executable_p
()
4420 test -f "$1" && test -x "$1"
4421 } # as_fn_executable_p
4423 as_executable_p
=as_fn_executable_p
4425 # Sed expression to map a string onto a valid CPP name.
4426 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4428 # Sed expression to map a string onto a valid variable name.
4429 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4433 ## ----------------------------------- ##
4434 ## Main body of $CONFIG_STATUS script. ##
4435 ## ----------------------------------- ##
4437 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4440 # Save the log message, to keep $0 and so on meaningful, and to
4441 # report actual input values of CONFIG_FILES etc. instead of their
4442 # values after options handling.
4444 This file was extended by $as_me, which was
4445 generated by GNU Autoconf 2.69. Invocation command line was
4447 CONFIG_FILES = $CONFIG_FILES
4448 CONFIG_HEADERS = $CONFIG_HEADERS
4449 CONFIG_LINKS = $CONFIG_LINKS
4450 CONFIG_COMMANDS = $CONFIG_COMMANDS
4453 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4458 case $ac_config_files in *"
4459 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4462 case $ac_config_headers in *"
4463 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
4467 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4468 # Files that config.status was made for.
4469 config_files="$ac_config_files"
4470 config_headers="$ac_config_headers"
4474 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4476 \`$as_me' instantiates files and other configuration actions
4477 from templates according to the current configuration. Unless the files
4478 and actions are specified as TAGs, all are instantiated by default.
4480 Usage: $0 [OPTION]... [TAG]...
4482 -h, --help print this help, then exit
4483 -V, --version print version number and configuration settings, then exit
4484 --config print configuration, then exit
4485 -q, --quiet, --silent
4486 do not print progress messages
4487 -d, --debug don't remove temporary files
4488 --recheck update $as_me by reconfiguring in the same conditions
4489 --file=FILE[:TEMPLATE]
4490 instantiate the configuration file FILE
4491 --header=FILE[:TEMPLATE]
4492 instantiate the configuration header FILE
4494 Configuration files:
4497 Configuration headers:
4500 Report bugs to the package provider."
4503 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4504 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4507 configured by $0, generated by GNU Autoconf 2.69,
4508 with options \\"\$ac_cs_config\\"
4510 Copyright (C) 2012 Free Software Foundation, Inc.
4511 This config.status script is free software; the Free Software Foundation
4512 gives unlimited permission to copy, distribute and modify it."
4517 test -n "\$AWK" || AWK=awk
4520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4521 # The default lists apply if the user does not specify any file.
4527 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4528 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4532 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4544 # Handling of the options.
4545 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4547 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4548 $as_echo "$ac_cs_version"; exit ;;
4549 --config |
--confi |
--conf |
--con |
--co |
--c )
4550 $as_echo "$ac_cs_config"; exit ;;
4551 --debug |
--debu |
--deb |
--de |
--d |
-d )
4553 --file |
--fil |
--fi |
--f )
4556 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4557 '') as_fn_error $?
"missing file argument" ;;
4559 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4560 ac_need_defaults
=false
;;
4561 --header |
--heade |
--head |
--hea )
4564 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4566 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
4567 ac_need_defaults
=false
;;
4569 # Conflict between --help and --header
4570 as_fn_error $?
"ambiguous option: \`$1'
4571 Try \`$0 --help' for more information.";;
4572 --help |
--hel |
-h )
4573 $as_echo "$ac_cs_usage"; exit ;;
4574 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4575 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4579 -*) as_fn_error $?
"unrecognized option: \`$1'
4580 Try \`$0 --help' for more information." ;;
4582 *) as_fn_append ac_config_targets
" $1"
4583 ac_need_defaults
=false
;;
4589 ac_configure_extra_args
=
4591 if $ac_cs_silent; then
4593 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4598 if \$ac_cs_recheck; then
4599 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4601 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4602 CONFIG_SHELL='$SHELL'
4608 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4612 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4613 ## Running $as_me. ##
4619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4624 # Handling of arguments.
4625 for ac_config_target
in $ac_config_targets
4627 case $ac_config_target in
4628 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
4629 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4631 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4636 # If the user did not use the arguments to specify the items to instantiate,
4637 # then the envvar interface is used. Set only those that are not.
4638 # We use the long form for the default assignment because of an extremely
4639 # bizarre bug on SunOS 4.1.3.
4640 if $ac_need_defaults; then
4641 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4642 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
4645 # Have a temporary directory for convenience. Make it in the build tree
4646 # simply because there is no reason against having it here, and in addition,
4647 # creating and moving files from /tmp can sometimes cause problems.
4648 # Hook for its removal unless debugging.
4649 # Note that there is a small window in which the directory will not be cleaned:
4650 # after its creation but before its name has been assigned to `$tmp'.
4654 trap 'exit_status=$?
4656 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4658 trap 'as_fn_exit 1' 1 2 13 15
4660 # Create a (secure) tmp directory for tmp files.
4663 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4667 tmp
=.
/conf$$
-$RANDOM
4668 (umask 077 && mkdir
"$tmp")
4669 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
4672 # Set up the scripts for CONFIG_FILES section.
4673 # No need to generate them if there are no CONFIG_FILES.
4674 # This happens for instance with `./config.status config.h'.
4675 if test -n "$CONFIG_FILES"; then
4678 ac_cr
=`echo X | tr X '\015'`
4679 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4680 # But we know of no other shell where ac_cr would be empty at this
4681 # point, so we can use a bashism as a fallback.
4682 if test "x$ac_cr" = x
; then
4683 eval ac_cr
=\$
\'\\r
\'
4685 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4686 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4692 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4697 echo "cat >conf$$subs.awk <<_ACEOF" &&
4698 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4701 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4702 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4704 for ac_last_try in false false false false false :; do
4705 . ./conf$$subs.sh ||
4706 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4708 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4709 if test $ac_delim_n = $ac_delim_num; then
4711 elif $ac_last_try; then
4712 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4714 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4720 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
4724 s/^/S["/; s
/!.
*/"]=/
4734 s/\(.\{148\}\)..*/\1/
4736 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4741 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4748 s/\(.\{148\}\)..*/\1/
4750 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4754 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4759 ' <conf$$subs.awk | sed '
4764 ' >>$CONFIG_STATUS || ac_write_fail=1
4765 rm -f conf$$subs.awk
4766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4768 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
4769 for (key in S) S_is_set[key] = 1
4775 nfields = split(line, field, "@
")
4777 len = length(field[1])
4778 for (i = 2; i < nfields; i++) {
4780 keylen = length(key)
4781 if (S_is_set[key]) {
4783 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4784 len += length(value) + length(field[++i])
4795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4796 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4797 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4800 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
4801 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
4804 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4805 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
4806 # trailing colons and then remove the whole line if VPATH becomes empty
4807 # (actually we leave an empty line to preserve line numbers).
4808 if test "x
$srcdir" = x.; then
4809 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4827 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4828 fi # test -n "$CONFIG_FILES"
4830 # Set up the scripts for CONFIG_HEADERS section.
4831 # No need to generate them if there are no CONFIG_HEADERS.
4832 # This happens for instance with `./config.status Makefile'.
4833 if test -n "$CONFIG_HEADERS"; then
4834 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
4838 # Transform confdefs.h into an awk script `defines.awk', embedded as
4839 # here-document in config.status, that substitutes the proper values into
4840 # config.h.in to produce config.h.
4842 # Create a delimiter string that does not exist in confdefs.h, to ease
4843 # handling of long lines.
4845 for ac_last_try in false false :; do
4846 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
4847 if test -z "$ac_tt"; then
4849 elif $ac_last_try; then
4850 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
4852 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4856 # For the awk script, D is an array of macro values keyed by name,
4857 # likewise P contains macro parameters if any. Preserve backslash
4858 # newline sequences.
4860 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4862 s/.\{148\}/&'"$ac_delim"'/g
4865 s/^[ ]*#[ ]*define[ ][ ]*/ /
4872 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
4874 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
4878 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
4879 D["\
1"]=" \
3\\\\\\n
"\\/p
4881 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
4886 s/.\{148\}/&'"$ac_delim"'/g
4891 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
4894 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
4896 ' <confdefs.h | sed '
4897 s/'"$ac_delim"'/"\\\
4898 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4900 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4901 for (key in D) D_is_set[key] = 1
4904 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4906 split(line, arg, " ")
4907 if (arg[1] == "#") {
4911 defundef
= substr
(arg
[1], 2)
4914 split(mac1
, mac2
, "(") #)
4916 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
4917 if (D_is_set
[macro
]) {
4918 # Preserve the white space surrounding the "#".
4919 print prefix
"define", macro P
[macro
] D
[macro
]
4922 # Replace #undef with comments. This is necessary, for example,
4923 # in the case of _POSIX_SOURCE, which is predefined and required
4924 # on some systems where configure will not decide to define it.
4925 if (defundef
== "undef") {
4926 print
"/*", prefix defundef
, macro
, "*/"
4934 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4935 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
4936 fi # test -n "$CONFIG_HEADERS"
4939 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
4944 :[FHLC
]) ac_mode
=$ac_tag; continue;;
4946 case $ac_mode$ac_tag in
4948 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
4949 :[FH
]-) ac_tag
=-:-;;
4950 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
4967 -) ac_f
="$ac_tmp/stdin";;
4968 *) # Look for the file first in the build tree, then in the source tree
4969 # (if the path is not absolute). The absolute path cannot be DOS-style,
4970 # because $ac_f cannot contain `:'.
4974 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
4976 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4978 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4979 as_fn_append ac_file_inputs
" '$ac_f'"
4982 # Let's still pretend it is `configure' which instantiates (i.e., don't
4983 # use $as_me), people would be surprised to read:
4984 # /* config.h. Generated by config.status. */
4985 configure_input
='Generated from '`
4986 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4988 if test x
"$ac_file" != x-
; then
4989 configure_input
="$ac_file. $configure_input"
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4991 $as_echo "$as_me: creating $ac_file" >&6;}
4993 # Neutralize special characters interpreted by sed in replacement strings.
4994 case $configure_input in #(
4995 *\
&* |
*\|
* |
*\\* )
4996 ac_sed_conf_input
=`$as_echo "$configure_input" |
4997 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4998 *) ac_sed_conf_input
=$configure_input;;
5002 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
5003 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
5008 ac_dir
=`$as_dirname -- "$ac_file" ||
5009 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5010 X"$ac_file" : 'X\(//\)[^/]' \| \
5011 X"$ac_file" : 'X\(//\)$' \| \
5012 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5013 $as_echo X"$ac_file" |
5014 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5031 as_dir
="$ac_dir"; as_fn_mkdir_p
5035 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5037 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5038 # A ".." for each directory in $ac_dir_suffix.
5039 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5040 case $ac_top_builddir_sub in
5041 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5042 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
5045 ac_abs_top_builddir
=$ac_pwd
5046 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
5047 # for backward compatibility:
5048 ac_top_builddir
=$ac_top_build_prefix
5051 .
) # We are building in place.
5053 ac_top_srcdir
=$ac_top_builddir_sub
5054 ac_abs_top_srcdir
=$ac_pwd ;;
5055 [\\/]* | ?
:[\\/]* ) # Absolute name.
5056 ac_srcdir
=$srcdir$ac_dir_suffix;
5057 ac_top_srcdir
=$srcdir
5058 ac_abs_top_srcdir
=$srcdir ;;
5060 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
5061 ac_top_srcdir
=$ac_top_build_prefix$srcdir
5062 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
5064 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5074 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5075 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
5079 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5080 # If the template does not know about datarootdir, expand it.
5081 # FIXME: This hack should be removed a few years after 2.60.
5082 ac_datarootdir_hack
=; ac_datarootdir_seen
=
5093 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5094 *datarootdir
*) ac_datarootdir_seen
=yes;;
5095 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5097 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5100 ac_datarootdir_hack='
5101 s&@datadir@&$datadir&g
5102 s&@docdir@&$docdir&g
5103 s&@infodir@&$infodir&g
5104 s&@localedir@&$localedir&g
5105 s&@mandir@&$mandir&g
5106 s&\\\${datarootdir}&$datarootdir&g' ;;
5110 # Neutralize VPATH when `$srcdir' = `.'.
5111 # Shell code in configure.ac might set extrasub.
5112 # FIXME: do we really want to maintain this feature?
5113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5114 ac_sed_extra="$ac_vpsub
5117 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5119 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5120 s|@configure_input@|
$ac_sed_conf_input|
;t t
5121 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5122 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5123 s
&@srcdir@
&$ac_srcdir&;t t
5124 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5125 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5126 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5127 s
&@builddir@
&$ac_builddir&;t t
5128 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5129 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5130 s
&@INSTALL@
&$ac_INSTALL&;t t
5131 $ac_datarootdir_hack
5133 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5134 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5136 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5137 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5138 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5139 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5141 which seems to be undefined. Please make sure it is defined" >&5
5142 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5143 which seems to be undefined. Please make sure it is defined" >&2;}
5145 rm -f "$ac_tmp/stdin"
5147 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5148 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5150 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5156 if test x"$ac_file" != x-; then
5158 $as_echo "/* $configure_input */" \
5159 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5160 } >"$ac_tmp/config.h" \
5161 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5162 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5164 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5167 mv "$ac_tmp/config.h" "$ac_file" \
5168 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5171 $as_echo "/* $configure_input */" \
5172 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5173 || as_fn_error $? "could not create -" "$LINENO" 5
5185 ac_clean_files=$ac_clean_files_save
5187 test $ac_write_fail = 0 ||
5188 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5191 # configure is writing to config.log, and then calls config.status.
5192 # config.status does its own redirection, appending to config.log.
5193 # Unfortunately, on DOS this fails, as config.log is still kept open
5194 # by configure, so config.status won't be able to
write to it
; its
5195 # output is simply discarded. So we exec the FD to /dev/null,
5196 # effectively closing config.log, so it can be properly (re)opened and
5197 # appended to by config.status. When coming back to configure, we
5198 # need to make the FD available again.
5199 if test "$no_create" != yes; then
5201 ac_config_status_args
=
5202 test "$silent" = yes &&
5203 ac_config_status_args
="$ac_config_status_args --quiet"
5205 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5207 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5208 # would make configure fail if this is the last instruction.
5209 $ac_cs_success || as_fn_exit
1
5211 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5213 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}