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
686 program_transform_name
699 enable_option_checking
701 enable_maintainer_mode
705 with_gcc_major_version_only
707 ac_precious_vars
='build_alias
719 # Initialize some variables set by options.
721 ac_init_version
=false
722 ac_unrecognized_opts
=
724 # The variables have the same names as the options, with
725 # dashes changed to underlines.
733 program_transform_name
=s
,x
,x
,
741 # Installation directory options.
742 # These are left unexpanded so users can "make install exec_prefix=/foo"
743 # and all the variables that are supposed to be based on exec_prefix
744 # by default will actually change.
745 # Use braces instead of parens because sh, perl, etc. also accept them.
746 # (The list follows the same order as the GNU Coding Standards.)
747 bindir
='${exec_prefix}/bin'
748 sbindir
='${exec_prefix}/sbin'
749 libexecdir
='${exec_prefix}/libexec'
750 datarootdir
='${prefix}/share'
751 datadir
='${datarootdir}'
752 sysconfdir
='${prefix}/etc'
753 sharedstatedir
='${prefix}/com'
754 localstatedir
='${prefix}/var'
755 includedir
='${prefix}/include'
756 oldincludedir
='/usr/include'
757 docdir
='${datarootdir}/doc/${PACKAGE}'
758 infodir
='${datarootdir}/info'
763 libdir
='${exec_prefix}/lib'
764 localedir
='${datarootdir}/locale'
765 mandir
='${datarootdir}/man'
771 # If the previous option needs an argument, assign it.
772 if test -n "$ac_prev"; then
773 eval $ac_prev=\
$ac_option
779 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
784 # Accept the important Cygnus configure options, so we can diagnose typos.
786 case $ac_dashdash$ac_option in
790 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
792 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
795 -build |
--build |
--buil |
--bui |
--bu)
796 ac_prev
=build_alias
;;
797 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
798 build_alias
=$ac_optarg ;;
800 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
801 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
802 ac_prev
=cache_file
;;
803 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
804 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
805 cache_file
=$ac_optarg ;;
808 cache_file
=config.cache
;;
810 -datadir |
--datadir |
--datadi |
--datad)
812 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
813 datadir
=$ac_optarg ;;
815 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
816 |
--dataroo |
--dataro |
--datar)
817 ac_prev
=datarootdir
;;
818 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
819 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
820 datarootdir
=$ac_optarg ;;
822 -disable-* |
--disable-*)
823 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
824 # Reject names that are not valid shell variable names.
825 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
826 as_fn_error $?
"invalid feature name: $ac_useropt"
827 ac_useropt_orig
=$ac_useropt
828 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
829 case $ac_user_opts in
833 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
834 ac_unrecognized_sep
=', ';;
836 eval enable_
$ac_useropt=no
;;
838 -docdir |
--docdir |
--docdi |
--doc |
--do)
840 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
843 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
845 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
848 -enable-* |
--enable-*)
849 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
850 # Reject names that are not valid shell variable names.
851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
852 as_fn_error $?
"invalid feature name: $ac_useropt"
853 ac_useropt_orig
=$ac_useropt
854 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
855 case $ac_user_opts in
859 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
860 ac_unrecognized_sep
=', ';;
862 eval enable_
$ac_useropt=\
$ac_optarg ;;
864 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
865 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
866 |
--exec |
--exe |
--ex)
867 ac_prev
=exec_prefix
;;
868 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
869 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
870 |
--exec=* |
--exe=* |
--ex=*)
871 exec_prefix
=$ac_optarg ;;
873 -gas |
--gas |
--ga |
--g)
874 # Obsolete; use --with-gas.
877 -help |
--help |
--hel |
--he |
-h)
879 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
880 ac_init_help
=recursive
;;
881 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
882 ac_init_help
=short
;;
884 -host |
--host |
--hos |
--ho)
885 ac_prev
=host_alias
;;
886 -host=* |
--host=* |
--hos=* |
--ho=*)
887 host_alias
=$ac_optarg ;;
889 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
891 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
893 htmldir
=$ac_optarg ;;
895 -includedir |
--includedir |
--includedi |
--included |
--include \
896 |
--includ |
--inclu |
--incl |
--inc)
897 ac_prev
=includedir
;;
898 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
899 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
900 includedir
=$ac_optarg ;;
902 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
904 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
905 infodir
=$ac_optarg ;;
907 -libdir |
--libdir |
--libdi |
--libd)
909 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
912 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
913 |
--libexe |
--libex |
--libe)
914 ac_prev
=libexecdir
;;
915 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
916 |
--libexe=* |
--libex=* |
--libe=*)
917 libexecdir
=$ac_optarg ;;
919 -localedir |
--localedir |
--localedi |
--localed |
--locale)
921 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
922 localedir
=$ac_optarg ;;
924 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
925 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
926 ac_prev
=localstatedir
;;
927 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
928 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
929 localstatedir
=$ac_optarg ;;
931 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
933 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
937 # Obsolete; use --without-fp.
940 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
941 |
--no-cr |
--no-c |
-n)
944 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
945 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
948 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
949 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
950 |
--oldin |
--oldi |
--old |
--ol |
--o)
951 ac_prev
=oldincludedir
;;
952 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
953 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
954 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
955 oldincludedir
=$ac_optarg ;;
957 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
959 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
962 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
963 |
--program-pre |
--program-pr |
--program-p)
964 ac_prev
=program_prefix
;;
965 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
966 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
967 program_prefix
=$ac_optarg ;;
969 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
970 |
--program-suf |
--program-su |
--program-s)
971 ac_prev
=program_suffix
;;
972 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
973 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
974 program_suffix
=$ac_optarg ;;
976 -program-transform-name |
--program-transform-name \
977 |
--program-transform-nam |
--program-transform-na \
978 |
--program-transform-n |
--program-transform- \
979 |
--program-transform |
--program-transfor \
980 |
--program-transfo |
--program-transf \
981 |
--program-trans |
--program-tran \
982 |
--progr-tra |
--program-tr |
--program-t)
983 ac_prev
=program_transform_name
;;
984 -program-transform-name=* |
--program-transform-name=* \
985 |
--program-transform-nam=* |
--program-transform-na=* \
986 |
--program-transform-n=* |
--program-transform-=* \
987 |
--program-transform=* |
--program-transfor=* \
988 |
--program-transfo=* |
--program-transf=* \
989 |
--program-trans=* |
--program-tran=* \
990 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
991 program_transform_name
=$ac_optarg ;;
993 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
995 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
998 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1000 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1003 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1004 |
-silent |
--silent |
--silen |
--sile |
--sil)
1007 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1009 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1011 sbindir
=$ac_optarg ;;
1013 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1014 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1015 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1017 ac_prev
=sharedstatedir
;;
1018 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1019 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1020 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1022 sharedstatedir
=$ac_optarg ;;
1024 -site |
--site |
--sit)
1026 -site=* |
--site=* |
--sit=*)
1029 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1031 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1032 srcdir
=$ac_optarg ;;
1034 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1035 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1036 ac_prev
=sysconfdir
;;
1037 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1038 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1039 sysconfdir
=$ac_optarg ;;
1041 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1042 ac_prev
=target_alias
;;
1043 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1044 target_alias
=$ac_optarg ;;
1046 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1049 -version |
--version |
--versio |
--versi |
--vers |
-V)
1050 ac_init_version
=: ;;
1053 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1056 as_fn_error $?
"invalid package name: $ac_useropt"
1057 ac_useropt_orig
=$ac_useropt
1058 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1063 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1064 ac_unrecognized_sep
=', ';;
1066 eval with_
$ac_useropt=\
$ac_optarg ;;
1068 -without-* |
--without-*)
1069 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1070 # Reject names that are not valid shell variable names.
1071 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1072 as_fn_error $?
"invalid package name: $ac_useropt"
1073 ac_useropt_orig
=$ac_useropt
1074 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1075 case $ac_user_opts in
1079 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1080 ac_unrecognized_sep
=', ';;
1082 eval with_
$ac_useropt=no
;;
1085 # Obsolete; use --with-x.
1088 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1089 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1090 ac_prev
=x_includes
;;
1091 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1092 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1093 x_includes
=$ac_optarg ;;
1095 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1096 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1097 ac_prev
=x_libraries
;;
1098 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1099 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1100 x_libraries
=$ac_optarg ;;
1102 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1103 Try \`$0 --help' for more information"
1107 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1108 # Reject names that are not valid shell variable names.
1109 case $ac_envvar in #(
1110 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1111 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1113 eval $ac_envvar=\
$ac_optarg
1114 export $ac_envvar ;;
1117 # FIXME: should be removed in autoconf 3.0.
1118 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1119 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1120 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1121 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1127 if test -n "$ac_prev"; then
1128 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1129 as_fn_error $?
"missing argument to $ac_option"
1132 if test -n "$ac_unrecognized_opts"; then
1133 case $enable_option_checking in
1135 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1136 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1140 # Check all directory arguments for consistency.
1141 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1142 datadir sysconfdir sharedstatedir localstatedir includedir \
1143 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1144 libdir localedir mandir
1146 eval ac_val
=\$
$ac_var
1147 # Remove trailing slashes.
1150 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1151 eval $ac_var=\
$ac_val;;
1153 # Be sure to have absolute directory names.
1155 [\\/$
]* | ?
:[\\/]* ) continue;;
1156 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1158 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1161 # There might be people who depend on the old broken behavior: `$host'
1162 # used to hold the argument of --host etc.
1163 # FIXME: To remove some day.
1166 target
=$target_alias
1168 # FIXME: To remove some day.
1169 if test "x$host_alias" != x
; then
1170 if test "x$build_alias" = x
; then
1171 cross_compiling
=maybe
1172 elif test "x$build_alias" != "x$host_alias"; then
1178 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1180 test "$silent" = yes && exec 6>/dev
/null
1183 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1184 ac_ls_di
=`ls -di .` &&
1185 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1186 as_fn_error $?
"working directory cannot be determined"
1187 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1188 as_fn_error $?
"pwd does not report name of working directory"
1191 # Find the source files, if location was not specified.
1192 if test -z "$srcdir"; then
1193 ac_srcdir_defaulted
=yes
1194 # Try the directory containing this script, then the parent directory.
1195 ac_confdir
=`$as_dirname -- "$as_myself" ||
1196 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1197 X"$as_myself" : 'X\(//\)[^/]' \| \
1198 X"$as_myself" : 'X\(//\)$' \| \
1199 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1200 $as_echo X"$as_myself" |
1201 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1219 if test ! -r "$srcdir/$ac_unique_file"; then
1223 ac_srcdir_defaulted
=no
1225 if test ! -r "$srcdir/$ac_unique_file"; then
1226 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1227 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1229 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1231 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1233 # When building in place, set srcdir=.
1234 if test "$ac_abs_confdir" = "$ac_pwd"; then
1237 # Remove unnecessary trailing slashes from srcdir.
1238 # Double slashes in file names in object file debugging info
1239 # mess up M-x gdb in Emacs.
1241 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1243 for ac_var
in $ac_precious_vars; do
1244 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1245 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1246 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1247 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1251 # Report the --help message.
1253 if test "$ac_init_help" = "long"; then
1254 # Omit some internal or obsolete options to make the list less imposing.
1255 # This message is too long to be a string in the A/UX 3.1 sh.
1257 \`configure' configures this package to adapt to many kinds of systems.
1259 Usage: $0 [OPTION]... [VAR=VALUE]...
1261 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1262 VAR=VALUE. See below for descriptions of some of the useful variables.
1264 Defaults for the options are specified in brackets.
1267 -h, --help display this help and exit
1268 --help=short display options specific to this package
1269 --help=recursive display the short help of all the included packages
1270 -V, --version display version information and exit
1271 -q, --quiet, --silent do not print \`checking ...' messages
1272 --cache-file=FILE cache test results in FILE [disabled]
1273 -C, --config-cache alias for \`--cache-file=config.cache'
1274 -n, --no-create do not create output files
1275 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1277 Installation directories:
1278 --prefix=PREFIX install architecture-independent files in PREFIX
1279 [$ac_default_prefix]
1280 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1283 By default, \`make install' will install all the files in
1284 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1285 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1286 for instance \`--prefix=\$HOME'.
1288 For better control, use the options below.
1290 Fine tuning of the installation directories:
1291 --bindir=DIR user executables [EPREFIX/bin]
1292 --sbindir=DIR system admin executables [EPREFIX/sbin]
1293 --libexecdir=DIR program executables [EPREFIX/libexec]
1294 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1295 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1296 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1297 --libdir=DIR object code libraries [EPREFIX/lib]
1298 --includedir=DIR C header files [PREFIX/include]
1299 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1300 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1301 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1302 --infodir=DIR info documentation [DATAROOTDIR/info]
1303 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1304 --mandir=DIR man documentation [DATAROOTDIR/man]
1305 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1306 --htmldir=DIR html documentation [DOCDIR]
1307 --dvidir=DIR dvi documentation [DOCDIR]
1308 --pdfdir=DIR pdf documentation [DOCDIR]
1309 --psdir=DIR ps documentation [DOCDIR]
1315 --build=BUILD configure
for building on BUILD
[guessed
]
1316 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1317 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1321 if test -n "$ac_init_help"; then
1326 --disable-option-checking ignore unrecognized
--enable/--with options
1327 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1328 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1329 --enable-c++-tools build auxiliary c
++ tools
1330 --enable-maintainer-mode
1331 enable maintainer mode. Add rules to rebuild
1333 --enable-checking[=LIST
]
1334 enable expensive run-time checks. With LIST
, enable
1335 only specific categories of checks. Categories are
:
1336 yes,no
,all
,none
,release.
1337 --enable-default-pie enable Position Independent Executable as default
1338 --enable-host-pie build
host code as PIE
1341 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1342 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1343 --with-gcc-major-version-only
1344 use only GCC major number
in filesystem paths
1346 Some influential environment variables
:
1347 CXX C
++ compiler
command
1348 CXXFLAGS C
++ compiler flags
1349 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1350 nonstandard directory
<lib dir
>
1351 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1352 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1353 you have headers
in a nonstandard directory
<include dir
>
1354 CXXCPP C
++ preprocessor
1356 Use these variables to override the choices made by
`configure' or to help
1357 it to find libraries and programs with nonstandard names/locations.
1359 Report bugs to the package provider.
1364 if test "$ac_init_help" = "recursive"; then
1365 # If there are subdirs, report their specific --help.
1366 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1367 test -d "$ac_dir" ||
1368 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1373 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1375 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1376 # A ".." for each directory in $ac_dir_suffix.
1377 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1378 case $ac_top_builddir_sub in
1379 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1380 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1383 ac_abs_top_builddir=$ac_pwd
1384 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1385 # for backward compatibility:
1386 ac_top_builddir=$ac_top_build_prefix
1389 .) # We are building in place.
1391 ac_top_srcdir=$ac_top_builddir_sub
1392 ac_abs_top_srcdir=$ac_pwd ;;
1393 [\\/]* | ?:[\\/]* ) # Absolute name.
1394 ac_srcdir=$srcdir$ac_dir_suffix;
1395 ac_top_srcdir=$srcdir
1396 ac_abs_top_srcdir=$srcdir ;;
1398 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1399 ac_top_srcdir=$ac_top_build_prefix$srcdir
1400 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1402 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1404 cd "$ac_dir" || { ac_status=$?; continue; }
1405 # Check for guested configure.
1406 if test -f "$ac_srcdir/configure.gnu"; then
1408 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1409 elif test -f "$ac_srcdir/configure"; then
1411 $SHELL "$ac_srcdir/configure" --help=recursive
1413 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1415 cd "$ac_pwd" || { ac_status=$?; break; }
1419 test -n "$ac_init_help" && exit $ac_status
1420 if $ac_init_version; then
1423 generated by GNU Autoconf 2.69
1425 Copyright (C) 2012 Free Software Foundation, Inc.
1426 This configure script is free software; the Free Software Foundation
1427 gives unlimited permission to copy, distribute and modify it.
1432 ## ------------------------ ##
1433 ## Autoconf initialization. ##
1434 ## ------------------------ ##
1436 # ac_fn_cxx_try_compile LINENO
1437 # ----------------------------
1438 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1439 ac_fn_cxx_try_compile ()
1441 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1442 rm -f conftest.$ac_objext
1443 if { { ac_try="$ac_compile"
1445 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1446 *) ac_try_echo
=$ac_try;;
1448 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1449 $as_echo "$ac_try_echo"; } >&5
1450 (eval "$ac_compile") 2>conftest.err
1452 if test -s conftest.err
; then
1453 grep -v '^ *+' conftest.err
>conftest.er1
1454 cat conftest.er1
>&5
1455 mv -f conftest.er1 conftest.err
1457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1458 test $ac_status = 0; } && {
1459 test -z "$ac_cxx_werror_flag" ||
1460 test ! -s conftest.err
1461 } && test -s conftest.
$ac_objext; then :
1464 $as_echo "$as_me: failed program was:" >&5
1465 sed 's/^/| /' conftest.
$ac_ext >&5
1469 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1470 as_fn_set_status
$ac_retval
1472 } # ac_fn_cxx_try_compile
1474 # ac_fn_cxx_try_cpp LINENO
1475 # ------------------------
1476 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1477 ac_fn_cxx_try_cpp
()
1479 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1480 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1482 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1483 *) ac_try_echo=$ac_try;;
1485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1486 $as_echo "$ac_try_echo"; } >&5
1487 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1489 if test -s conftest.err; then
1490 grep -v '^ *+' conftest.err >conftest.er1
1491 cat conftest.er1 >&5
1492 mv -f conftest.er1 conftest.err
1494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1495 test $ac_status = 0; } > conftest.i && {
1496 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1497 test ! -s conftest.err
1501 $as_echo "$as_me: failed program was:" >&5
1502 sed 's/^/| /' conftest.$ac_ext >&5
1506 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1507 as_fn_set_status $ac_retval
1509 } # ac_fn_cxx_try_cpp
1511 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1512 # ---------------------------------------------------------
1513 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1514 # the include files in INCLUDES and setting the cache variable VAR
1516 ac_fn_cxx_check_header_mongrel ()
1518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1519 if eval \${$3+:} false; then :
1520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1521 $as_echo_n "checking for $2... " >&6; }
1522 if eval \${$3+:} false; then :
1523 $as_echo_n "(cached) " >&6
1526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1527 $as_echo "$ac_res" >&6; }
1529 # Is the header compilable?
1530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1531 $as_echo_n "checking $2 usability... " >&6; }
1532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1533 /* end confdefs.h. */
1537 if ac_fn_cxx_try_compile "$LINENO"; then :
1538 ac_header_compiler=yes
1540 ac_header_compiler=no
1542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1544 $as_echo "$ac_header_compiler" >&6; }
1546 # Is the header present?
1547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1548 $as_echo_n "checking $2 presence... " >&6; }
1549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1550 /* end confdefs.h. */
1553 if ac_fn_cxx_try_cpp "$LINENO"; then :
1554 ac_header_preproc=yes
1556 ac_header_preproc=no
1558 rm -f conftest.err conftest.i conftest.$ac_ext
1559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1560 $as_echo "$ac_header_preproc" >&6; }
1562 # So? What about this header?
1563 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1566 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1568 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1572 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1574 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1576 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1578 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1580 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1584 $as_echo_n "checking for $2... " >&6; }
1585 if eval \${$3+:} false; then :
1586 $as_echo_n "(cached) " >&6
1588 eval "$3=\$ac_header_compiler"
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1592 $as_echo "$ac_res" >&6; }
1594 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1596 } # ac_fn_cxx_check_header_mongrel
1598 # ac_fn_cxx_try_run LINENO
1599 # ------------------------
1600 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1601 # that executables *can* be run.
1602 ac_fn_cxx_try_run ()
1604 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1605 if { { ac_try="$ac_link"
1607 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1608 *) ac_try_echo
=$ac_try;;
1610 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1611 $as_echo "$ac_try_echo"; } >&5
1612 (eval "$ac_link") 2>&5
1614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1616 { { case "(($ac_try" in
1617 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1618 *) ac_try_echo=$ac_try;;
1620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1621 $as_echo "$ac_try_echo"; } >&5
1622 (eval "$ac_try") 2>&5
1624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1625 test $ac_status = 0; }; }; then :
1628 $as_echo "$as_me: program exited with status $ac_status" >&5
1629 $as_echo "$as_me: failed program was:" >&5
1630 sed 's/^/| /' conftest.$ac_ext >&5
1632 ac_retval=$ac_status
1634 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1635 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1636 as_fn_set_status $ac_retval
1638 } # ac_fn_cxx_try_run
1640 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1641 # ---------------------------------------------------------
1642 # Tests whether HEADER exists and can be compiled using the include files in
1643 # INCLUDES, setting the cache variable VAR accordingly.
1644 ac_fn_cxx_check_header_compile ()
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1648 $as_echo_n "checking for $2... " >&6; }
1649 if eval \${$3+:} false; then :
1650 $as_echo_n "(cached) " >&6
1652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1653 /* end confdefs.h. */
1657 if ac_fn_cxx_try_compile "$LINENO"; then :
1662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1666 $as_echo "$ac_res" >&6; }
1667 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1669 } # ac_fn_cxx_check_header_compile
1671 # ac_fn_cxx_try_link LINENO
1672 # -------------------------
1673 # Try to link conftest.$ac_ext, and return whether this succeeded.
1674 ac_fn_cxx_try_link ()
1676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1677 rm -f conftest.$ac_objext conftest$ac_exeext
1678 if { { ac_try="$ac_link"
1680 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1681 *) ac_try_echo
=$ac_try;;
1683 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1684 $as_echo "$ac_try_echo"; } >&5
1685 (eval "$ac_link") 2>conftest.err
1687 if test -s conftest.err
; then
1688 grep -v '^ *+' conftest.err
>conftest.er1
1689 cat conftest.er1
>&5
1690 mv -f conftest.er1 conftest.err
1692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1693 test $ac_status = 0; } && {
1694 test -z "$ac_cxx_werror_flag" ||
1695 test ! -s conftest.err
1696 } && test -s conftest
$ac_exeext && {
1697 test "$cross_compiling" = yes ||
1698 test -x conftest
$ac_exeext
1702 $as_echo "$as_me: failed program was:" >&5
1703 sed 's/^/| /' conftest.
$ac_ext >&5
1707 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1708 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1709 # interfere with the next link command; also delete a directory that is
1710 # left behind by Apple's compiler. We do this before executing the actions.
1711 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1713 as_fn_set_status
$ac_retval
1715 } # ac_fn_cxx_try_link
1716 cat >config.log
<<_ACEOF
1717 This file contains any messages produced by compilers while
1718 running configure, to aid debugging if configure makes a mistake.
1720 It was created by $as_me, which was
1721 generated by GNU Autoconf 2.69. Invocation command line was
1733 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1734 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1735 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1736 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1737 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1739 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1740 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1742 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1743 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1744 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1745 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1746 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1747 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1748 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1756 test -z "$as_dir" && as_dir
=.
1757 $as_echo "PATH: $as_dir"
1773 # Keep a trace of the command line.
1774 # Strip out --no-create and --no-recursion so they do not pile up.
1775 # Strip out --silent because we don't want to record it for future runs.
1776 # Also quote any args containing shell meta-characters.
1777 # Make two passes to allow for proper duplicate-argument suppression.
1781 ac_must_keep_next
=false
1787 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1788 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1789 |
-silent |
--silent |
--silen |
--sile |
--sil)
1792 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1795 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1797 as_fn_append ac_configure_args1
" '$ac_arg'"
1798 if test $ac_must_keep_next = true
; then
1799 ac_must_keep_next
=false
# Got value, back to normal.
1802 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1803 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1804 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1805 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1806 case "$ac_configure_args0 " in
1807 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1810 -* ) ac_must_keep_next
=true
;;
1813 as_fn_append ac_configure_args
" '$ac_arg'"
1818 { ac_configure_args0
=; unset ac_configure_args0
;}
1819 { ac_configure_args1
=; unset ac_configure_args1
;}
1821 # When interrupted or exit'd, cleanup temporary files, and complete
1822 # config.log. We remove comments because anyway the quotes in there
1823 # would cause problems or look ugly.
1824 # WARNING: Use '\'' to represent an apostrophe within the trap.
1825 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1826 trap 'exit_status=$?
1827 # Save into config.log some information that might help in debugging.
1831 $as_echo "## ---------------- ##
1832 ## Cache variables. ##
1833 ## ---------------- ##"
1835 # The following way of writing the cache mishandles newlines in values,
1837 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1838 eval ac_val=\$$ac_var
1842 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1843 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1846 _ | IFS | as_nl) ;; #(
1847 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1848 *) { eval $ac_var=; unset $ac_var;} ;;
1853 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1854 *${as_nl}ac_space=\ *)
1856 "s/'\''/'\''\\\\'\'''\''/g;
1857 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1860 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1867 $as_echo "## ----------------- ##
1868 ## Output variables. ##
1869 ## ----------------- ##"
1871 for ac_var in $ac_subst_vars
1873 eval ac_val=\$$ac_var
1875 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1877 $as_echo "$ac_var='\''$ac_val'\''"
1881 if test -n "$ac_subst_files"; then
1882 $as_echo "## ------------------- ##
1883 ## File substitutions. ##
1884 ## ------------------- ##"
1886 for ac_var
in $ac_subst_files
1888 eval ac_val
=\$
$ac_var
1890 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1892 $as_echo "$ac_var='\''$ac_val'\''"
1897 if test -s confdefs.h; then
1898 $as_echo "## ----------- ##
1905 test "$ac_signal" != 0 &&
1906 $as_echo "$as_me: caught signal $ac_signal"
1907 $as_echo "$as_me: exit $exit_status"
1909 rm -f core *.core core.conftest.* &&
1910 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1913 for ac_signal
in 1 2 13 15; do
1914 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1918 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1919 rm -f -r conftest
* confdefs.h
1921 $as_echo "/* confdefs.h */" > confdefs.h
1923 # Predefined preprocessor variables.
1925 cat >>confdefs.h
<<_ACEOF
1926 #define PACKAGE_NAME "$PACKAGE_NAME"
1929 cat >>confdefs.h
<<_ACEOF
1930 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1933 cat >>confdefs.h
<<_ACEOF
1934 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1937 cat >>confdefs.h
<<_ACEOF
1938 #define PACKAGE_STRING "$PACKAGE_STRING"
1941 cat >>confdefs.h
<<_ACEOF
1942 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1945 cat >>confdefs.h
<<_ACEOF
1946 #define PACKAGE_URL "$PACKAGE_URL"
1950 # Let the site file select an alternate cache file if it wants to.
1951 # Prefer an explicitly selected file to automatically selected ones.
1954 if test -n "$CONFIG_SITE"; then
1955 # We do not want a PATH search for config.site.
1956 case $CONFIG_SITE in #((
1957 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1958 */*) ac_site_file1
=$CONFIG_SITE;;
1959 *) ac_site_file1
=.
/$CONFIG_SITE;;
1961 elif test "x$prefix" != xNONE
; then
1962 ac_site_file1
=$prefix/share
/config.site
1963 ac_site_file2
=$prefix/etc
/config.site
1965 ac_site_file1
=$ac_default_prefix/share
/config.site
1966 ac_site_file2
=$ac_default_prefix/etc
/config.site
1968 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1970 test "x$ac_site_file" = xNONE
&& continue
1971 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1973 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1974 sed 's/^/| /' "$ac_site_file" >&5
1976 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1978 as_fn_error $?
"failed to load site script $ac_site_file
1979 See \`config.log' for more details" "$LINENO" 5; }
1983 if test -r "$cache_file"; then
1984 # Some versions of bash will fail to source /dev/null (special files
1985 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1986 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1988 $as_echo "$as_me: loading cache $cache_file" >&6;}
1990 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1991 *) .
"./$cache_file";;
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1996 $as_echo "$as_me: creating cache $cache_file" >&6;}
2000 # Check that the precious variables saved in the cache have kept the same
2002 ac_cache_corrupted
=false
2003 for ac_var
in $ac_precious_vars; do
2004 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2005 eval ac_new_set
=\
$ac_env_${ac_var}_set
2006 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2007 eval ac_new_val
=\
$ac_env_${ac_var}_value
2008 case $ac_old_set,$ac_new_set in
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2011 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2012 ac_cache_corrupted
=: ;;
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2015 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2016 ac_cache_corrupted
=: ;;
2019 if test "x$ac_old_val" != "x$ac_new_val"; then
2020 # differences in whitespace do not lead to failure.
2021 ac_old_val_w
=`echo x $ac_old_val`
2022 ac_new_val_w
=`echo x $ac_new_val`
2023 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2025 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2026 ac_cache_corrupted
=:
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2029 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2030 eval $ac_var=\
$ac_old_val
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2033 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2035 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2038 # Pass precious variables to config.status.
2039 if test "$ac_new_set" = set; then
2041 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2042 *) ac_arg
=$ac_var=$ac_new_val ;;
2044 case " $ac_configure_args " in
2045 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2046 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2050 if $ac_cache_corrupted; then
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2054 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2055 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2057 ## -------------------- ##
2058 ## Main body of script. ##
2059 ## -------------------- ##
2062 ac_cpp
='$CPP $CPPFLAGS'
2063 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2064 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2065 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2071 # Determine the noncanonical names used for directories.
2073 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2074 if test -f "$ac_dir/install-sh"; then
2076 ac_install_sh
="$ac_aux_dir/install-sh -c"
2078 elif test -f "$ac_dir/install.sh"; then
2080 ac_install_sh
="$ac_aux_dir/install.sh -c"
2082 elif test -f "$ac_dir/shtool"; then
2084 ac_install_sh
="$ac_aux_dir/shtool install -c"
2088 if test -z "$ac_aux_dir"; then
2089 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2092 # These three variables are undocumented and unsupported,
2093 # and are intended to be withdrawn in a future Autoconf release.
2094 # They can cause serious problems if a builder's source tree is in a directory
2095 # whose full name contains unusual characters.
2096 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2097 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2098 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2101 # Make sure we can run config.sub.
2102 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2103 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2106 $as_echo_n "checking build system type... " >&6; }
2107 if ${ac_cv_build+:} false
; then :
2108 $as_echo_n "(cached) " >&6
2110 ac_build_alias
=$build_alias
2111 test "x$ac_build_alias" = x
&&
2112 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2113 test "x$ac_build_alias" = x
&&
2114 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2115 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2116 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2120 $as_echo "$ac_cv_build" >&6; }
2121 case $ac_cv_build in
2123 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2126 ac_save_IFS
=$IFS; IFS
='-'
2132 # Remember, the first character of IFS is used to create $*,
2133 # except with old shells:
2136 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2139 case ${build_alias} in
2140 "") build_noncanonical
=${build} ;;
2141 *) build_noncanonical
=${build_alias} ;;
2144 case ${host_alias} in
2145 "") host_noncanonical
=${build_noncanonical} ;;
2146 *) host_noncanonical
=${host_alias} ;;
2149 case ${target_alias} in
2150 "") target_noncanonical
=${host_noncanonical} ;;
2151 *) target_noncanonical
=${target_alias} ;;
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2158 $as_echo_n "checking host system type... " >&6; }
2159 if ${ac_cv_host+:} false
; then :
2160 $as_echo_n "(cached) " >&6
2162 if test "x$host_alias" = x
; then
2163 ac_cv_host
=$ac_cv_build
2165 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2166 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2171 $as_echo "$ac_cv_host" >&6; }
2174 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2177 ac_save_IFS
=$IFS; IFS
='-'
2183 # Remember, the first character of IFS is used to create $*,
2184 # except with old shells:
2187 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2191 $as_echo_n "checking target system type... " >&6; }
2192 if ${ac_cv_target+:} false
; then :
2193 $as_echo_n "(cached) " >&6
2195 if test "x$target_alias" = x
; then
2196 ac_cv_target
=$ac_cv_host
2198 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2199 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2204 $as_echo "$ac_cv_target" >&6; }
2205 case $ac_cv_target in
2207 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2209 target
=$ac_cv_target
2210 ac_save_IFS
=$IFS; IFS
='-'
2216 # Remember, the first character of IFS is used to create $*,
2217 # except with old shells:
2220 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2223 # The aliases save the names the user supplied, while $host etc.
2224 # will get canonicalized.
2225 test -n "$target_alias" &&
2226 test "$program_prefix$program_suffix$program_transform_name" = \
2228 program_prefix
=${target_alias}-
2230 # Find a good install program. We prefer a C program (faster),
2231 # so one script is as good as another. But avoid the broken or
2232 # incompatible versions:
2233 # SysV /etc/install, /usr/sbin/install
2234 # SunOS /usr/etc/install
2235 # IRIX /sbin/install
2237 # AmigaOS /C/install, which installs bootblocks on floppy discs
2238 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2239 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2240 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2241 # OS/2's system install, which has a completely different semantic
2242 # ./install, which can be erroneously created by make from ./install.sh.
2243 # Reject install programs that cannot install multiple files.
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2245 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2246 if test -z "$INSTALL"; then
2247 if ${ac_cv_path_install+:} false
; then :
2248 $as_echo_n "(cached) " >&6
2250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2254 test -z "$as_dir" && as_dir
=.
2255 # Account for people who put trailing slashes in PATH elements.
2256 case $as_dir/ in #((
2257 .
/ | .
// |
/[cC
]/* | \
2258 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2259 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2262 # OSF1 and SCO ODT 3.0 have their own names for install.
2263 # Don't use installbsd from OSF since it installs stuff as root
2265 for ac_prog
in ginstall scoinst
install; do
2266 for ac_exec_ext
in '' $ac_executable_extensions; do
2267 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2268 if test $ac_prog = install &&
2269 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2270 # AIX install. It has an incompatible calling convention.
2272 elif test $ac_prog = install &&
2273 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2274 # program-specific install script used by HP pwplus--don't use.
2277 rm -rf conftest.one conftest.two conftest.dir
2278 echo one
> conftest.one
2279 echo two
> conftest.two
2281 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2282 test -s conftest.one
&& test -s conftest.two
&&
2283 test -s conftest.dir
/conftest.one
&&
2284 test -s conftest.dir
/conftest.two
2286 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2299 rm -rf conftest.one conftest.two conftest.dir
2302 if test "${ac_cv_path_install+set}" = set; then
2303 INSTALL
=$ac_cv_path_install
2305 # As a last resort, use the slow shell script. Don't cache a
2306 # value for INSTALL within a source directory, because that will
2307 # break other packages using the cache if that directory is
2308 # removed, or if the value is a relative name.
2309 INSTALL
=$ac_install_sh
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2313 $as_echo "$INSTALL" >&6; }
2315 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2316 # It thinks the first close brace ends the variable substitution.
2317 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2319 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2321 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2323 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2327 ac_cpp
='$CXXCPP $CPPFLAGS'
2328 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2329 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2330 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2331 if test -z "$CXX"; then
2332 if test -n "$CCC"; then
2335 if test -n "$ac_tool_prefix"; then
2336 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2338 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2339 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2341 $as_echo_n "checking for $ac_word... " >&6; }
2342 if ${ac_cv_prog_CXX+:} false
; then :
2343 $as_echo_n "(cached) " >&6
2345 if test -n "$CXX"; then
2346 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2352 test -z "$as_dir" && as_dir
=.
2353 for ac_exec_ext
in '' $ac_executable_extensions; do
2354 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2355 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2366 if test -n "$CXX"; then
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2368 $as_echo "$CXX" >&6; }
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2371 $as_echo "no" >&6; }
2375 test -n "$CXX" && break
2378 if test -z "$CXX"; then
2380 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2382 # Extract the first word of "$ac_prog", so it can be a program name with args.
2383 set dummy
$ac_prog; ac_word
=$2
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2385 $as_echo_n "checking for $ac_word... " >&6; }
2386 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
2387 $as_echo_n "(cached) " >&6
2389 if test -n "$ac_ct_CXX"; then
2390 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2396 test -z "$as_dir" && as_dir
=.
2397 for ac_exec_ext
in '' $ac_executable_extensions; do
2398 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2399 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2409 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2410 if test -n "$ac_ct_CXX"; then
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2412 $as_echo "$ac_ct_CXX" >&6; }
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2415 $as_echo "no" >&6; }
2419 test -n "$ac_ct_CXX" && break
2422 if test "x$ac_ct_CXX" = x
; then
2425 case $cross_compiling:$ac_tool_warned in
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2428 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2429 ac_tool_warned
=yes ;;
2437 # Provide some information about the compiler.
2438 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2441 for ac_option
in --version -v -V -qversion; do
2442 { { ac_try
="$ac_compiler $ac_option >&5"
2444 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2445 *) ac_try_echo=$ac_try;;
2447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2448 $as_echo "$ac_try_echo"; } >&5
2449 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2451 if test -s conftest.err; then
2453 ... rest of stderr output deleted ...
2454 10q' conftest.err >conftest.er1
2455 cat conftest.er1 >&5
2457 rm -f conftest.er1 conftest.err
2458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2459 test $ac_status = 0; }
2462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2463 /* end confdefs.h. */
2473 ac_clean_files_save=$ac_clean_files
2474 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2475 # Try to create an executable without -o first, disregard a.out.
2476 # It will help us diagnose broken compilers, and finding out an intuition
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2479 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2480 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2482 # The possible output files:
2483 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2486 for ac_file in $ac_files
2489 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2490 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2495 if { { ac_try="$ac_link_default"
2497 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2498 *) ac_try_echo
=$ac_try;;
2500 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2501 $as_echo "$ac_try_echo"; } >&5
2502 (eval "$ac_link_default") 2>&5
2504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2505 test $ac_status = 0; }; then :
2506 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2507 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2508 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2509 # so that the user can short-circuit this test for compilers unknown to
2511 for ac_file
in $ac_files ''
2513 test -f "$ac_file" ||
continue
2515 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2518 # We found the default executable, but exeext='' is most
2522 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2524 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2526 # We set ac_cv_exeext here because the later test for it is not
2527 # safe: cross compilers may not add the suffix if given an `-o'
2528 # argument, so we may need to know it at that point already.
2529 # Even if this section looks crufty: it has the advantage of
2536 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2541 if test -z "$ac_file"; then :
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2543 $as_echo "no" >&6; }
2544 $as_echo "$as_me: failed program was:" >&5
2545 sed 's/^/| /' conftest.
$ac_ext >&5
2547 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2549 as_fn_error
77 "C++ compiler cannot create executables
2550 See \`config.log' for more details" "$LINENO" 5; }
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2553 $as_echo "yes" >&6; }
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2556 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2558 $as_echo "$ac_file" >&6; }
2559 ac_exeext
=$ac_cv_exeext
2561 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2562 ac_clean_files
=$ac_clean_files_save
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2564 $as_echo_n "checking for suffix of executables... " >&6; }
2565 if { { ac_try
="$ac_link"
2567 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2568 *) ac_try_echo=$ac_try;;
2570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2571 $as_echo "$ac_try_echo"; } >&5
2572 (eval "$ac_link") 2>&5
2574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2575 test $ac_status = 0; }; then :
2576 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2577 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2578 # work properly (i.e., refer to `conftest.exe'), while it won't with
2580 for ac_file
in conftest.exe conftest conftest.
*; do
2581 test -f "$ac_file" ||
continue
2583 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2584 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2592 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2593 See \`config.log' for more details" "$LINENO" 5; }
2595 rm -f conftest conftest
$ac_cv_exeext
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2597 $as_echo "$ac_cv_exeext" >&6; }
2599 rm -f conftest.
$ac_ext
2600 EXEEXT
=$ac_cv_exeext
2602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2603 /* end confdefs.h. */
2608 FILE *f = fopen ("conftest.out", "w");
2609 return ferror (f) || fclose (f) != 0;
2615 ac_clean_files
="$ac_clean_files conftest.out"
2616 # Check that the compiler produces executables we can run. If not, either
2617 # the compiler is broken, or we cross compile.
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2619 $as_echo_n "checking whether we are cross compiling... " >&6; }
2620 if test "$cross_compiling" != yes; then
2621 { { ac_try
="$ac_link"
2623 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2624 *) ac_try_echo=$ac_try;;
2626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2627 $as_echo "$ac_try_echo"; } >&5
2628 (eval "$ac_link") 2>&5
2630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2631 test $ac_status = 0; }
2632 if { ac_try='./conftest$ac_cv_exeext'
2633 { { case "(($ac_try" in
2634 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2635 *) ac_try_echo
=$ac_try;;
2637 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2638 $as_echo "$ac_try_echo"; } >&5
2639 (eval "$ac_try") 2>&5
2641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2642 test $ac_status = 0; }; }; then
2645 if test "$cross_compiling" = maybe
; then
2648 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2650 as_fn_error $?
"cannot run C++ compiled programs.
2651 If you meant to cross compile, use \`--host'.
2652 See \`config.log' for more details" "$LINENO" 5; }
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2657 $as_echo "$cross_compiling" >&6; }
2659 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2660 ac_clean_files
=$ac_clean_files_save
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2662 $as_echo_n "checking for suffix of object files... " >&6; }
2663 if ${ac_cv_objext+:} false
; then :
2664 $as_echo_n "(cached) " >&6
2666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2667 /* end confdefs.h. */
2677 rm -f conftest.o conftest.obj
2678 if { { ac_try
="$ac_compile"
2680 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2681 *) ac_try_echo=$ac_try;;
2683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2684 $as_echo "$ac_try_echo"; } >&5
2685 (eval "$ac_compile") 2>&5
2687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2688 test $ac_status = 0; }; then :
2689 for ac_file in conftest.o conftest.obj conftest.*; do
2690 test -f "$ac_file" || continue;
2692 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2693 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2698 $as_echo "$as_me: failed program was:" >&5
2699 sed 's/^/| /' conftest.$ac_ext >&5
2701 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2702 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2703 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2704 See \
`config.log' for more details" "$LINENO" 5; }
2706 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2709 $as_echo "$ac_cv_objext" >&6; }
2710 OBJEXT=$ac_cv_objext
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2713 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2714 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2715 $as_echo_n "(cached) " >&6
2717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2718 /* end confdefs.h. */
2731 if ac_fn_cxx_try_compile "$LINENO"; then :
2736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2737 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2741 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2742 if test $ac_compiler_gnu = yes; then
2747 ac_test_CXXFLAGS=${CXXFLAGS+set}
2748 ac_save_CXXFLAGS=$CXXFLAGS
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2750 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2751 if ${ac_cv_prog_cxx_g+:} false; then :
2752 $as_echo_n "(cached) " >&6
2754 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2755 ac_cxx_werror_flag=yes
2758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2759 /* end confdefs.h. */
2769 if ac_fn_cxx_try_compile "$LINENO"; then :
2770 ac_cv_prog_cxx_g=yes
2773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2774 /* end confdefs.h. */
2784 if ac_fn_cxx_try_compile "$LINENO"; then :
2787 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2790 /* end confdefs.h. */
2800 if ac_fn_cxx_try_compile "$LINENO"; then :
2801 ac_cv_prog_cxx_g=yes
2803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2808 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2811 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2812 if test "$ac_test_CXXFLAGS" = set; then
2813 CXXFLAGS=$ac_save_CXXFLAGS
2814 elif test $ac_cv_prog_cxx_g = yes; then
2815 if test "$GXX" = yes; then
2821 if test "$GXX" = yes; then
2828 ac_cpp='$CPP $CPPFLAGS'
2829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2833 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
2834 for ac_prog in autoconf
2836 # Extract the first word of "$ac_prog", so it can be a program name with args.
2837 set dummy $ac_prog; ac_word=$2
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2839 $as_echo_n "checking for $ac_word... " >&6; }
2840 if ${ac_cv_prog_AUTOCONF+:} false; then :
2841 $as_echo_n "(cached) " >&6
2843 if test -n "$AUTOCONF"; then
2844 ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
2846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2850 test -z "$as_dir" && as_dir=.
2851 for ac_exec_ext in '' $ac_executable_extensions; do
2852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2853 ac_cv_prog_AUTOCONF="$ac_prog"
2854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2863 AUTOCONF=$ac_cv_prog_AUTOCONF
2864 if test -n "$AUTOCONF"; then
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
2866 $as_echo "$AUTOCONF" >&6; }
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2869 $as_echo "no" >&6; }
2873 test -n "$AUTOCONF" && break
2875 test -n "$AUTOCONF" || AUTOCONF="$MISSING autoconf"
2877 for ac_prog in autoheader
2879 # Extract the first word of "$ac_prog", so it can be a program name with args.
2880 set dummy $ac_prog; ac_word=$2
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2882 $as_echo_n "checking for $ac_word... " >&6; }
2883 if ${ac_cv_prog_AUTOHEADER+:} false; then :
2884 $as_echo_n "(cached) " >&6
2886 if test -n "$AUTOHEADER"; then
2887 ac_cv_prog_AUTOHEADER="$AUTOHEADER" # Let the user override the test.
2889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2893 test -z "$as_dir" && as_dir=.
2894 for ac_exec_ext in '' $ac_executable_extensions; do
2895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2896 ac_cv_prog_AUTOHEADER="$ac_prog"
2897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2906 AUTOHEADER=$ac_cv_prog_AUTOHEADER
2907 if test -n "$AUTOHEADER"; then
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
2909 $as_echo "$AUTOHEADER" >&6; }
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2912 $as_echo "no" >&6; }
2916 test -n "$AUTOHEADER" && break
2918 test -n "$AUTOHEADER" || AUTOHEADER="$MISSING autoheader"
2922 ac_cpp='$CXXCPP $CPPFLAGS'
2923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build C++ tools" >&5
2929 $as_echo_n "checking whether to build C++ tools... " >&6; }
2930 # Check whether --enable-c++-tools was given.
2931 if test "${enable_c___tools+set}" = set; then :
2932 enableval=$enable_c___tools; cxx_aux_tools=$enableval
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cxx_aux_tools" >&5
2939 $as_echo "$cxx_aux_tools" >&6; }
2940 CXX_AUX_TOOLS="$cxx_aux_tools"
2943 # Check whether --enable-maintainer-mode was given.
2944 if test "${enable_maintainer_mode+set}" = set; then :
2945 enableval=$enable_maintainer_mode;
2947 enable_maintainer_mode=no
2950 case "$enable_maintainer_mode" in
2951 yes) maintainer_mode=yes ;;
2952 no) maintainer_mode=no ;;
2953 *) as_fn_error $? "unknown maintainer mode $enable_maintainer_mode" "$LINENO" 5 ;;
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking maintainer-mode" >&5
2956 $as_echo_n "checking maintainer-mode... " >&6; }
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $maintainer_mode" >&5
2958 $as_echo "$maintainer_mode" >&6; }
2959 test "$maintainer_mode" = yes && MAINTAINER=yes
2962 # Handle configuration of checking; for the tools in this directory we
2963 # default to release checking and stricter checks do not change this.
2965 # Check whether --enable-checking was given.
2966 if test "${enable_checking+set}" = set; then :
2967 enableval=$enable_checking; ac_checking_flags="${enableval}"
2970 # Default to checking.
2971 ac_checking_flags=yes
2975 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$IFS,"
2976 for check in release $ac_checking_flags
2979 # these set all the flags to specific states
2980 yes|all|release|assert) ac_assert_checking=1 ; ;;
2981 no|none) ac_assert_checking= ; ;;
2987 if test x$ac_assert_checking != x ; then
2989 $as_echo "#define ENABLE_ASSERT_CHECKING 1" >>confdefs.h
2993 # Check whether --enable-default-pie was given.
2994 # Check whether --enable-default-pie was given.
2995 if test "${enable_default_pie+set}" = set; then :
2996 enableval=$enable_default_pie; PICFLAG=-fPIE
3002 # Enable --enable-host-pie
3003 # Check whether --enable-host-pie was given.
3004 if test "${enable_host_pie+set}" = set; then :
3005 enableval=$enable_host_pie; PICFLAG=-fPIE; LD_PICFLAG=-pie
3011 # Check if O_CLOEXEC is defined by fcntl
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for O_CLOEXEC" >&5
3014 $as_echo_n "checking for O_CLOEXEC... " >&6; }
3015 if ${ac_cv_o_cloexec+:} false; then :
3016 $as_echo_n "(cached) " >&6
3019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3020 /* end confdefs.h. */
3027 return open ("/dev/null", O_RDONLY | O_CLOEXEC);
3032 if ac_fn_cxx_try_compile "$LINENO"; then :
3037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_o_cloexec" >&5
3040 $as_echo "$ac_cv_o_cloexec" >&6; }
3041 if test $ac_cv_o_cloexec = yes; then
3043 $as_echo "#define HOST_HAS_O_CLOEXEC 1" >>confdefs.h
3048 ac_cpp='$CXXCPP $CPPFLAGS'
3049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
3053 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
3054 if test -z "$CXXCPP"; then
3055 if ${ac_cv_prog_CXXCPP+:} false; then :
3056 $as_echo_n "(cached) " >&6
3058 # Double quotes because CXXCPP needs to be expanded
3059 for CXXCPP in "$CXX -E" "/lib/cpp"
3062 for ac_cxx_preproc_warn_flag in '' yes
3064 # Use a header file that comes with gcc, so configuring glibc
3065 # with a fresh cross-compiler works.
3066 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3067 # <limits.h> exists even on freestanding compilers.
3068 # On the NeXT, cc -E runs the code through the compiler's parser,
3069 # not just through cpp. "Syntax error" is here to catch this case.
3070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3071 /* end confdefs.h. */
3073 # include <limits.h>
3075 # include <assert.h>
3079 if ac_fn_cxx_try_cpp "$LINENO"; then :
3082 # Broken: fails on valid input.
3085 rm -f conftest.err conftest.i conftest.$ac_ext
3087 # OK, works on sane cases. Now check whether nonexistent headers
3088 # can be detected and how.
3089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3090 /* end confdefs.h. */
3091 #include <ac_nonexistent.h>
3093 if ac_fn_cxx_try_cpp "$LINENO"; then :
3094 # Broken: success on invalid input.
3097 # Passes both tests.
3101 rm -f conftest.err conftest.i conftest.$ac_ext
3104 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3105 rm -f conftest.i conftest.err conftest.
$ac_ext
3106 if $ac_preproc_ok; then :
3111 ac_cv_prog_CXXCPP
=$CXXCPP
3114 CXXCPP
=$ac_cv_prog_CXXCPP
3116 ac_cv_prog_CXXCPP
=$CXXCPP
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
3119 $as_echo "$CXXCPP" >&6; }
3121 for ac_cxx_preproc_warn_flag
in '' yes
3123 # Use a header file that comes with gcc, so configuring glibc
3124 # with a fresh cross-compiler works.
3125 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3126 # <limits.h> exists even on freestanding compilers.
3127 # On the NeXT, cc -E runs the code through the compiler's parser,
3128 # not just through cpp. "Syntax error" is here to catch this case.
3129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3130 /* end confdefs.h. */
3132 # include <limits.h>
3134 # include <assert.h>
3138 if ac_fn_cxx_try_cpp
"$LINENO"; then :
3141 # Broken: fails on valid input.
3144 rm -f conftest.err conftest.i conftest.
$ac_ext
3146 # OK, works on sane cases. Now check whether nonexistent headers
3147 # can be detected and how.
3148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3149 /* end confdefs.h. */
3150 #include <ac_nonexistent.h>
3152 if ac_fn_cxx_try_cpp
"$LINENO"; then :
3153 # Broken: success on invalid input.
3156 # Passes both tests.
3160 rm -f conftest.err conftest.i conftest.
$ac_ext
3163 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3164 rm -f conftest.i conftest.err conftest.
$ac_ext
3165 if $ac_preproc_ok; then :
3168 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3169 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3170 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
3171 See \`config.log' for more details" "$LINENO" 5; }
3175 ac_cpp
='$CXXCPP $CPPFLAGS'
3176 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3177 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3178 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3182 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3183 if ${ac_cv_path_GREP+:} false
; then :
3184 $as_echo_n "(cached) " >&6
3186 if test -z "$GREP"; then
3187 ac_path_GREP_found
=false
3188 # Loop through the user's path and test for each of PROGNAME-LIST
3189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3190 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3193 test -z "$as_dir" && as_dir
=.
3194 for ac_prog
in grep ggrep
; do
3195 for ac_exec_ext
in '' $ac_executable_extensions; do
3196 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3197 as_fn_executable_p
"$ac_path_GREP" ||
continue
3198 # Check for GNU ac_path_GREP and select it if it is found.
3199 # Check for GNU $ac_path_GREP
3200 case `"$ac_path_GREP" --version 2>&1` in
3202 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3205 $as_echo_n 0123456789 >"conftest.in"
3208 cat "conftest.in" "conftest.in" >"conftest.tmp"
3209 mv "conftest.tmp" "conftest.in"
3210 cp "conftest.in" "conftest.nl"
3211 $as_echo 'GREP' >> "conftest.nl"
3212 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3213 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3214 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3215 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3216 # Best one so far, save it but keep looking for a better one
3217 ac_cv_path_GREP
="$ac_path_GREP"
3218 ac_path_GREP_max
=$ac_count
3220 # 10*(2^10) chars as input seems more than enough
3221 test $ac_count -gt 10 && break
3223 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3226 $ac_path_GREP_found && break 3
3231 if test -z "$ac_cv_path_GREP"; then
3232 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3235 ac_cv_path_GREP
=$GREP
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3240 $as_echo "$ac_cv_path_GREP" >&6; }
3241 GREP
="$ac_cv_path_GREP"
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3245 $as_echo_n "checking for egrep... " >&6; }
3246 if ${ac_cv_path_EGREP+:} false
; then :
3247 $as_echo_n "(cached) " >&6
3249 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3250 then ac_cv_path_EGREP
="$GREP -E"
3252 if test -z "$EGREP"; then
3253 ac_path_EGREP_found
=false
3254 # Loop through the user's path and test for each of PROGNAME-LIST
3255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3256 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3259 test -z "$as_dir" && as_dir
=.
3260 for ac_prog
in egrep; do
3261 for ac_exec_ext
in '' $ac_executable_extensions; do
3262 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3263 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3264 # Check for GNU ac_path_EGREP and select it if it is found.
3265 # Check for GNU $ac_path_EGREP
3266 case `"$ac_path_EGREP" --version 2>&1` in
3268 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3271 $as_echo_n 0123456789 >"conftest.in"
3274 cat "conftest.in" "conftest.in" >"conftest.tmp"
3275 mv "conftest.tmp" "conftest.in"
3276 cp "conftest.in" "conftest.nl"
3277 $as_echo 'EGREP' >> "conftest.nl"
3278 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3279 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3280 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3281 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3282 # Best one so far, save it but keep looking for a better one
3283 ac_cv_path_EGREP
="$ac_path_EGREP"
3284 ac_path_EGREP_max
=$ac_count
3286 # 10*(2^10) chars as input seems more than enough
3287 test $ac_count -gt 10 && break
3289 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3292 $ac_path_EGREP_found && break 3
3297 if test -z "$ac_cv_path_EGREP"; then
3298 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3301 ac_cv_path_EGREP
=$EGREP
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3307 $as_echo "$ac_cv_path_EGREP" >&6; }
3308 EGREP
="$ac_cv_path_EGREP"
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3312 $as_echo_n "checking for ANSI C header files... " >&6; }
3313 if ${ac_cv_header_stdc+:} false
; then :
3314 $as_echo_n "(cached) " >&6
3316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3317 /* end confdefs.h. */
3331 if ac_fn_cxx_try_compile
"$LINENO"; then :
3332 ac_cv_header_stdc
=yes
3334 ac_cv_header_stdc
=no
3336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3338 if test $ac_cv_header_stdc = yes; then
3339 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3341 /* end confdefs.h. */
3345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3346 $EGREP "memchr" >/dev
/null
2>&1; then :
3349 ac_cv_header_stdc
=no
3355 if test $ac_cv_header_stdc = yes; then
3356 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3358 /* end confdefs.h. */
3362 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3363 $EGREP "free" >/dev
/null
2>&1; then :
3366 ac_cv_header_stdc
=no
3372 if test $ac_cv_header_stdc = yes; then
3373 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3374 if test "$cross_compiling" = yes; then :
3377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3378 /* end confdefs.h. */
3381 #if ((' ' & 0x0FF) == 0x020)
3382 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3383 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3385 # define ISLOWER(c) \
3386 (('a' <= (c) && (c) <= 'i') \
3387 || ('j' <= (c) && (c) <= 'r') \
3388 || ('s' <= (c) && (c) <= 'z'))
3389 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3392 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3397 for (i = 0; i < 256; i++)
3398 if (XOR (islower (i), ISLOWER (i))
3399 || toupper (i) != TOUPPER (i))
3404 if ac_fn_cxx_try_run
"$LINENO"; then :
3407 ac_cv_header_stdc
=no
3409 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3410 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3416 $as_echo "$ac_cv_header_stdc" >&6; }
3417 if test $ac_cv_header_stdc = yes; then
3419 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3423 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3424 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3425 inttypes.h stdint.h unistd.h
3427 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3428 ac_fn_cxx_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3430 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3431 cat >>confdefs.h
<<_ACEOF
3432 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3440 for ac_header
in sys
/mman.h
3442 ac_fn_cxx_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
3443 if test "x$ac_cv_header_sys_mman_h" = xyes
; then :
3444 cat >>confdefs.h
<<_ACEOF
3445 #define HAVE_SYS_MMAN_H 1
3453 # C++ Modules would like some networking features to provide the mapping
3454 # server. You can still use modules without them though.
3455 # The following network-related checks could probably do with some
3456 # Windows and other non-linux defenses and checking.
3458 # Local socket connectivity wants AF_UNIX networking
3459 # Check for AF_UNIX networking
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AF_UNIX" >&5
3461 $as_echo_n "checking for AF_UNIX... " >&6; }
3462 if ${ac_cv_af_unix+:} false
; then :
3463 $as_echo_n "(cached) " >&6
3466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3467 /* end confdefs.h. */
3469 #include <sys/types.h>
3470 #include <sys/socket.h>
3472 #include <netinet/in.h>
3478 un.sun_family = AF_UNSPEC;
3479 int fd = socket (AF_UNIX, SOCK_STREAM, 0);
3480 connect (fd, (sockaddr *)&un, sizeof (un));
3485 if ac_fn_cxx_try_compile
"$LINENO"; then :
3490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_af_unix" >&5
3493 $as_echo "$ac_cv_af_unix" >&6; }
3494 if test $ac_cv_af_unix = yes; then
3496 $as_echo "#define HAVE_AF_UNIX 1" >>confdefs.h
3500 # Remote socket connectivity wants AF_INET6 networking
3501 # Check for AF_INET6 networking
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AF_INET6" >&5
3503 $as_echo_n "checking for AF_INET6... " >&6; }
3504 if ${ac_cv_af_inet6+:} false
; then :
3505 $as_echo_n "(cached) " >&6
3508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3509 /* end confdefs.h. */
3511 #include <sys/types.h>
3512 #include <sys/socket.h>
3513 #include <netinet/in.h>
3520 in6.sin6_family = AF_UNSPEC;
3521 struct addrinfo *addrs = 0;
3522 struct addrinfo hints;
3524 hints.ai_family = AF_INET6;
3525 hints.ai_socktype = SOCK_STREAM;
3526 hints.ai_protocol = 0;
3527 hints.ai_canonname = 0;
3530 int e = getaddrinfo ("localhost", 0, &hints, &addrs);
3531 const char *str = gai_strerror (e);
3532 freeaddrinfo (addrs);
3533 int fd = socket (AF_INET6, SOCK_STREAM, 0);
3534 connect (fd, (sockaddr *)&in6, sizeof (in6));
3539 if ac_fn_cxx_try_compile
"$LINENO"; then :
3544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_af_inet6" >&5
3547 $as_echo "$ac_cv_af_inet6" >&6; }
3548 if test $ac_cv_af_inet6 = yes; then
3550 $as_echo "#define HAVE_AF_INET6 1" >>confdefs.h
3554 # Efficient server response wants epoll
3555 # Check for epoll_create, epoll_ctl, epoll_pwait
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll" >&5
3557 $as_echo_n "checking for epoll... " >&6; }
3558 if ${ac_cv_epoll+:} false
; then :
3559 $as_echo_n "(cached) " >&6
3562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3563 /* end confdefs.h. */
3565 #include <sys/epoll.h>
3570 int fd = epoll_create (1);
3572 ev.events = EPOLLIN;
3574 epoll_ctl (fd, EPOLL_CTL_ADD, 0, &ev);
3575 epoll_pwait (fd, 0, 0, -1, 0);
3580 if ac_fn_cxx_try_compile
"$LINENO"; then :
3585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_epoll" >&5
3588 $as_echo "$ac_cv_epoll" >&6; }
3589 if test $ac_cv_epoll = yes; then
3591 $as_echo "#define HAVE_EPOLL 1" >>confdefs.h
3595 # If we can't use epoll, try pselect.
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pselect" >&5
3598 $as_echo_n "checking for pselect... " >&6; }
3599 if ${ac_cv_pselect+:} false
; then :
3600 $as_echo_n "(cached) " >&6
3603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3604 /* end confdefs.h. */
3606 #include <sys/select.h>
3611 pselect (0, 0, 0, 0, 0, 0);
3616 if ac_fn_cxx_try_compile
"$LINENO"; then :
3621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pselect" >&5
3624 $as_echo "$ac_cv_pselect" >&6; }
3625 if test $ac_cv_pselect = yes; then
3627 $as_echo "#define HAVE_PSELECT 1" >>confdefs.h
3631 # And failing that, use good old select.
3632 # If we can't even use this, the server is serialized.
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for select" >&5
3635 $as_echo_n "checking for select... " >&6; }
3636 if ${ac_cv_select+:} false
; then :
3637 $as_echo_n "(cached) " >&6
3640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3641 /* end confdefs.h. */
3643 #include <sys/select.h>
3648 select (0, 0, 0, 0, 0);
3653 if ac_fn_cxx_try_compile
"$LINENO"; then :
3658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_select" >&5
3661 $as_echo "$ac_cv_select" >&6; }
3662 if test $ac_cv_select = yes; then
3664 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
3668 # Avoid some fnctl calls by using accept4, when available.
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for accept4" >&5
3671 $as_echo_n "checking for accept4... " >&6; }
3672 if ${ac_cv_accept4+:} false
; then :
3673 $as_echo_n "(cached) " >&6
3676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3677 /* end confdefs.h. */
3679 #include <sys/socket.h>
3684 int err = accept4 (1, 0, 0, SOCK_NONBLOCK);
3689 if ac_fn_cxx_try_compile
"$LINENO"; then :
3694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_accept4" >&5
3697 $as_echo "$ac_cv_accept4" >&6; }
3698 if test $ac_cv_accept4 = yes; then
3700 $as_echo "#define HAVE_ACCEPT4 1" >>confdefs.h
3704 # For better server messages, look for a way to stringize network addresses
3705 # Check for inet_ntop
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntop" >&5
3707 $as_echo_n "checking for inet_ntop... " >&6; }
3708 if ${ac_cv_inet_ntop+:} false
; then :
3709 $as_echo_n "(cached) " >&6
3712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3713 /* end confdefs.h. */
3715 #include <arpa/inet.h>
3716 #include <netinet/in.h>
3722 char buf[INET6_ADDRSTRLEN];
3723 const char *str = inet_ntop (AF_INET6, &in6, buf, sizeof (buf));
3728 if ac_fn_cxx_try_compile
"$LINENO"; then :
3733 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_inet_ntop" >&5
3736 $as_echo "$ac_cv_inet_ntop" >&6; }
3737 if test $ac_cv_inet_ntop = yes; then
3739 $as_echo "#define HAVE_INET_NTOP 1" >>confdefs.h
3743 # Determine what GCC version number to use in filesystem paths.
3745 get_gcc_base_ver
="cat"
3747 # Check whether --with-gcc-major-version-only was given.
3748 if test "${with_gcc_major_version_only+set}" = set; then :
3749 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
3750 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
3758 # Solaris needs libsocket and libnsl for socket functions before 11.4.
3759 # libcody uses those.
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
3764 $as_echo_n "checking for library containing gethostbyname... " >&6; }
3765 if ${ac_cv_search_gethostbyname+:} false
; then :
3766 $as_echo_n "(cached) " >&6
3768 ac_func_search_save_LIBS
=$LIBS
3769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3770 /* end confdefs.h. */
3772 /* Override any GCC internal prototype to avoid an error.
3773 Use char because int might match the return type of a GCC
3774 builtin and then its argument prototype would still apply. */
3778 char gethostbyname ();
3782 return gethostbyname ();
3787 for ac_lib
in '' nsl
; do
3788 if test -z "$ac_lib"; then
3789 ac_res
="none required"
3792 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3794 if ac_fn_cxx_try_link
"$LINENO"; then :
3795 ac_cv_search_gethostbyname
=$ac_res
3797 rm -f core conftest.err conftest.
$ac_objext \
3799 if ${ac_cv_search_gethostbyname+:} false
; then :
3803 if ${ac_cv_search_gethostbyname+:} false
; then :
3806 ac_cv_search_gethostbyname
=no
3809 LIBS
=$ac_func_search_save_LIBS
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
3812 $as_echo "$ac_cv_search_gethostbyname" >&6; }
3813 ac_res
=$ac_cv_search_gethostbyname
3814 if test "$ac_res" != no
; then :
3815 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
3820 $as_echo_n "checking for library containing socket... " >&6; }
3821 if ${ac_cv_search_socket+:} false
; then :
3822 $as_echo_n "(cached) " >&6
3824 ac_func_search_save_LIBS
=$LIBS
3825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3826 /* end confdefs.h. */
3828 /* Override any GCC internal prototype to avoid an error.
3829 Use char because int might match the return type of a GCC
3830 builtin and then its argument prototype would still apply. */
3843 for ac_lib
in '' socket
; do
3844 if test -z "$ac_lib"; then
3845 ac_res
="none required"
3848 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3850 if ac_fn_cxx_try_link
"$LINENO"; then :
3851 ac_cv_search_socket
=$ac_res
3853 rm -f core conftest.err conftest.
$ac_objext \
3855 if ${ac_cv_search_socket+:} false
; then :
3859 if ${ac_cv_search_socket+:} false
; then :
3862 ac_cv_search_socket
=no
3865 LIBS
=$ac_func_search_save_LIBS
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
3868 $as_echo "$ac_cv_search_socket" >&6; }
3869 ac_res
=$ac_cv_search_socket
3870 if test "$ac_res" != no
; then :
3871 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
3876 $as_echo_n "checking for socket in -lsocket... " >&6; }
3877 if ${ac_cv_lib_socket_socket+:} false
; then :
3878 $as_echo_n "(cached) " >&6
3880 ac_check_lib_save_LIBS
=$LIBS
3881 LIBS
="-lsocket -lnsl $LIBS"
3882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3883 /* end confdefs.h. */
3885 /* Override any GCC internal prototype to avoid an error.
3886 Use char because int might match the return type of a GCC
3887 builtin and then its argument prototype would still apply. */
3900 if ac_fn_cxx_try_link
"$LINENO"; then :
3901 ac_cv_lib_socket_socket
=yes
3903 ac_cv_lib_socket_socket
=no
3905 rm -f core conftest.err conftest.
$ac_objext \
3906 conftest
$ac_exeext conftest.
$ac_ext
3907 LIBS
=$ac_check_lib_save_LIBS
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
3910 $as_echo "$ac_cv_lib_socket_socket" >&6; }
3911 if test "x$ac_cv_lib_socket_socket" = xyes
; then :
3912 LIBS
="-lsocket -lnsl $LIBS"
3922 ac_config_headers
="$ac_config_headers config.h"
3924 ac_config_files
="$ac_config_files Makefile"
3927 cat >confcache
<<\_ACEOF
3928 # This file is a shell script that caches the results of configure
3929 # tests run on this system so they can be shared between configure
3930 # scripts and configure runs, see configure's option --config-cache.
3931 # It is not useful on other systems. If it contains results you don't
3932 # want to keep, you may remove or edit it.
3934 # config.status only pays attention to the cache file if you give it
3935 # the --recheck option to rerun configure.
3937 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3938 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3943 # The following way of writing the cache mishandles newlines in values,
3944 # but we know of no workaround that is simple, portable, and efficient.
3945 # So, we kill variables containing newlines.
3946 # Ultrix sh set writes to stderr and can't be redirected directly,
3947 # and sets the high bit in the cache file unless we assign to the vars.
3949 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3950 eval ac_val
=\$
$ac_var
3954 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3955 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3958 _ | IFS | as_nl
) ;; #(
3959 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3960 *) { eval $ac_var=; unset $ac_var;} ;;
3966 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3967 *${as_nl}ac_space
=\
*)
3968 # `set' does not quote correctly, so add quotes: double-quote
3969 # substitution turns \\\\ into \\, and sed turns \\ into \.
3972 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3975 # `set' quotes correctly as required by POSIX, so do not add quotes.
3976 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3985 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3987 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3989 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3990 if test -w "$cache_file"; then
3991 if test "x$cache_file" != "x/dev/null"; then
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3993 $as_echo "$as_me: updating cache $cache_file" >&6;}
3994 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
3995 cat confcache
>"$cache_file"
3997 case $cache_file in #(
3999 mv -f confcache
"$cache_file"$$
&&
4000 mv -f "$cache_file"$$
"$cache_file" ;; #(
4002 mv -f confcache
"$cache_file" ;;
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4008 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4013 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4014 # Let make expand exec_prefix.
4015 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4017 DEFS
=-DHAVE_CONFIG_H
4022 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4023 # 1. Remove the extension, and $U if already installed.
4024 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4025 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4026 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4027 # will be set to the directory where LIBOBJS objects are built.
4028 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4029 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4033 LTLIBOBJS
=$ac_ltlibobjs
4037 : "${CONFIG_STATUS=./config.status}"
4039 ac_clean_files_save
=$ac_clean_files
4040 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4042 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4044 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4046 # Generated by $as_me.
4047 # Run this file to recreate the current configuration.
4048 # Compiler output produced by configure, useful for debugging
4049 # configure, is in config.log if it exists.
4055 SHELL=\${CONFIG_SHELL-$SHELL}
4058 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4059 ## -------------------- ##
4060 ## M4sh Initialization. ##
4061 ## -------------------- ##
4063 # Be more Bourne compatible
4064 DUALCASE
=1; export DUALCASE
# for MKS sh
4065 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4068 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4069 # is contrary to our usage. Disable this feature.
4070 alias -g '${1+"$@"}'='"$@"'
4071 setopt NO_GLOB_SUBST
4073 case `(set -o) 2>/dev/null` in #(
4085 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4086 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4087 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4088 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4089 # Prefer a ksh shell builtin over an external printf program on Solaris,
4090 # but without wasting forks for bash or zsh.
4091 if test -z "$BASH_VERSION$ZSH_VERSION" \
4092 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4093 as_echo='print
-r --'
4094 as_echo_n='print
-rn --'
4095 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4096 as_echo='printf %s
\n'
4097 as_echo_n='printf %s
'
4099 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4100 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4101 as_echo_n='/usr
/ucb
/echo -n'
4103 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4104 as_echo_n_body='eval
4108 expr "X$arg" : "X\\(.*\\)$as_nl";
4109 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4111 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4113 export as_echo_n_body
4114 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4117 as_echo='sh
-c $as_echo_body as_echo
'
4120 # The user is always right.
4121 if test "${PATH_SEPARATOR+set}" != set; then
4123 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4124 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4131 # We need space, tab and new line, in precisely that order. Quoting is
4132 # there to prevent editors from complaining about space-tab.
4133 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4134 # splitting by setting IFS to empty value.)
4137 # Find who we are. Look in the path if we contain no directory separator.
4140 *[\\/]* ) as_myself=$0 ;;
4141 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4145 test -z "$as_dir" && as_dir=.
4146 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4152 # We did not find ourselves, most probably we were run as `sh COMMAND'
4153 # in which case we are not to be found in the path.
4154 if test "x$as_myself" = x
; then
4157 if test ! -f "$as_myself"; then
4158 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4162 # Unset variables that we do not need and which cause bugs (e.g. in
4163 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4164 # suppresses any "Segmentation fault" message there. '((' could
4165 # trigger a bug in pdksh 5.2.14.
4166 for as_var
in BASH_ENV ENV MAIL MAILPATH
4167 do eval test x\
${$as_var+set} = xset \
4168 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4181 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4184 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4185 # ----------------------------------------
4186 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4187 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4188 # script with STATUS, using 1 if that was 0.
4191 as_status
=$1; test $as_status -eq 0 && as_status
=1
4193 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4194 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4196 $as_echo "$as_me: error: $2" >&2
4197 as_fn_exit
$as_status
4201 # as_fn_set_status STATUS
4202 # -----------------------
4203 # Set $? to STATUS, without forking.
4207 } # as_fn_set_status
4211 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4221 # Portably unset VAR.
4224 { eval $1=; unset $1;}
4226 as_unset
=as_fn_unset
4227 # as_fn_append VAR VALUE
4228 # ----------------------
4229 # Append the text in VALUE to the end of the definition contained in VAR. Take
4230 # advantage of any shell optimizations that allow amortized linear growth over
4231 # repeated appends, instead of the typical quadratic growth present in naive
4233 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4234 eval 'as_fn_append ()
4245 # as_fn_arith ARG...
4246 # ------------------
4247 # Perform arithmetic evaluation on the ARGs, and store the result in the
4248 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4249 # must be portable across $(()) and expr.
4250 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4251 eval 'as_fn_arith ()
4258 as_val
=`expr "$@" || test $? -eq 1`
4263 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4264 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4270 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4271 as_basename
=basename
4276 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4282 as_me
=`$as_basename -- "$0" ||
4283 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4284 X"$0" : 'X\(//\)$' \| \
4285 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4287 sed '/^.*\/\([^/][^/]*\)\/*$/{
4301 # Avoid depending upon Character Ranges.
4302 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4303 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4304 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4305 as_cr_digits
='0123456789'
4306 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4308 ECHO_C
= ECHO_N
= ECHO_T
=
4309 case `echo -n x` in #(((((
4311 case `echo 'xy\c'` in
4312 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4314 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4321 rm -f conf$$ conf$$.exe conf$$.
file
4322 if test -d conf$$.dir
; then
4323 rm -f conf$$.dir
/conf$$.
file
4326 mkdir conf$$.dir
2>/dev
/null
4328 if (echo >conf$$.
file) 2>/dev
/null
; then
4329 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4331 # ... but there are two gotchas:
4332 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4333 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4334 # In both cases, we have to default to `cp -pR'.
4335 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4337 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4345 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4346 rmdir conf$$.dir
2>/dev
/null
4351 # Create "$as_dir" as a directory, including parents if necessary.
4356 -*) as_dir
=.
/$as_dir;;
4358 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4362 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4363 *) as_qdir
=$as_dir;;
4365 as_dirs
="'$as_qdir' $as_dirs"
4366 as_dir
=`$as_dirname -- "$as_dir" ||
4367 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4368 X"$as_dir" : 'X\(//\)[^/]' \| \
4369 X"$as_dir" : 'X\(//\)$' \| \
4370 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4371 $as_echo X"$as_dir" |
4372 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4389 test -d "$as_dir" && break
4391 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4392 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4396 if mkdir
-p .
2>/dev
/null
; then
4397 as_mkdir_p
='mkdir -p "$as_dir"'
4399 test -d .
/-p && rmdir .
/-p
4404 # as_fn_executable_p FILE
4405 # -----------------------
4406 # Test if FILE is an executable regular file.
4407 as_fn_executable_p
()
4409 test -f "$1" && test -x "$1"
4410 } # as_fn_executable_p
4412 as_executable_p
=as_fn_executable_p
4414 # Sed expression to map a string onto a valid CPP name.
4415 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4417 # Sed expression to map a string onto a valid variable name.
4418 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4422 ## ----------------------------------- ##
4423 ## Main body of $CONFIG_STATUS script. ##
4424 ## ----------------------------------- ##
4426 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4429 # Save the log message, to keep $0 and so on meaningful, and to
4430 # report actual input values of CONFIG_FILES etc. instead of their
4431 # values after options handling.
4433 This file was extended by $as_me, which was
4434 generated by GNU Autoconf 2.69. Invocation command line was
4436 CONFIG_FILES = $CONFIG_FILES
4437 CONFIG_HEADERS = $CONFIG_HEADERS
4438 CONFIG_LINKS = $CONFIG_LINKS
4439 CONFIG_COMMANDS = $CONFIG_COMMANDS
4442 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4447 case $ac_config_files in *"
4448 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4451 case $ac_config_headers in *"
4452 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
4456 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4457 # Files that config.status was made for.
4458 config_files="$ac_config_files"
4459 config_headers="$ac_config_headers"
4463 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4465 \`$as_me' instantiates files and other configuration actions
4466 from templates according to the current configuration. Unless the files
4467 and actions are specified as TAGs, all are instantiated by default.
4469 Usage: $0 [OPTION]... [TAG]...
4471 -h, --help print this help, then exit
4472 -V, --version print version number and configuration settings, then exit
4473 --config print configuration, then exit
4474 -q, --quiet, --silent
4475 do not print progress messages
4476 -d, --debug don't remove temporary files
4477 --recheck update $as_me by reconfiguring in the same conditions
4478 --file=FILE[:TEMPLATE]
4479 instantiate the configuration file FILE
4480 --header=FILE[:TEMPLATE]
4481 instantiate the configuration header FILE
4483 Configuration files:
4486 Configuration headers:
4489 Report bugs to the package provider."
4492 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4493 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4496 configured by $0, generated by GNU Autoconf 2.69,
4497 with options \\"\$ac_cs_config\\"
4499 Copyright (C) 2012 Free Software Foundation, Inc.
4500 This config.status script is free software; the Free Software Foundation
4501 gives unlimited permission to copy, distribute and modify it."
4506 test -n "\$AWK" || AWK=awk
4509 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4510 # The default lists apply if the user does not specify any file.
4516 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4517 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4521 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4533 # Handling of the options.
4534 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4536 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4537 $as_echo "$ac_cs_version"; exit ;;
4538 --config |
--confi |
--conf |
--con |
--co |
--c )
4539 $as_echo "$ac_cs_config"; exit ;;
4540 --debug |
--debu |
--deb |
--de |
--d |
-d )
4542 --file |
--fil |
--fi |
--f )
4545 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4546 '') as_fn_error $?
"missing file argument" ;;
4548 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4549 ac_need_defaults
=false
;;
4550 --header |
--heade |
--head |
--hea )
4553 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4555 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
4556 ac_need_defaults
=false
;;
4558 # Conflict between --help and --header
4559 as_fn_error $?
"ambiguous option: \`$1'
4560 Try \`$0 --help' for more information.";;
4561 --help |
--hel |
-h )
4562 $as_echo "$ac_cs_usage"; exit ;;
4563 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4564 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4568 -*) as_fn_error $?
"unrecognized option: \`$1'
4569 Try \`$0 --help' for more information." ;;
4571 *) as_fn_append ac_config_targets
" $1"
4572 ac_need_defaults
=false
;;
4578 ac_configure_extra_args
=
4580 if $ac_cs_silent; then
4582 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4587 if \$ac_cs_recheck; then
4588 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4590 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4591 CONFIG_SHELL='$SHELL'
4597 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4601 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4602 ## Running $as_me. ##
4608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4613 # Handling of arguments.
4614 for ac_config_target
in $ac_config_targets
4616 case $ac_config_target in
4617 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
4618 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4620 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4625 # If the user did not use the arguments to specify the items to instantiate,
4626 # then the envvar interface is used. Set only those that are not.
4627 # We use the long form for the default assignment because of an extremely
4628 # bizarre bug on SunOS 4.1.3.
4629 if $ac_need_defaults; then
4630 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4631 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
4634 # Have a temporary directory for convenience. Make it in the build tree
4635 # simply because there is no reason against having it here, and in addition,
4636 # creating and moving files from /tmp can sometimes cause problems.
4637 # Hook for its removal unless debugging.
4638 # Note that there is a small window in which the directory will not be cleaned:
4639 # after its creation but before its name has been assigned to `$tmp'.
4643 trap 'exit_status=$?
4645 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4647 trap 'as_fn_exit 1' 1 2 13 15
4649 # Create a (secure) tmp directory for tmp files.
4652 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4656 tmp
=.
/conf$$
-$RANDOM
4657 (umask 077 && mkdir
"$tmp")
4658 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
4661 # Set up the scripts for CONFIG_FILES section.
4662 # No need to generate them if there are no CONFIG_FILES.
4663 # This happens for instance with `./config.status config.h'.
4664 if test -n "$CONFIG_FILES"; then
4667 ac_cr
=`echo X | tr X '\015'`
4668 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4669 # But we know of no other shell where ac_cr would be empty at this
4670 # point, so we can use a bashism as a fallback.
4671 if test "x$ac_cr" = x
; then
4672 eval ac_cr
=\$
\'\\r
\'
4674 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4675 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4681 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4686 echo "cat >conf$$subs.awk <<_ACEOF" &&
4687 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4690 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4691 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4693 for ac_last_try in false false false false false :; do
4694 . ./conf$$subs.sh ||
4695 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4697 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4698 if test $ac_delim_n = $ac_delim_num; then
4700 elif $ac_last_try; then
4701 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4703 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4708 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4709 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
4713 s/^/S["/; s
/!.
*/"]=/
4723 s/\(.\{148\}\)..*/\1/
4725 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4730 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4737 s/\(.\{148\}\)..*/\1/
4739 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4743 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4748 ' <conf$$subs.awk | sed '
4753 ' >>$CONFIG_STATUS || ac_write_fail=1
4754 rm -f conf$$subs.awk
4755 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4757 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
4758 for (key in S) S_is_set[key] = 1
4764 nfields = split(line, field, "@
")
4766 len = length(field[1])
4767 for (i = 2; i < nfields; i++) {
4769 keylen = length(key)
4770 if (S_is_set[key]) {
4772 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4773 len += length(value) + length(field[++i])
4784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4785 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4786 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4789 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
4790 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
4793 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4794 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
4795 # trailing colons and then remove the whole line if VPATH becomes empty
4796 # (actually we leave an empty line to preserve line numbers).
4797 if test "x
$srcdir" = x.; then
4798 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4817 fi # test -n "$CONFIG_FILES"
4819 # Set up the scripts for CONFIG_HEADERS section.
4820 # No need to generate them if there are no CONFIG_HEADERS.
4821 # This happens for instance with `./config.status Makefile'.
4822 if test -n "$CONFIG_HEADERS"; then
4823 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
4827 # Transform confdefs.h into an awk script `defines.awk', embedded as
4828 # here-document in config.status, that substitutes the proper values into
4829 # config.h.in to produce config.h.
4831 # Create a delimiter string that does not exist in confdefs.h, to ease
4832 # handling of long lines.
4834 for ac_last_try in false false :; do
4835 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
4836 if test -z "$ac_tt"; then
4838 elif $ac_last_try; then
4839 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
4841 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4845 # For the awk script, D is an array of macro values keyed by name,
4846 # likewise P contains macro parameters if any. Preserve backslash
4847 # newline sequences.
4849 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4851 s/.\{148\}/&'"$ac_delim"'/g
4854 s/^[ ]*#[ ]*define[ ][ ]*/ /
4861 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
4863 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
4867 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
4868 D["\
1"]=" \
3\\\\\\n
"\\/p
4870 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
4875 s/.\{148\}/&'"$ac_delim"'/g
4880 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
4883 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
4885 ' <confdefs.h | sed '
4886 s/'"$ac_delim"'/"\\\
4887 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4890 for (key in D) D_is_set[key] = 1
4893 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4895 split(line, arg, " ")
4896 if (arg[1] == "#") {
4900 defundef
= substr
(arg
[1], 2)
4903 split(mac1
, mac2
, "(") #)
4905 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
4906 if (D_is_set
[macro
]) {
4907 # Preserve the white space surrounding the "#".
4908 print prefix
"define", macro P
[macro
] D
[macro
]
4911 # Replace #undef with comments. This is necessary, for example,
4912 # in the case of _POSIX_SOURCE, which is predefined and required
4913 # on some systems where configure will not decide to define it.
4914 if (defundef
== "undef") {
4915 print
"/*", prefix defundef
, macro
, "*/"
4923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4924 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
4925 fi # test -n "$CONFIG_HEADERS"
4928 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
4933 :[FHLC
]) ac_mode
=$ac_tag; continue;;
4935 case $ac_mode$ac_tag in
4937 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
4938 :[FH
]-) ac_tag
=-:-;;
4939 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
4956 -) ac_f
="$ac_tmp/stdin";;
4957 *) # Look for the file first in the build tree, then in the source tree
4958 # (if the path is not absolute). The absolute path cannot be DOS-style,
4959 # because $ac_f cannot contain `:'.
4963 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
4965 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4967 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4968 as_fn_append ac_file_inputs
" '$ac_f'"
4971 # Let's still pretend it is `configure' which instantiates (i.e., don't
4972 # use $as_me), people would be surprised to read:
4973 # /* config.h. Generated by config.status. */
4974 configure_input
='Generated from '`
4975 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4977 if test x
"$ac_file" != x-
; then
4978 configure_input
="$ac_file. $configure_input"
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4980 $as_echo "$as_me: creating $ac_file" >&6;}
4982 # Neutralize special characters interpreted by sed in replacement strings.
4983 case $configure_input in #(
4984 *\
&* |
*\|
* |
*\\* )
4985 ac_sed_conf_input
=`$as_echo "$configure_input" |
4986 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4987 *) ac_sed_conf_input
=$configure_input;;
4991 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
4992 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
4997 ac_dir
=`$as_dirname -- "$ac_file" ||
4998 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4999 X"$ac_file" : 'X\(//\)[^/]' \| \
5000 X"$ac_file" : 'X\(//\)$' \| \
5001 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5002 $as_echo X"$ac_file" |
5003 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5020 as_dir
="$ac_dir"; as_fn_mkdir_p
5024 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5026 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5027 # A ".." for each directory in $ac_dir_suffix.
5028 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5029 case $ac_top_builddir_sub in
5030 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5031 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
5034 ac_abs_top_builddir
=$ac_pwd
5035 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
5036 # for backward compatibility:
5037 ac_top_builddir
=$ac_top_build_prefix
5040 .
) # We are building in place.
5042 ac_top_srcdir
=$ac_top_builddir_sub
5043 ac_abs_top_srcdir
=$ac_pwd ;;
5044 [\\/]* | ?
:[\\/]* ) # Absolute name.
5045 ac_srcdir
=$srcdir$ac_dir_suffix;
5046 ac_top_srcdir
=$srcdir
5047 ac_abs_top_srcdir
=$srcdir ;;
5049 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
5050 ac_top_srcdir
=$ac_top_build_prefix$srcdir
5051 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
5053 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5063 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5064 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
5068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5069 # If the template does not know about datarootdir, expand it.
5070 # FIXME: This hack should be removed a few years after 2.60.
5071 ac_datarootdir_hack
=; ac_datarootdir_seen
=
5082 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5083 *datarootdir
*) ac_datarootdir_seen
=yes;;
5084 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5086 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5089 ac_datarootdir_hack='
5090 s&@datadir@&$datadir&g
5091 s&@docdir@&$docdir&g
5092 s&@infodir@&$infodir&g
5093 s&@localedir@&$localedir&g
5094 s&@mandir@&$mandir&g
5095 s&\\\${datarootdir}&$datarootdir&g' ;;
5099 # Neutralize VPATH when `$srcdir' = `.'.
5100 # Shell code in configure.ac might set extrasub.
5101 # FIXME: do we really want to maintain this feature?
5102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5103 ac_sed_extra="$ac_vpsub
5106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5108 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5109 s|@configure_input@|
$ac_sed_conf_input|
;t t
5110 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5111 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5112 s
&@srcdir@
&$ac_srcdir&;t t
5113 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5114 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5115 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5116 s
&@builddir@
&$ac_builddir&;t t
5117 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5118 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5119 s
&@INSTALL@
&$ac_INSTALL&;t t
5120 $ac_datarootdir_hack
5122 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5123 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5125 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5126 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5127 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5128 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5130 which seems to be undefined. Please make sure it is defined" >&5
5131 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5132 which seems to be undefined. Please make sure it is defined" >&2;}
5134 rm -f "$ac_tmp/stdin"
5136 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5137 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5139 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5145 if test x"$ac_file" != x-; then
5147 $as_echo "/* $configure_input */" \
5148 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5149 } >"$ac_tmp/config.h" \
5150 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5151 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5153 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5156 mv "$ac_tmp/config.h" "$ac_file" \
5157 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5160 $as_echo "/* $configure_input */" \
5161 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5162 || as_fn_error $? "could not create -" "$LINENO" 5
5174 ac_clean_files=$ac_clean_files_save
5176 test $ac_write_fail = 0 ||
5177 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5180 # configure is writing to config.log, and then calls config.status.
5181 # config.status does its own redirection, appending to config.log.
5182 # Unfortunately, on DOS this fails, as config.log is still kept open
5183 # by configure, so config.status won't be able to
write to it
; its
5184 # output is simply discarded. So we exec the FD to /dev/null,
5185 # effectively closing config.log, so it can be properly (re)opened and
5186 # appended to by config.status. When coming back to configure, we
5187 # need to make the FD available again.
5188 if test "$no_create" != yes; then
5190 ac_config_status_args
=
5191 test "$silent" = yes &&
5192 ac_config_status_args
="$ac_config_status_args --quiet"
5194 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5196 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5197 # would make configure fail if this is the last instruction.
5198 $ac_cs_success || as_fn_exit
1
5200 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5202 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}