-finline-stringops: allow expansion into edges [PR113002]
[official-gcc.git] / c++tools / configure
blob006efe07b35432c67479ccc253dbc1f8cdd52120
1 #! /bin/sh
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 :
18 emulate sh
19 NULLCMD=:
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+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
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
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
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'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
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.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
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
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
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 || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
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.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
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
156 as_fn_exit 255
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 :
162 emulate sh
163 NULLCMD=:
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+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
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; }
183 exitcode=0
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 :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || 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 :
201 as_have_required=yes
202 else
203 as_have_required=no
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
207 else
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209 as_found=false
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
212 IFS=$as_save_IFS
213 test -z "$as_dir" && as_dir=.
214 as_found=:
215 case $as_dir in #(
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 :
224 break 2
227 done;;
228 esac
229 as_found=false
230 done
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
234 fi; }
235 IFS=$as_save_IFS
238 if test "x$CONFIG_SHELL" != x; then :
239 export CONFIG_SHELL
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.
244 BASH_ENV=/dev/null
245 ENV=/dev/null
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247 case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252 esac
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
257 exit 255
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."
266 else
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."
272 exit 1
276 SHELL=${CONFIG_SHELL-/bin/sh}
277 export SHELL
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 ## --------------------- ##
285 # as_fn_unset VAR
286 # ---------------
287 # Portably unset VAR.
288 as_fn_unset ()
290 { eval $1=; unset $1;}
292 as_unset=as_fn_unset
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
297 as_fn_set_status ()
299 return $1
300 } # as_fn_set_status
302 # as_fn_exit STATUS
303 # -----------------
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305 as_fn_exit ()
307 set +e
308 as_fn_set_status $1
309 exit $1
310 } # as_fn_exit
312 # as_fn_mkdir_p
313 # -------------
314 # Create "$as_dir" as a directory, including parents if necessary.
315 as_fn_mkdir_p ()
318 case $as_dir in #(
319 -*) as_dir=./$as_dir;;
320 esac
321 test -d "$as_dir" || eval $as_mkdir_p || {
322 as_dirs=
323 while :; do
324 case $as_dir in #(
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326 *) as_qdir=$as_dir;;
327 esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 s//\1/
339 /^X\(\/\/\)[^/].*/{
340 s//\1/
343 /^X\(\/\/\)$/{
344 s//\1/
347 /^X\(\/\).*/{
348 s//\1/
351 s/.*/./; q'`
352 test -d "$as_dir" && break
353 done
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
358 } # as_fn_mkdir_p
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
372 # implementations.
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
376 eval $1+=\$2
378 else
379 as_fn_append ()
381 eval $1=\$$1\$2
383 fi # as_fn_append
385 # as_fn_arith ARG...
386 # ------------------
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 :
391 eval 'as_fn_arith ()
393 as_val=$(( $* ))
395 else
396 as_fn_arith ()
398 as_val=`expr "$@" || test $? -eq 1`
400 fi # as_fn_arith
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.
408 as_fn_error ()
410 as_status=$1; test $as_status -eq 0 && as_status=1
411 if test "$4"; then
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
417 } # as_fn_error
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
421 as_expr=expr
422 else
423 as_expr=false
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427 as_basename=basename
428 else
429 as_basename=false
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433 as_dirname=dirname
434 else
435 as_dirname=false
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 $as_echo X/"$0" |
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
444 s//\1/
447 /^X\/\(\/\/\)$/{
448 s//\1/
451 /^X\/\(\/\).*/{
452 s//\1/
455 s/.*/./; q'`
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. :-)
470 sed -n '
472 /[$]LINENO/=
473 ' <$as_myself |
474 sed '
475 s/[$]LINENO.*/&-/
476 t lineno
478 :lineno
480 :loop
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482 t loop
483 s/-\n.*//
484 ' >$as_me.lineno &&
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).
495 . "./$as_me.lineno"
496 # Exit status is that of the last command.
497 exit
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
502 -n*)
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
505 xy) ECHO_C='\c';;
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
507 ECHO_T=' ';;
508 esac;;
510 ECHO_N='-n';;
511 esac
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
516 else
517 rm -f conf$$.dir
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
522 as_ln_s='ln -s'
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 ||
528 as_ln_s='cp -pR'
529 elif ln conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s=ln
531 else
532 as_ln_s='cp -pR'
534 else
535 as_ln_s='cp -pR'
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"'
542 else
543 test -d ./-p && rmdir ./-p
544 as_mkdir_p=false
547 as_test_x='test -x'
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
558 exec 6>&1
560 # Name of the host.
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`
566 # Initializations.
568 ac_default_prefix=/usr/local
569 ac_clean_files=
570 ac_config_libobj_dir=.
571 LIBOBJS=
572 cross_compiling=no
573 subdirs=
574 MFLAGS=
575 MAKEFLAGS=
577 # Identity of this package.
578 PACKAGE_NAME=
579 PACKAGE_TARNAME=
580 PACKAGE_VERSION=
581 PACKAGE_STRING=
582 PACKAGE_BUGREPORT=
583 PACKAGE_URL=
585 ac_unique_file="c++tools"
586 ac_unique_file="server.cc"
587 # Factoring default headers for most tests.
588 ac_includes_default="\
589 #include <stdio.h>
590 #ifdef HAVE_SYS_TYPES_H
591 # include <sys/types.h>
592 #endif
593 #ifdef HAVE_SYS_STAT_H
594 # include <sys/stat.h>
595 #endif
596 #ifdef STDC_HEADERS
597 # include <stdlib.h>
598 # include <stddef.h>
599 #else
600 # ifdef HAVE_STDLIB_H
601 # include <stdlib.h>
602 # endif
603 #endif
604 #ifdef HAVE_STRING_H
605 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 # include <memory.h>
607 # endif
608 # include <string.h>
609 #endif
610 #ifdef HAVE_STRINGS_H
611 # include <strings.h>
612 #endif
613 #ifdef HAVE_INTTYPES_H
614 # include <inttypes.h>
615 #endif
616 #ifdef HAVE_STDINT_H
617 # include <stdint.h>
618 #endif
619 #ifdef HAVE_UNISTD_H
620 # include <unistd.h>
621 #endif"
623 ac_subst_vars='LTLIBOBJS
624 LIBOBJS
625 NETLIBS
626 get_gcc_base_ver
627 EGREP
628 GREP
629 CXXCPP
630 LD_PICFLAG
631 enable_host_bind_now
632 PICFLAG
633 MAINTAINER
634 CXX_AUX_TOOLS
635 AUTOHEADER
636 AUTOCONF
637 OBJEXT
638 EXEEXT
639 ac_ct_CXX
640 CPPFLAGS
641 LDFLAGS
642 CXXFLAGS
644 INSTALL_DATA
645 INSTALL_SCRIPT
646 INSTALL_PROGRAM
647 target_os
648 target_vendor
649 target_cpu
650 target
651 host_os
652 host_vendor
653 host_cpu
654 host
655 target_noncanonical
656 build_os
657 build_vendor
658 build_cpu
659 build
660 target_alias
661 host_alias
662 build_alias
663 LIBS
664 ECHO_T
665 ECHO_N
666 ECHO_C
667 DEFS
668 mandir
669 localedir
670 libdir
671 psdir
672 pdfdir
673 dvidir
674 htmldir
675 infodir
676 docdir
677 oldincludedir
678 includedir
679 localstatedir
680 sharedstatedir
681 sysconfdir
682 datadir
683 datarootdir
684 libexecdir
685 sbindir
686 bindir
687 program_transform_name
688 prefix
689 exec_prefix
690 PACKAGE_URL
691 PACKAGE_BUGREPORT
692 PACKAGE_STRING
693 PACKAGE_VERSION
694 PACKAGE_TARNAME
695 PACKAGE_NAME
696 PATH_SEPARATOR
697 SHELL'
698 ac_subst_files=''
699 ac_user_opts='
700 enable_option_checking
701 enable_c___tools
702 enable_maintainer_mode
703 enable_checking
704 enable_default_pie
705 enable_host_pie
706 enable_host_bind_now
707 with_gcc_major_version_only
709 ac_precious_vars='build_alias
710 host_alias
711 target_alias
713 CXXFLAGS
714 LDFLAGS
715 LIBS
716 CPPFLAGS
718 CXXCPP'
721 # Initialize some variables set by options.
722 ac_init_help=
723 ac_init_version=false
724 ac_unrecognized_opts=
725 ac_unrecognized_sep=
726 # The variables have the same names as the options, with
727 # dashes changed to underlines.
728 cache_file=/dev/null
729 exec_prefix=NONE
730 no_create=
731 no_recursion=
732 prefix=NONE
733 program_prefix=NONE
734 program_suffix=NONE
735 program_transform_name=s,x,x,
736 silent=
737 site=
738 srcdir=
739 verbose=
740 x_includes=NONE
741 x_libraries=NONE
743 # Installation directory options.
744 # These are left unexpanded so users can "make install exec_prefix=/foo"
745 # and all the variables that are supposed to be based on exec_prefix
746 # by default will actually change.
747 # Use braces instead of parens because sh, perl, etc. also accept them.
748 # (The list follows the same order as the GNU Coding Standards.)
749 bindir='${exec_prefix}/bin'
750 sbindir='${exec_prefix}/sbin'
751 libexecdir='${exec_prefix}/libexec'
752 datarootdir='${prefix}/share'
753 datadir='${datarootdir}'
754 sysconfdir='${prefix}/etc'
755 sharedstatedir='${prefix}/com'
756 localstatedir='${prefix}/var'
757 includedir='${prefix}/include'
758 oldincludedir='/usr/include'
759 docdir='${datarootdir}/doc/${PACKAGE}'
760 infodir='${datarootdir}/info'
761 htmldir='${docdir}'
762 dvidir='${docdir}'
763 pdfdir='${docdir}'
764 psdir='${docdir}'
765 libdir='${exec_prefix}/lib'
766 localedir='${datarootdir}/locale'
767 mandir='${datarootdir}/man'
769 ac_prev=
770 ac_dashdash=
771 for ac_option
773 # If the previous option needs an argument, assign it.
774 if test -n "$ac_prev"; then
775 eval $ac_prev=\$ac_option
776 ac_prev=
777 continue
780 case $ac_option in
781 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
782 *=) ac_optarg= ;;
783 *) ac_optarg=yes ;;
784 esac
786 # Accept the important Cygnus configure options, so we can diagnose typos.
788 case $ac_dashdash$ac_option in
790 ac_dashdash=yes ;;
792 -bindir | --bindir | --bindi | --bind | --bin | --bi)
793 ac_prev=bindir ;;
794 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
795 bindir=$ac_optarg ;;
797 -build | --build | --buil | --bui | --bu)
798 ac_prev=build_alias ;;
799 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
800 build_alias=$ac_optarg ;;
802 -cache-file | --cache-file | --cache-fil | --cache-fi \
803 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
804 ac_prev=cache_file ;;
805 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
806 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
807 cache_file=$ac_optarg ;;
809 --config-cache | -C)
810 cache_file=config.cache ;;
812 -datadir | --datadir | --datadi | --datad)
813 ac_prev=datadir ;;
814 -datadir=* | --datadir=* | --datadi=* | --datad=*)
815 datadir=$ac_optarg ;;
817 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
818 | --dataroo | --dataro | --datar)
819 ac_prev=datarootdir ;;
820 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
821 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
822 datarootdir=$ac_optarg ;;
824 -disable-* | --disable-*)
825 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
826 # Reject names that are not valid shell variable names.
827 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
828 as_fn_error $? "invalid feature name: $ac_useropt"
829 ac_useropt_orig=$ac_useropt
830 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
831 case $ac_user_opts in
833 "enable_$ac_useropt"
834 "*) ;;
835 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
836 ac_unrecognized_sep=', ';;
837 esac
838 eval enable_$ac_useropt=no ;;
840 -docdir | --docdir | --docdi | --doc | --do)
841 ac_prev=docdir ;;
842 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
843 docdir=$ac_optarg ;;
845 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
846 ac_prev=dvidir ;;
847 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
848 dvidir=$ac_optarg ;;
850 -enable-* | --enable-*)
851 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
852 # Reject names that are not valid shell variable names.
853 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
854 as_fn_error $? "invalid feature name: $ac_useropt"
855 ac_useropt_orig=$ac_useropt
856 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
857 case $ac_user_opts in
859 "enable_$ac_useropt"
860 "*) ;;
861 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
862 ac_unrecognized_sep=', ';;
863 esac
864 eval enable_$ac_useropt=\$ac_optarg ;;
866 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
867 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
868 | --exec | --exe | --ex)
869 ac_prev=exec_prefix ;;
870 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
871 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
872 | --exec=* | --exe=* | --ex=*)
873 exec_prefix=$ac_optarg ;;
875 -gas | --gas | --ga | --g)
876 # Obsolete; use --with-gas.
877 with_gas=yes ;;
879 -help | --help | --hel | --he | -h)
880 ac_init_help=long ;;
881 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
882 ac_init_help=recursive ;;
883 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
884 ac_init_help=short ;;
886 -host | --host | --hos | --ho)
887 ac_prev=host_alias ;;
888 -host=* | --host=* | --hos=* | --ho=*)
889 host_alias=$ac_optarg ;;
891 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
892 ac_prev=htmldir ;;
893 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
894 | --ht=*)
895 htmldir=$ac_optarg ;;
897 -includedir | --includedir | --includedi | --included | --include \
898 | --includ | --inclu | --incl | --inc)
899 ac_prev=includedir ;;
900 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
901 | --includ=* | --inclu=* | --incl=* | --inc=*)
902 includedir=$ac_optarg ;;
904 -infodir | --infodir | --infodi | --infod | --info | --inf)
905 ac_prev=infodir ;;
906 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
907 infodir=$ac_optarg ;;
909 -libdir | --libdir | --libdi | --libd)
910 ac_prev=libdir ;;
911 -libdir=* | --libdir=* | --libdi=* | --libd=*)
912 libdir=$ac_optarg ;;
914 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
915 | --libexe | --libex | --libe)
916 ac_prev=libexecdir ;;
917 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
918 | --libexe=* | --libex=* | --libe=*)
919 libexecdir=$ac_optarg ;;
921 -localedir | --localedir | --localedi | --localed | --locale)
922 ac_prev=localedir ;;
923 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
924 localedir=$ac_optarg ;;
926 -localstatedir | --localstatedir | --localstatedi | --localstated \
927 | --localstate | --localstat | --localsta | --localst | --locals)
928 ac_prev=localstatedir ;;
929 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
930 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
931 localstatedir=$ac_optarg ;;
933 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
934 ac_prev=mandir ;;
935 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
936 mandir=$ac_optarg ;;
938 -nfp | --nfp | --nf)
939 # Obsolete; use --without-fp.
940 with_fp=no ;;
942 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
943 | --no-cr | --no-c | -n)
944 no_create=yes ;;
946 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
947 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
948 no_recursion=yes ;;
950 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
951 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
952 | --oldin | --oldi | --old | --ol | --o)
953 ac_prev=oldincludedir ;;
954 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
955 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
956 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
957 oldincludedir=$ac_optarg ;;
959 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
960 ac_prev=prefix ;;
961 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
962 prefix=$ac_optarg ;;
964 -program-prefix | --program-prefix | --program-prefi | --program-pref \
965 | --program-pre | --program-pr | --program-p)
966 ac_prev=program_prefix ;;
967 -program-prefix=* | --program-prefix=* | --program-prefi=* \
968 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
969 program_prefix=$ac_optarg ;;
971 -program-suffix | --program-suffix | --program-suffi | --program-suff \
972 | --program-suf | --program-su | --program-s)
973 ac_prev=program_suffix ;;
974 -program-suffix=* | --program-suffix=* | --program-suffi=* \
975 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
976 program_suffix=$ac_optarg ;;
978 -program-transform-name | --program-transform-name \
979 | --program-transform-nam | --program-transform-na \
980 | --program-transform-n | --program-transform- \
981 | --program-transform | --program-transfor \
982 | --program-transfo | --program-transf \
983 | --program-trans | --program-tran \
984 | --progr-tra | --program-tr | --program-t)
985 ac_prev=program_transform_name ;;
986 -program-transform-name=* | --program-transform-name=* \
987 | --program-transform-nam=* | --program-transform-na=* \
988 | --program-transform-n=* | --program-transform-=* \
989 | --program-transform=* | --program-transfor=* \
990 | --program-transfo=* | --program-transf=* \
991 | --program-trans=* | --program-tran=* \
992 | --progr-tra=* | --program-tr=* | --program-t=*)
993 program_transform_name=$ac_optarg ;;
995 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
996 ac_prev=pdfdir ;;
997 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
998 pdfdir=$ac_optarg ;;
1000 -psdir | --psdir | --psdi | --psd | --ps)
1001 ac_prev=psdir ;;
1002 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1003 psdir=$ac_optarg ;;
1005 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1006 | -silent | --silent | --silen | --sile | --sil)
1007 silent=yes ;;
1009 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1010 ac_prev=sbindir ;;
1011 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1012 | --sbi=* | --sb=*)
1013 sbindir=$ac_optarg ;;
1015 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1016 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1017 | --sharedst | --shareds | --shared | --share | --shar \
1018 | --sha | --sh)
1019 ac_prev=sharedstatedir ;;
1020 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1021 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1022 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1023 | --sha=* | --sh=*)
1024 sharedstatedir=$ac_optarg ;;
1026 -site | --site | --sit)
1027 ac_prev=site ;;
1028 -site=* | --site=* | --sit=*)
1029 site=$ac_optarg ;;
1031 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1032 ac_prev=srcdir ;;
1033 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1034 srcdir=$ac_optarg ;;
1036 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1037 | --syscon | --sysco | --sysc | --sys | --sy)
1038 ac_prev=sysconfdir ;;
1039 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1040 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1041 sysconfdir=$ac_optarg ;;
1043 -target | --target | --targe | --targ | --tar | --ta | --t)
1044 ac_prev=target_alias ;;
1045 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1046 target_alias=$ac_optarg ;;
1048 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1049 verbose=yes ;;
1051 -version | --version | --versio | --versi | --vers | -V)
1052 ac_init_version=: ;;
1054 -with-* | --with-*)
1055 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1058 as_fn_error $? "invalid package name: $ac_useropt"
1059 ac_useropt_orig=$ac_useropt
1060 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1063 "with_$ac_useropt"
1064 "*) ;;
1065 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1066 ac_unrecognized_sep=', ';;
1067 esac
1068 eval with_$ac_useropt=\$ac_optarg ;;
1070 -without-* | --without-*)
1071 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1072 # Reject names that are not valid shell variable names.
1073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1074 as_fn_error $? "invalid package name: $ac_useropt"
1075 ac_useropt_orig=$ac_useropt
1076 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1077 case $ac_user_opts in
1079 "with_$ac_useropt"
1080 "*) ;;
1081 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1082 ac_unrecognized_sep=', ';;
1083 esac
1084 eval with_$ac_useropt=no ;;
1086 --x)
1087 # Obsolete; use --with-x.
1088 with_x=yes ;;
1090 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1091 | --x-incl | --x-inc | --x-in | --x-i)
1092 ac_prev=x_includes ;;
1093 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1094 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1095 x_includes=$ac_optarg ;;
1097 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1098 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1099 ac_prev=x_libraries ;;
1100 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1101 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1102 x_libraries=$ac_optarg ;;
1104 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1105 Try \`$0 --help' for more information"
1108 *=*)
1109 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1110 # Reject names that are not valid shell variable names.
1111 case $ac_envvar in #(
1112 '' | [0-9]* | *[!_$as_cr_alnum]* )
1113 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1114 esac
1115 eval $ac_envvar=\$ac_optarg
1116 export $ac_envvar ;;
1119 # FIXME: should be removed in autoconf 3.0.
1120 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1121 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1122 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1123 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1126 esac
1127 done
1129 if test -n "$ac_prev"; then
1130 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1131 as_fn_error $? "missing argument to $ac_option"
1134 if test -n "$ac_unrecognized_opts"; then
1135 case $enable_option_checking in
1136 no) ;;
1137 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1138 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1139 esac
1142 # Check all directory arguments for consistency.
1143 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1144 datadir sysconfdir sharedstatedir localstatedir includedir \
1145 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1146 libdir localedir mandir
1148 eval ac_val=\$$ac_var
1149 # Remove trailing slashes.
1150 case $ac_val in
1151 */ )
1152 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1153 eval $ac_var=\$ac_val;;
1154 esac
1155 # Be sure to have absolute directory names.
1156 case $ac_val in
1157 [\\/$]* | ?:[\\/]* ) continue;;
1158 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1159 esac
1160 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1161 done
1163 # There might be people who depend on the old broken behavior: `$host'
1164 # used to hold the argument of --host etc.
1165 # FIXME: To remove some day.
1166 build=$build_alias
1167 host=$host_alias
1168 target=$target_alias
1170 # FIXME: To remove some day.
1171 if test "x$host_alias" != x; then
1172 if test "x$build_alias" = x; then
1173 cross_compiling=maybe
1174 elif test "x$build_alias" != "x$host_alias"; then
1175 cross_compiling=yes
1179 ac_tool_prefix=
1180 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1182 test "$silent" = yes && exec 6>/dev/null
1185 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1186 ac_ls_di=`ls -di .` &&
1187 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1188 as_fn_error $? "working directory cannot be determined"
1189 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1190 as_fn_error $? "pwd does not report name of working directory"
1193 # Find the source files, if location was not specified.
1194 if test -z "$srcdir"; then
1195 ac_srcdir_defaulted=yes
1196 # Try the directory containing this script, then the parent directory.
1197 ac_confdir=`$as_dirname -- "$as_myself" ||
1198 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1199 X"$as_myself" : 'X\(//\)[^/]' \| \
1200 X"$as_myself" : 'X\(//\)$' \| \
1201 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1202 $as_echo X"$as_myself" |
1203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1204 s//\1/
1207 /^X\(\/\/\)[^/].*/{
1208 s//\1/
1211 /^X\(\/\/\)$/{
1212 s//\1/
1215 /^X\(\/\).*/{
1216 s//\1/
1219 s/.*/./; q'`
1220 srcdir=$ac_confdir
1221 if test ! -r "$srcdir/$ac_unique_file"; then
1222 srcdir=..
1224 else
1225 ac_srcdir_defaulted=no
1227 if test ! -r "$srcdir/$ac_unique_file"; then
1228 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1229 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1231 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1232 ac_abs_confdir=`(
1233 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1234 pwd)`
1235 # When building in place, set srcdir=.
1236 if test "$ac_abs_confdir" = "$ac_pwd"; then
1237 srcdir=.
1239 # Remove unnecessary trailing slashes from srcdir.
1240 # Double slashes in file names in object file debugging info
1241 # mess up M-x gdb in Emacs.
1242 case $srcdir in
1243 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1244 esac
1245 for ac_var in $ac_precious_vars; do
1246 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1247 eval ac_env_${ac_var}_value=\$${ac_var}
1248 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1249 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1250 done
1253 # Report the --help message.
1255 if test "$ac_init_help" = "long"; then
1256 # Omit some internal or obsolete options to make the list less imposing.
1257 # This message is too long to be a string in the A/UX 3.1 sh.
1258 cat <<_ACEOF
1259 \`configure' configures this package to adapt to many kinds of systems.
1261 Usage: $0 [OPTION]... [VAR=VALUE]...
1263 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1264 VAR=VALUE. See below for descriptions of some of the useful variables.
1266 Defaults for the options are specified in brackets.
1268 Configuration:
1269 -h, --help display this help and exit
1270 --help=short display options specific to this package
1271 --help=recursive display the short help of all the included packages
1272 -V, --version display version information and exit
1273 -q, --quiet, --silent do not print \`checking ...' messages
1274 --cache-file=FILE cache test results in FILE [disabled]
1275 -C, --config-cache alias for \`--cache-file=config.cache'
1276 -n, --no-create do not create output files
1277 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1279 Installation directories:
1280 --prefix=PREFIX install architecture-independent files in PREFIX
1281 [$ac_default_prefix]
1282 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1283 [PREFIX]
1285 By default, \`make install' will install all the files in
1286 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1287 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1288 for instance \`--prefix=\$HOME'.
1290 For better control, use the options below.
1292 Fine tuning of the installation directories:
1293 --bindir=DIR user executables [EPREFIX/bin]
1294 --sbindir=DIR system admin executables [EPREFIX/sbin]
1295 --libexecdir=DIR program executables [EPREFIX/libexec]
1296 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1297 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1298 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1299 --libdir=DIR object code libraries [EPREFIX/lib]
1300 --includedir=DIR C header files [PREFIX/include]
1301 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1302 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1303 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1304 --infodir=DIR info documentation [DATAROOTDIR/info]
1305 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1306 --mandir=DIR man documentation [DATAROOTDIR/man]
1307 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1308 --htmldir=DIR html documentation [DOCDIR]
1309 --dvidir=DIR dvi documentation [DOCDIR]
1310 --pdfdir=DIR pdf documentation [DOCDIR]
1311 --psdir=DIR ps documentation [DOCDIR]
1312 _ACEOF
1314 cat <<\_ACEOF
1316 System types:
1317 --build=BUILD configure for building on BUILD [guessed]
1318 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1319 --target=TARGET configure for building compilers for TARGET [HOST]
1320 _ACEOF
1323 if test -n "$ac_init_help"; then
1325 cat <<\_ACEOF
1327 Optional Features:
1328 --disable-option-checking ignore unrecognized --enable/--with options
1329 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1330 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1331 --enable-c++-tools build auxiliary c++ tools
1332 --enable-maintainer-mode
1333 enable maintainer mode. Add rules to rebuild
1334 configurey bits
1335 --enable-checking[=LIST]
1336 enable expensive run-time checks. With LIST, enable
1337 only specific categories of checks. Categories are:
1338 yes,no,all,none,release.
1339 --enable-default-pie enable Position Independent Executable as default
1340 --enable-host-pie build host code as PIE
1341 --enable-host-bind-now link host code as BIND_NOW
1343 Optional Packages:
1344 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1345 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1346 --with-gcc-major-version-only
1347 use only GCC major number in filesystem paths
1349 Some influential environment variables:
1350 CXX C++ compiler command
1351 CXXFLAGS C++ compiler flags
1352 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1353 nonstandard directory <lib dir>
1354 LIBS libraries to pass to the linker, e.g. -l<library>
1355 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1356 you have headers in a nonstandard directory <include dir>
1357 CXXCPP C++ preprocessor
1359 Use these variables to override the choices made by `configure' or to help
1360 it to find libraries and programs with nonstandard names/locations.
1362 Report bugs to the package provider.
1363 _ACEOF
1364 ac_status=$?
1367 if test "$ac_init_help" = "recursive"; then
1368 # If there are subdirs, report their specific --help.
1369 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1370 test -d "$ac_dir" ||
1371 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1372 continue
1373 ac_builddir=.
1375 case "$ac_dir" in
1376 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1378 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1379 # A ".." for each directory in $ac_dir_suffix.
1380 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1381 case $ac_top_builddir_sub in
1382 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1383 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1384 esac ;;
1385 esac
1386 ac_abs_top_builddir=$ac_pwd
1387 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1388 # for backward compatibility:
1389 ac_top_builddir=$ac_top_build_prefix
1391 case $srcdir in
1392 .) # We are building in place.
1393 ac_srcdir=.
1394 ac_top_srcdir=$ac_top_builddir_sub
1395 ac_abs_top_srcdir=$ac_pwd ;;
1396 [\\/]* | ?:[\\/]* ) # Absolute name.
1397 ac_srcdir=$srcdir$ac_dir_suffix;
1398 ac_top_srcdir=$srcdir
1399 ac_abs_top_srcdir=$srcdir ;;
1400 *) # Relative name.
1401 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1402 ac_top_srcdir=$ac_top_build_prefix$srcdir
1403 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1404 esac
1405 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1407 cd "$ac_dir" || { ac_status=$?; continue; }
1408 # Check for guested configure.
1409 if test -f "$ac_srcdir/configure.gnu"; then
1410 echo &&
1411 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1412 elif test -f "$ac_srcdir/configure"; then
1413 echo &&
1414 $SHELL "$ac_srcdir/configure" --help=recursive
1415 else
1416 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1417 fi || ac_status=$?
1418 cd "$ac_pwd" || { ac_status=$?; break; }
1419 done
1422 test -n "$ac_init_help" && exit $ac_status
1423 if $ac_init_version; then
1424 cat <<\_ACEOF
1425 configure
1426 generated by GNU Autoconf 2.69
1428 Copyright (C) 2012 Free Software Foundation, Inc.
1429 This configure script is free software; the Free Software Foundation
1430 gives unlimited permission to copy, distribute and modify it.
1431 _ACEOF
1432 exit
1435 ## ------------------------ ##
1436 ## Autoconf initialization. ##
1437 ## ------------------------ ##
1439 # ac_fn_cxx_try_compile LINENO
1440 # ----------------------------
1441 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1442 ac_fn_cxx_try_compile ()
1444 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1445 rm -f conftest.$ac_objext
1446 if { { ac_try="$ac_compile"
1447 case "(($ac_try" in
1448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1449 *) ac_try_echo=$ac_try;;
1450 esac
1451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1452 $as_echo "$ac_try_echo"; } >&5
1453 (eval "$ac_compile") 2>conftest.err
1454 ac_status=$?
1455 if test -s conftest.err; then
1456 grep -v '^ *+' conftest.err >conftest.er1
1457 cat conftest.er1 >&5
1458 mv -f conftest.er1 conftest.err
1460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1461 test $ac_status = 0; } && {
1462 test -z "$ac_cxx_werror_flag" ||
1463 test ! -s conftest.err
1464 } && test -s conftest.$ac_objext; then :
1465 ac_retval=0
1466 else
1467 $as_echo "$as_me: failed program was:" >&5
1468 sed 's/^/| /' conftest.$ac_ext >&5
1470 ac_retval=1
1472 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1473 as_fn_set_status $ac_retval
1475 } # ac_fn_cxx_try_compile
1477 # ac_fn_cxx_try_cpp LINENO
1478 # ------------------------
1479 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1480 ac_fn_cxx_try_cpp ()
1482 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1483 if { { ac_try="$ac_cpp conftest.$ac_ext"
1484 case "(($ac_try" in
1485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1486 *) ac_try_echo=$ac_try;;
1487 esac
1488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1489 $as_echo "$ac_try_echo"; } >&5
1490 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1491 ac_status=$?
1492 if test -s conftest.err; then
1493 grep -v '^ *+' conftest.err >conftest.er1
1494 cat conftest.er1 >&5
1495 mv -f conftest.er1 conftest.err
1497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1498 test $ac_status = 0; } > conftest.i && {
1499 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1500 test ! -s conftest.err
1501 }; then :
1502 ac_retval=0
1503 else
1504 $as_echo "$as_me: failed program was:" >&5
1505 sed 's/^/| /' conftest.$ac_ext >&5
1507 ac_retval=1
1509 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1510 as_fn_set_status $ac_retval
1512 } # ac_fn_cxx_try_cpp
1514 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1515 # ---------------------------------------------------------
1516 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1517 # the include files in INCLUDES and setting the cache variable VAR
1518 # accordingly.
1519 ac_fn_cxx_check_header_mongrel ()
1521 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1522 if eval \${$3+:} false; then :
1523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1524 $as_echo_n "checking for $2... " >&6; }
1525 if eval \${$3+:} false; then :
1526 $as_echo_n "(cached) " >&6
1528 eval ac_res=\$$3
1529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1530 $as_echo "$ac_res" >&6; }
1531 else
1532 # Is the header compilable?
1533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1534 $as_echo_n "checking $2 usability... " >&6; }
1535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1536 /* end confdefs.h. */
1538 #include <$2>
1539 _ACEOF
1540 if ac_fn_cxx_try_compile "$LINENO"; then :
1541 ac_header_compiler=yes
1542 else
1543 ac_header_compiler=no
1545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1547 $as_echo "$ac_header_compiler" >&6; }
1549 # Is the header present?
1550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1551 $as_echo_n "checking $2 presence... " >&6; }
1552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1553 /* end confdefs.h. */
1554 #include <$2>
1555 _ACEOF
1556 if ac_fn_cxx_try_cpp "$LINENO"; then :
1557 ac_header_preproc=yes
1558 else
1559 ac_header_preproc=no
1561 rm -f conftest.err conftest.i conftest.$ac_ext
1562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1563 $as_echo "$ac_header_preproc" >&6; }
1565 # So? What about this header?
1566 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1567 yes:no: )
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1569 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1571 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1573 no:yes:* )
1574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1575 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1577 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1579 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1581 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1583 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1585 esac
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1587 $as_echo_n "checking for $2... " >&6; }
1588 if eval \${$3+:} false; then :
1589 $as_echo_n "(cached) " >&6
1590 else
1591 eval "$3=\$ac_header_compiler"
1593 eval ac_res=\$$3
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1595 $as_echo "$ac_res" >&6; }
1597 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1599 } # ac_fn_cxx_check_header_mongrel
1601 # ac_fn_cxx_try_run LINENO
1602 # ------------------------
1603 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1604 # that executables *can* be run.
1605 ac_fn_cxx_try_run ()
1607 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1608 if { { ac_try="$ac_link"
1609 case "(($ac_try" in
1610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1611 *) ac_try_echo=$ac_try;;
1612 esac
1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1614 $as_echo "$ac_try_echo"; } >&5
1615 (eval "$ac_link") 2>&5
1616 ac_status=$?
1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1619 { { case "(($ac_try" in
1620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1621 *) ac_try_echo=$ac_try;;
1622 esac
1623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624 $as_echo "$ac_try_echo"; } >&5
1625 (eval "$ac_try") 2>&5
1626 ac_status=$?
1627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1628 test $ac_status = 0; }; }; then :
1629 ac_retval=0
1630 else
1631 $as_echo "$as_me: program exited with status $ac_status" >&5
1632 $as_echo "$as_me: failed program was:" >&5
1633 sed 's/^/| /' conftest.$ac_ext >&5
1635 ac_retval=$ac_status
1637 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1638 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1639 as_fn_set_status $ac_retval
1641 } # ac_fn_cxx_try_run
1643 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1644 # ---------------------------------------------------------
1645 # Tests whether HEADER exists and can be compiled using the include files in
1646 # INCLUDES, setting the cache variable VAR accordingly.
1647 ac_fn_cxx_check_header_compile ()
1649 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1651 $as_echo_n "checking for $2... " >&6; }
1652 if eval \${$3+:} false; then :
1653 $as_echo_n "(cached) " >&6
1654 else
1655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1656 /* end confdefs.h. */
1658 #include <$2>
1659 _ACEOF
1660 if ac_fn_cxx_try_compile "$LINENO"; then :
1661 eval "$3=yes"
1662 else
1663 eval "$3=no"
1665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1667 eval ac_res=\$$3
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1669 $as_echo "$ac_res" >&6; }
1670 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1672 } # ac_fn_cxx_check_header_compile
1674 # ac_fn_cxx_try_link LINENO
1675 # -------------------------
1676 # Try to link conftest.$ac_ext, and return whether this succeeded.
1677 ac_fn_cxx_try_link ()
1679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680 rm -f conftest.$ac_objext conftest$ac_exeext
1681 if { { ac_try="$ac_link"
1682 case "(($ac_try" in
1683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1684 *) ac_try_echo=$ac_try;;
1685 esac
1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687 $as_echo "$ac_try_echo"; } >&5
1688 (eval "$ac_link") 2>conftest.err
1689 ac_status=$?
1690 if test -s conftest.err; then
1691 grep -v '^ *+' conftest.err >conftest.er1
1692 cat conftest.er1 >&5
1693 mv -f conftest.er1 conftest.err
1695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696 test $ac_status = 0; } && {
1697 test -z "$ac_cxx_werror_flag" ||
1698 test ! -s conftest.err
1699 } && test -s conftest$ac_exeext && {
1700 test "$cross_compiling" = yes ||
1701 test -x conftest$ac_exeext
1702 }; then :
1703 ac_retval=0
1704 else
1705 $as_echo "$as_me: failed program was:" >&5
1706 sed 's/^/| /' conftest.$ac_ext >&5
1708 ac_retval=1
1710 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1711 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1712 # interfere with the next link command; also delete a directory that is
1713 # left behind by Apple's compiler. We do this before executing the actions.
1714 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1716 as_fn_set_status $ac_retval
1718 } # ac_fn_cxx_try_link
1719 cat >config.log <<_ACEOF
1720 This file contains any messages produced by compilers while
1721 running configure, to aid debugging if configure makes a mistake.
1723 It was created by $as_me, which was
1724 generated by GNU Autoconf 2.69. Invocation command line was
1726 $ $0 $@
1728 _ACEOF
1729 exec 5>>config.log
1731 cat <<_ASUNAME
1732 ## --------- ##
1733 ## Platform. ##
1734 ## --------- ##
1736 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1737 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1738 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1739 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1740 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1742 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1743 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1745 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1746 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1747 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1748 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1749 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1750 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1751 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1753 _ASUNAME
1755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1756 for as_dir in $PATH
1758 IFS=$as_save_IFS
1759 test -z "$as_dir" && as_dir=.
1760 $as_echo "PATH: $as_dir"
1761 done
1762 IFS=$as_save_IFS
1764 } >&5
1766 cat >&5 <<_ACEOF
1769 ## ----------- ##
1770 ## Core tests. ##
1771 ## ----------- ##
1773 _ACEOF
1776 # Keep a trace of the command line.
1777 # Strip out --no-create and --no-recursion so they do not pile up.
1778 # Strip out --silent because we don't want to record it for future runs.
1779 # Also quote any args containing shell meta-characters.
1780 # Make two passes to allow for proper duplicate-argument suppression.
1781 ac_configure_args=
1782 ac_configure_args0=
1783 ac_configure_args1=
1784 ac_must_keep_next=false
1785 for ac_pass in 1 2
1787 for ac_arg
1789 case $ac_arg in
1790 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1791 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1792 | -silent | --silent | --silen | --sile | --sil)
1793 continue ;;
1794 *\'*)
1795 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1796 esac
1797 case $ac_pass in
1798 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1800 as_fn_append ac_configure_args1 " '$ac_arg'"
1801 if test $ac_must_keep_next = true; then
1802 ac_must_keep_next=false # Got value, back to normal.
1803 else
1804 case $ac_arg in
1805 *=* | --config-cache | -C | -disable-* | --disable-* \
1806 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1807 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1808 | -with-* | --with-* | -without-* | --without-* | --x)
1809 case "$ac_configure_args0 " in
1810 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1811 esac
1813 -* ) ac_must_keep_next=true ;;
1814 esac
1816 as_fn_append ac_configure_args " '$ac_arg'"
1818 esac
1819 done
1820 done
1821 { ac_configure_args0=; unset ac_configure_args0;}
1822 { ac_configure_args1=; unset ac_configure_args1;}
1824 # When interrupted or exit'd, cleanup temporary files, and complete
1825 # config.log. We remove comments because anyway the quotes in there
1826 # would cause problems or look ugly.
1827 # WARNING: Use '\'' to represent an apostrophe within the trap.
1828 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1829 trap 'exit_status=$?
1830 # Save into config.log some information that might help in debugging.
1832 echo
1834 $as_echo "## ---------------- ##
1835 ## Cache variables. ##
1836 ## ---------------- ##"
1837 echo
1838 # The following way of writing the cache mishandles newlines in values,
1840 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1841 eval ac_val=\$$ac_var
1842 case $ac_val in #(
1843 *${as_nl}*)
1844 case $ac_var in #(
1845 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1846 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1847 esac
1848 case $ac_var in #(
1849 _ | IFS | as_nl) ;; #(
1850 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1851 *) { eval $ac_var=; unset $ac_var;} ;;
1852 esac ;;
1853 esac
1854 done
1855 (set) 2>&1 |
1856 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1857 *${as_nl}ac_space=\ *)
1858 sed -n \
1859 "s/'\''/'\''\\\\'\'''\''/g;
1860 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1861 ;; #(
1863 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1865 esac |
1866 sort
1868 echo
1870 $as_echo "## ----------------- ##
1871 ## Output variables. ##
1872 ## ----------------- ##"
1873 echo
1874 for ac_var in $ac_subst_vars
1876 eval ac_val=\$$ac_var
1877 case $ac_val in
1878 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1879 esac
1880 $as_echo "$ac_var='\''$ac_val'\''"
1881 done | sort
1882 echo
1884 if test -n "$ac_subst_files"; then
1885 $as_echo "## ------------------- ##
1886 ## File substitutions. ##
1887 ## ------------------- ##"
1888 echo
1889 for ac_var in $ac_subst_files
1891 eval ac_val=\$$ac_var
1892 case $ac_val in
1893 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1894 esac
1895 $as_echo "$ac_var='\''$ac_val'\''"
1896 done | sort
1897 echo
1900 if test -s confdefs.h; then
1901 $as_echo "## ----------- ##
1902 ## confdefs.h. ##
1903 ## ----------- ##"
1904 echo
1905 cat confdefs.h
1906 echo
1908 test "$ac_signal" != 0 &&
1909 $as_echo "$as_me: caught signal $ac_signal"
1910 $as_echo "$as_me: exit $exit_status"
1911 } >&5
1912 rm -f core *.core core.conftest.* &&
1913 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1914 exit $exit_status
1916 for ac_signal in 1 2 13 15; do
1917 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1918 done
1919 ac_signal=0
1921 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1922 rm -f -r conftest* confdefs.h
1924 $as_echo "/* confdefs.h */" > confdefs.h
1926 # Predefined preprocessor variables.
1928 cat >>confdefs.h <<_ACEOF
1929 #define PACKAGE_NAME "$PACKAGE_NAME"
1930 _ACEOF
1932 cat >>confdefs.h <<_ACEOF
1933 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1934 _ACEOF
1936 cat >>confdefs.h <<_ACEOF
1937 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1938 _ACEOF
1940 cat >>confdefs.h <<_ACEOF
1941 #define PACKAGE_STRING "$PACKAGE_STRING"
1942 _ACEOF
1944 cat >>confdefs.h <<_ACEOF
1945 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1946 _ACEOF
1948 cat >>confdefs.h <<_ACEOF
1949 #define PACKAGE_URL "$PACKAGE_URL"
1950 _ACEOF
1953 # Let the site file select an alternate cache file if it wants to.
1954 # Prefer an explicitly selected file to automatically selected ones.
1955 ac_site_file1=NONE
1956 ac_site_file2=NONE
1957 if test -n "$CONFIG_SITE"; then
1958 # We do not want a PATH search for config.site.
1959 case $CONFIG_SITE in #((
1960 -*) ac_site_file1=./$CONFIG_SITE;;
1961 */*) ac_site_file1=$CONFIG_SITE;;
1962 *) ac_site_file1=./$CONFIG_SITE;;
1963 esac
1964 elif test "x$prefix" != xNONE; then
1965 ac_site_file1=$prefix/share/config.site
1966 ac_site_file2=$prefix/etc/config.site
1967 else
1968 ac_site_file1=$ac_default_prefix/share/config.site
1969 ac_site_file2=$ac_default_prefix/etc/config.site
1971 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1973 test "x$ac_site_file" = xNONE && continue
1974 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1976 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1977 sed 's/^/| /' "$ac_site_file" >&5
1978 . "$ac_site_file" \
1979 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1980 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1981 as_fn_error $? "failed to load site script $ac_site_file
1982 See \`config.log' for more details" "$LINENO" 5; }
1984 done
1986 if test -r "$cache_file"; then
1987 # Some versions of bash will fail to source /dev/null (special files
1988 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1989 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1991 $as_echo "$as_me: loading cache $cache_file" >&6;}
1992 case $cache_file in
1993 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1994 *) . "./$cache_file";;
1995 esac
1997 else
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1999 $as_echo "$as_me: creating cache $cache_file" >&6;}
2000 >$cache_file
2003 # Check that the precious variables saved in the cache have kept the same
2004 # value.
2005 ac_cache_corrupted=false
2006 for ac_var in $ac_precious_vars; do
2007 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2008 eval ac_new_set=\$ac_env_${ac_var}_set
2009 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2010 eval ac_new_val=\$ac_env_${ac_var}_value
2011 case $ac_old_set,$ac_new_set in
2012 set,)
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2014 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2015 ac_cache_corrupted=: ;;
2016 ,set)
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2018 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2019 ac_cache_corrupted=: ;;
2020 ,);;
2022 if test "x$ac_old_val" != "x$ac_new_val"; then
2023 # differences in whitespace do not lead to failure.
2024 ac_old_val_w=`echo x $ac_old_val`
2025 ac_new_val_w=`echo x $ac_new_val`
2026 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2028 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2029 ac_cache_corrupted=:
2030 else
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2032 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2033 eval $ac_var=\$ac_old_val
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2036 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2038 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2039 fi;;
2040 esac
2041 # Pass precious variables to config.status.
2042 if test "$ac_new_set" = set; then
2043 case $ac_new_val in
2044 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2045 *) ac_arg=$ac_var=$ac_new_val ;;
2046 esac
2047 case " $ac_configure_args " in
2048 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2049 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2050 esac
2052 done
2053 if $ac_cache_corrupted; then
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2057 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2058 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2060 ## -------------------- ##
2061 ## Main body of script. ##
2062 ## -------------------- ##
2064 ac_ext=c
2065 ac_cpp='$CPP $CPPFLAGS'
2066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2074 # Determine the noncanonical names used for directories.
2075 ac_aux_dir=
2076 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2077 if test -f "$ac_dir/install-sh"; then
2078 ac_aux_dir=$ac_dir
2079 ac_install_sh="$ac_aux_dir/install-sh -c"
2080 break
2081 elif test -f "$ac_dir/install.sh"; then
2082 ac_aux_dir=$ac_dir
2083 ac_install_sh="$ac_aux_dir/install.sh -c"
2084 break
2085 elif test -f "$ac_dir/shtool"; then
2086 ac_aux_dir=$ac_dir
2087 ac_install_sh="$ac_aux_dir/shtool install -c"
2088 break
2090 done
2091 if test -z "$ac_aux_dir"; then
2092 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2095 # These three variables are undocumented and unsupported,
2096 # and are intended to be withdrawn in a future Autoconf release.
2097 # They can cause serious problems if a builder's source tree is in a directory
2098 # whose full name contains unusual characters.
2099 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2100 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2101 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2104 # Make sure we can run config.sub.
2105 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2106 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2109 $as_echo_n "checking build system type... " >&6; }
2110 if ${ac_cv_build+:} false; then :
2111 $as_echo_n "(cached) " >&6
2112 else
2113 ac_build_alias=$build_alias
2114 test "x$ac_build_alias" = x &&
2115 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2116 test "x$ac_build_alias" = x &&
2117 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2118 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2119 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2123 $as_echo "$ac_cv_build" >&6; }
2124 case $ac_cv_build in
2125 *-*-*) ;;
2126 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2127 esac
2128 build=$ac_cv_build
2129 ac_save_IFS=$IFS; IFS='-'
2130 set x $ac_cv_build
2131 shift
2132 build_cpu=$1
2133 build_vendor=$2
2134 shift; shift
2135 # Remember, the first character of IFS is used to create $*,
2136 # except with old shells:
2137 build_os=$*
2138 IFS=$ac_save_IFS
2139 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2142 case ${build_alias} in
2143 "") build_noncanonical=${build} ;;
2144 *) build_noncanonical=${build_alias} ;;
2145 esac
2147 case ${host_alias} in
2148 "") host_noncanonical=${build_noncanonical} ;;
2149 *) host_noncanonical=${host_alias} ;;
2150 esac
2152 case ${target_alias} in
2153 "") target_noncanonical=${host_noncanonical} ;;
2154 *) target_noncanonical=${target_alias} ;;
2155 esac
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2161 $as_echo_n "checking host system type... " >&6; }
2162 if ${ac_cv_host+:} false; then :
2163 $as_echo_n "(cached) " >&6
2164 else
2165 if test "x$host_alias" = x; then
2166 ac_cv_host=$ac_cv_build
2167 else
2168 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2169 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2174 $as_echo "$ac_cv_host" >&6; }
2175 case $ac_cv_host in
2176 *-*-*) ;;
2177 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2178 esac
2179 host=$ac_cv_host
2180 ac_save_IFS=$IFS; IFS='-'
2181 set x $ac_cv_host
2182 shift
2183 host_cpu=$1
2184 host_vendor=$2
2185 shift; shift
2186 # Remember, the first character of IFS is used to create $*,
2187 # except with old shells:
2188 host_os=$*
2189 IFS=$ac_save_IFS
2190 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2194 $as_echo_n "checking target system type... " >&6; }
2195 if ${ac_cv_target+:} false; then :
2196 $as_echo_n "(cached) " >&6
2197 else
2198 if test "x$target_alias" = x; then
2199 ac_cv_target=$ac_cv_host
2200 else
2201 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2202 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2207 $as_echo "$ac_cv_target" >&6; }
2208 case $ac_cv_target in
2209 *-*-*) ;;
2210 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2211 esac
2212 target=$ac_cv_target
2213 ac_save_IFS=$IFS; IFS='-'
2214 set x $ac_cv_target
2215 shift
2216 target_cpu=$1
2217 target_vendor=$2
2218 shift; shift
2219 # Remember, the first character of IFS is used to create $*,
2220 # except with old shells:
2221 target_os=$*
2222 IFS=$ac_save_IFS
2223 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2226 # The aliases save the names the user supplied, while $host etc.
2227 # will get canonicalized.
2228 test -n "$target_alias" &&
2229 test "$program_prefix$program_suffix$program_transform_name" = \
2230 NONENONEs,x,x, &&
2231 program_prefix=${target_alias}-
2233 # Find a good install program. We prefer a C program (faster),
2234 # so one script is as good as another. But avoid the broken or
2235 # incompatible versions:
2236 # SysV /etc/install, /usr/sbin/install
2237 # SunOS /usr/etc/install
2238 # IRIX /sbin/install
2239 # AIX /bin/install
2240 # AmigaOS /C/install, which installs bootblocks on floppy discs
2241 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2242 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2243 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2244 # OS/2's system install, which has a completely different semantic
2245 # ./install, which can be erroneously created by make from ./install.sh.
2246 # Reject install programs that cannot install multiple files.
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2248 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2249 if test -z "$INSTALL"; then
2250 if ${ac_cv_path_install+:} false; then :
2251 $as_echo_n "(cached) " >&6
2252 else
2253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2254 for as_dir in $PATH
2256 IFS=$as_save_IFS
2257 test -z "$as_dir" && as_dir=.
2258 # Account for people who put trailing slashes in PATH elements.
2259 case $as_dir/ in #((
2260 ./ | .// | /[cC]/* | \
2261 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2262 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2263 /usr/ucb/* ) ;;
2265 # OSF1 and SCO ODT 3.0 have their own names for install.
2266 # Don't use installbsd from OSF since it installs stuff as root
2267 # by default.
2268 for ac_prog in ginstall scoinst install; do
2269 for ac_exec_ext in '' $ac_executable_extensions; do
2270 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2271 if test $ac_prog = install &&
2272 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2273 # AIX install. It has an incompatible calling convention.
2275 elif test $ac_prog = install &&
2276 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2277 # program-specific install script used by HP pwplus--don't use.
2279 else
2280 rm -rf conftest.one conftest.two conftest.dir
2281 echo one > conftest.one
2282 echo two > conftest.two
2283 mkdir conftest.dir
2284 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2285 test -s conftest.one && test -s conftest.two &&
2286 test -s conftest.dir/conftest.one &&
2287 test -s conftest.dir/conftest.two
2288 then
2289 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2290 break 3
2294 done
2295 done
2297 esac
2299 done
2300 IFS=$as_save_IFS
2302 rm -rf conftest.one conftest.two conftest.dir
2305 if test "${ac_cv_path_install+set}" = set; then
2306 INSTALL=$ac_cv_path_install
2307 else
2308 # As a last resort, use the slow shell script. Don't cache a
2309 # value for INSTALL within a source directory, because that will
2310 # break other packages using the cache if that directory is
2311 # removed, or if the value is a relative name.
2312 INSTALL=$ac_install_sh
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2316 $as_echo "$INSTALL" >&6; }
2318 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2319 # It thinks the first close brace ends the variable substitution.
2320 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2322 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2324 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2326 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2329 ac_ext=cpp
2330 ac_cpp='$CXXCPP $CPPFLAGS'
2331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2334 if test -z "$CXX"; then
2335 if test -n "$CCC"; then
2336 CXX=$CCC
2337 else
2338 if test -n "$ac_tool_prefix"; then
2339 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2341 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2342 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2344 $as_echo_n "checking for $ac_word... " >&6; }
2345 if ${ac_cv_prog_CXX+:} false; then :
2346 $as_echo_n "(cached) " >&6
2347 else
2348 if test -n "$CXX"; then
2349 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2350 else
2351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2352 for as_dir in $PATH
2354 IFS=$as_save_IFS
2355 test -z "$as_dir" && as_dir=.
2356 for ac_exec_ext in '' $ac_executable_extensions; do
2357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2358 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2360 break 2
2362 done
2363 done
2364 IFS=$as_save_IFS
2368 CXX=$ac_cv_prog_CXX
2369 if test -n "$CXX"; then
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2371 $as_echo "$CXX" >&6; }
2372 else
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2374 $as_echo "no" >&6; }
2378 test -n "$CXX" && break
2379 done
2381 if test -z "$CXX"; then
2382 ac_ct_CXX=$CXX
2383 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2385 # Extract the first word of "$ac_prog", so it can be a program name with args.
2386 set dummy $ac_prog; ac_word=$2
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2388 $as_echo_n "checking for $ac_word... " >&6; }
2389 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2390 $as_echo_n "(cached) " >&6
2391 else
2392 if test -n "$ac_ct_CXX"; then
2393 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2394 else
2395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2396 for as_dir in $PATH
2398 IFS=$as_save_IFS
2399 test -z "$as_dir" && as_dir=.
2400 for ac_exec_ext in '' $ac_executable_extensions; do
2401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2402 ac_cv_prog_ac_ct_CXX="$ac_prog"
2403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2404 break 2
2406 done
2407 done
2408 IFS=$as_save_IFS
2412 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2413 if test -n "$ac_ct_CXX"; then
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2415 $as_echo "$ac_ct_CXX" >&6; }
2416 else
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2418 $as_echo "no" >&6; }
2422 test -n "$ac_ct_CXX" && break
2423 done
2425 if test "x$ac_ct_CXX" = x; then
2426 CXX="g++"
2427 else
2428 case $cross_compiling:$ac_tool_warned in
2429 yes:)
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2432 ac_tool_warned=yes ;;
2433 esac
2434 CXX=$ac_ct_CXX
2440 # Provide some information about the compiler.
2441 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2442 set X $ac_compile
2443 ac_compiler=$2
2444 for ac_option in --version -v -V -qversion; do
2445 { { ac_try="$ac_compiler $ac_option >&5"
2446 case "(($ac_try" in
2447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2448 *) ac_try_echo=$ac_try;;
2449 esac
2450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2451 $as_echo "$ac_try_echo"; } >&5
2452 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2453 ac_status=$?
2454 if test -s conftest.err; then
2455 sed '10a\
2456 ... rest of stderr output deleted ...
2457 10q' conftest.err >conftest.er1
2458 cat conftest.er1 >&5
2460 rm -f conftest.er1 conftest.err
2461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2462 test $ac_status = 0; }
2463 done
2465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2466 /* end confdefs.h. */
2469 main ()
2473 return 0;
2475 _ACEOF
2476 ac_clean_files_save=$ac_clean_files
2477 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2478 # Try to create an executable without -o first, disregard a.out.
2479 # It will help us diagnose broken compilers, and finding out an intuition
2480 # of exeext.
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2482 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2483 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2485 # The possible output files:
2486 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2488 ac_rmfiles=
2489 for ac_file in $ac_files
2491 case $ac_file in
2492 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2493 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2494 esac
2495 done
2496 rm -f $ac_rmfiles
2498 if { { ac_try="$ac_link_default"
2499 case "(($ac_try" in
2500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2501 *) ac_try_echo=$ac_try;;
2502 esac
2503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2504 $as_echo "$ac_try_echo"; } >&5
2505 (eval "$ac_link_default") 2>&5
2506 ac_status=$?
2507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2508 test $ac_status = 0; }; then :
2509 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2510 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2511 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2512 # so that the user can short-circuit this test for compilers unknown to
2513 # Autoconf.
2514 for ac_file in $ac_files ''
2516 test -f "$ac_file" || continue
2517 case $ac_file in
2518 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2520 [ab].out )
2521 # We found the default executable, but exeext='' is most
2522 # certainly right.
2523 break;;
2524 *.* )
2525 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2526 then :; else
2527 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2529 # We set ac_cv_exeext here because the later test for it is not
2530 # safe: cross compilers may not add the suffix if given an `-o'
2531 # argument, so we may need to know it at that point already.
2532 # Even if this section looks crufty: it has the advantage of
2533 # actually working.
2534 break;;
2536 break;;
2537 esac
2538 done
2539 test "$ac_cv_exeext" = no && ac_cv_exeext=
2541 else
2542 ac_file=''
2544 if test -z "$ac_file"; then :
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2546 $as_echo "no" >&6; }
2547 $as_echo "$as_me: failed program was:" >&5
2548 sed 's/^/| /' conftest.$ac_ext >&5
2550 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2552 as_fn_error 77 "C++ compiler cannot create executables
2553 See \`config.log' for more details" "$LINENO" 5; }
2554 else
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2556 $as_echo "yes" >&6; }
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2559 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2561 $as_echo "$ac_file" >&6; }
2562 ac_exeext=$ac_cv_exeext
2564 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2565 ac_clean_files=$ac_clean_files_save
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2567 $as_echo_n "checking for suffix of executables... " >&6; }
2568 if { { ac_try="$ac_link"
2569 case "(($ac_try" in
2570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2571 *) ac_try_echo=$ac_try;;
2572 esac
2573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2574 $as_echo "$ac_try_echo"; } >&5
2575 (eval "$ac_link") 2>&5
2576 ac_status=$?
2577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2578 test $ac_status = 0; }; then :
2579 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2580 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2581 # work properly (i.e., refer to `conftest.exe'), while it won't with
2582 # `rm'.
2583 for ac_file in conftest.exe conftest conftest.*; do
2584 test -f "$ac_file" || continue
2585 case $ac_file in
2586 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2587 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2588 break;;
2589 * ) break;;
2590 esac
2591 done
2592 else
2593 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2595 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2596 See \`config.log' for more details" "$LINENO" 5; }
2598 rm -f conftest conftest$ac_cv_exeext
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2600 $as_echo "$ac_cv_exeext" >&6; }
2602 rm -f conftest.$ac_ext
2603 EXEEXT=$ac_cv_exeext
2604 ac_exeext=$EXEEXT
2605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2606 /* end confdefs.h. */
2607 #include <stdio.h>
2609 main ()
2611 FILE *f = fopen ("conftest.out", "w");
2612 return ferror (f) || fclose (f) != 0;
2615 return 0;
2617 _ACEOF
2618 ac_clean_files="$ac_clean_files conftest.out"
2619 # Check that the compiler produces executables we can run. If not, either
2620 # the compiler is broken, or we cross compile.
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2622 $as_echo_n "checking whether we are cross compiling... " >&6; }
2623 if test "$cross_compiling" != yes; then
2624 { { ac_try="$ac_link"
2625 case "(($ac_try" in
2626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2627 *) ac_try_echo=$ac_try;;
2628 esac
2629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2630 $as_echo "$ac_try_echo"; } >&5
2631 (eval "$ac_link") 2>&5
2632 ac_status=$?
2633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2634 test $ac_status = 0; }
2635 if { ac_try='./conftest$ac_cv_exeext'
2636 { { case "(($ac_try" in
2637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2638 *) ac_try_echo=$ac_try;;
2639 esac
2640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2641 $as_echo "$ac_try_echo"; } >&5
2642 (eval "$ac_try") 2>&5
2643 ac_status=$?
2644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2645 test $ac_status = 0; }; }; then
2646 cross_compiling=no
2647 else
2648 if test "$cross_compiling" = maybe; then
2649 cross_compiling=yes
2650 else
2651 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2652 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2653 as_fn_error $? "cannot run C++ compiled programs.
2654 If you meant to cross compile, use \`--host'.
2655 See \`config.log' for more details" "$LINENO" 5; }
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2660 $as_echo "$cross_compiling" >&6; }
2662 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2663 ac_clean_files=$ac_clean_files_save
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2665 $as_echo_n "checking for suffix of object files... " >&6; }
2666 if ${ac_cv_objext+:} false; then :
2667 $as_echo_n "(cached) " >&6
2668 else
2669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2670 /* end confdefs.h. */
2673 main ()
2677 return 0;
2679 _ACEOF
2680 rm -f conftest.o conftest.obj
2681 if { { ac_try="$ac_compile"
2682 case "(($ac_try" in
2683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2684 *) ac_try_echo=$ac_try;;
2685 esac
2686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2687 $as_echo "$ac_try_echo"; } >&5
2688 (eval "$ac_compile") 2>&5
2689 ac_status=$?
2690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2691 test $ac_status = 0; }; then :
2692 for ac_file in conftest.o conftest.obj conftest.*; do
2693 test -f "$ac_file" || continue;
2694 case $ac_file in
2695 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2696 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2697 break;;
2698 esac
2699 done
2700 else
2701 $as_echo "$as_me: failed program was:" >&5
2702 sed 's/^/| /' conftest.$ac_ext >&5
2704 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2706 as_fn_error $? "cannot compute suffix of object files: cannot compile
2707 See \`config.log' for more details" "$LINENO" 5; }
2709 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2712 $as_echo "$ac_cv_objext" >&6; }
2713 OBJEXT=$ac_cv_objext
2714 ac_objext=$OBJEXT
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2716 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2717 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2718 $as_echo_n "(cached) " >&6
2719 else
2720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2721 /* end confdefs.h. */
2724 main ()
2726 #ifndef __GNUC__
2727 choke me
2728 #endif
2731 return 0;
2733 _ACEOF
2734 if ac_fn_cxx_try_compile "$LINENO"; then :
2735 ac_compiler_gnu=yes
2736 else
2737 ac_compiler_gnu=no
2739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2740 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2744 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2745 if test $ac_compiler_gnu = yes; then
2746 GXX=yes
2747 else
2748 GXX=
2750 ac_test_CXXFLAGS=${CXXFLAGS+set}
2751 ac_save_CXXFLAGS=$CXXFLAGS
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2753 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2754 if ${ac_cv_prog_cxx_g+:} false; then :
2755 $as_echo_n "(cached) " >&6
2756 else
2757 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2758 ac_cxx_werror_flag=yes
2759 ac_cv_prog_cxx_g=no
2760 CXXFLAGS="-g"
2761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2762 /* end confdefs.h. */
2765 main ()
2769 return 0;
2771 _ACEOF
2772 if ac_fn_cxx_try_compile "$LINENO"; then :
2773 ac_cv_prog_cxx_g=yes
2774 else
2775 CXXFLAGS=""
2776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2777 /* end confdefs.h. */
2780 main ()
2784 return 0;
2786 _ACEOF
2787 if ac_fn_cxx_try_compile "$LINENO"; then :
2789 else
2790 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2791 CXXFLAGS="-g"
2792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2793 /* end confdefs.h. */
2796 main ()
2800 return 0;
2802 _ACEOF
2803 if ac_fn_cxx_try_compile "$LINENO"; then :
2804 ac_cv_prog_cxx_g=yes
2806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2811 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2814 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2815 if test "$ac_test_CXXFLAGS" = set; then
2816 CXXFLAGS=$ac_save_CXXFLAGS
2817 elif test $ac_cv_prog_cxx_g = yes; then
2818 if test "$GXX" = yes; then
2819 CXXFLAGS="-g -O2"
2820 else
2821 CXXFLAGS="-g"
2823 else
2824 if test "$GXX" = yes; then
2825 CXXFLAGS="-O2"
2826 else
2827 CXXFLAGS=
2830 ac_ext=c
2831 ac_cpp='$CPP $CPPFLAGS'
2832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2836 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
2837 for ac_prog in autoconf
2839 # Extract the first word of "$ac_prog", so it can be a program name with args.
2840 set dummy $ac_prog; ac_word=$2
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2842 $as_echo_n "checking for $ac_word... " >&6; }
2843 if ${ac_cv_prog_AUTOCONF+:} false; then :
2844 $as_echo_n "(cached) " >&6
2845 else
2846 if test -n "$AUTOCONF"; then
2847 ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
2848 else
2849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2850 for as_dir in $PATH
2852 IFS=$as_save_IFS
2853 test -z "$as_dir" && as_dir=.
2854 for ac_exec_ext in '' $ac_executable_extensions; do
2855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2856 ac_cv_prog_AUTOCONF="$ac_prog"
2857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2858 break 2
2860 done
2861 done
2862 IFS=$as_save_IFS
2866 AUTOCONF=$ac_cv_prog_AUTOCONF
2867 if test -n "$AUTOCONF"; then
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
2869 $as_echo "$AUTOCONF" >&6; }
2870 else
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2872 $as_echo "no" >&6; }
2876 test -n "$AUTOCONF" && break
2877 done
2878 test -n "$AUTOCONF" || AUTOCONF="$MISSING autoconf"
2880 for ac_prog in autoheader
2882 # Extract the first word of "$ac_prog", so it can be a program name with args.
2883 set dummy $ac_prog; ac_word=$2
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2885 $as_echo_n "checking for $ac_word... " >&6; }
2886 if ${ac_cv_prog_AUTOHEADER+:} false; then :
2887 $as_echo_n "(cached) " >&6
2888 else
2889 if test -n "$AUTOHEADER"; then
2890 ac_cv_prog_AUTOHEADER="$AUTOHEADER" # Let the user override the test.
2891 else
2892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2893 for as_dir in $PATH
2895 IFS=$as_save_IFS
2896 test -z "$as_dir" && as_dir=.
2897 for ac_exec_ext in '' $ac_executable_extensions; do
2898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2899 ac_cv_prog_AUTOHEADER="$ac_prog"
2900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2901 break 2
2903 done
2904 done
2905 IFS=$as_save_IFS
2909 AUTOHEADER=$ac_cv_prog_AUTOHEADER
2910 if test -n "$AUTOHEADER"; then
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
2912 $as_echo "$AUTOHEADER" >&6; }
2913 else
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2915 $as_echo "no" >&6; }
2919 test -n "$AUTOHEADER" && break
2920 done
2921 test -n "$AUTOHEADER" || AUTOHEADER="$MISSING autoheader"
2924 ac_ext=cpp
2925 ac_cpp='$CXXCPP $CPPFLAGS'
2926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build C++ tools" >&5
2932 $as_echo_n "checking whether to build C++ tools... " >&6; }
2933 # Check whether --enable-c++-tools was given.
2934 if test "${enable_c___tools+set}" = set; then :
2935 enableval=$enable_c___tools; cxx_aux_tools=$enableval
2936 else
2937 cxx_aux_tools=yes
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cxx_aux_tools" >&5
2942 $as_echo "$cxx_aux_tools" >&6; }
2943 CXX_AUX_TOOLS="$cxx_aux_tools"
2946 # Check whether --enable-maintainer-mode was given.
2947 if test "${enable_maintainer_mode+set}" = set; then :
2948 enableval=$enable_maintainer_mode;
2949 else
2950 enable_maintainer_mode=no
2953 case "$enable_maintainer_mode" in
2954 yes) maintainer_mode=yes ;;
2955 no) maintainer_mode=no ;;
2956 *) as_fn_error $? "unknown maintainer mode $enable_maintainer_mode" "$LINENO" 5 ;;
2957 esac
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking maintainer-mode" >&5
2959 $as_echo_n "checking maintainer-mode... " >&6; }
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $maintainer_mode" >&5
2961 $as_echo "$maintainer_mode" >&6; }
2962 test "$maintainer_mode" = yes && MAINTAINER=yes
2965 # Handle configuration of checking; for the tools in this directory we
2966 # default to release checking and stricter checks do not change this.
2968 # Check whether --enable-checking was given.
2969 if test "${enable_checking+set}" = set; then :
2970 enableval=$enable_checking; ac_checking_flags="${enableval}"
2971 else
2973 # Default to checking.
2974 ac_checking_flags=yes
2978 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$IFS,"
2979 for check in release $ac_checking_flags
2981 case $check in
2982 # these set all the flags to specific states
2983 yes|all|release|assert) ac_assert_checking=1 ; ;;
2984 no|none) ac_assert_checking= ; ;;
2985 *) ;;
2986 esac
2987 done
2988 IFS="$ac_save_IFS"
2990 if test x$ac_assert_checking != x ; then
2992 $as_echo "#define ENABLE_ASSERT_CHECKING 1" >>confdefs.h
2996 # Check whether --enable-default-pie was given.
2997 # Check whether --enable-default-pie was given.
2998 if test "${enable_default_pie+set}" = set; then :
2999 enableval=$enable_default_pie; PICFLAG=-fPIE
3000 else
3001 PICFLAG=
3005 # Enable --enable-host-pie
3006 # Check whether --enable-host-pie was given.
3007 if test "${enable_host_pie+set}" = set; then :
3008 enableval=$enable_host_pie; PICFLAG=-fPIE; LD_PICFLAG=-pie
3013 # Enable --enable-host-bind-now
3014 # Check whether --enable-host-bind-now was given.
3015 if test "${enable_host_bind_now+set}" = set; then :
3016 enableval=$enable_host_bind_now; LD_PICFLAG="$LD_PICFLAG -Wl,-z,now"
3022 # Check if O_CLOEXEC is defined by fcntl
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for O_CLOEXEC" >&5
3025 $as_echo_n "checking for O_CLOEXEC... " >&6; }
3026 if ${ac_cv_o_cloexec+:} false; then :
3027 $as_echo_n "(cached) " >&6
3028 else
3030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3031 /* end confdefs.h. */
3033 #include <fcntl.h>
3035 main ()
3038 return open ("/dev/null", O_RDONLY | O_CLOEXEC);
3040 return 0;
3042 _ACEOF
3043 if ac_fn_cxx_try_compile "$LINENO"; then :
3044 ac_cv_o_cloexec=yes
3045 else
3046 ac_cv_o_cloexec=no
3048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_o_cloexec" >&5
3051 $as_echo "$ac_cv_o_cloexec" >&6; }
3052 if test $ac_cv_o_cloexec = yes; then
3054 $as_echo "#define HOST_HAS_O_CLOEXEC 1" >>confdefs.h
3058 ac_ext=cpp
3059 ac_cpp='$CXXCPP $CPPFLAGS'
3060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
3064 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
3065 if test -z "$CXXCPP"; then
3066 if ${ac_cv_prog_CXXCPP+:} false; then :
3067 $as_echo_n "(cached) " >&6
3068 else
3069 # Double quotes because CXXCPP needs to be expanded
3070 for CXXCPP in "$CXX -E" "/lib/cpp"
3072 ac_preproc_ok=false
3073 for ac_cxx_preproc_warn_flag in '' yes
3075 # Use a header file that comes with gcc, so configuring glibc
3076 # with a fresh cross-compiler works.
3077 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3078 # <limits.h> exists even on freestanding compilers.
3079 # On the NeXT, cc -E runs the code through the compiler's parser,
3080 # not just through cpp. "Syntax error" is here to catch this case.
3081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3082 /* end confdefs.h. */
3083 #ifdef __STDC__
3084 # include <limits.h>
3085 #else
3086 # include <assert.h>
3087 #endif
3088 Syntax error
3089 _ACEOF
3090 if ac_fn_cxx_try_cpp "$LINENO"; then :
3092 else
3093 # Broken: fails on valid input.
3094 continue
3096 rm -f conftest.err conftest.i conftest.$ac_ext
3098 # OK, works on sane cases. Now check whether nonexistent headers
3099 # can be detected and how.
3100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101 /* end confdefs.h. */
3102 #include <ac_nonexistent.h>
3103 _ACEOF
3104 if ac_fn_cxx_try_cpp "$LINENO"; then :
3105 # Broken: success on invalid input.
3106 continue
3107 else
3108 # Passes both tests.
3109 ac_preproc_ok=:
3110 break
3112 rm -f conftest.err conftest.i conftest.$ac_ext
3114 done
3115 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3116 rm -f conftest.i conftest.err conftest.$ac_ext
3117 if $ac_preproc_ok; then :
3118 break
3121 done
3122 ac_cv_prog_CXXCPP=$CXXCPP
3125 CXXCPP=$ac_cv_prog_CXXCPP
3126 else
3127 ac_cv_prog_CXXCPP=$CXXCPP
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
3130 $as_echo "$CXXCPP" >&6; }
3131 ac_preproc_ok=false
3132 for ac_cxx_preproc_warn_flag in '' yes
3134 # Use a header file that comes with gcc, so configuring glibc
3135 # with a fresh cross-compiler works.
3136 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3137 # <limits.h> exists even on freestanding compilers.
3138 # On the NeXT, cc -E runs the code through the compiler's parser,
3139 # not just through cpp. "Syntax error" is here to catch this case.
3140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3141 /* end confdefs.h. */
3142 #ifdef __STDC__
3143 # include <limits.h>
3144 #else
3145 # include <assert.h>
3146 #endif
3147 Syntax error
3148 _ACEOF
3149 if ac_fn_cxx_try_cpp "$LINENO"; then :
3151 else
3152 # Broken: fails on valid input.
3153 continue
3155 rm -f conftest.err conftest.i conftest.$ac_ext
3157 # OK, works on sane cases. Now check whether nonexistent headers
3158 # can be detected and how.
3159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3160 /* end confdefs.h. */
3161 #include <ac_nonexistent.h>
3162 _ACEOF
3163 if ac_fn_cxx_try_cpp "$LINENO"; then :
3164 # Broken: success on invalid input.
3165 continue
3166 else
3167 # Passes both tests.
3168 ac_preproc_ok=:
3169 break
3171 rm -f conftest.err conftest.i conftest.$ac_ext
3173 done
3174 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3175 rm -f conftest.i conftest.err conftest.$ac_ext
3176 if $ac_preproc_ok; then :
3178 else
3179 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3181 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
3182 See \`config.log' for more details" "$LINENO" 5; }
3185 ac_ext=cpp
3186 ac_cpp='$CXXCPP $CPPFLAGS'
3187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3193 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3194 if ${ac_cv_path_GREP+:} false; then :
3195 $as_echo_n "(cached) " >&6
3196 else
3197 if test -z "$GREP"; then
3198 ac_path_GREP_found=false
3199 # Loop through the user's path and test for each of PROGNAME-LIST
3200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3201 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3203 IFS=$as_save_IFS
3204 test -z "$as_dir" && as_dir=.
3205 for ac_prog in grep ggrep; do
3206 for ac_exec_ext in '' $ac_executable_extensions; do
3207 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3208 as_fn_executable_p "$ac_path_GREP" || continue
3209 # Check for GNU ac_path_GREP and select it if it is found.
3210 # Check for GNU $ac_path_GREP
3211 case `"$ac_path_GREP" --version 2>&1` in
3212 *GNU*)
3213 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3215 ac_count=0
3216 $as_echo_n 0123456789 >"conftest.in"
3217 while :
3219 cat "conftest.in" "conftest.in" >"conftest.tmp"
3220 mv "conftest.tmp" "conftest.in"
3221 cp "conftest.in" "conftest.nl"
3222 $as_echo 'GREP' >> "conftest.nl"
3223 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3224 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3225 as_fn_arith $ac_count + 1 && ac_count=$as_val
3226 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3227 # Best one so far, save it but keep looking for a better one
3228 ac_cv_path_GREP="$ac_path_GREP"
3229 ac_path_GREP_max=$ac_count
3231 # 10*(2^10) chars as input seems more than enough
3232 test $ac_count -gt 10 && break
3233 done
3234 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3235 esac
3237 $ac_path_GREP_found && break 3
3238 done
3239 done
3240 done
3241 IFS=$as_save_IFS
3242 if test -z "$ac_cv_path_GREP"; then
3243 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3245 else
3246 ac_cv_path_GREP=$GREP
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3251 $as_echo "$ac_cv_path_GREP" >&6; }
3252 GREP="$ac_cv_path_GREP"
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3256 $as_echo_n "checking for egrep... " >&6; }
3257 if ${ac_cv_path_EGREP+:} false; then :
3258 $as_echo_n "(cached) " >&6
3259 else
3260 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3261 then ac_cv_path_EGREP="$GREP -E"
3262 else
3263 if test -z "$EGREP"; then
3264 ac_path_EGREP_found=false
3265 # Loop through the user's path and test for each of PROGNAME-LIST
3266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3267 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3269 IFS=$as_save_IFS
3270 test -z "$as_dir" && as_dir=.
3271 for ac_prog in egrep; do
3272 for ac_exec_ext in '' $ac_executable_extensions; do
3273 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3274 as_fn_executable_p "$ac_path_EGREP" || continue
3275 # Check for GNU ac_path_EGREP and select it if it is found.
3276 # Check for GNU $ac_path_EGREP
3277 case `"$ac_path_EGREP" --version 2>&1` in
3278 *GNU*)
3279 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3281 ac_count=0
3282 $as_echo_n 0123456789 >"conftest.in"
3283 while :
3285 cat "conftest.in" "conftest.in" >"conftest.tmp"
3286 mv "conftest.tmp" "conftest.in"
3287 cp "conftest.in" "conftest.nl"
3288 $as_echo 'EGREP' >> "conftest.nl"
3289 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3290 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3291 as_fn_arith $ac_count + 1 && ac_count=$as_val
3292 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3293 # Best one so far, save it but keep looking for a better one
3294 ac_cv_path_EGREP="$ac_path_EGREP"
3295 ac_path_EGREP_max=$ac_count
3297 # 10*(2^10) chars as input seems more than enough
3298 test $ac_count -gt 10 && break
3299 done
3300 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3301 esac
3303 $ac_path_EGREP_found && break 3
3304 done
3305 done
3306 done
3307 IFS=$as_save_IFS
3308 if test -z "$ac_cv_path_EGREP"; then
3309 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3311 else
3312 ac_cv_path_EGREP=$EGREP
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3318 $as_echo "$ac_cv_path_EGREP" >&6; }
3319 EGREP="$ac_cv_path_EGREP"
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3323 $as_echo_n "checking for ANSI C header files... " >&6; }
3324 if ${ac_cv_header_stdc+:} false; then :
3325 $as_echo_n "(cached) " >&6
3326 else
3327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3328 /* end confdefs.h. */
3329 #include <stdlib.h>
3330 #include <stdarg.h>
3331 #include <string.h>
3332 #include <float.h>
3335 main ()
3339 return 0;
3341 _ACEOF
3342 if ac_fn_cxx_try_compile "$LINENO"; then :
3343 ac_cv_header_stdc=yes
3344 else
3345 ac_cv_header_stdc=no
3347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3349 if test $ac_cv_header_stdc = yes; then
3350 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3352 /* end confdefs.h. */
3353 #include <string.h>
3355 _ACEOF
3356 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3357 $EGREP "memchr" >/dev/null 2>&1; then :
3359 else
3360 ac_cv_header_stdc=no
3362 rm -f conftest*
3366 if test $ac_cv_header_stdc = yes; then
3367 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3369 /* end confdefs.h. */
3370 #include <stdlib.h>
3372 _ACEOF
3373 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3374 $EGREP "free" >/dev/null 2>&1; then :
3376 else
3377 ac_cv_header_stdc=no
3379 rm -f conftest*
3383 if test $ac_cv_header_stdc = yes; then
3384 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3385 if test "$cross_compiling" = yes; then :
3387 else
3388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3389 /* end confdefs.h. */
3390 #include <ctype.h>
3391 #include <stdlib.h>
3392 #if ((' ' & 0x0FF) == 0x020)
3393 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3394 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3395 #else
3396 # define ISLOWER(c) \
3397 (('a' <= (c) && (c) <= 'i') \
3398 || ('j' <= (c) && (c) <= 'r') \
3399 || ('s' <= (c) && (c) <= 'z'))
3400 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3401 #endif
3403 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3405 main ()
3407 int i;
3408 for (i = 0; i < 256; i++)
3409 if (XOR (islower (i), ISLOWER (i))
3410 || toupper (i) != TOUPPER (i))
3411 return 2;
3412 return 0;
3414 _ACEOF
3415 if ac_fn_cxx_try_run "$LINENO"; then :
3417 else
3418 ac_cv_header_stdc=no
3420 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3421 conftest.$ac_objext conftest.beam conftest.$ac_ext
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3427 $as_echo "$ac_cv_header_stdc" >&6; }
3428 if test $ac_cv_header_stdc = yes; then
3430 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3434 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3435 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3436 inttypes.h stdint.h unistd.h
3437 do :
3438 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3439 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3441 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3442 cat >>confdefs.h <<_ACEOF
3443 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3444 _ACEOF
3448 done
3451 for ac_header in sys/mman.h
3452 do :
3453 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
3454 if test "x$ac_cv_header_sys_mman_h" = xyes; then :
3455 cat >>confdefs.h <<_ACEOF
3456 #define HAVE_SYS_MMAN_H 1
3457 _ACEOF
3461 done
3464 # C++ Modules would like some networking features to provide the mapping
3465 # server. You can still use modules without them though.
3466 # The following network-related checks could probably do with some
3467 # Windows and other non-linux defenses and checking.
3469 # Local socket connectivity wants AF_UNIX networking
3470 # Check for AF_UNIX networking
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AF_UNIX" >&5
3472 $as_echo_n "checking for AF_UNIX... " >&6; }
3473 if ${ac_cv_af_unix+:} false; then :
3474 $as_echo_n "(cached) " >&6
3475 else
3477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h. */
3480 #include <sys/types.h>
3481 #include <sys/socket.h>
3482 #include <sys/un.h>
3483 #include <netinet/in.h>
3485 main ()
3488 sockaddr_un un;
3489 un.sun_family = AF_UNSPEC;
3490 int fd = socket (AF_UNIX, SOCK_STREAM, 0);
3491 connect (fd, (sockaddr *)&un, sizeof (un));
3493 return 0;
3495 _ACEOF
3496 if ac_fn_cxx_try_compile "$LINENO"; then :
3497 ac_cv_af_unix=yes
3498 else
3499 ac_cv_af_unix=no
3501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_af_unix" >&5
3504 $as_echo "$ac_cv_af_unix" >&6; }
3505 if test $ac_cv_af_unix = yes; then
3507 $as_echo "#define HAVE_AF_UNIX 1" >>confdefs.h
3511 # Remote socket connectivity wants AF_INET6 networking
3512 # Check for AF_INET6 networking
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AF_INET6" >&5
3514 $as_echo_n "checking for AF_INET6... " >&6; }
3515 if ${ac_cv_af_inet6+:} false; then :
3516 $as_echo_n "(cached) " >&6
3517 else
3519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h. */
3522 #include <sys/types.h>
3523 #include <sys/socket.h>
3524 #include <netinet/in.h>
3525 #include <netdb.h>
3527 main ()
3530 sockaddr_in6 in6;
3531 in6.sin6_family = AF_UNSPEC;
3532 struct addrinfo *addrs = 0;
3533 struct addrinfo hints;
3534 hints.ai_flags = 0;
3535 hints.ai_family = AF_INET6;
3536 hints.ai_socktype = SOCK_STREAM;
3537 hints.ai_protocol = 0;
3538 hints.ai_canonname = 0;
3539 hints.ai_addr = 0;
3540 hints.ai_next = 0;
3541 int e = getaddrinfo ("localhost", 0, &hints, &addrs);
3542 const char *str = gai_strerror (e);
3543 freeaddrinfo (addrs);
3544 int fd = socket (AF_INET6, SOCK_STREAM, 0);
3545 connect (fd, (sockaddr *)&in6, sizeof (in6));
3547 return 0;
3549 _ACEOF
3550 if ac_fn_cxx_try_compile "$LINENO"; then :
3551 ac_cv_af_inet6=yes
3552 else
3553 ac_cv_af_inet6=no
3555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_af_inet6" >&5
3558 $as_echo "$ac_cv_af_inet6" >&6; }
3559 if test $ac_cv_af_inet6 = yes; then
3561 $as_echo "#define HAVE_AF_INET6 1" >>confdefs.h
3565 # Efficient server response wants epoll
3566 # Check for epoll_create, epoll_ctl, epoll_pwait
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll" >&5
3568 $as_echo_n "checking for epoll... " >&6; }
3569 if ${ac_cv_epoll+:} false; then :
3570 $as_echo_n "(cached) " >&6
3571 else
3573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3574 /* end confdefs.h. */
3576 #include <sys/epoll.h>
3578 main ()
3581 int fd = epoll_create (1);
3582 epoll_event ev;
3583 ev.events = EPOLLIN;
3584 ev.data.fd = 0;
3585 epoll_ctl (fd, EPOLL_CTL_ADD, 0, &ev);
3586 epoll_pwait (fd, 0, 0, -1, 0);
3588 return 0;
3590 _ACEOF
3591 if ac_fn_cxx_try_compile "$LINENO"; then :
3592 ac_cv_epoll=yes
3593 else
3594 ac_cv_epoll=no
3596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_epoll" >&5
3599 $as_echo "$ac_cv_epoll" >&6; }
3600 if test $ac_cv_epoll = yes; then
3602 $as_echo "#define HAVE_EPOLL 1" >>confdefs.h
3606 # If we can't use epoll, try pselect.
3607 # Check for pselect
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pselect" >&5
3609 $as_echo_n "checking for pselect... " >&6; }
3610 if ${ac_cv_pselect+:} false; then :
3611 $as_echo_n "(cached) " >&6
3612 else
3614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3615 /* end confdefs.h. */
3617 #include <sys/select.h>
3619 main ()
3622 pselect (0, 0, 0, 0, 0, 0);
3624 return 0;
3626 _ACEOF
3627 if ac_fn_cxx_try_compile "$LINENO"; then :
3628 ac_cv_pselect=yes
3629 else
3630 ac_cv_pselect=no
3632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pselect" >&5
3635 $as_echo "$ac_cv_pselect" >&6; }
3636 if test $ac_cv_pselect = yes; then
3638 $as_echo "#define HAVE_PSELECT 1" >>confdefs.h
3642 # And failing that, use good old select.
3643 # If we can't even use this, the server is serialized.
3644 # Check for select
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for select" >&5
3646 $as_echo_n "checking for select... " >&6; }
3647 if ${ac_cv_select+:} false; then :
3648 $as_echo_n "(cached) " >&6
3649 else
3651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3652 /* end confdefs.h. */
3654 #include <sys/select.h>
3656 main ()
3659 select (0, 0, 0, 0, 0);
3661 return 0;
3663 _ACEOF
3664 if ac_fn_cxx_try_compile "$LINENO"; then :
3665 ac_cv_select=yes
3666 else
3667 ac_cv_select=no
3669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_select" >&5
3672 $as_echo "$ac_cv_select" >&6; }
3673 if test $ac_cv_select = yes; then
3675 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
3679 # Avoid some fnctl calls by using accept4, when available.
3680 # Check for accept4
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for accept4" >&5
3682 $as_echo_n "checking for accept4... " >&6; }
3683 if ${ac_cv_accept4+:} false; then :
3684 $as_echo_n "(cached) " >&6
3685 else
3687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3688 /* end confdefs.h. */
3690 #include <sys/socket.h>
3692 main ()
3695 int err = accept4 (1, 0, 0, SOCK_NONBLOCK);
3697 return 0;
3699 _ACEOF
3700 if ac_fn_cxx_try_compile "$LINENO"; then :
3701 ac_cv_accept4=yes
3702 else
3703 ac_cv_accept4=no
3705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_accept4" >&5
3708 $as_echo "$ac_cv_accept4" >&6; }
3709 if test $ac_cv_accept4 = yes; then
3711 $as_echo "#define HAVE_ACCEPT4 1" >>confdefs.h
3715 # For better server messages, look for a way to stringize network addresses
3716 # Check for inet_ntop
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntop" >&5
3718 $as_echo_n "checking for inet_ntop... " >&6; }
3719 if ${ac_cv_inet_ntop+:} false; then :
3720 $as_echo_n "(cached) " >&6
3721 else
3723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3724 /* end confdefs.h. */
3726 #include <arpa/inet.h>
3727 #include <netinet/in.h>
3729 main ()
3732 sockaddr_in6 in6;
3733 char buf[INET6_ADDRSTRLEN];
3734 const char *str = inet_ntop (AF_INET6, &in6, buf, sizeof (buf));
3736 return 0;
3738 _ACEOF
3739 if ac_fn_cxx_try_compile "$LINENO"; then :
3740 ac_cv_inet_ntop=yes
3741 else
3742 ac_cv_inet_ntop=no
3744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_inet_ntop" >&5
3747 $as_echo "$ac_cv_inet_ntop" >&6; }
3748 if test $ac_cv_inet_ntop = yes; then
3750 $as_echo "#define HAVE_INET_NTOP 1" >>confdefs.h
3754 # Determine what GCC version number to use in filesystem paths.
3756 get_gcc_base_ver="cat"
3758 # Check whether --with-gcc-major-version-only was given.
3759 if test "${with_gcc_major_version_only+set}" = set; then :
3760 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
3761 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
3769 # Solaris needs libsocket and libnsl for socket functions before 11.4.
3770 # libcody uses those.
3771 save_LIBS="$LIBS"
3772 LIBS=
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
3775 $as_echo_n "checking for library containing gethostbyname... " >&6; }
3776 if ${ac_cv_search_gethostbyname+:} false; then :
3777 $as_echo_n "(cached) " >&6
3778 else
3779 ac_func_search_save_LIBS=$LIBS
3780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3781 /* end confdefs.h. */
3783 /* Override any GCC internal prototype to avoid an error.
3784 Use char because int might match the return type of a GCC
3785 builtin and then its argument prototype would still apply. */
3786 #ifdef __cplusplus
3787 extern "C"
3788 #endif
3789 char gethostbyname ();
3791 main ()
3793 return gethostbyname ();
3795 return 0;
3797 _ACEOF
3798 for ac_lib in '' nsl; do
3799 if test -z "$ac_lib"; then
3800 ac_res="none required"
3801 else
3802 ac_res=-l$ac_lib
3803 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3805 if ac_fn_cxx_try_link "$LINENO"; then :
3806 ac_cv_search_gethostbyname=$ac_res
3808 rm -f core conftest.err conftest.$ac_objext \
3809 conftest$ac_exeext
3810 if ${ac_cv_search_gethostbyname+:} false; then :
3811 break
3813 done
3814 if ${ac_cv_search_gethostbyname+:} false; then :
3816 else
3817 ac_cv_search_gethostbyname=no
3819 rm conftest.$ac_ext
3820 LIBS=$ac_func_search_save_LIBS
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
3823 $as_echo "$ac_cv_search_gethostbyname" >&6; }
3824 ac_res=$ac_cv_search_gethostbyname
3825 if test "$ac_res" != no; then :
3826 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
3831 $as_echo_n "checking for library containing socket... " >&6; }
3832 if ${ac_cv_search_socket+:} false; then :
3833 $as_echo_n "(cached) " >&6
3834 else
3835 ac_func_search_save_LIBS=$LIBS
3836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3837 /* end confdefs.h. */
3839 /* Override any GCC internal prototype to avoid an error.
3840 Use char because int might match the return type of a GCC
3841 builtin and then its argument prototype would still apply. */
3842 #ifdef __cplusplus
3843 extern "C"
3844 #endif
3845 char socket ();
3847 main ()
3849 return socket ();
3851 return 0;
3853 _ACEOF
3854 for ac_lib in '' socket; do
3855 if test -z "$ac_lib"; then
3856 ac_res="none required"
3857 else
3858 ac_res=-l$ac_lib
3859 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3861 if ac_fn_cxx_try_link "$LINENO"; then :
3862 ac_cv_search_socket=$ac_res
3864 rm -f core conftest.err conftest.$ac_objext \
3865 conftest$ac_exeext
3866 if ${ac_cv_search_socket+:} false; then :
3867 break
3869 done
3870 if ${ac_cv_search_socket+:} false; then :
3872 else
3873 ac_cv_search_socket=no
3875 rm conftest.$ac_ext
3876 LIBS=$ac_func_search_save_LIBS
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
3879 $as_echo "$ac_cv_search_socket" >&6; }
3880 ac_res=$ac_cv_search_socket
3881 if test "$ac_res" != no; then :
3882 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3884 else
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
3887 $as_echo_n "checking for socket in -lsocket... " >&6; }
3888 if ${ac_cv_lib_socket_socket+:} false; then :
3889 $as_echo_n "(cached) " >&6
3890 else
3891 ac_check_lib_save_LIBS=$LIBS
3892 LIBS="-lsocket -lnsl $LIBS"
3893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3894 /* end confdefs.h. */
3896 /* Override any GCC internal prototype to avoid an error.
3897 Use char because int might match the return type of a GCC
3898 builtin and then its argument prototype would still apply. */
3899 #ifdef __cplusplus
3900 extern "C"
3901 #endif
3902 char socket ();
3904 main ()
3906 return socket ();
3908 return 0;
3910 _ACEOF
3911 if ac_fn_cxx_try_link "$LINENO"; then :
3912 ac_cv_lib_socket_socket=yes
3913 else
3914 ac_cv_lib_socket_socket=no
3916 rm -f core conftest.err conftest.$ac_objext \
3917 conftest$ac_exeext conftest.$ac_ext
3918 LIBS=$ac_check_lib_save_LIBS
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
3921 $as_echo "$ac_cv_lib_socket_socket" >&6; }
3922 if test "x$ac_cv_lib_socket_socket" = xyes; then :
3923 LIBS="-lsocket -lnsl $LIBS"
3929 NETLIBS="$LIBS"
3930 LIBS="$save_LIBS"
3933 ac_config_headers="$ac_config_headers config.h"
3935 ac_config_files="$ac_config_files Makefile"
3938 cat >confcache <<\_ACEOF
3939 # This file is a shell script that caches the results of configure
3940 # tests run on this system so they can be shared between configure
3941 # scripts and configure runs, see configure's option --config-cache.
3942 # It is not useful on other systems. If it contains results you don't
3943 # want to keep, you may remove or edit it.
3945 # config.status only pays attention to the cache file if you give it
3946 # the --recheck option to rerun configure.
3948 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3949 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3950 # following values.
3952 _ACEOF
3954 # The following way of writing the cache mishandles newlines in values,
3955 # but we know of no workaround that is simple, portable, and efficient.
3956 # So, we kill variables containing newlines.
3957 # Ultrix sh set writes to stderr and can't be redirected directly,
3958 # and sets the high bit in the cache file unless we assign to the vars.
3960 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3961 eval ac_val=\$$ac_var
3962 case $ac_val in #(
3963 *${as_nl}*)
3964 case $ac_var in #(
3965 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3966 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3967 esac
3968 case $ac_var in #(
3969 _ | IFS | as_nl) ;; #(
3970 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3971 *) { eval $ac_var=; unset $ac_var;} ;;
3972 esac ;;
3973 esac
3974 done
3976 (set) 2>&1 |
3977 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3978 *${as_nl}ac_space=\ *)
3979 # `set' does not quote correctly, so add quotes: double-quote
3980 # substitution turns \\\\ into \\, and sed turns \\ into \.
3981 sed -n \
3982 "s/'/'\\\\''/g;
3983 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3984 ;; #(
3986 # `set' quotes correctly as required by POSIX, so do not add quotes.
3987 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3989 esac |
3990 sort
3992 sed '
3993 /^ac_cv_env_/b end
3994 t clear
3995 :clear
3996 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3997 t end
3998 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3999 :end' >>confcache
4000 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4001 if test -w "$cache_file"; then
4002 if test "x$cache_file" != "x/dev/null"; then
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4004 $as_echo "$as_me: updating cache $cache_file" >&6;}
4005 if test ! -f "$cache_file" || test -h "$cache_file"; then
4006 cat confcache >"$cache_file"
4007 else
4008 case $cache_file in #(
4009 */* | ?:*)
4010 mv -f confcache "$cache_file"$$ &&
4011 mv -f "$cache_file"$$ "$cache_file" ;; #(
4013 mv -f confcache "$cache_file" ;;
4014 esac
4017 else
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4019 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4022 rm -f confcache
4024 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4025 # Let make expand exec_prefix.
4026 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4028 DEFS=-DHAVE_CONFIG_H
4030 ac_libobjs=
4031 ac_ltlibobjs=
4033 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4034 # 1. Remove the extension, and $U if already installed.
4035 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4036 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4037 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4038 # will be set to the directory where LIBOBJS objects are built.
4039 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4040 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4041 done
4042 LIBOBJS=$ac_libobjs
4044 LTLIBOBJS=$ac_ltlibobjs
4048 : "${CONFIG_STATUS=./config.status}"
4049 ac_write_fail=0
4050 ac_clean_files_save=$ac_clean_files
4051 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4053 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4054 as_write_fail=0
4055 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4056 #! $SHELL
4057 # Generated by $as_me.
4058 # Run this file to recreate the current configuration.
4059 # Compiler output produced by configure, useful for debugging
4060 # configure, is in config.log if it exists.
4062 debug=false
4063 ac_cs_recheck=false
4064 ac_cs_silent=false
4066 SHELL=\${CONFIG_SHELL-$SHELL}
4067 export SHELL
4068 _ASEOF
4069 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4070 ## -------------------- ##
4071 ## M4sh Initialization. ##
4072 ## -------------------- ##
4074 # Be more Bourne compatible
4075 DUALCASE=1; export DUALCASE # for MKS sh
4076 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4077 emulate sh
4078 NULLCMD=:
4079 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4080 # is contrary to our usage. Disable this feature.
4081 alias -g '${1+"$@"}'='"$@"'
4082 setopt NO_GLOB_SUBST
4083 else
4084 case `(set -o) 2>/dev/null` in #(
4085 *posix*) :
4086 set -o posix ;; #(
4087 *) :
4089 esac
4093 as_nl='
4095 export as_nl
4096 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4097 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4098 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4099 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4100 # Prefer a ksh shell builtin over an external printf program on Solaris,
4101 # but without wasting forks for bash or zsh.
4102 if test -z "$BASH_VERSION$ZSH_VERSION" \
4103 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4104 as_echo='print -r --'
4105 as_echo_n='print -rn --'
4106 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4107 as_echo='printf %s\n'
4108 as_echo_n='printf %s'
4109 else
4110 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4111 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4112 as_echo_n='/usr/ucb/echo -n'
4113 else
4114 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4115 as_echo_n_body='eval
4116 arg=$1;
4117 case $arg in #(
4118 *"$as_nl"*)
4119 expr "X$arg" : "X\\(.*\\)$as_nl";
4120 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4121 esac;
4122 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4124 export as_echo_n_body
4125 as_echo_n='sh -c $as_echo_n_body as_echo'
4127 export as_echo_body
4128 as_echo='sh -c $as_echo_body as_echo'
4131 # The user is always right.
4132 if test "${PATH_SEPARATOR+set}" != set; then
4133 PATH_SEPARATOR=:
4134 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4135 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4136 PATH_SEPARATOR=';'
4141 # IFS
4142 # We need space, tab and new line, in precisely that order. Quoting is
4143 # there to prevent editors from complaining about space-tab.
4144 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4145 # splitting by setting IFS to empty value.)
4146 IFS=" "" $as_nl"
4148 # Find who we are. Look in the path if we contain no directory separator.
4149 as_myself=
4150 case $0 in #((
4151 *[\\/]* ) as_myself=$0 ;;
4152 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4153 for as_dir in $PATH
4155 IFS=$as_save_IFS
4156 test -z "$as_dir" && as_dir=.
4157 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4158 done
4159 IFS=$as_save_IFS
4162 esac
4163 # We did not find ourselves, most probably we were run as `sh COMMAND'
4164 # in which case we are not to be found in the path.
4165 if test "x$as_myself" = x; then
4166 as_myself=$0
4168 if test ! -f "$as_myself"; then
4169 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4170 exit 1
4173 # Unset variables that we do not need and which cause bugs (e.g. in
4174 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4175 # suppresses any "Segmentation fault" message there. '((' could
4176 # trigger a bug in pdksh 5.2.14.
4177 for as_var in BASH_ENV ENV MAIL MAILPATH
4178 do eval test x\${$as_var+set} = xset \
4179 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4180 done
4181 PS1='$ '
4182 PS2='> '
4183 PS4='+ '
4185 # NLS nuisances.
4186 LC_ALL=C
4187 export LC_ALL
4188 LANGUAGE=C
4189 export LANGUAGE
4191 # CDPATH.
4192 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4195 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4196 # ----------------------------------------
4197 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4198 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4199 # script with STATUS, using 1 if that was 0.
4200 as_fn_error ()
4202 as_status=$1; test $as_status -eq 0 && as_status=1
4203 if test "$4"; then
4204 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4205 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4207 $as_echo "$as_me: error: $2" >&2
4208 as_fn_exit $as_status
4209 } # as_fn_error
4212 # as_fn_set_status STATUS
4213 # -----------------------
4214 # Set $? to STATUS, without forking.
4215 as_fn_set_status ()
4217 return $1
4218 } # as_fn_set_status
4220 # as_fn_exit STATUS
4221 # -----------------
4222 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4223 as_fn_exit ()
4225 set +e
4226 as_fn_set_status $1
4227 exit $1
4228 } # as_fn_exit
4230 # as_fn_unset VAR
4231 # ---------------
4232 # Portably unset VAR.
4233 as_fn_unset ()
4235 { eval $1=; unset $1;}
4237 as_unset=as_fn_unset
4238 # as_fn_append VAR VALUE
4239 # ----------------------
4240 # Append the text in VALUE to the end of the definition contained in VAR. Take
4241 # advantage of any shell optimizations that allow amortized linear growth over
4242 # repeated appends, instead of the typical quadratic growth present in naive
4243 # implementations.
4244 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4245 eval 'as_fn_append ()
4247 eval $1+=\$2
4249 else
4250 as_fn_append ()
4252 eval $1=\$$1\$2
4254 fi # as_fn_append
4256 # as_fn_arith ARG...
4257 # ------------------
4258 # Perform arithmetic evaluation on the ARGs, and store the result in the
4259 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4260 # must be portable across $(()) and expr.
4261 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4262 eval 'as_fn_arith ()
4264 as_val=$(( $* ))
4266 else
4267 as_fn_arith ()
4269 as_val=`expr "$@" || test $? -eq 1`
4271 fi # as_fn_arith
4274 if expr a : '\(a\)' >/dev/null 2>&1 &&
4275 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4276 as_expr=expr
4277 else
4278 as_expr=false
4281 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4282 as_basename=basename
4283 else
4284 as_basename=false
4287 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4288 as_dirname=dirname
4289 else
4290 as_dirname=false
4293 as_me=`$as_basename -- "$0" ||
4294 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4295 X"$0" : 'X\(//\)$' \| \
4296 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4297 $as_echo X/"$0" |
4298 sed '/^.*\/\([^/][^/]*\)\/*$/{
4299 s//\1/
4302 /^X\/\(\/\/\)$/{
4303 s//\1/
4306 /^X\/\(\/\).*/{
4307 s//\1/
4310 s/.*/./; q'`
4312 # Avoid depending upon Character Ranges.
4313 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4314 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4315 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4316 as_cr_digits='0123456789'
4317 as_cr_alnum=$as_cr_Letters$as_cr_digits
4319 ECHO_C= ECHO_N= ECHO_T=
4320 case `echo -n x` in #(((((
4321 -n*)
4322 case `echo 'xy\c'` in
4323 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4324 xy) ECHO_C='\c';;
4325 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4326 ECHO_T=' ';;
4327 esac;;
4329 ECHO_N='-n';;
4330 esac
4332 rm -f conf$$ conf$$.exe conf$$.file
4333 if test -d conf$$.dir; then
4334 rm -f conf$$.dir/conf$$.file
4335 else
4336 rm -f conf$$.dir
4337 mkdir conf$$.dir 2>/dev/null
4339 if (echo >conf$$.file) 2>/dev/null; then
4340 if ln -s conf$$.file conf$$ 2>/dev/null; then
4341 as_ln_s='ln -s'
4342 # ... but there are two gotchas:
4343 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4344 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4345 # In both cases, we have to default to `cp -pR'.
4346 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4347 as_ln_s='cp -pR'
4348 elif ln conf$$.file conf$$ 2>/dev/null; then
4349 as_ln_s=ln
4350 else
4351 as_ln_s='cp -pR'
4353 else
4354 as_ln_s='cp -pR'
4356 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4357 rmdir conf$$.dir 2>/dev/null
4360 # as_fn_mkdir_p
4361 # -------------
4362 # Create "$as_dir" as a directory, including parents if necessary.
4363 as_fn_mkdir_p ()
4366 case $as_dir in #(
4367 -*) as_dir=./$as_dir;;
4368 esac
4369 test -d "$as_dir" || eval $as_mkdir_p || {
4370 as_dirs=
4371 while :; do
4372 case $as_dir in #(
4373 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4374 *) as_qdir=$as_dir;;
4375 esac
4376 as_dirs="'$as_qdir' $as_dirs"
4377 as_dir=`$as_dirname -- "$as_dir" ||
4378 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4379 X"$as_dir" : 'X\(//\)[^/]' \| \
4380 X"$as_dir" : 'X\(//\)$' \| \
4381 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4382 $as_echo X"$as_dir" |
4383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4384 s//\1/
4387 /^X\(\/\/\)[^/].*/{
4388 s//\1/
4391 /^X\(\/\/\)$/{
4392 s//\1/
4395 /^X\(\/\).*/{
4396 s//\1/
4399 s/.*/./; q'`
4400 test -d "$as_dir" && break
4401 done
4402 test -z "$as_dirs" || eval "mkdir $as_dirs"
4403 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4406 } # as_fn_mkdir_p
4407 if mkdir -p . 2>/dev/null; then
4408 as_mkdir_p='mkdir -p "$as_dir"'
4409 else
4410 test -d ./-p && rmdir ./-p
4411 as_mkdir_p=false
4415 # as_fn_executable_p FILE
4416 # -----------------------
4417 # Test if FILE is an executable regular file.
4418 as_fn_executable_p ()
4420 test -f "$1" && test -x "$1"
4421 } # as_fn_executable_p
4422 as_test_x='test -x'
4423 as_executable_p=as_fn_executable_p
4425 # Sed expression to map a string onto a valid CPP name.
4426 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4428 # Sed expression to map a string onto a valid variable name.
4429 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4432 exec 6>&1
4433 ## ----------------------------------- ##
4434 ## Main body of $CONFIG_STATUS script. ##
4435 ## ----------------------------------- ##
4436 _ASEOF
4437 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4440 # Save the log message, to keep $0 and so on meaningful, and to
4441 # report actual input values of CONFIG_FILES etc. instead of their
4442 # values after options handling.
4443 ac_log="
4444 This file was extended by $as_me, which was
4445 generated by GNU Autoconf 2.69. Invocation command line was
4447 CONFIG_FILES = $CONFIG_FILES
4448 CONFIG_HEADERS = $CONFIG_HEADERS
4449 CONFIG_LINKS = $CONFIG_LINKS
4450 CONFIG_COMMANDS = $CONFIG_COMMANDS
4451 $ $0 $@
4453 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4456 _ACEOF
4458 case $ac_config_files in *"
4459 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4460 esac
4462 case $ac_config_headers in *"
4463 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4464 esac
4467 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4468 # Files that config.status was made for.
4469 config_files="$ac_config_files"
4470 config_headers="$ac_config_headers"
4472 _ACEOF
4474 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4475 ac_cs_usage="\
4476 \`$as_me' instantiates files and other configuration actions
4477 from templates according to the current configuration. Unless the files
4478 and actions are specified as TAGs, all are instantiated by default.
4480 Usage: $0 [OPTION]... [TAG]...
4482 -h, --help print this help, then exit
4483 -V, --version print version number and configuration settings, then exit
4484 --config print configuration, then exit
4485 -q, --quiet, --silent
4486 do not print progress messages
4487 -d, --debug don't remove temporary files
4488 --recheck update $as_me by reconfiguring in the same conditions
4489 --file=FILE[:TEMPLATE]
4490 instantiate the configuration file FILE
4491 --header=FILE[:TEMPLATE]
4492 instantiate the configuration header FILE
4494 Configuration files:
4495 $config_files
4497 Configuration headers:
4498 $config_headers
4500 Report bugs to the package provider."
4502 _ACEOF
4503 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4504 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4505 ac_cs_version="\\
4506 config.status
4507 configured by $0, generated by GNU Autoconf 2.69,
4508 with options \\"\$ac_cs_config\\"
4510 Copyright (C) 2012 Free Software Foundation, Inc.
4511 This config.status script is free software; the Free Software Foundation
4512 gives unlimited permission to copy, distribute and modify it."
4514 ac_pwd='$ac_pwd'
4515 srcdir='$srcdir'
4516 INSTALL='$INSTALL'
4517 test -n "\$AWK" || AWK=awk
4518 _ACEOF
4520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4521 # The default lists apply if the user does not specify any file.
4522 ac_need_defaults=:
4523 while test $# != 0
4525 case $1 in
4526 --*=?*)
4527 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4528 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4529 ac_shift=:
4531 --*=)
4532 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4533 ac_optarg=
4534 ac_shift=:
4537 ac_option=$1
4538 ac_optarg=$2
4539 ac_shift=shift
4541 esac
4543 case $ac_option in
4544 # Handling of the options.
4545 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4546 ac_cs_recheck=: ;;
4547 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4548 $as_echo "$ac_cs_version"; exit ;;
4549 --config | --confi | --conf | --con | --co | --c )
4550 $as_echo "$ac_cs_config"; exit ;;
4551 --debug | --debu | --deb | --de | --d | -d )
4552 debug=: ;;
4553 --file | --fil | --fi | --f )
4554 $ac_shift
4555 case $ac_optarg in
4556 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4557 '') as_fn_error $? "missing file argument" ;;
4558 esac
4559 as_fn_append CONFIG_FILES " '$ac_optarg'"
4560 ac_need_defaults=false;;
4561 --header | --heade | --head | --hea )
4562 $ac_shift
4563 case $ac_optarg in
4564 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4565 esac
4566 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4567 ac_need_defaults=false;;
4568 --he | --h)
4569 # Conflict between --help and --header
4570 as_fn_error $? "ambiguous option: \`$1'
4571 Try \`$0 --help' for more information.";;
4572 --help | --hel | -h )
4573 $as_echo "$ac_cs_usage"; exit ;;
4574 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4575 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4576 ac_cs_silent=: ;;
4578 # This is an error.
4579 -*) as_fn_error $? "unrecognized option: \`$1'
4580 Try \`$0 --help' for more information." ;;
4582 *) as_fn_append ac_config_targets " $1"
4583 ac_need_defaults=false ;;
4585 esac
4586 shift
4587 done
4589 ac_configure_extra_args=
4591 if $ac_cs_silent; then
4592 exec 6>/dev/null
4593 ac_configure_extra_args="$ac_configure_extra_args --silent"
4596 _ACEOF
4597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4598 if \$ac_cs_recheck; then
4599 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4600 shift
4601 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4602 CONFIG_SHELL='$SHELL'
4603 export CONFIG_SHELL
4604 exec "\$@"
4607 _ACEOF
4608 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4609 exec 5>>config.log
4611 echo
4612 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4613 ## Running $as_me. ##
4614 _ASBOX
4615 $as_echo "$ac_log"
4616 } >&5
4618 _ACEOF
4619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4620 _ACEOF
4622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4624 # Handling of arguments.
4625 for ac_config_target in $ac_config_targets
4627 case $ac_config_target in
4628 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4629 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4631 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4632 esac
4633 done
4636 # If the user did not use the arguments to specify the items to instantiate,
4637 # then the envvar interface is used. Set only those that are not.
4638 # We use the long form for the default assignment because of an extremely
4639 # bizarre bug on SunOS 4.1.3.
4640 if $ac_need_defaults; then
4641 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4642 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4645 # Have a temporary directory for convenience. Make it in the build tree
4646 # simply because there is no reason against having it here, and in addition,
4647 # creating and moving files from /tmp can sometimes cause problems.
4648 # Hook for its removal unless debugging.
4649 # Note that there is a small window in which the directory will not be cleaned:
4650 # after its creation but before its name has been assigned to `$tmp'.
4651 $debug ||
4653 tmp= ac_tmp=
4654 trap 'exit_status=$?
4655 : "${ac_tmp:=$tmp}"
4656 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4658 trap 'as_fn_exit 1' 1 2 13 15
4660 # Create a (secure) tmp directory for tmp files.
4663 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4664 test -d "$tmp"
4665 } ||
4667 tmp=./conf$$-$RANDOM
4668 (umask 077 && mkdir "$tmp")
4669 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4670 ac_tmp=$tmp
4672 # Set up the scripts for CONFIG_FILES section.
4673 # No need to generate them if there are no CONFIG_FILES.
4674 # This happens for instance with `./config.status config.h'.
4675 if test -n "$CONFIG_FILES"; then
4678 ac_cr=`echo X | tr X '\015'`
4679 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4680 # But we know of no other shell where ac_cr would be empty at this
4681 # point, so we can use a bashism as a fallback.
4682 if test "x$ac_cr" = x; then
4683 eval ac_cr=\$\'\\r\'
4685 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4686 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4687 ac_cs_awk_cr='\\r'
4688 else
4689 ac_cs_awk_cr=$ac_cr
4692 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4693 _ACEOF
4697 echo "cat >conf$$subs.awk <<_ACEOF" &&
4698 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4699 echo "_ACEOF"
4700 } >conf$$subs.sh ||
4701 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4702 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4703 ac_delim='%!_!# '
4704 for ac_last_try in false false false false false :; do
4705 . ./conf$$subs.sh ||
4706 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4708 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4709 if test $ac_delim_n = $ac_delim_num; then
4710 break
4711 elif $ac_last_try; then
4712 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4713 else
4714 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4716 done
4717 rm -f conf$$subs.sh
4719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4720 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4721 _ACEOF
4722 sed -n '
4724 s/^/S["/; s/!.*/"]=/
4727 s/^[^!]*!//
4728 :repl
4729 t repl
4730 s/'"$ac_delim"'$//
4731 t delim
4734 s/\(.\{148\}\)..*/\1/
4735 t more1
4736 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4739 b repl
4740 :more1
4741 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4744 s/.\{148\}//
4745 t nl
4746 :delim
4748 s/\(.\{148\}\)..*/\1/
4749 t more2
4750 s/["\\]/\\&/g; s/^/"/; s/$/"/
4753 :more2
4754 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4757 s/.\{148\}//
4758 t delim
4759 ' <conf$$subs.awk | sed '
4760 /^[^""]/{
4762 s/\n//
4764 ' >>$CONFIG_STATUS || ac_write_fail=1
4765 rm -f conf$$subs.awk
4766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4767 _ACAWK
4768 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4769 for (key in S) S_is_set[key] = 1
4770 FS = "\a"
4774 line = $ 0
4775 nfields = split(line, field, "@")
4776 substed = 0
4777 len = length(field[1])
4778 for (i = 2; i < nfields; i++) {
4779 key = field[i]
4780 keylen = length(key)
4781 if (S_is_set[key]) {
4782 value = S[key]
4783 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4784 len += length(value) + length(field[++i])
4785 substed = 1
4786 } else
4787 len += 1 + keylen
4790 print line
4793 _ACAWK
4794 _ACEOF
4795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4796 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4797 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4798 else
4800 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4801 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4802 _ACEOF
4804 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4805 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4806 # trailing colons and then remove the whole line if VPATH becomes empty
4807 # (actually we leave an empty line to preserve line numbers).
4808 if test "x$srcdir" = x.; then
4809 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4811 s///
4812 s/^/:/
4813 s/[ ]*$/:/
4814 s/:\$(srcdir):/:/g
4815 s/:\${srcdir}:/:/g
4816 s/:@srcdir@:/:/g
4817 s/^:*//
4818 s/:*$//
4820 s/\(=[ ]*\).*/\1/
4822 s/\n//
4823 s/^[^=]*=[ ]*$//
4827 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4828 fi # test -n "$CONFIG_FILES"
4830 # Set up the scripts for CONFIG_HEADERS section.
4831 # No need to generate them if there are no CONFIG_HEADERS.
4832 # This happens for instance with `./config.status Makefile'.
4833 if test -n "$CONFIG_HEADERS"; then
4834 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4835 BEGIN {
4836 _ACEOF
4838 # Transform confdefs.h into an awk script `defines.awk', embedded as
4839 # here-document in config.status, that substitutes the proper values into
4840 # config.h.in to produce config.h.
4842 # Create a delimiter string that does not exist in confdefs.h, to ease
4843 # handling of long lines.
4844 ac_delim='%!_!# '
4845 for ac_last_try in false false :; do
4846 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4847 if test -z "$ac_tt"; then
4848 break
4849 elif $ac_last_try; then
4850 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4851 else
4852 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4854 done
4856 # For the awk script, D is an array of macro values keyed by name,
4857 # likewise P contains macro parameters if any. Preserve backslash
4858 # newline sequences.
4860 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4861 sed -n '
4862 s/.\{148\}/&'"$ac_delim"'/g
4863 t rset
4864 :rset
4865 s/^[ ]*#[ ]*define[ ][ ]*/ /
4866 t def
4868 :def
4869 s/\\$//
4870 t bsnl
4871 s/["\\]/\\&/g
4872 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4873 D["\1"]=" \3"/p
4874 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4876 :bsnl
4877 s/["\\]/\\&/g
4878 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4879 D["\1"]=" \3\\\\\\n"\\/p
4880 t cont
4881 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4882 t cont
4884 :cont
4886 s/.\{148\}/&'"$ac_delim"'/g
4887 t clear
4888 :clear
4889 s/\\$//
4890 t bsnlc
4891 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4893 :bsnlc
4894 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4895 b cont
4896 ' <confdefs.h | sed '
4897 s/'"$ac_delim"'/"\\\
4898 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4900 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4901 for (key in D) D_is_set[key] = 1
4902 FS = "\a"
4904 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4905 line = \$ 0
4906 split(line, arg, " ")
4907 if (arg[1] == "#") {
4908 defundef = arg[2]
4909 mac1 = arg[3]
4910 } else {
4911 defundef = substr(arg[1], 2)
4912 mac1 = arg[2]
4914 split(mac1, mac2, "(") #)
4915 macro = mac2[1]
4916 prefix = substr(line, 1, index(line, defundef) - 1)
4917 if (D_is_set[macro]) {
4918 # Preserve the white space surrounding the "#".
4919 print prefix "define", macro P[macro] D[macro]
4920 next
4921 } else {
4922 # Replace #undef with comments. This is necessary, for example,
4923 # in the case of _POSIX_SOURCE, which is predefined and required
4924 # on some systems where configure will not decide to define it.
4925 if (defundef == "undef") {
4926 print "/*", prefix defundef, macro, "*/"
4927 next
4931 { print }
4932 _ACAWK
4933 _ACEOF
4934 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4935 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4936 fi # test -n "$CONFIG_HEADERS"
4939 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
4940 shift
4941 for ac_tag
4943 case $ac_tag in
4944 :[FHLC]) ac_mode=$ac_tag; continue;;
4945 esac
4946 case $ac_mode$ac_tag in
4947 :[FHL]*:*);;
4948 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4949 :[FH]-) ac_tag=-:-;;
4950 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4951 esac
4952 ac_save_IFS=$IFS
4953 IFS=:
4954 set x $ac_tag
4955 IFS=$ac_save_IFS
4956 shift
4957 ac_file=$1
4958 shift
4960 case $ac_mode in
4961 :L) ac_source=$1;;
4962 :[FH])
4963 ac_file_inputs=
4964 for ac_f
4966 case $ac_f in
4967 -) ac_f="$ac_tmp/stdin";;
4968 *) # Look for the file first in the build tree, then in the source tree
4969 # (if the path is not absolute). The absolute path cannot be DOS-style,
4970 # because $ac_f cannot contain `:'.
4971 test -f "$ac_f" ||
4972 case $ac_f in
4973 [\\/$]*) false;;
4974 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4975 esac ||
4976 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4977 esac
4978 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4979 as_fn_append ac_file_inputs " '$ac_f'"
4980 done
4982 # Let's still pretend it is `configure' which instantiates (i.e., don't
4983 # use $as_me), people would be surprised to read:
4984 # /* config.h. Generated by config.status. */
4985 configure_input='Generated from '`
4986 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4987 `' by configure.'
4988 if test x"$ac_file" != x-; then
4989 configure_input="$ac_file. $configure_input"
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4991 $as_echo "$as_me: creating $ac_file" >&6;}
4993 # Neutralize special characters interpreted by sed in replacement strings.
4994 case $configure_input in #(
4995 *\&* | *\|* | *\\* )
4996 ac_sed_conf_input=`$as_echo "$configure_input" |
4997 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4998 *) ac_sed_conf_input=$configure_input;;
4999 esac
5001 case $ac_tag in
5002 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5003 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5004 esac
5006 esac
5008 ac_dir=`$as_dirname -- "$ac_file" ||
5009 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5010 X"$ac_file" : 'X\(//\)[^/]' \| \
5011 X"$ac_file" : 'X\(//\)$' \| \
5012 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5013 $as_echo X"$ac_file" |
5014 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5015 s//\1/
5018 /^X\(\/\/\)[^/].*/{
5019 s//\1/
5022 /^X\(\/\/\)$/{
5023 s//\1/
5026 /^X\(\/\).*/{
5027 s//\1/
5030 s/.*/./; q'`
5031 as_dir="$ac_dir"; as_fn_mkdir_p
5032 ac_builddir=.
5034 case "$ac_dir" in
5035 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5037 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5038 # A ".." for each directory in $ac_dir_suffix.
5039 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5040 case $ac_top_builddir_sub in
5041 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5042 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5043 esac ;;
5044 esac
5045 ac_abs_top_builddir=$ac_pwd
5046 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5047 # for backward compatibility:
5048 ac_top_builddir=$ac_top_build_prefix
5050 case $srcdir in
5051 .) # We are building in place.
5052 ac_srcdir=.
5053 ac_top_srcdir=$ac_top_builddir_sub
5054 ac_abs_top_srcdir=$ac_pwd ;;
5055 [\\/]* | ?:[\\/]* ) # Absolute name.
5056 ac_srcdir=$srcdir$ac_dir_suffix;
5057 ac_top_srcdir=$srcdir
5058 ac_abs_top_srcdir=$srcdir ;;
5059 *) # Relative name.
5060 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5061 ac_top_srcdir=$ac_top_build_prefix$srcdir
5062 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5063 esac
5064 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5067 case $ac_mode in
5070 # CONFIG_FILE
5073 case $INSTALL in
5074 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5075 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5076 esac
5077 _ACEOF
5079 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5080 # If the template does not know about datarootdir, expand it.
5081 # FIXME: This hack should be removed a few years after 2.60.
5082 ac_datarootdir_hack=; ac_datarootdir_seen=
5083 ac_sed_dataroot='
5084 /datarootdir/ {
5088 /@datadir@/p
5089 /@docdir@/p
5090 /@infodir@/p
5091 /@localedir@/p
5092 /@mandir@/p'
5093 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5094 *datarootdir*) ac_datarootdir_seen=yes;;
5095 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5097 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5098 _ACEOF
5099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5100 ac_datarootdir_hack='
5101 s&@datadir@&$datadir&g
5102 s&@docdir@&$docdir&g
5103 s&@infodir@&$infodir&g
5104 s&@localedir@&$localedir&g
5105 s&@mandir@&$mandir&g
5106 s&\\\${datarootdir}&$datarootdir&g' ;;
5107 esac
5108 _ACEOF
5110 # Neutralize VPATH when `$srcdir' = `.'.
5111 # Shell code in configure.ac might set extrasub.
5112 # FIXME: do we really want to maintain this feature?
5113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5114 ac_sed_extra="$ac_vpsub
5115 $extrasub
5116 _ACEOF
5117 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5119 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5120 s|@configure_input@|$ac_sed_conf_input|;t t
5121 s&@top_builddir@&$ac_top_builddir_sub&;t t
5122 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5123 s&@srcdir@&$ac_srcdir&;t t
5124 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5125 s&@top_srcdir@&$ac_top_srcdir&;t t
5126 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5127 s&@builddir@&$ac_builddir&;t t
5128 s&@abs_builddir@&$ac_abs_builddir&;t t
5129 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5130 s&@INSTALL@&$ac_INSTALL&;t t
5131 $ac_datarootdir_hack
5133 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5134 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5136 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5137 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5138 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5139 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5141 which seems to be undefined. Please make sure it is defined" >&5
5142 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5143 which seems to be undefined. Please make sure it is defined" >&2;}
5145 rm -f "$ac_tmp/stdin"
5146 case $ac_file in
5147 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5148 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5149 esac \
5150 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5154 # CONFIG_HEADER
5156 if test x"$ac_file" != x-; then
5158 $as_echo "/* $configure_input */" \
5159 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5160 } >"$ac_tmp/config.h" \
5161 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5162 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5164 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5165 else
5166 rm -f "$ac_file"
5167 mv "$ac_tmp/config.h" "$ac_file" \
5168 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5170 else
5171 $as_echo "/* $configure_input */" \
5172 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5173 || as_fn_error $? "could not create -" "$LINENO" 5
5178 esac
5180 done # for ac_tag
5183 as_fn_exit 0
5184 _ACEOF
5185 ac_clean_files=$ac_clean_files_save
5187 test $ac_write_fail = 0 ||
5188 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5191 # configure is writing to config.log, and then calls config.status.
5192 # config.status does its own redirection, appending to config.log.
5193 # Unfortunately, on DOS this fails, as config.log is still kept open
5194 # by configure, so config.status won't be able to write to it; its
5195 # output is simply discarded. So we exec the FD to /dev/null,
5196 # effectively closing config.log, so it can be properly (re)opened and
5197 # appended to by config.status. When coming back to configure, we
5198 # need to make the FD available again.
5199 if test "$no_create" != yes; then
5200 ac_cs_success=:
5201 ac_config_status_args=
5202 test "$silent" = yes &&
5203 ac_config_status_args="$ac_config_status_args --quiet"
5204 exec 5>/dev/null
5205 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5206 exec 5>>config.log
5207 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5208 # would make configure fail if this is the last instruction.
5209 $ac_cs_success || as_fn_exit 1
5211 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5213 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}