2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x
; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var
in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
142 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me
=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x
; then
174 if (eval ":") 2>/dev
/null
; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev
/null
; then
240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
241 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir
=.
247 for as_base
in sh bash ksh sh5
; do
248 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
255 for as_shell
in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix
*) set -o posix
;;
277 CONFIG_SHELL
=$as_shell
279 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix
*) set -o posix
;;
305 as_func_ret_success
() {
308 as_func_ret_failure
() {
313 if as_func_success
; then
317 echo as_func_success failed.
320 if as_func_failure
; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success
; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure
; then
334 echo as_func_ret_failure succeeded.
337 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) ||
{ (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x
; then
362 for as_var
in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no
; then
371 echo This
script requires a shell
more modern than all the
372 echo shells that I found on your system. Please
install a
373 echo modern shell
, or manually run the
script under such a
374 echo shell
if you
do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") ||
{
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system
,
436 echo including any error possibly output before this message.
437 echo This can
help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x
"$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
492 ECHO_C
= ECHO_N
= ECHO_T
=
496 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
502 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
509 rm -f conf$$ conf$$.exe conf$$.
file
510 if test -d conf$$.dir
; then
511 rm -f conf$$.dir
/conf$$.
file
514 mkdir conf$$.dir
2>/dev
/null
516 if (echo >conf$$.
file) 2>/dev
/null
; then
517 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
525 elif ln conf$$.
file conf$$
2>/dev
/null
; then
533 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
534 rmdir conf$$.dir
2>/dev
/null
536 if mkdir
-p .
2>/dev
/null
; then
539 test -d .
/-p && rmdir .
/-p
543 if test -x / >/dev
/null
2>&1; then
546 if ls -dL / >/dev
/null
2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p
=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574 exec 7<&0 </dev
/null
6>&1
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 ac_default_prefix
=/usr
/local
586 ac_config_libobj_dir
=.
592 SHELL
=${CONFIG_SHELL-/bin/sh}
594 # Identity of this package.
601 ac_unique_file
="rlfe.c"
602 # Factoring default headers for most tests.
603 ac_includes_default
="\
605 #ifdef HAVE_SYS_TYPES_H
606 # include <sys/types.h>
608 #ifdef HAVE_SYS_STAT_H
609 # include <sys/stat.h>
615 # ifdef HAVE_STDLIB_H
620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
625 #ifdef HAVE_STRINGS_H
626 # include <strings.h>
628 #ifdef HAVE_INTTYPES_H
629 # include <inttypes.h>
638 ac_subst_vars
='LTLIBOBJS
681 program_transform_name
693 enable_option_checking
697 ac_precious_vars
='build_alias
708 # Initialize some variables set by options.
710 ac_init_version
=false
711 ac_unrecognized_opts
=
713 # The variables have the same names as the options, with
714 # dashes changed to underlines.
722 program_transform_name
=s
,x
,x
,
730 # Installation directory options.
731 # These are left unexpanded so users can "make install exec_prefix=/foo"
732 # and all the variables that are supposed to be based on exec_prefix
733 # by default will actually change.
734 # Use braces instead of parens because sh, perl, etc. also accept them.
735 # (The list follows the same order as the GNU Coding Standards.)
736 bindir
='${exec_prefix}/bin'
737 sbindir
='${exec_prefix}/sbin'
738 libexecdir
='${exec_prefix}/libexec'
739 datarootdir
='${prefix}/share'
740 datadir
='${datarootdir}'
741 sysconfdir
='${prefix}/etc'
742 sharedstatedir
='${prefix}/com'
743 localstatedir
='${prefix}/var'
744 includedir
='${prefix}/include'
745 oldincludedir
='/usr/include'
746 docdir
='${datarootdir}/doc/${PACKAGE}'
747 infodir
='${datarootdir}/info'
752 libdir
='${exec_prefix}/lib'
753 localedir
='${datarootdir}/locale'
754 mandir
='${datarootdir}/man'
760 # If the previous option needs an argument, assign it.
761 if test -n "$ac_prev"; then
762 eval $ac_prev=\
$ac_option
768 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
772 # Accept the important Cygnus configure options, so we can diagnose typos.
774 case $ac_dashdash$ac_option in
778 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
780 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
783 -build |
--build |
--buil |
--bui |
--bu)
784 ac_prev
=build_alias
;;
785 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
786 build_alias
=$ac_optarg ;;
788 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
789 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
790 ac_prev
=cache_file
;;
791 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
792 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
793 cache_file
=$ac_optarg ;;
796 cache_file
=config.cache
;;
798 -datadir |
--datadir |
--datadi |
--datad)
800 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
801 datadir
=$ac_optarg ;;
803 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
804 |
--dataroo |
--dataro |
--datar)
805 ac_prev
=datarootdir
;;
806 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
807 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
808 datarootdir
=$ac_optarg ;;
810 -disable-* |
--disable-*)
811 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
812 # Reject names that are not valid shell variable names.
813 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
814 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
815 { (exit 1); exit 1; }; }
816 ac_useropt_orig
=$ac_useropt
817 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
818 case $ac_user_opts in
822 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
823 ac_unrecognized_sep
=', ';;
825 eval enable_
$ac_useropt=no
;;
827 -docdir |
--docdir |
--docdi |
--doc |
--do)
829 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
832 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
834 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
837 -enable-* |
--enable-*)
838 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
839 # Reject names that are not valid shell variable names.
840 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
841 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
842 { (exit 1); exit 1; }; }
843 ac_useropt_orig
=$ac_useropt
844 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
845 case $ac_user_opts in
849 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
850 ac_unrecognized_sep
=', ';;
852 eval enable_
$ac_useropt=\
$ac_optarg ;;
854 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
855 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
856 |
--exec |
--exe |
--ex)
857 ac_prev
=exec_prefix
;;
858 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
859 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
860 |
--exec=* |
--exe=* |
--ex=*)
861 exec_prefix
=$ac_optarg ;;
863 -gas |
--gas |
--ga |
--g)
864 # Obsolete; use --with-gas.
867 -help |
--help |
--hel |
--he |
-h)
869 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
870 ac_init_help
=recursive
;;
871 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
872 ac_init_help
=short
;;
874 -host |
--host |
--hos |
--ho)
875 ac_prev
=host_alias
;;
876 -host=* |
--host=* |
--hos=* |
--ho=*)
877 host_alias
=$ac_optarg ;;
879 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
881 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
883 htmldir
=$ac_optarg ;;
885 -includedir |
--includedir |
--includedi |
--included |
--include \
886 |
--includ |
--inclu |
--incl |
--inc)
887 ac_prev
=includedir
;;
888 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
889 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
890 includedir
=$ac_optarg ;;
892 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
894 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
895 infodir
=$ac_optarg ;;
897 -libdir |
--libdir |
--libdi |
--libd)
899 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
902 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
903 |
--libexe |
--libex |
--libe)
904 ac_prev
=libexecdir
;;
905 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
906 |
--libexe=* |
--libex=* |
--libe=*)
907 libexecdir
=$ac_optarg ;;
909 -localedir |
--localedir |
--localedi |
--localed |
--locale)
911 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
912 localedir
=$ac_optarg ;;
914 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
915 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
916 ac_prev
=localstatedir
;;
917 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
918 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
919 localstatedir
=$ac_optarg ;;
921 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
923 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
927 # Obsolete; use --without-fp.
930 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
931 |
--no-cr |
--no-c |
-n)
934 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
935 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
938 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
939 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
940 |
--oldin |
--oldi |
--old |
--ol |
--o)
941 ac_prev
=oldincludedir
;;
942 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
943 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
944 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
945 oldincludedir
=$ac_optarg ;;
947 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
949 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
952 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
953 |
--program-pre |
--program-pr |
--program-p)
954 ac_prev
=program_prefix
;;
955 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
956 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
957 program_prefix
=$ac_optarg ;;
959 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
960 |
--program-suf |
--program-su |
--program-s)
961 ac_prev
=program_suffix
;;
962 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
963 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
964 program_suffix
=$ac_optarg ;;
966 -program-transform-name |
--program-transform-name \
967 |
--program-transform-nam |
--program-transform-na \
968 |
--program-transform-n |
--program-transform- \
969 |
--program-transform |
--program-transfor \
970 |
--program-transfo |
--program-transf \
971 |
--program-trans |
--program-tran \
972 |
--progr-tra |
--program-tr |
--program-t)
973 ac_prev
=program_transform_name
;;
974 -program-transform-name=* |
--program-transform-name=* \
975 |
--program-transform-nam=* |
--program-transform-na=* \
976 |
--program-transform-n=* |
--program-transform-=* \
977 |
--program-transform=* |
--program-transfor=* \
978 |
--program-transfo=* |
--program-transf=* \
979 |
--program-trans=* |
--program-tran=* \
980 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
981 program_transform_name
=$ac_optarg ;;
983 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
985 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
988 -psdir |
--psdir |
--psdi |
--psd |
--ps)
990 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
993 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
994 |
-silent |
--silent |
--silen |
--sile |
--sil)
997 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
999 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1001 sbindir
=$ac_optarg ;;
1003 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1004 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1005 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1007 ac_prev
=sharedstatedir
;;
1008 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1009 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1010 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1012 sharedstatedir
=$ac_optarg ;;
1014 -site |
--site |
--sit)
1016 -site=* |
--site=* |
--sit=*)
1019 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1021 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1022 srcdir
=$ac_optarg ;;
1024 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1025 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1026 ac_prev
=sysconfdir
;;
1027 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1028 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1029 sysconfdir
=$ac_optarg ;;
1031 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1032 ac_prev
=target_alias
;;
1033 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1034 target_alias
=$ac_optarg ;;
1036 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1039 -version |
--version |
--versio |
--versi |
--vers |
-V)
1040 ac_init_version
=: ;;
1043 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1046 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1047 { (exit 1); exit 1; }; }
1048 ac_useropt_orig
=$ac_useropt
1049 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1050 case $ac_user_opts in
1054 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1055 ac_unrecognized_sep
=', ';;
1057 eval with_
$ac_useropt=\
$ac_optarg ;;
1059 -without-* |
--without-*)
1060 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1061 # Reject names that are not valid shell variable names.
1062 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1063 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1064 { (exit 1); exit 1; }; }
1065 ac_useropt_orig
=$ac_useropt
1066 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1067 case $ac_user_opts in
1071 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1072 ac_unrecognized_sep
=', ';;
1074 eval with_
$ac_useropt=no
;;
1077 # Obsolete; use --with-x.
1080 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1081 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1082 ac_prev
=x_includes
;;
1083 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1084 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1085 x_includes
=$ac_optarg ;;
1087 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1088 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1089 ac_prev
=x_libraries
;;
1090 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1091 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1092 x_libraries
=$ac_optarg ;;
1094 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1095 Try \`$0 --help' for more information." >&2
1096 { (exit 1); exit 1; }; }
1100 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1101 # Reject names that are not valid shell variable names.
1102 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1103 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1104 { (exit 1); exit 1; }; }
1105 eval $ac_envvar=\
$ac_optarg
1106 export $ac_envvar ;;
1109 # FIXME: should be removed in autoconf 3.0.
1110 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1111 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1112 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1113 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1119 if test -n "$ac_prev"; then
1120 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1121 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1122 { (exit 1); exit 1; }; }
1125 if test -n "$ac_unrecognized_opts"; then
1126 case $enable_option_checking in
1128 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1129 { (exit 1); exit 1; }; } ;;
1130 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1134 # Check all directory arguments for consistency.
1135 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1136 datadir sysconfdir sharedstatedir localstatedir includedir \
1137 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1138 libdir localedir mandir
1140 eval ac_val
=\$
$ac_var
1141 # Remove trailing slashes.
1144 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1145 eval $ac_var=\
$ac_val;;
1147 # Be sure to have absolute directory names.
1149 [\\/$
]* | ?
:[\\/]* ) continue;;
1150 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1152 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1153 { (exit 1); exit 1; }; }
1156 # There might be people who depend on the old broken behavior: `$host'
1157 # used to hold the argument of --host etc.
1158 # FIXME: To remove some day.
1161 target
=$target_alias
1163 # FIXME: To remove some day.
1164 if test "x$host_alias" != x
; then
1165 if test "x$build_alias" = x
; then
1166 cross_compiling
=maybe
1167 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1168 If a cross compiler is detected then cross compile mode will be used." >&2
1169 elif test "x$build_alias" != "x$host_alias"; then
1175 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1177 test "$silent" = yes && exec 6>/dev
/null
1180 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1181 ac_ls_di
=`ls -di .` &&
1182 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1183 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1184 { (exit 1); exit 1; }; }
1185 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1186 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1187 { (exit 1); exit 1; }; }
1190 # Find the source files, if location was not specified.
1191 if test -z "$srcdir"; then
1192 ac_srcdir_defaulted
=yes
1193 # Try the directory containing this script, then the parent directory.
1194 ac_confdir
=`$as_dirname -- "$as_myself" ||
1195 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1196 X"$as_myself" : 'X\(//\)[^/]' \| \
1197 X"$as_myself" : 'X\(//\)$' \| \
1198 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1199 $as_echo X"$as_myself" |
1200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1218 if test ! -r "$srcdir/$ac_unique_file"; then
1222 ac_srcdir_defaulted
=no
1224 if test ! -r "$srcdir/$ac_unique_file"; then
1225 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1226 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1227 { (exit 1); exit 1; }; }
1229 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1231 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1232 { (exit 1); exit 1; }; }
1234 # When building in place, set srcdir=.
1235 if test "$ac_abs_confdir" = "$ac_pwd"; then
1238 # Remove unnecessary trailing slashes from srcdir.
1239 # Double slashes in file names in object file debugging info
1240 # mess up M-x gdb in Emacs.
1242 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1244 for ac_var
in $ac_precious_vars; do
1245 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1246 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1247 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1248 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1252 # Report the --help message.
1254 if test "$ac_init_help" = "long"; then
1255 # Omit some internal or obsolete options to make the list less imposing.
1256 # This message is too long to be a string in the A/UX 3.1 sh.
1258 \`configure' configures this package to adapt to many kinds of systems.
1260 Usage: $0 [OPTION]... [VAR=VALUE]...
1262 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1263 VAR=VALUE. See below for descriptions of some of the useful variables.
1265 Defaults for the options are specified in brackets.
1268 -h, --help display this help and exit
1269 --help=short display options specific to this package
1270 --help=recursive display the short help of all the included packages
1271 -V, --version display version information and exit
1272 -q, --quiet, --silent do not print \`checking...' messages
1273 --cache-file=FILE cache test results in FILE [disabled]
1274 -C, --config-cache alias for \`--cache-file=config.cache'
1275 -n, --no-create do not create output files
1276 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1278 Installation directories:
1279 --prefix=PREFIX install architecture-independent files in PREFIX
1280 [$ac_default_prefix]
1281 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1284 By default, \`make install' will install all the files in
1285 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1286 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1287 for instance \`--prefix=\$HOME'.
1289 For better control, use the options below.
1291 Fine tuning of the installation directories:
1292 --bindir=DIR user executables [EPREFIX/bin]
1293 --sbindir=DIR system admin executables [EPREFIX/sbin]
1294 --libexecdir=DIR program executables [EPREFIX/libexec]
1295 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1296 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1297 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1298 --libdir=DIR object code libraries [EPREFIX/lib]
1299 --includedir=DIR C header files [PREFIX/include]
1300 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1301 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1302 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1303 --infodir=DIR info documentation [DATAROOTDIR/info]
1304 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1305 --mandir=DIR man documentation [DATAROOTDIR/man]
1306 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1307 --htmldir=DIR html documentation [DOCDIR]
1308 --dvidir=DIR dvi documentation [DOCDIR]
1309 --pdfdir=DIR pdf documentation [DOCDIR]
1310 --psdir=DIR ps documentation [DOCDIR]
1317 if test -n "$ac_init_help"; then
1322 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1323 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1324 --with-pty-mode=mode default mode
for ptys
1325 --with-pty-group=group default group
for ptys
1327 Some influential environment variables
:
1328 CC C compiler
command
1329 CFLAGS C compiler flags
1330 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1331 nonstandard directory
<lib dir
>
1332 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1333 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1334 you have headers
in a nonstandard directory
<include dir
>
1337 Use these variables to override the choices made by
`configure' or to help
1338 it to find libraries and programs with nonstandard names/locations.
1344 if test "$ac_init_help" = "recursive"; then
1345 # If there are subdirs, report their specific --help.
1346 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1347 test -d "$ac_dir" ||
1348 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1353 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1355 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1356 # A ".." for each directory in $ac_dir_suffix.
1357 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1358 case $ac_top_builddir_sub in
1359 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1360 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1363 ac_abs_top_builddir=$ac_pwd
1364 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1365 # for backward compatibility:
1366 ac_top_builddir=$ac_top_build_prefix
1369 .) # We are building in place.
1371 ac_top_srcdir=$ac_top_builddir_sub
1372 ac_abs_top_srcdir=$ac_pwd ;;
1373 [\\/]* | ?:[\\/]* ) # Absolute name.
1374 ac_srcdir=$srcdir$ac_dir_suffix;
1375 ac_top_srcdir=$srcdir
1376 ac_abs_top_srcdir=$srcdir ;;
1378 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1379 ac_top_srcdir=$ac_top_build_prefix$srcdir
1380 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1382 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1384 cd "$ac_dir" || { ac_status=$?; continue; }
1385 # Check for guested configure.
1386 if test -f "$ac_srcdir/configure.gnu"; then
1388 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1389 elif test -f "$ac_srcdir/configure"; then
1391 $SHELL "$ac_srcdir/configure" --help=recursive
1393 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1395 cd "$ac_pwd" || { ac_status=$?; break; }
1399 test -n "$ac_init_help" && exit $ac_status
1400 if $ac_init_version; then
1403 generated by GNU Autoconf 2.63
1405 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1406 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1407 This configure script is free software; the Free Software Foundation
1408 gives unlimited permission to copy, distribute and modify it.
1412 cat >config.log <<_ACEOF
1413 This file contains any messages produced by compilers while
1414 running configure, to aid debugging if configure makes a mistake.
1416 It was created by $as_me, which was
1417 generated by GNU Autoconf 2.63. Invocation command line was
1429 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1430 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1431 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1432 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1433 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1435 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1436 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1438 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1439 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1440 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1441 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1442 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1443 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1444 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1452 test -z "$as_dir" && as_dir=.
1453 $as_echo "PATH: $as_dir"
1469 # Keep a trace of the command line.
1470 # Strip out --no-create and --no-recursion so they do not pile up.
1471 # Strip out --silent because we don't want to record it for future runs.
1472 # Also quote any args containing shell meta-characters.
1473 # Make two passes to allow for proper duplicate-argument suppression.
1477 ac_must_keep_next=false
1483 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1484 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1485 | -silent | --silent | --silen | --sile | --sil)
1488 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1491 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1493 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1494 if test $ac_must_keep_next = true; then
1495 ac_must_keep_next=false # Got value, back to normal.
1498 *=* | --config-cache | -C | -disable-* | --disable-* \
1499 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1500 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1501 | -with-* | --with-* | -without-* | --without-* | --x)
1502 case "$ac_configure_args0 " in
1503 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1506 -* ) ac_must_keep_next=true ;;
1509 ac_configure_args="$ac_configure_args '$ac_arg'"
1514 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1515 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1517 # When interrupted or exit'd, cleanup temporary files, and complete
1518 # config.log. We remove comments because anyway the quotes in there
1519 # would cause problems or look ugly.
1520 # WARNING: Use '\'' to represent an apostrophe within the trap.
1521 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1522 trap 'exit_status=$?
1523 # Save into config.log some information that might help in debugging.
1528 ## ---------------- ##
1529 ## Cache variables. ##
1530 ## ---------------- ##
1533 # The following way of writing the cache mishandles newlines in values,
1535 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1536 eval ac_val=\$$ac_var
1540 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1541 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1544 _ | IFS | as_nl) ;; #(
1545 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1546 *) $as_unset $ac_var ;;
1551 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1552 *${as_nl}ac_space=\ *)
1554 "s/'\''/'\''\\\\'\'''\''/g;
1555 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1558 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1566 ## ----------------- ##
1567 ## Output variables. ##
1568 ## ----------------- ##
1571 for ac_var in $ac_subst_vars
1573 eval ac_val=\$$ac_var
1575 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1577 $as_echo "$ac_var='\''$ac_val'\''"
1581 if test -n "$ac_subst_files"; then
1583 ## ------------------- ##
1584 ## File substitutions. ##
1585 ## ------------------- ##
1588 for ac_var in $ac_subst_files
1590 eval ac_val=\$$ac_var
1592 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1594 $as_echo "$ac_var='\''$ac_val'\''"
1599 if test -s confdefs.h; then
1609 test "$ac_signal" != 0 &&
1610 $as_echo "$as_me: caught signal $ac_signal"
1611 $as_echo "$as_me: exit $exit_status"
1613 rm -f core *.core core.conftest.* &&
1614 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1617 for ac_signal in 1 2 13 15; do
1618 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1622 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1623 rm -f -r conftest* confdefs.h
1625 # Predefined preprocessor variables.
1627 cat >>confdefs.h <<_ACEOF
1628 #define PACKAGE_NAME "$PACKAGE_NAME"
1632 cat >>confdefs.h <<_ACEOF
1633 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1637 cat >>confdefs.h <<_ACEOF
1638 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1642 cat >>confdefs.h <<_ACEOF
1643 #define PACKAGE_STRING "$PACKAGE_STRING"
1647 cat >>confdefs.h <<_ACEOF
1648 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1652 # Let the site file select an alternate cache file if it wants to.
1653 # Prefer an explicitly selected file to automatically selected ones.
1656 if test -n "$CONFIG_SITE"; then
1657 ac_site_file1=$CONFIG_SITE
1658 elif test "x$prefix" != xNONE; then
1659 ac_site_file1=$prefix/share/config.site
1660 ac_site_file2=$prefix/etc/config.site
1662 ac_site_file1=$ac_default_prefix/share/config.site
1663 ac_site_file2=$ac_default_prefix/etc/config.site
1665 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1667 test "x$ac_site_file" = xNONE && continue
1668 if test -r "$ac_site_file"; then
1669 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1670 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1671 sed 's/^/| /' "$ac_site_file" >&5
1676 if test -r "$cache_file"; then
1677 # Some versions of bash will fail to source /dev/null (special
1678 # files actually), so we avoid doing that.
1679 if test -f "$cache_file"; then
1680 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1681 $as_echo "$as_me: loading cache $cache_file" >&6;}
1683 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1684 *) . "./$cache_file";;
1688 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1689 $as_echo "$as_me: creating cache $cache_file" >&6;}
1693 # Check that the precious variables saved in the cache have kept the same
1695 ac_cache_corrupted=false
1696 for ac_var in $ac_precious_vars; do
1697 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1698 eval ac_new_set=\$ac_env_${ac_var}_set
1699 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1700 eval ac_new_val=\$ac_env_${ac_var}_value
1701 case $ac_old_set,$ac_new_set in
1703 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1704 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1705 ac_cache_corrupted=: ;;
1707 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1708 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1709 ac_cache_corrupted=: ;;
1712 if test "x$ac_old_val" != "x$ac_new_val"; then
1713 # differences in whitespace do not lead to failure.
1714 ac_old_val_w=`echo x
$ac_old_val`
1715 ac_new_val_w=`echo x
$ac_new_val`
1716 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1717 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1718 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1719 ac_cache_corrupted=:
1721 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1722 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1723 eval $ac_var=\$ac_old_val
1725 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1726 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1727 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1728 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1731 # Pass precious variables to config.status.
1732 if test "$ac_new_set" = set; then
1734 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1735 *) ac_arg=$ac_var=$ac_new_val ;;
1737 case " $ac_configure_args " in
1738 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1739 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1743 if $ac_cache_corrupted; then
1744 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1746 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1747 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1748 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
1749 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
1750 { (exit 1); exit 1; }; }
1770 ac_cpp='$CPP $CPPFLAGS'
1771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1776 ac_config_headers="$ac_config_headers config.h
"
1782 old_CFLAGS="$CFLAGS"
1784 ac_cpp='$CPP $CPPFLAGS'
1785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1788 if test -n "$ac_tool_prefix"; then
1789 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
1790 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1791 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
1792 $as_echo_n "checking
for $ac_word...
" >&6; }
1793 if test "${ac_cv_prog_CC+set}" = set; then
1794 $as_echo_n "(cached
) " >&6
1796 if test -n "$CC"; then
1797 ac_cv_prog_CC="$CC" # Let the user override the test.
1799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1803 test -z "$as_dir" && as_dir=.
1804 for ac_exec_ext in '' $ac_executable_extensions; do
1805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1806 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
1807 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1817 if test -n "$CC"; then
1818 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
1819 $as_echo "$CC" >&6; }
1821 { $as_echo "$as_me:$LINENO: result
: no
" >&5
1822 $as_echo "no
" >&6; }
1827 if test -z "$ac_cv_prog_CC"; then
1829 # Extract the first word of "gcc
", so it can be a program name with args.
1830 set dummy gcc; ac_word=$2
1831 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
1832 $as_echo_n "checking
for $ac_word...
" >&6; }
1833 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1834 $as_echo_n "(cached
) " >&6
1836 if test -n "$ac_ct_CC"; then
1837 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1843 test -z "$as_dir" && as_dir=.
1844 for ac_exec_ext in '' $ac_executable_extensions; do
1845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1846 ac_cv_prog_ac_ct_CC="gcc
"
1847 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1856 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1857 if test -n "$ac_ct_CC"; then
1858 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
1859 $as_echo "$ac_ct_CC" >&6; }
1861 { $as_echo "$as_me:$LINENO: result
: no
" >&5
1862 $as_echo "no
" >&6; }
1865 if test "x
$ac_ct_CC" = x; then
1868 case $cross_compiling:$ac_tool_warned in
1870 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
1871 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
1872 ac_tool_warned=yes ;;
1880 if test -z "$CC"; then
1881 if test -n "$ac_tool_prefix"; then
1882 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
1883 set dummy ${ac_tool_prefix}cc; ac_word=$2
1884 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
1885 $as_echo_n "checking
for $ac_word...
" >&6; }
1886 if test "${ac_cv_prog_CC+set}" = set; then
1887 $as_echo_n "(cached
) " >&6
1889 if test -n "$CC"; then
1890 ac_cv_prog_CC="$CC" # Let the user override the test.
1892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1896 test -z "$as_dir" && as_dir=.
1897 for ac_exec_ext in '' $ac_executable_extensions; do
1898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1899 ac_cv_prog_CC="${ac_tool_prefix}cc
"
1900 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1910 if test -n "$CC"; then
1911 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
1912 $as_echo "$CC" >&6; }
1914 { $as_echo "$as_me:$LINENO: result
: no
" >&5
1915 $as_echo "no
" >&6; }
1921 if test -z "$CC"; then
1922 # Extract the first word of "cc
", so it can be a program name with args.
1923 set dummy cc; ac_word=$2
1924 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
1925 $as_echo_n "checking
for $ac_word...
" >&6; }
1926 if test "${ac_cv_prog_CC+set}" = set; then
1927 $as_echo_n "(cached
) " >&6
1929 if test -n "$CC"; then
1930 ac_cv_prog_CC="$CC" # Let the user override the test.
1933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1937 test -z "$as_dir" && as_dir=.
1938 for ac_exec_ext in '' $ac_executable_extensions; do
1939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1940 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
1941 ac_prog_rejected=yes
1945 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1952 if test $ac_prog_rejected = yes; then
1953 # We found a bogon in the path, so make sure we never use it.
1954 set dummy $ac_cv_prog_CC
1956 if test $# != 0; then
1957 # We chose a different compiler from the bogus one.
1958 # However, it has the same basename, so the bogon will be chosen
1959 # first if we set CC to just the basename; use the full file name.
1961 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
1967 if test -n "$CC"; then
1968 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
1969 $as_echo "$CC" >&6; }
1971 { $as_echo "$as_me:$LINENO: result
: no
" >&5
1972 $as_echo "no
" >&6; }
1977 if test -z "$CC"; then
1978 if test -n "$ac_tool_prefix"; then
1979 for ac_prog in cl.exe
1981 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1982 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1983 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
1984 $as_echo_n "checking
for $ac_word...
" >&6; }
1985 if test "${ac_cv_prog_CC+set}" = set; then
1986 $as_echo_n "(cached
) " >&6
1988 if test -n "$CC"; then
1989 ac_cv_prog_CC="$CC" # Let the user override the test.
1991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1995 test -z "$as_dir" && as_dir=.
1996 for ac_exec_ext in '' $ac_executable_extensions; do
1997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1998 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1999 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2009 if test -n "$CC"; then
2010 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2011 $as_echo "$CC" >&6; }
2013 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2014 $as_echo "no
" >&6; }
2018 test -n "$CC" && break
2021 if test -z "$CC"; then
2023 for ac_prog in cl.exe
2025 # Extract the first word of "$ac_prog", so it can be a program name with args.
2026 set dummy $ac_prog; ac_word=$2
2027 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2028 $as_echo_n "checking
for $ac_word...
" >&6; }
2029 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2030 $as_echo_n "(cached
) " >&6
2032 if test -n "$ac_ct_CC"; then
2033 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2039 test -z "$as_dir" && as_dir=.
2040 for ac_exec_ext in '' $ac_executable_extensions; do
2041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2042 ac_cv_prog_ac_ct_CC="$ac_prog"
2043 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2052 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2053 if test -n "$ac_ct_CC"; then
2054 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2055 $as_echo "$ac_ct_CC" >&6; }
2057 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2058 $as_echo "no
" >&6; }
2062 test -n "$ac_ct_CC" && break
2065 if test "x
$ac_ct_CC" = x; then
2068 case $cross_compiling:$ac_tool_warned in
2070 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2071 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2072 ac_tool_warned=yes ;;
2081 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2083 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2084 See \`config.log' for more details.
" >&5
2085 $as_echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
2086 See \
`config.log' for more details." >&2;}
2087 { (exit 1); exit 1; }; }; }
2089 # Provide some information about the compiler.
2090 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2093 { (ac_try="$ac_compiler --version >&5"
2095 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2096 *) ac_try_echo
=$ac_try;;
2098 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2099 $as_echo "$ac_try_echo") >&5
2100 (eval "$ac_compiler --version >&5") 2>&5
2102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2103 (exit $ac_status); }
2104 { (ac_try
="$ac_compiler -v >&5"
2106 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2107 *) ac_try_echo=$ac_try;;
2109 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2110 $as_echo "$ac_try_echo") >&5
2111 (eval "$ac_compiler -v >&5") 2>&5
2113 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2114 (exit $ac_status); }
2115 { (ac_try="$ac_compiler -V >&5"
2117 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2118 *) ac_try_echo
=$ac_try;;
2120 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2121 $as_echo "$ac_try_echo") >&5
2122 (eval "$ac_compiler -V >&5") 2>&5
2124 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2125 (exit $ac_status); }
2127 cat >conftest.
$ac_ext <<_ACEOF
2130 cat confdefs.h
>>conftest.
$ac_ext
2131 cat >>conftest.
$ac_ext <<_ACEOF
2132 /* end confdefs.h. */
2142 ac_clean_files_save
=$ac_clean_files
2143 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2144 # Try to create an executable without -o first, disregard a.out.
2145 # It will help us diagnose broken compilers, and finding out an intuition
2147 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2148 $as_echo_n "checking for C compiler default output file name... " >&6; }
2149 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2151 # The possible output files:
2152 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2155 for ac_file
in $ac_files
2158 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2159 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2164 if { (ac_try
="$ac_link_default"
2166 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2167 *) ac_try_echo=$ac_try;;
2169 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2170 $as_echo "$ac_try_echo") >&5
2171 (eval "$ac_link_default") 2>&5
2173 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2174 (exit $ac_status); }; then
2175 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2176 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2177 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2178 # so that the user can short-circuit this test for compilers unknown to
2180 for ac_file in $ac_files ''
2182 test -f "$ac_file" || continue
2184 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2187 # We found the default executable, but exeext='' is most
2191 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2193 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2195 # We set ac_cv_exeext here because the later test for it is not
2196 # safe: cross compilers may not add the suffix if given an `-o'
2197 # argument, so we may need to know it at that point already.
2198 # Even if this section looks crufty: it has the advantage of
2205 test "$ac_cv_exeext" = no && ac_cv_exeext=
2211 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2212 $as_echo "$ac_file" >&6; }
2213 if test -z "$ac_file"; then
2214 $as_echo "$as_me: failed program was:" >&5
2215 sed 's
/^
/|
/' conftest.$ac_ext >&5
2217 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2218 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2219 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2220 See \`config.log
' for more details." >&5
2221 $as_echo "$as_me: error: C compiler cannot create executables
2222 See \`config.log' for more details.
" >&2;}
2223 { (exit 77); exit 77; }; }; }
2226 ac_exeext=$ac_cv_exeext
2228 # Check that the compiler produces executables we can run. If not, either
2229 # the compiler is broken, or we cross compile.
2230 { $as_echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
2231 $as_echo_n "checking whether the C compiler works...
" >&6; }
2232 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2233 # If not cross compiling, check that we can run a simple program.
2234 if test "$cross_compiling" != yes; then
2235 if { ac_try='./$ac_file'
2236 { (case "(($ac_try" in
2237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2238 *) ac_try_echo=$ac_try;;
2240 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2241 $as_echo "$ac_try_echo") >&5
2242 (eval "$ac_try") 2>&5
2244 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2245 (exit $ac_status); }; }; then
2248 if test "$cross_compiling" = maybe; then
2251 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2253 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2254 If you meant to cross compile, use \`--host'.
2255 See \
`config.log' for more details." >&5
2256 $as_echo "$as_me: error: cannot run C compiled programs.
2257 If you meant to cross compile, use \`--host'.
2258 See \`config.log' for more details.
" >&2;}
2259 { (exit 1); exit 1; }; }; }
2263 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2264 $as_echo "yes" >&6; }
2266 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2267 ac_clean_files=$ac_clean_files_save
2268 # Check that the compiler produces executables we can run. If not, either
2269 # the compiler is broken, or we cross compile.
2270 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2271 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2272 { $as_echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2273 $as_echo "$cross_compiling" >&6; }
2275 { $as_echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2276 $as_echo_n "checking
for suffix of executables...
" >&6; }
2277 if { (ac_try="$ac_link"
2279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2280 *) ac_try_echo=$ac_try;;
2282 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2283 $as_echo "$ac_try_echo") >&5
2284 (eval "$ac_link") 2>&5
2286 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2287 (exit $ac_status); }; then
2288 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2289 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2290 # work properly (i.e., refer to `conftest.exe'), while it won't with
2292 for ac_file in conftest.exe conftest conftest.*; do
2293 test -f "$ac_file" || continue
2295 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2296 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2302 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2304 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2305 See \`config.log' for more details.
" >&5
2306 $as_echo "$as_me: error
: cannot compute suffix of executables
: cannot compile and link
2307 See \
`config.log' for more details." >&2;}
2308 { (exit 1); exit 1; }; }; }
2311 rm -f conftest$ac_cv_exeext
2312 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2313 $as_echo "$ac_cv_exeext" >&6; }
2315 rm -f conftest.$ac_ext
2316 EXEEXT=$ac_cv_exeext
2318 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2319 $as_echo_n "checking for suffix of object files... " >&6; }
2320 if test "${ac_cv_objext+set}" = set; then
2321 $as_echo_n "(cached) " >&6
2323 cat >conftest.$ac_ext <<_ACEOF
2326 cat confdefs.h >>conftest.$ac_ext
2327 cat >>conftest.$ac_ext <<_ACEOF
2328 /* end confdefs.h. */
2338 rm -f conftest.o conftest.obj
2339 if { (ac_try="$ac_compile"
2341 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2342 *) ac_try_echo
=$ac_try;;
2344 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2345 $as_echo "$ac_try_echo") >&5
2346 (eval "$ac_compile") 2>&5
2348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349 (exit $ac_status); }; then
2350 for ac_file
in conftest.o conftest.obj conftest.
*; do
2351 test -f "$ac_file" ||
continue;
2353 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2354 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2359 $as_echo "$as_me: failed program was:" >&5
2360 sed 's/^/| /' conftest.
$ac_ext >&5
2362 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2363 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2364 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2365 See \`config.log' for more details." >&5
2366 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2367 See \`config.log' for more details." >&2;}
2368 { (exit 1); exit 1; }; }; }
2371 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2373 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2374 $as_echo "$ac_cv_objext" >&6; }
2375 OBJEXT
=$ac_cv_objext
2377 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2378 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2379 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2380 $as_echo_n "(cached) " >&6
2382 cat >conftest.
$ac_ext <<_ACEOF
2385 cat confdefs.h
>>conftest.
$ac_ext
2386 cat >>conftest.
$ac_ext <<_ACEOF
2387 /* end confdefs.h. */
2400 rm -f conftest.
$ac_objext
2401 if { (ac_try
="$ac_compile"
2403 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2404 *) ac_try_echo=$ac_try;;
2406 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2407 $as_echo "$ac_try_echo") >&5
2408 (eval "$ac_compile") 2>conftest.er1
2410 grep -v '^ *+' conftest.er1 >conftest.err
2412 cat conftest.err >&5
2413 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414 (exit $ac_status); } && {
2415 test -z "$ac_c_werror_flag" ||
2416 test ! -s conftest.err
2417 } && test -s conftest.$ac_objext; then
2420 $as_echo "$as_me: failed program was:" >&5
2421 sed 's/^/| /' conftest.$ac_ext >&5
2426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2427 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2430 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2431 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2432 if test $ac_compiler_gnu = yes; then
2437 ac_test_CFLAGS=${CFLAGS+set}
2438 ac_save_CFLAGS=$CFLAGS
2439 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2440 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2441 if test "${ac_cv_prog_cc_g+set}" = set; then
2442 $as_echo_n "(cached) " >&6
2444 ac_save_c_werror_flag=$ac_c_werror_flag
2445 ac_c_werror_flag=yes
2448 cat >conftest.$ac_ext <<_ACEOF
2451 cat confdefs.h >>conftest.$ac_ext
2452 cat >>conftest.$ac_ext <<_ACEOF
2453 /* end confdefs.h. */
2463 rm -f conftest.$ac_objext
2464 if { (ac_try="$ac_compile"
2466 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2467 *) ac_try_echo
=$ac_try;;
2469 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2470 $as_echo "$ac_try_echo") >&5
2471 (eval "$ac_compile") 2>conftest.er1
2473 grep -v '^ *+' conftest.er1
>conftest.err
2475 cat conftest.err
>&5
2476 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2477 (exit $ac_status); } && {
2478 test -z "$ac_c_werror_flag" ||
2479 test ! -s conftest.err
2480 } && test -s conftest.
$ac_objext; then
2483 $as_echo "$as_me: failed program was:" >&5
2484 sed 's/^/| /' conftest.
$ac_ext >&5
2487 cat >conftest.
$ac_ext <<_ACEOF
2490 cat confdefs.h
>>conftest.
$ac_ext
2491 cat >>conftest.
$ac_ext <<_ACEOF
2492 /* end confdefs.h. */
2502 rm -f conftest.
$ac_objext
2503 if { (ac_try
="$ac_compile"
2505 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2506 *) ac_try_echo=$ac_try;;
2508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2509 $as_echo "$ac_try_echo") >&5
2510 (eval "$ac_compile") 2>conftest.er1
2512 grep -v '^ *+' conftest.er1 >conftest.err
2514 cat conftest.err >&5
2515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516 (exit $ac_status); } && {
2517 test -z "$ac_c_werror_flag" ||
2518 test ! -s conftest.err
2519 } && test -s conftest.$ac_objext; then
2522 $as_echo "$as_me: failed program was:" >&5
2523 sed 's/^/| /' conftest.$ac_ext >&5
2525 ac_c_werror_flag=$ac_save_c_werror_flag
2527 cat >conftest.$ac_ext <<_ACEOF
2530 cat confdefs.h >>conftest.$ac_ext
2531 cat >>conftest.$ac_ext <<_ACEOF
2532 /* end confdefs.h. */
2542 rm -f conftest.$ac_objext
2543 if { (ac_try="$ac_compile"
2545 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2546 *) ac_try_echo
=$ac_try;;
2548 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2549 $as_echo "$ac_try_echo") >&5
2550 (eval "$ac_compile") 2>conftest.er1
2552 grep -v '^ *+' conftest.er1
>conftest.err
2554 cat conftest.err
>&5
2555 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2556 (exit $ac_status); } && {
2557 test -z "$ac_c_werror_flag" ||
2558 test ! -s conftest.err
2559 } && test -s conftest.
$ac_objext; then
2562 $as_echo "$as_me: failed program was:" >&5
2563 sed 's/^/| /' conftest.
$ac_ext >&5
2568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2575 ac_c_werror_flag
=$ac_save_c_werror_flag
2577 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2578 $as_echo "$ac_cv_prog_cc_g" >&6; }
2579 if test "$ac_test_CFLAGS" = set; then
2580 CFLAGS
=$ac_save_CFLAGS
2581 elif test $ac_cv_prog_cc_g = yes; then
2582 if test "$GCC" = yes; then
2588 if test "$GCC" = yes; then
2594 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2595 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2596 if test "${ac_cv_prog_cc_c89+set}" = set; then
2597 $as_echo_n "(cached) " >&6
2599 ac_cv_prog_cc_c89
=no
2601 cat >conftest.
$ac_ext <<_ACEOF
2604 cat confdefs.h
>>conftest.
$ac_ext
2605 cat >>conftest.
$ac_ext <<_ACEOF
2606 /* end confdefs.h. */
2609 #include <sys/types.h>
2610 #include <sys/stat.h>
2611 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2612 struct buf { int x; };
2613 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2614 static char *e (p, i)
2620 static char *f (char * (*g) (char **, int), char **p, ...)
2625 s = g (p, va_arg (v,int));
2630 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2631 function prototypes and stuff, but not '\xHH' hex character constants.
2632 These don't provoke an error unfortunately, instead are silently treated
2633 as 'x'. The following induces an error, until -std is added to get
2634 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2635 array size at least. It's necessary to write '\x00'==0 to get something
2636 that's true only with -std. */
2637 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2639 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2640 inside strings and character constants. */
2642 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2644 int test (int i, double x);
2645 struct s1 {int (*f) (int a);};
2646 struct s2 {int (*f) (double a);};
2647 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2653 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2658 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
2659 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2661 CC
="$ac_save_CC $ac_arg"
2662 rm -f conftest.
$ac_objext
2663 if { (ac_try
="$ac_compile"
2665 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2666 *) ac_try_echo=$ac_try;;
2668 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2669 $as_echo "$ac_try_echo") >&5
2670 (eval "$ac_compile") 2>conftest.er1
2672 grep -v '^ *+' conftest.er1 >conftest.err
2674 cat conftest.err >&5
2675 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 (exit $ac_status); } && {
2677 test -z "$ac_c_werror_flag" ||
2678 test ! -s conftest.err
2679 } && test -s conftest.$ac_objext; then
2680 ac_cv_prog_cc_c89=$ac_arg
2682 $as_echo "$as_me: failed program was:" >&5
2683 sed 's/^/| /' conftest.$ac_ext >&5
2688 rm -f core conftest.err conftest.$ac_objext
2689 test "x$ac_cv_prog_cc_c89" != "xno" && break
2691 rm -f conftest.$ac_ext
2696 case "x$ac_cv_prog_cc_c89" in
2698 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2699 $as_echo "none needed" >&6; } ;;
2701 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2702 $as_echo "unsupported" >&6; } ;;
2704 CC="$CC $ac_cv_prog_cc_c89"
2705 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2706 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2711 ac_cpp='$CPP $CPPFLAGS'
2712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2717 ac_cpp='$CPP $CPPFLAGS'
2718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2721 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2722 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2723 # On Suns, sometimes $CPP names a directory.
2724 if test -n "$CPP" && test -d "$CPP"; then
2727 if test -z "$CPP"; then
2728 if test "${ac_cv_prog_CPP+set}" = set; then
2729 $as_echo_n "(cached) " >&6
2731 # Double quotes because CPP needs to be expanded
2732 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2735 for ac_c_preproc_warn_flag in '' yes
2737 # Use a header file that comes with gcc, so configuring glibc
2738 # with a fresh cross-compiler works.
2739 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2740 # <limits.h> exists even on freestanding compilers.
2741 # On the NeXT, cc -E runs the code through the compiler's parser,
2742 # not just through cpp. "Syntax error" is here to catch this case.
2743 cat >conftest.$ac_ext <<_ACEOF
2746 cat confdefs.h >>conftest.$ac_ext
2747 cat >>conftest.$ac_ext <<_ACEOF
2748 /* end confdefs.h. */
2750 # include <limits.h>
2752 # include <assert.h>
2756 if { (ac_try="$ac_cpp conftest.$ac_ext"
2758 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2759 *) ac_try_echo
=$ac_try;;
2761 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2762 $as_echo "$ac_try_echo") >&5
2763 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2765 grep -v '^ *+' conftest.er1
>conftest.err
2767 cat conftest.err
>&5
2768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769 (exit $ac_status); } >/dev
/null
&& {
2770 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2771 test ! -s conftest.err
2775 $as_echo "$as_me: failed program was:" >&5
2776 sed 's/^/| /' conftest.
$ac_ext >&5
2778 # Broken: fails on valid input.
2782 rm -f conftest.err conftest.
$ac_ext
2784 # OK, works on sane cases. Now check whether nonexistent headers
2785 # can be detected and how.
2786 cat >conftest.
$ac_ext <<_ACEOF
2789 cat confdefs.h
>>conftest.
$ac_ext
2790 cat >>conftest.
$ac_ext <<_ACEOF
2791 /* end confdefs.h. */
2792 #include <ac_nonexistent.h>
2794 if { (ac_try
="$ac_cpp conftest.$ac_ext"
2796 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2797 *) ac_try_echo=$ac_try;;
2799 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2800 $as_echo "$ac_try_echo") >&5
2801 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2803 grep -v '^ *+' conftest.er1 >conftest.err
2805 cat conftest.err >&5
2806 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2807 (exit $ac_status); } >/dev/null && {
2808 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2809 test ! -s conftest.err
2811 # Broken: success on invalid input.
2814 $as_echo "$as_me: failed program was:" >&5
2815 sed 's/^/| /' conftest.$ac_ext >&5
2817 # Passes both tests.
2822 rm -f conftest.err conftest.$ac_ext
2825 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2826 rm -f conftest.err conftest.
$ac_ext
2827 if $ac_preproc_ok; then
2839 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
2840 $as_echo "$CPP" >&6; }
2842 for ac_c_preproc_warn_flag
in '' yes
2844 # Use a header file that comes with gcc, so configuring glibc
2845 # with a fresh cross-compiler works.
2846 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2847 # <limits.h> exists even on freestanding compilers.
2848 # On the NeXT, cc -E runs the code through the compiler's parser,
2849 # not just through cpp. "Syntax error" is here to catch this case.
2850 cat >conftest.
$ac_ext <<_ACEOF
2853 cat confdefs.h
>>conftest.
$ac_ext
2854 cat >>conftest.
$ac_ext <<_ACEOF
2855 /* end confdefs.h. */
2857 # include <limits.h>
2859 # include <assert.h>
2863 if { (ac_try
="$ac_cpp conftest.$ac_ext"
2865 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2866 *) ac_try_echo=$ac_try;;
2868 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2869 $as_echo "$ac_try_echo") >&5
2870 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2872 grep -v '^ *+' conftest.er1 >conftest.err
2874 cat conftest.err >&5
2875 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876 (exit $ac_status); } >/dev/null && {
2877 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2878 test ! -s conftest.err
2882 $as_echo "$as_me: failed program was:" >&5
2883 sed 's/^/| /' conftest.$ac_ext >&5
2885 # Broken: fails on valid input.
2889 rm -f conftest.err conftest.$ac_ext
2891 # OK, works on sane cases. Now check whether nonexistent headers
2892 # can be detected and how.
2893 cat >conftest.$ac_ext <<_ACEOF
2896 cat confdefs.h >>conftest.$ac_ext
2897 cat >>conftest.$ac_ext <<_ACEOF
2898 /* end confdefs.h. */
2899 #include <ac_nonexistent.h>
2901 if { (ac_try="$ac_cpp conftest.$ac_ext"
2903 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2904 *) ac_try_echo
=$ac_try;;
2906 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2907 $as_echo "$ac_try_echo") >&5
2908 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2910 grep -v '^ *+' conftest.er1
>conftest.err
2912 cat conftest.err
>&5
2913 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); } >/dev
/null
&& {
2915 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2916 test ! -s conftest.err
2918 # Broken: success on invalid input.
2921 $as_echo "$as_me: failed program was:" >&5
2922 sed 's/^/| /' conftest.
$ac_ext >&5
2924 # Passes both tests.
2929 rm -f conftest.err conftest.
$ac_ext
2932 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2933 rm -f conftest.err conftest.
$ac_ext
2934 if $ac_preproc_ok; then
2937 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2939 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2940 See \`config.log' for more details." >&5
2941 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2942 See \`config.log' for more details." >&2;}
2943 { (exit 1); exit 1; }; }; }
2947 ac_cpp
='$CPP $CPPFLAGS'
2948 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2949 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2950 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2954 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2955 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2956 if test "${ac_cv_path_GREP+set}" = set; then
2957 $as_echo_n "(cached) " >&6
2959 if test -z "$GREP"; then
2960 ac_path_GREP_found
=false
2961 # Loop through the user's path and test for each of PROGNAME-LIST
2962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2963 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
2966 test -z "$as_dir" && as_dir
=.
2967 for ac_prog
in grep ggrep
; do
2968 for ac_exec_ext
in '' $ac_executable_extensions; do
2969 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
2970 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
2971 # Check for GNU ac_path_GREP and select it if it is found.
2972 # Check for GNU $ac_path_GREP
2973 case `"$ac_path_GREP" --version 2>&1` in
2975 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
2978 $as_echo_n 0123456789 >"conftest.in"
2981 cat "conftest.in" "conftest.in" >"conftest.tmp"
2982 mv "conftest.tmp" "conftest.in"
2983 cp "conftest.in" "conftest.nl"
2984 $as_echo 'GREP' >> "conftest.nl"
2985 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2986 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2987 ac_count
=`expr $ac_count + 1`
2988 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2989 # Best one so far, save it but keep looking for a better one
2990 ac_cv_path_GREP
="$ac_path_GREP"
2991 ac_path_GREP_max
=$ac_count
2993 # 10*(2^10) chars as input seems more than enough
2994 test $ac_count -gt 10 && break
2996 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2999 $ac_path_GREP_found && break 3
3004 if test -z "$ac_cv_path_GREP"; then
3005 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3006 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3007 { (exit 1); exit 1; }; }
3010 ac_cv_path_GREP
=$GREP
3014 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3015 $as_echo "$ac_cv_path_GREP" >&6; }
3016 GREP
="$ac_cv_path_GREP"
3019 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3020 $as_echo_n "checking for egrep... " >&6; }
3021 if test "${ac_cv_path_EGREP+set}" = set; then
3022 $as_echo_n "(cached) " >&6
3024 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3025 then ac_cv_path_EGREP
="$GREP -E"
3027 if test -z "$EGREP"; then
3028 ac_path_EGREP_found
=false
3029 # Loop through the user's path and test for each of PROGNAME-LIST
3030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3031 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3034 test -z "$as_dir" && as_dir
=.
3035 for ac_prog
in egrep; do
3036 for ac_exec_ext
in '' $ac_executable_extensions; do
3037 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3038 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3039 # Check for GNU ac_path_EGREP and select it if it is found.
3040 # Check for GNU $ac_path_EGREP
3041 case `"$ac_path_EGREP" --version 2>&1` in
3043 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3046 $as_echo_n 0123456789 >"conftest.in"
3049 cat "conftest.in" "conftest.in" >"conftest.tmp"
3050 mv "conftest.tmp" "conftest.in"
3051 cp "conftest.in" "conftest.nl"
3052 $as_echo 'EGREP' >> "conftest.nl"
3053 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3054 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3055 ac_count
=`expr $ac_count + 1`
3056 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3057 # Best one so far, save it but keep looking for a better one
3058 ac_cv_path_EGREP
="$ac_path_EGREP"
3059 ac_path_EGREP_max
=$ac_count
3061 # 10*(2^10) chars as input seems more than enough
3062 test $ac_count -gt 10 && break
3064 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3067 $ac_path_EGREP_found && break 3
3072 if test -z "$ac_cv_path_EGREP"; then
3073 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3074 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3075 { (exit 1); exit 1; }; }
3078 ac_cv_path_EGREP
=$EGREP
3083 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3084 $as_echo "$ac_cv_path_EGREP" >&6; }
3085 EGREP
="$ac_cv_path_EGREP"
3088 if test $ac_cv_c_compiler_gnu = yes; then
3089 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3090 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
3091 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3092 $as_echo_n "(cached) " >&6
3094 ac_pattern
="Autoconf.*'x'"
3095 cat >conftest.
$ac_ext <<_ACEOF
3098 cat confdefs.h
>>conftest.
$ac_ext
3099 cat >>conftest.
$ac_ext <<_ACEOF
3100 /* end confdefs.h. */
3104 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3105 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3106 ac_cv_prog_gcc_traditional
=yes
3108 ac_cv_prog_gcc_traditional
=no
3113 if test $ac_cv_prog_gcc_traditional = no
; then
3114 cat >conftest.
$ac_ext <<_ACEOF
3117 cat confdefs.h
>>conftest.
$ac_ext
3118 cat >>conftest.
$ac_ext <<_ACEOF
3119 /* end confdefs.h. */
3123 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3124 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3125 ac_cv_prog_gcc_traditional
=yes
3131 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3132 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
3133 if test $ac_cv_prog_gcc_traditional = yes; then
3134 CC
="$CC -traditional"
3138 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
3139 $as_echo_n "checking for library containing strerror... " >&6; }
3140 if test "${ac_cv_search_strerror+set}" = set; then
3141 $as_echo_n "(cached) " >&6
3143 ac_func_search_save_LIBS
=$LIBS
3144 cat >conftest.
$ac_ext <<_ACEOF
3147 cat confdefs.h
>>conftest.
$ac_ext
3148 cat >>conftest.
$ac_ext <<_ACEOF
3149 /* end confdefs.h. */
3151 /* Override any GCC internal prototype to avoid an error.
3152 Use char because int might match the return type of a GCC
3153 builtin and then its argument prototype would still apply. */
3166 for ac_lib
in '' cposix
; do
3167 if test -z "$ac_lib"; then
3168 ac_res
="none required"
3171 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3173 rm -f conftest.
$ac_objext conftest
$ac_exeext
3174 if { (ac_try
="$ac_link"
3176 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3177 *) ac_try_echo=$ac_try;;
3179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3180 $as_echo "$ac_try_echo") >&5
3181 (eval "$ac_link") 2>conftest.er1
3183 grep -v '^ *+' conftest.er1 >conftest.err
3185 cat conftest.err >&5
3186 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3187 (exit $ac_status); } && {
3188 test -z "$ac_c_werror_flag" ||
3189 test ! -s conftest.err
3190 } && test -s conftest$ac_exeext && {
3191 test "$cross_compiling" = yes ||
3192 $as_test_x conftest$ac_exeext
3194 ac_cv_search_strerror=$ac_res
3196 $as_echo "$as_me: failed program was:" >&5
3197 sed 's/^/| /' conftest.$ac_ext >&5
3202 rm -rf conftest.dSYM
3203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3205 if test "${ac_cv_search_strerror+set}" = set; then
3209 if test "${ac_cv_search_strerror+set}" = set; then
3212 ac_cv_search_strerror=no
3215 LIBS=$ac_func_search_save_LIBS
3217 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3218 $as_echo "$ac_cv_search_strerror" >&6; }
3219 ac_res=$ac_cv_search_strerror
3220 if test "$ac_res" != no; then
3221 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3226 if test "$cross_compiling" = yes; then
3227 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3228 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3229 { { $as_echo "$as_me:$LINENO: error
: cannot run
test program
while cross compiling
3230 See \
`config.log' for more details." >&5
3231 $as_echo "$as_me: error: cannot run test program while cross compiling
3232 See \`config.log
' for more details." >&2;}
3233 { (exit 1); exit 1; }; }; }
3235 cat >conftest.$ac_ext <<_ACEOF
3238 cat confdefs.h >>conftest.$ac_ext
3239 cat >>conftest.$ac_ext <<_ACEOF
3240 /* end confdefs.h. */
3243 rm -f conftest$ac_exeext
3244 if { (ac_try="$ac_link"
3246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3247 *) ac_try_echo=$ac_try;;
3249 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3250 $as_echo "$ac_try_echo") >&5
3251 (eval "$ac_link") 2>&5
3253 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
3255 { (case "(($ac_try" in
3256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3257 *) ac_try_echo=$ac_try;;
3259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3260 $as_echo "$ac_try_echo") >&5
3261 (eval "$ac_try") 2>&5
3263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3264 (exit $ac_status); }; }; then
3267 $as_echo "$as_me: program exited with status $ac_status" >&5
3268 $as_echo "$as_me: failed program was:" >&5
3269 sed 's
/^
/|
/' conftest.$ac_ext >&5
3273 if test $CC != cc ; then
3274 echo "Your $CC failed - restarting with CC=cc" 1>&6
3280 exec $0 $configure_args
3284 rm -rf conftest.dSYM
3285 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3290 if test "$cross_compiling" = yes; then
3291 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3292 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3293 { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
3294 See \`config.log
' for more details." >&5
3295 $as_echo "$as_me: error: cannot run test program while cross compiling
3296 See \`config.log' for more details.
" >&2;}
3297 { (exit 1); exit 1; }; }; }
3299 cat >conftest.$ac_ext <<_ACEOF
3302 cat confdefs.h >>conftest.$ac_ext
3303 cat >>conftest.$ac_ext <<_ACEOF
3304 /* end confdefs.h. */
3307 rm -f conftest$ac_exeext
3308 if { (ac_try="$ac_link"
3310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3311 *) ac_try_echo=$ac_try;;
3313 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
3314 $as_echo "$ac_try_echo") >&5
3315 (eval "$ac_link") 2>&5
3317 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3318 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3319 { (case "(($ac_try" in
3320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3321 *) ac_try_echo=$ac_try;;
3323 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
3324 $as_echo "$ac_try_echo") >&5
3325 (eval "$ac_try") 2>&5
3327 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3328 (exit $ac_status); }; }; then
3331 $as_echo "$as_me: program exited with status
$ac_status" >&5
3332 $as_echo "$as_me: failed program was
:" >&5
3333 sed 's/^/| /' conftest.$ac_ext >&5
3338 echo "CC
=$CC; CFLAGS
=$CFLAGS; LIBS
=$LIBS;" 1>&6
3340 echo "$ac_compile" 1>&6
3342 { { $as_echo "$as_me:$LINENO: error
: Can
't run the compiler - sorry" >&5
3343 $as_echo "$as_me: error: Can't run the compiler
- sorry
" >&2;}
3344 { (exit 1); exit 1; }; }
3346 rm -rf conftest.dSYM
3347 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3352 if test "$cross_compiling" = yes; then
3353 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
3354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3355 { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
3356 See \`config.log' for more details.
" >&5
3357 $as_echo "$as_me: error
: cannot run
test program
while cross compiling
3358 See \
`config.log' for more details." >&2;}
3359 { (exit 1); exit 1; }; }; }
3361 cat >conftest.$ac_ext <<_ACEOF
3364 cat confdefs.h >>conftest.$ac_ext
3365 cat >>conftest.$ac_ext <<_ACEOF
3366 /* end confdefs.h. */
3370 int __something_strange_();
3371 __something_strange_(0);
3375 rm -f conftest$ac_exeext
3376 if { (ac_try="$ac_link"
3378 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3379 *) ac_try_echo
=$ac_try;;
3381 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3382 $as_echo "$ac_try_echo") >&5
3383 (eval "$ac_link") 2>&5
3385 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3387 { (case "(($ac_try" in
3388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3389 *) ac_try_echo=$ac_try;;
3391 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3392 $as_echo "$ac_try_echo") >&5
3393 (eval "$ac_try") 2>&5
3395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396 (exit $ac_status); }; }; then
3397 { { $as_echo "$as_me:$LINENO: error: Your compiler does not set the exit status - sorry" >&5
3398 $as_echo "$as_me: error: Your compiler does not set the exit status - sorry" >&2;}
3399 { (exit 1); exit 1; }; }
3401 $as_echo "$as_me: program exited with status $ac_status" >&5
3402 $as_echo "$as_me: failed program was:" >&5
3403 sed 's/^/| /' conftest.$ac_ext >&5
3406 rm -rf conftest.dSYM
3407 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3412 for ac_prog in gawk mawk nawk awk
3414 # Extract the first word of "$ac_prog", so it can be a program name with args.
3415 set dummy $ac_prog; ac_word=$2
3416 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3417 $as_echo_n "checking for $ac_word... " >&6; }
3418 if test "${ac_cv_prog_AWK+set}" = set; then
3419 $as_echo_n "(cached) " >&6
3421 if test -n "$AWK"; then
3422 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428 test -z "$as_dir" && as_dir=.
3429 for ac_exec_ext in '' $ac_executable_extensions; do
3430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3431 ac_cv_prog_AWK="$ac_prog"
3432 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3442 if test -n "$AWK"; then
3443 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
3444 $as_echo "$AWK" >&6; }
3446 { $as_echo "$as_me:$LINENO: result: no" >&5
3447 $as_echo "no" >&6; }
3451 test -n "$AWK" && break
3455 if test -f etc/toolcheck; then
3456 { $as_echo "$as_me:$LINENO: checking for buggy tools..." >&5
3457 $as_echo "$as_me: checking for buggy tools..." >&6;}
3458 sh etc/toolcheck 1>&6
3462 { $as_echo "$as_me:$LINENO: checking for System V..." >&5
3463 $as_echo "$as_me: checking for System V..." >&6;}
3464 cat >conftest.$ac_ext <<_ACEOF
3467 cat confdefs.h >>conftest.$ac_ext
3468 cat >>conftest.$ac_ext <<_ACEOF
3469 /* end confdefs.h. */
3470 #include <sys/types.h>
3476 int x = SIGCHLD | FNDELAY;
3481 rm -f conftest.$ac_objext
3482 if { (ac_try="$ac_compile"
3484 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3485 *) ac_try_echo
=$ac_try;;
3487 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3488 $as_echo "$ac_try_echo") >&5
3489 (eval "$ac_compile") 2>conftest.er1
3491 grep -v '^ *+' conftest.er1
>conftest.err
3493 cat conftest.err
>&5
3494 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3495 (exit $ac_status); } && {
3496 test -z "$ac_c_werror_flag" ||
3497 test ! -s conftest.err
3498 } && test -s conftest.
$ac_objext; then
3501 $as_echo "$as_me: failed program was:" >&5
3502 sed 's/^/| /' conftest.
$ac_ext >&5
3504 cat >>confdefs.h
<<\_ACEOF
3510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3512 { $as_echo "$as_me:$LINENO: checking for Solaris 2.x..." >&5
3513 $as_echo "$as_me: checking for Solaris 2.x..." >&6;}
3514 cat >conftest.
$ac_ext <<_ACEOF
3517 cat confdefs.h
>>conftest.
$ac_ext
3518 cat >>conftest.
$ac_ext <<_ACEOF
3519 /* end confdefs.h. */
3520 #if defined(SVR4) && defined(sun)
3525 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3526 $EGREP "yes" >/dev
/null
2>&1; then
3527 LIBS
="$LIBS -lsocket -lnsl -lkstat"
3533 { $as_echo "$as_me:$LINENO: checking select..." >&5
3534 $as_echo "$as_me: checking select..." >&6;}
3535 cat >conftest.
$ac_ext <<_ACEOF
3538 cat confdefs.h
>>conftest.
$ac_ext
3539 cat >>conftest.
$ac_ext <<_ACEOF
3540 /* end confdefs.h. */
3545 select(0, 0, 0, 0, 0);
3550 rm -f conftest.
$ac_objext conftest
$ac_exeext
3551 if { (ac_try
="$ac_link"
3553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3554 *) ac_try_echo=$ac_try;;
3556 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3557 $as_echo "$ac_try_echo") >&5
3558 (eval "$ac_link") 2>conftest.er1
3560 grep -v '^ *+' conftest.er1 >conftest.err
3562 cat conftest.err >&5
3563 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564 (exit $ac_status); } && {
3565 test -z "$ac_c_werror_flag" ||
3566 test ! -s conftest.err
3567 } && test -s conftest$ac_exeext && {
3568 test "$cross_compiling" = yes ||
3569 $as_test_x conftest$ac_exeext
3573 $as_echo "$as_me: failed program was:" >&5
3574 sed 's/^/| /' conftest.$ac_ext >&5
3576 LIBS="$LIBS -lnet -lnsl"
3577 { $as_echo "$as_me:$LINENO: checking select with $LIBS..." >&5
3578 $as_echo "$as_me: checking select with $LIBS..." >&6;}
3579 cat >conftest.$ac_ext <<_ACEOF
3582 cat confdefs.h >>conftest.$ac_ext
3583 cat >>conftest.$ac_ext <<_ACEOF
3584 /* end confdefs.h. */
3589 select(0, 0, 0, 0, 0);
3594 rm -f conftest.$ac_objext conftest$ac_exeext
3595 if { (ac_try="$ac_link"
3597 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3598 *) ac_try_echo
=$ac_try;;
3600 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3601 $as_echo "$ac_try_echo") >&5
3602 (eval "$ac_link") 2>conftest.er1
3604 grep -v '^ *+' conftest.er1
>conftest.err
3606 cat conftest.err
>&5
3607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3608 (exit $ac_status); } && {
3609 test -z "$ac_c_werror_flag" ||
3610 test ! -s conftest.err
3611 } && test -s conftest
$ac_exeext && {
3612 test "$cross_compiling" = yes ||
3613 $as_test_x conftest
$ac_exeext
3617 $as_echo "$as_me: failed program was:" >&5
3618 sed 's/^/| /' conftest.
$ac_ext >&5
3620 { { $as_echo "$as_me:$LINENO: error: !!! no select - no screen" >&5
3621 $as_echo "$as_me: error: !!! no select - no screen" >&2;}
3622 { (exit 1); exit 1; }; }
3625 rm -rf conftest.dSYM
3626 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
3627 conftest
$ac_exeext conftest.
$ac_ext
3631 rm -rf conftest.dSYM
3632 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
3633 conftest
$ac_exeext conftest.
$ac_ext
3635 { $as_echo "$as_me:$LINENO: checking select return value..." >&5
3636 $as_echo "$as_me: checking select return value..." >&6;}
3637 if test "$cross_compiling" = yes; then
3638 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3640 { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
3641 See \`config.log' for more details." >&5
3642 $as_echo "$as_me: error: cannot run test program while cross compiling
3643 See \`config.log' for more details." >&2;}
3644 { (exit 1); exit 1; }; }; }
3646 cat >conftest.
$ac_ext <<_ACEOF
3649 cat confdefs.h
>>conftest.
$ac_ext
3650 cat >>conftest.
$ac_ext <<_ACEOF
3651 /* end confdefs.h. */
3653 #include <sys/types.h>
3654 #include <sys/stat.h>
3657 char *nam = "/tmp/conftest$$";
3662 #define O_NONBLOCK O_NDELAY
3665 #define S_IFIFO 0010000
3678 /* From Andrew A. Chernov (ache@astral.msk.su):
3679 * opening RDWR fifo fails in BSD 4.4, but select return values are
3686 if (mkfifo(nam, 0777))
3688 if (mknod(nam, S_IFIFO|0777, 0))
3692 if (open(nam, O_RDWR | O_NONBLOCK))
3694 if (write(0, "TEST", 4) == -1)
3699 #include <sys/types.h>
3700 #include <sys/socket.h>
3706 struct sockaddr_un a;
3714 if ((s1 = socket(AF_UNIX, SOCK_STREAM, 0)) == -1)
3716 a.sun_family = AF_UNIX;
3717 strcpy(a.sun_path, nam);
3719 if (bind(s1, (struct sockaddr *) &a, strlen(nam)+2) == -1)
3725 if ((s2 = socket(AF_UNIX, SOCK_STREAM, 0)) == -1)
3727 (void)connect(s2, (struct sockaddr *)&a, strlen(nam) + 2);
3728 if (write(s2, "HELLO", 5) == -1)
3734 if (accept(s1, (struct sockaddr *)&a, &l))
3744 if (select(1, &f, 0, 0, 0) == -1)
3746 if (select(1, &f, &f, 0, 0) != 2)
3752 rm -f conftest
$ac_exeext
3753 if { (ac_try
="$ac_link"
3755 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3756 *) ac_try_echo=$ac_try;;
3758 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3759 $as_echo "$ac_try_echo") >&5
3760 (eval "$ac_link") 2>&5
3762 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3763 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3764 { (case "(($ac_try" in
3765 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3766 *) ac_try_echo
=$ac_try;;
3768 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3769 $as_echo "$ac_try_echo") >&5
3770 (eval "$ac_try") 2>&5
3772 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3773 (exit $ac_status); }; }; then
3774 echo "- select is ok" 1>&6
3777 $as_echo "$as_me: program exited with status $ac_status" >&5
3778 $as_echo "$as_me: failed program was:" >&5
3779 sed 's/^/| /' conftest.
$ac_ext >&5
3782 echo "- select can't count" 1>&6
3783 cat >>confdefs.h
<<\_ACEOF
3784 #define SELECT_BROKEN 1
3788 rm -rf conftest.dSYM
3789 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3794 { $as_echo "$as_me:$LINENO: checking for tgetent..." >&5
3795 $as_echo "$as_me: checking for tgetent..." >&6;}
3796 cat >conftest.
$ac_ext <<_ACEOF
3799 cat confdefs.h
>>conftest.
$ac_ext
3800 cat >>conftest.
$ac_ext <<_ACEOF
3801 /* end confdefs.h. */
3806 tgetent((char *)0, (char *)0);
3811 rm -f conftest.
$ac_objext conftest
$ac_exeext
3812 if { (ac_try
="$ac_link"
3814 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3815 *) ac_try_echo=$ac_try;;
3817 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3818 $as_echo "$ac_try_echo") >&5
3819 (eval "$ac_link") 2>conftest.er1
3821 grep -v '^ *+' conftest.er1 >conftest.err
3823 cat conftest.err >&5
3824 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825 (exit $ac_status); } && {
3826 test -z "$ac_c_werror_flag" ||
3827 test ! -s conftest.err
3828 } && test -s conftest$ac_exeext && {
3829 test "$cross_compiling" = yes ||
3830 $as_test_x conftest$ac_exeext
3834 $as_echo "$as_me: failed program was:" >&5
3835 sed 's/^/| /' conftest.$ac_ext >&5
3838 LIBS="-lcurses $olibs"
3839 { $as_echo "$as_me:$LINENO: checking libcurses..." >&5
3840 $as_echo "$as_me: checking libcurses..." >&6;}
3841 cat >conftest.$ac_ext <<_ACEOF
3844 cat confdefs.h >>conftest.$ac_ext
3845 cat >>conftest.$ac_ext <<_ACEOF
3846 /* end confdefs.h. */
3853 __sorry_hpux_libcurses_is_totally_broken_in_10_10();
3855 tgetent((char *)0, (char *)0);
3862 rm -f conftest.$ac_objext conftest$ac_exeext
3863 if { (ac_try="$ac_link"
3865 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3866 *) ac_try_echo
=$ac_try;;
3868 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3869 $as_echo "$ac_try_echo") >&5
3870 (eval "$ac_link") 2>conftest.er1
3872 grep -v '^ *+' conftest.er1
>conftest.err
3874 cat conftest.err
>&5
3875 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 (exit $ac_status); } && {
3877 test -z "$ac_c_werror_flag" ||
3878 test ! -s conftest.err
3879 } && test -s conftest
$ac_exeext && {
3880 test "$cross_compiling" = yes ||
3881 $as_test_x conftest
$ac_exeext
3885 $as_echo "$as_me: failed program was:" >&5
3886 sed 's/^/| /' conftest.
$ac_ext >&5
3888 LIBS
="-ltermcap $olibs"
3889 { $as_echo "$as_me:$LINENO: checking libtermcap..." >&5
3890 $as_echo "$as_me: checking libtermcap..." >&6;}
3891 cat >conftest.
$ac_ext <<_ACEOF
3894 cat confdefs.h
>>conftest.
$ac_ext
3895 cat >>conftest.
$ac_ext <<_ACEOF
3896 /* end confdefs.h. */
3901 tgetent((char *)0, (char *)0);
3906 rm -f conftest.
$ac_objext conftest
$ac_exeext
3907 if { (ac_try
="$ac_link"
3909 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3910 *) ac_try_echo=$ac_try;;
3912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3913 $as_echo "$ac_try_echo") >&5
3914 (eval "$ac_link") 2>conftest.er1
3916 grep -v '^ *+' conftest.er1 >conftest.err
3918 cat conftest.err >&5
3919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); } && {
3921 test -z "$ac_c_werror_flag" ||
3922 test ! -s conftest.err
3923 } && test -s conftest$ac_exeext && {
3924 test "$cross_compiling" = yes ||
3925 $as_test_x conftest$ac_exeext
3929 $as_echo "$as_me: failed program was:" >&5
3930 sed 's/^/| /' conftest.$ac_ext >&5
3932 LIBS="-ltermlib $olibs"
3933 { $as_echo "$as_me:$LINENO: checking libtermlib..." >&5
3934 $as_echo "$as_me: checking libtermlib..." >&6;}
3935 cat >conftest.$ac_ext <<_ACEOF
3938 cat confdefs.h >>conftest.$ac_ext
3939 cat >>conftest.$ac_ext <<_ACEOF
3940 /* end confdefs.h. */
3945 tgetent((char *)0, (char *)0);
3950 rm -f conftest.$ac_objext conftest$ac_exeext
3951 if { (ac_try="$ac_link"
3953 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3954 *) ac_try_echo
=$ac_try;;
3956 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3957 $as_echo "$ac_try_echo") >&5
3958 (eval "$ac_link") 2>conftest.er1
3960 grep -v '^ *+' conftest.er1
>conftest.err
3962 cat conftest.err
>&5
3963 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3964 (exit $ac_status); } && {
3965 test -z "$ac_c_werror_flag" ||
3966 test ! -s conftest.err
3967 } && test -s conftest
$ac_exeext && {
3968 test "$cross_compiling" = yes ||
3969 $as_test_x conftest
$ac_exeext
3973 $as_echo "$as_me: failed program was:" >&5
3974 sed 's/^/| /' conftest.
$ac_ext >&5
3976 LIBS
="-lncurses $olibs"
3977 { $as_echo "$as_me:$LINENO: checking libncurses..." >&5
3978 $as_echo "$as_me: checking libncurses..." >&6;}
3979 cat >conftest.
$ac_ext <<_ACEOF
3982 cat confdefs.h
>>conftest.
$ac_ext
3983 cat >>conftest.
$ac_ext <<_ACEOF
3984 /* end confdefs.h. */
3989 tgetent((char *)0, (char *)0);
3994 rm -f conftest.
$ac_objext conftest
$ac_exeext
3995 if { (ac_try
="$ac_link"
3997 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3998 *) ac_try_echo=$ac_try;;
4000 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4001 $as_echo "$ac_try_echo") >&5
4002 (eval "$ac_link") 2>conftest.er1
4004 grep -v '^ *+' conftest.er1 >conftest.err
4006 cat conftest.err >&5
4007 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4008 (exit $ac_status); } && {
4009 test -z "$ac_c_werror_flag" ||
4010 test ! -s conftest.err
4011 } && test -s conftest$ac_exeext && {
4012 test "$cross_compiling" = yes ||
4013 $as_test_x conftest$ac_exeext
4017 $as_echo "$as_me: failed program was:" >&5
4018 sed 's/^/| /' conftest.$ac_ext >&5
4020 { { $as_echo "$as_me:$LINENO: error: !!! no tgetent - no screen" >&5
4021 $as_echo "$as_me: error: !!! no tgetent - no screen" >&2;}
4022 { (exit 1); exit 1; }; }
4025 rm -rf conftest.dSYM
4026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4027 conftest$ac_exeext conftest.$ac_ext
4030 rm -rf conftest.dSYM
4031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4032 conftest$ac_exeext conftest.$ac_ext
4035 rm -rf conftest.dSYM
4036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4037 conftest$ac_exeext conftest.$ac_ext
4040 rm -rf conftest.dSYM
4041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4042 conftest$ac_exeext conftest.$ac_ext
4045 rm -rf conftest.dSYM
4046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4047 conftest$ac_exeext conftest.$ac_ext
4049 if test "$cross_compiling" = yes; then
4050 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4051 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4052 { { $as_echo "$as_me:$LINENO: error
: cannot run
test program
while cross compiling
4053 See \
`config.log' for more details." >&5
4054 $as_echo "$as_me: error: cannot run test program while cross compiling
4055 See \`config.log
' for more details." >&2;}
4056 { (exit 1); exit 1; }; }; }
4058 cat >conftest.$ac_ext <<_ACEOF
4061 cat confdefs.h >>conftest.$ac_ext
4062 cat >>conftest.$ac_ext <<_ACEOF
4063 /* end confdefs.h. */
4067 exit(strcmp(tgoto("%p1%d", 0, 1), "1") ? 0 : 1);
4070 rm -f conftest$ac_exeext
4071 if { (ac_try="$ac_link"
4073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4074 *) ac_try_echo=$ac_try;;
4076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4077 $as_echo "$ac_try_echo") >&5
4078 (eval "$ac_link") 2>&5
4080 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4081 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
4082 { (case "(($ac_try" in
4083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4084 *) ac_try_echo=$ac_try;;
4086 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4087 $as_echo "$ac_try_echo") >&5
4088 (eval "$ac_try") 2>&5
4090 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4091 (exit $ac_status); }; }; then
4092 echo "- you use the termcap database" 1>&6
4095 $as_echo "$as_me: program exited with status $ac_status" >&5
4096 $as_echo "$as_me: failed program was:" >&5
4097 sed 's
/^
/|
/' conftest.$ac_ext >&5
4100 echo "- you use the terminfo database" 1>&6
4101 cat >>confdefs.h <<\_ACEOF
4106 rm -rf conftest.dSYM
4107 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4111 { $as_echo "$as_me:$LINENO: checking ospeed..." >&5
4112 $as_echo "$as_me: checking ospeed..." >&6;}
4113 cat >conftest.$ac_ext <<_ACEOF
4116 cat confdefs.h >>conftest.$ac_ext
4117 cat >>conftest.$ac_ext <<_ACEOF
4118 /* end confdefs.h. */
4119 extern short ospeed;
4128 rm -f conftest.$ac_objext conftest$ac_exeext
4129 if { (ac_try="$ac_link"
4131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4132 *) ac_try_echo=$ac_try;;
4134 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4135 $as_echo "$ac_try_echo") >&5
4136 (eval "$ac_link") 2>conftest.er1
4138 grep -v '^
*+' conftest.er1 >conftest.err
4140 cat conftest.err >&5
4141 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4142 (exit $ac_status); } && {
4143 test -z "$ac_c_werror_flag" ||
4144 test ! -s conftest.err
4145 } && test -s conftest$ac_exeext && {
4146 test "$cross_compiling" = yes ||
4147 $as_test_x conftest$ac_exeext
4151 $as_echo "$as_me: failed program was:" >&5
4152 sed 's
/^
/|
/' conftest.$ac_ext >&5
4154 cat >>confdefs.h <<\_ACEOF
4155 #define NEED_OSPEED 1
4160 rm -rf conftest.dSYM
4161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4162 conftest$ac_exeext conftest.$ac_ext
4164 { $as_echo "$as_me:$LINENO: checking for /dev/ptc..." >&5
4165 $as_echo "$as_me: checking for /dev/ptc..." >&6;}
4166 if test -r /dev/ptc; then
4167 cat >>confdefs.h <<\_ACEOF
4168 #define HAVE_DEV_PTC 1
4173 { $as_echo "$as_me:$LINENO: checking for SVR4 ptys..." >&5
4174 $as_echo "$as_me: checking for SVR4 ptys..." >&6;}
4176 if test -c /dev/ptmx ; then
4177 cat >conftest.$ac_ext <<_ACEOF
4180 cat confdefs.h >>conftest.$ac_ext
4181 cat >>conftest.$ac_ext <<_ACEOF
4182 /* end confdefs.h. */
4187 ptsname(0);grantpt(0);unlockpt(0);
4192 rm -f conftest.$ac_objext conftest$ac_exeext
4193 if { (ac_try="$ac_link"
4195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4196 *) ac_try_echo=$ac_try;;
4198 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4199 $as_echo "$ac_try_echo") >&5
4200 (eval "$ac_link") 2>conftest.er1
4202 grep -v '^
*+' conftest.er1 >conftest.err
4204 cat conftest.err >&5
4205 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4206 (exit $ac_status); } && {
4207 test -z "$ac_c_werror_flag" ||
4208 test ! -s conftest.err
4209 } && test -s conftest$ac_exeext && {
4210 test "$cross_compiling" = yes ||
4211 $as_test_x conftest$ac_exeext
4213 cat >>confdefs.h <<\_ACEOF
4214 #define HAVE_SVR4_PTYS 1
4219 $as_echo "$as_me: failed program was:" >&5
4220 sed 's
/^
/|
/' conftest.$ac_ext >&5
4225 rm -rf conftest.dSYM
4226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4227 conftest$ac_exeext conftest.$ac_ext
4231 for ac_func in getpt
4233 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4234 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
4235 $as_echo_n "checking for $ac_func... " >&6; }
4236 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4237 $as_echo_n "(cached) " >&6
4239 cat >conftest.$ac_ext <<_ACEOF
4242 cat confdefs.h >>conftest.$ac_ext
4243 cat >>conftest.$ac_ext <<_ACEOF
4244 /* end confdefs.h. */
4245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4247 #define $ac_func innocuous_$ac_func
4249 /* System header to define __stub macros and hopefully few prototypes,
4250 which can conflict with char $ac_func (); below.
4251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4252 <limits.h> exists even on freestanding compilers. */
4255 # include <limits.h>
4257 # include <assert.h>
4262 /* Override any GCC internal prototype to avoid an error.
4263 Use char because int might match the return type of a GCC
4264 builtin and then its argument prototype would still apply. */
4269 /* The GNU C library defines this for functions which it implements
4270 to always fail with ENOSYS. Some functions are actually named
4271 something starting with __ and the normal name is an alias. */
4272 #if defined __stub_$ac_func || defined __stub___$ac_func
4284 rm -f conftest.$ac_objext conftest$ac_exeext
4285 if { (ac_try="$ac_link"
4287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4288 *) ac_try_echo=$ac_try;;
4290 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4291 $as_echo "$ac_try_echo") >&5
4292 (eval "$ac_link") 2>conftest.er1
4294 grep -v '^
*+' conftest.er1 >conftest.err
4296 cat conftest.err >&5
4297 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4298 (exit $ac_status); } && {
4299 test -z "$ac_c_werror_flag" ||
4300 test ! -s conftest.err
4301 } && test -s conftest$ac_exeext && {
4302 test "$cross_compiling" = yes ||
4303 $as_test_x conftest$ac_exeext
4305 eval "$as_ac_var=yes"
4307 $as_echo "$as_me: failed program was:" >&5
4308 sed 's
/^
/|
/' conftest.$ac_ext >&5
4310 eval "$as_ac_var=no"
4313 rm -rf conftest.dSYM
4314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4315 conftest$ac_exeext conftest.$ac_ext
4317 ac_res=`eval 'as_val
=${'$as_ac_var'}
4318 $as_echo "$as_val"'`
4319 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4320 $as_echo "$ac_res" >&6; }
4321 as_val=`eval 'as_val
=${'$as_ac_var'}
4322 $as_echo "$as_val"'`
4323 if test "x$as_val" = x""yes; then
4324 cat >>confdefs.h <<_ACEOF
4325 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4332 if test -z "$sysvr4ptys"; then
4334 for ac_func in openpty
4336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4337 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
4338 $as_echo_n "checking for $ac_func... " >&6; }
4339 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4340 $as_echo_n "(cached) " >&6
4342 cat >conftest.$ac_ext <<_ACEOF
4345 cat confdefs.h >>conftest.$ac_ext
4346 cat >>conftest.$ac_ext <<_ACEOF
4347 /* end confdefs.h. */
4348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4350 #define $ac_func innocuous_$ac_func
4352 /* System header to define __stub macros and hopefully few prototypes,
4353 which can conflict with char $ac_func (); below.
4354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4355 <limits.h> exists even on freestanding compilers. */
4358 # include <limits.h>
4360 # include <assert.h>
4365 /* Override any GCC internal prototype to avoid an error.
4366 Use char because int might match the return type of a GCC
4367 builtin and then its argument prototype would still apply. */
4372 /* The GNU C library defines this for functions which it implements
4373 to always fail with ENOSYS. Some functions are actually named
4374 something starting with __ and the normal name is an alias. */
4375 #if defined __stub_$ac_func || defined __stub___$ac_func
4387 rm -f conftest.$ac_objext conftest$ac_exeext
4388 if { (ac_try="$ac_link"
4390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4391 *) ac_try_echo=$ac_try;;
4393 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4394 $as_echo "$ac_try_echo") >&5
4395 (eval "$ac_link") 2>conftest.er1
4397 grep -v '^
*+' conftest.er1 >conftest.err
4399 cat conftest.err >&5
4400 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401 (exit $ac_status); } && {
4402 test -z "$ac_c_werror_flag" ||
4403 test ! -s conftest.err
4404 } && test -s conftest$ac_exeext && {
4405 test "$cross_compiling" = yes ||
4406 $as_test_x conftest$ac_exeext
4408 eval "$as_ac_var=yes"
4410 $as_echo "$as_me: failed program was:" >&5
4411 sed 's
/^
/|
/' conftest.$ac_ext >&5
4413 eval "$as_ac_var=no"
4416 rm -rf conftest.dSYM
4417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4418 conftest$ac_exeext conftest.$ac_ext
4420 ac_res=`eval 'as_val
=${'$as_ac_var'}
4421 $as_echo "$as_val"'`
4422 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4423 $as_echo "$ac_res" >&6; }
4424 as_val=`eval 'as_val
=${'$as_ac_var'}
4425 $as_echo "$as_val"'`
4426 if test "x$as_val" = x""yes; then
4427 cat >>confdefs.h <<_ACEOF
4428 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4432 { $as_echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
4433 $as_echo_n "checking for openpty in -lutil... " >&6; }
4434 if test "${ac_cv_lib_util_openpty+set}" = set; then
4435 $as_echo_n "(cached) " >&6
4437 ac_check_lib_save_LIBS=$LIBS
4439 cat >conftest.$ac_ext <<_ACEOF
4442 cat confdefs.h >>conftest.$ac_ext
4443 cat >>conftest.$ac_ext <<_ACEOF
4444 /* end confdefs.h. */
4446 /* Override any GCC internal prototype to avoid an error.
4447 Use char because int might match the return type of a GCC
4448 builtin and then its argument prototype would still apply. */
4461 rm -f conftest.$ac_objext conftest$ac_exeext
4462 if { (ac_try="$ac_link"
4464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4465 *) ac_try_echo=$ac_try;;
4467 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4468 $as_echo "$ac_try_echo") >&5
4469 (eval "$ac_link") 2>conftest.er1
4471 grep -v '^
*+' conftest.er1 >conftest.err
4473 cat conftest.err >&5
4474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4475 (exit $ac_status); } && {
4476 test -z "$ac_c_werror_flag" ||
4477 test ! -s conftest.err
4478 } && test -s conftest$ac_exeext && {
4479 test "$cross_compiling" = yes ||
4480 $as_test_x conftest$ac_exeext
4482 ac_cv_lib_util_openpty=yes
4484 $as_echo "$as_me: failed program was:" >&5
4485 sed 's
/^
/|
/' conftest.$ac_ext >&5
4487 ac_cv_lib_util_openpty=no
4490 rm -rf conftest.dSYM
4491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4492 conftest$ac_exeext conftest.$ac_ext
4493 LIBS=$ac_check_lib_save_LIBS
4495 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
4496 $as_echo "$ac_cv_lib_util_openpty" >&6; }
4497 if test "x$ac_cv_lib_util_openpty" = x""yes; then
4498 cat >>confdefs.h <<\_ACEOF
4499 #define HAVE_OPENPTY 1
4509 { $as_echo "$as_me:$LINENO: checking for ptyranges..." >&5
4510 $as_echo "$as_me: checking for ptyranges..." >&6;}
4511 if test -d /dev/ptym ; then
4516 cat >conftest.$ac_ext <<_ACEOF
4519 cat confdefs.h >>conftest.$ac_ext
4520 cat >>conftest.$ac_ext <<_ACEOF
4521 /* end confdefs.h. */
4527 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4528 $EGREP "yes" >/dev/null 2>&1; then
4529 ptys=`echo /dev/ptyp??`
4531 ptys=`echo $pdir/pty??`
4535 if test "$ptys" != "$pdir/pty??" ; then
4536 p0=`echo $ptys | tr ' ' '\012' | sed -e 's
/^.
*\
(.\
).$
/\
1/g
' | sort -u | tr -d '\012'`
4537 p1=`echo $ptys | tr ' ' '\012' | sed -e 's
/^.
*\
(.\
)$
/\
1/g
' | sort -u | tr -d '\012'`
4538 cat >>confdefs.h <<_ACEOF
4539 #define PTYRANGE0 "$p0"
4542 cat >>confdefs.h <<_ACEOF
4543 #define PTYRANGE1 "$p1"
4549 # Check whether --with-pty-mode was given.
4550 if test "${with_pty_mode+set}" = set; then
4551 withval=$with_pty_mode; ptymode="${withval}"
4555 # Check whether --with-pty-group was given.
4556 if test "${with_pty_group+set}" = set; then
4557 withval=$with_pty_group; ptygrp="${withval}"
4560 test -n "$ptymode" || ptymode=0620
4561 if test -n "$ptygrp" ; then
4562 cat >>confdefs.h <<_ACEOF
4563 #define PTYMODE $ptymode
4566 cat >>confdefs.h <<_ACEOF
4567 #define PTYGROUP $ptygrp
4572 { $as_echo "$as_me:$LINENO: checking default tty permissions/group..." >&5
4573 $as_echo "$as_me: checking default tty permissions/group..." >&6;}
4575 if test "$cross_compiling" = yes; then
4576 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4577 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
4578 { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4579 See \`config.log
' for more details." >&5
4580 $as_echo "$as_me: error: cannot run test program while cross compiling
4581 See \`config.log' for more details.
" >&2;}
4582 { (exit 1); exit 1; }; }; }
4584 cat >conftest.$ac_ext <<_ACEOF
4587 cat confdefs.h >>conftest.$ac_ext
4588 cat >>conftest.$ac_ext <<_ACEOF
4589 /* end confdefs.h. */
4591 #include <sys/types.h>
4592 #include <sys/stat.h>
4601 if (!(x = ttyname(0))) exit(1);
4602 if (stat(x, &sb)) exit(1);
4604 if (om & 002) exit(0);
4605 m = system("mesg y
");
4606 if (m == -1 || m == 127) exit(1);
4607 if (stat(x, &sb)) exit(1);
4609 if (chmod(x, om)) exit(1);
4610 if (m & 002) exit(0);
4611 if (sb.st_gid == getgid()) exit(1);
4612 if (!(fp=fopen("conftest_grp
", "w
")))
4614 fprintf(fp, "%d
\n", sb.st_gid);
4620 rm -f conftest$ac_exeext
4621 if { (ac_try="$ac_link"
4623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4624 *) ac_try_echo=$ac_try;;
4626 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
4627 $as_echo "$ac_try_echo") >&5
4628 (eval "$ac_link") 2>&5
4630 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4631 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4632 { (case "(($ac_try" in
4633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4634 *) ac_try_echo=$ac_try;;
4636 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
4637 $as_echo "$ac_try_echo") >&5
4638 (eval "$ac_try") 2>&5
4640 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4641 (exit $ac_status); }; }; then
4643 if test -f conftest_grp; then
4644 ptygrp=`cat conftest_grp`
4645 echo "- pty mode
: $ptymode, group
: $ptygrp" 1>&6
4647 cat >>confdefs.h <<_ACEOF
4648 #define PTYMODE $ptymode
4651 cat >>confdefs.h <<_ACEOF
4652 #define PTYGROUP $ptygrp
4656 echo "- ptys are world accessable
" 1>&6
4661 $as_echo "$as_me: program exited with status
$ac_status" >&5
4662 $as_echo "$as_me: failed program was
:" >&5
4663 sed 's/^/| /' conftest.$ac_ext >&5
4669 # Extract the first word of "write", so it can be a program name with args.
4670 set dummy write; ac_word=$2
4671 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4672 $as_echo_n "checking
for $ac_word...
" >&6; }
4673 if test "${ac_cv_path_WRITEPATH+set}" = set; then
4674 $as_echo_n "(cached
) " >&6
4678 ac_cv_path_WRITEPATH="$WRITEPATH" # Let the user override the test with a path.
4681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4685 test -z "$as_dir" && as_dir=.
4686 for ac_exec_ext in '' $ac_executable_extensions; do
4687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4688 ac_cv_path_WRITEPATH="$as_dir/$ac_word$ac_exec_ext"
4689 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4699 WRITEPATH=$ac_cv_path_WRITEPATH
4700 if test -n "$WRITEPATH"; then
4701 { $as_echo "$as_me:$LINENO: result
: $WRITEPATH" >&5
4702 $as_echo "$WRITEPATH" >&6; }
4704 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4705 $as_echo "no
" >&6; }
4709 # Extract the first word of "xterm
", so it can be a program name with args.
4710 set dummy xterm; ac_word=$2
4711 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4712 $as_echo_n "checking
for $ac_word...
" >&6; }
4713 if test "${ac_cv_path_XTERMPATH+set}" = set; then
4714 $as_echo_n "(cached
) " >&6
4718 ac_cv_path_XTERMPATH="$XTERMPATH" # Let the user override the test with a path.
4721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4725 test -z "$as_dir" && as_dir=.
4726 for ac_exec_ext in '' $ac_executable_extensions; do
4727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4728 ac_cv_path_XTERMPATH="$as_dir/$ac_word$ac_exec_ext"
4729 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4739 XTERMPATH=$ac_cv_path_XTERMPATH
4740 if test -n "$XTERMPATH"; then
4741 { $as_echo "$as_me:$LINENO: result
: $XTERMPATH" >&5
4742 $as_echo "$XTERMPATH" >&6; }
4744 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4745 $as_echo "no
" >&6; }
4750 if test -n "$WRITEPATH$XTERMPATH"; then
4753 found=`find $WRITEPATH $XTERMPATH -follow -print 2>/dev/null`
4754 if test -n "$found"; then
4758 if test -n "$XTERMPATH"; then
4759 ptygrpn=`ls -l$lsfollow $XTERMPATH | sed -n -e 1p | $AWK '{print $4}'`
4760 if test tty != "$ptygrpn"; then
4765 if test -n "$WRITEPATH$XTERMPATH"; then
4766 found=`find $WRITEPATH $XTERMPATH $findfollow -perm -2000 -print`
4767 if test -n "$found"; then
4768 ptygrp=`ls -ln$lsfollow $found | sed -n -e 1p | $AWK '{print $4}'`
4769 echo "- pty mode
: $ptymode, group
: $ptygrp" 1>&6
4771 cat >>confdefs.h <<_ACEOF
4772 #define PTYMODE $ptymode
4775 cat >>confdefs.h <<_ACEOF
4776 #define PTYGROUP $ptygrp
4780 echo "- ptys are world accessable
" 1>&6
4784 echo "- can
't determine - assume ptys are world accessable" 1>&6
4790 rm -rf conftest.dSYM
4791 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4798 if test -n "$posix" ; then
4800 echo "assuming posix signal definition" 1>&6
4802 cat >>confdefs.h <<\_ACEOF
4809 { $as_echo "$as_me:$LINENO: checking return type of signal handlers..." >&5
4810 $as_echo "$as_me: checking return type of signal handlers..." >&6;}
4811 cat >conftest.$ac_ext <<_ACEOF
4814 cat confdefs.h >>conftest.$ac_ext
4815 cat >>conftest.$ac_ext <<_ACEOF
4816 /* end confdefs.h. */
4817 #include <sys/types.h>
4822 extern void (*signal ()) ();
4831 rm -f conftest.$ac_objext
4832 if { (ac_try="$ac_compile"
4834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4835 *) ac_try_echo=$ac_try;;
4837 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4838 $as_echo "$ac_try_echo") >&5
4839 (eval "$ac_compile") 2>conftest.er1
4841 grep -v '^
*+' conftest.er1 >conftest.err
4843 cat conftest.err >&5
4844 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4845 (exit $ac_status); } && {
4846 test -z "$ac_c_werror_flag" ||
4847 test ! -s conftest.err
4848 } && test -s conftest.$ac_objext; then
4849 cat >>confdefs.h <<\_ACEOF
4854 $as_echo "$as_me: failed program was:" >&5
4855 sed 's
/^
/|
/' conftest.$ac_ext >&5
4860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4861 { $as_echo "$as_me:$LINENO: checking sigset..." >&5
4862 $as_echo "$as_me: checking sigset..." >&6;}
4863 cat >conftest.$ac_ext <<_ACEOF
4866 cat confdefs.h >>conftest.$ac_ext
4867 cat >>conftest.$ac_ext <<_ACEOF
4868 /* end confdefs.h. */
4870 #include <sys/types.h>
4878 sigset(0, (void (*)())0);
4880 sigset(0, (int (*)())0);
4887 rm -f conftest.$ac_objext conftest$ac_exeext
4888 if { (ac_try="$ac_link"
4890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4891 *) ac_try_echo=$ac_try;;
4893 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4894 $as_echo "$ac_try_echo") >&5
4895 (eval "$ac_link") 2>conftest.er1
4897 grep -v '^
*+' conftest.er1 >conftest.err
4899 cat conftest.err >&5
4900 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901 (exit $ac_status); } && {
4902 test -z "$ac_c_werror_flag" ||
4903 test ! -s conftest.err
4904 } && test -s conftest$ac_exeext && {
4905 test "$cross_compiling" = yes ||
4906 $as_test_x conftest$ac_exeext
4908 cat >>confdefs.h <<\_ACEOF
4913 $as_echo "$as_me: failed program was:" >&5
4914 sed 's
/^
/|
/' conftest.$ac_ext >&5
4919 rm -rf conftest.dSYM
4920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4921 conftest$ac_exeext conftest.$ac_ext
4922 { $as_echo "$as_me:$LINENO: checking signal implementation..." >&5
4923 $as_echo "$as_me: checking signal implementation..." >&6;}
4924 if test "$cross_compiling" = yes; then
4925 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4926 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
4927 { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4928 See \`config.log
' for more details." >&5
4929 $as_echo "$as_me: error: cannot run test program while cross compiling
4930 See \`config.log' for more details.
" >&2;}
4931 { (exit 1); exit 1; }; }; }
4933 cat >conftest.$ac_ext <<_ACEOF
4936 cat confdefs.h >>conftest.$ac_ext
4937 cat >>conftest.$ac_ext <<_ACEOF
4938 /* end confdefs.h. */
4940 #include <sys/types.h>
4944 #define SIGCLD SIGCHLD
4947 #define signal sigset
4962 /* on hpux we use sigvec to get bsd signals */
4964 (void)signal(SIGCLD, hand);
4965 kill(getpid(), SIGCLD);
4966 kill(getpid(), SIGCLD);
4974 rm -f conftest$ac_exeext
4975 if { (ac_try="$ac_link"
4977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4978 *) ac_try_echo=$ac_try;;
4980 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
4981 $as_echo "$ac_try_echo") >&5
4982 (eval "$ac_link") 2>&5
4984 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4985 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4986 { (case "(($ac_try" in
4987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4988 *) ac_try_echo=$ac_try;;
4990 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
4991 $as_echo "$ac_try_echo") >&5
4992 (eval "$ac_try") 2>&5
4994 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4995 (exit $ac_status); }; }; then
4998 $as_echo "$as_me: program exited with status
$ac_status" >&5
4999 $as_echo "$as_me: failed program was
:" >&5
5000 sed 's/^/| /' conftest.$ac_ext >&5
5003 cat >>confdefs.h <<\_ACEOF
5008 rm -rf conftest.dSYM
5009 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5016 { $as_echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
5017 $as_echo_n "checking
for ANSI C header files...
" >&6; }
5018 if test "${ac_cv_header_stdc+set}" = set; then
5019 $as_echo_n "(cached
) " >&6
5021 cat >conftest.$ac_ext <<_ACEOF
5024 cat confdefs.h >>conftest.$ac_ext
5025 cat >>conftest.$ac_ext <<_ACEOF
5026 /* end confdefs.h. */
5040 rm -f conftest.$ac_objext
5041 if { (ac_try="$ac_compile"
5043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5044 *) ac_try_echo=$ac_try;;
5046 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5047 $as_echo "$ac_try_echo") >&5
5048 (eval "$ac_compile") 2>conftest.er1
5050 grep -v '^ *+' conftest.er1 >conftest.err
5052 cat conftest.err >&5
5053 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5054 (exit $ac_status); } && {
5055 test -z "$ac_c_werror_flag" ||
5056 test ! -s conftest.err
5057 } && test -s conftest.$ac_objext; then
5058 ac_cv_header_stdc=yes
5060 $as_echo "$as_me: failed program was
:" >&5
5061 sed 's/^/| /' conftest.$ac_ext >&5
5063 ac_cv_header_stdc=no
5066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5068 if test $ac_cv_header_stdc = yes; then
5069 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5070 cat >conftest.$ac_ext <<_ACEOF
5073 cat confdefs.h >>conftest.$ac_ext
5074 cat >>conftest.$ac_ext <<_ACEOF
5075 /* end confdefs.h. */
5079 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
5080 $EGREP "memchr
" >/dev/null 2>&1; then
5083 ac_cv_header_stdc=no
5089 if test $ac_cv_header_stdc = yes; then
5090 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5091 cat >conftest.$ac_ext <<_ACEOF
5094 cat confdefs.h >>conftest.$ac_ext
5095 cat >>conftest.$ac_ext <<_ACEOF
5096 /* end confdefs.h. */
5100 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
5101 $EGREP "free
" >/dev/null 2>&1; then
5104 ac_cv_header_stdc=no
5110 if test $ac_cv_header_stdc = yes; then
5111 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5112 if test "$cross_compiling" = yes; then
5115 cat >conftest.$ac_ext <<_ACEOF
5118 cat confdefs.h >>conftest.$ac_ext
5119 cat >>conftest.$ac_ext <<_ACEOF
5120 /* end confdefs.h. */
5123 #if ((' ' & 0x0FF) == 0x020)
5124 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5125 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5127 # define ISLOWER(c) \
5128 (('a' <= (c) && (c) <= 'i') \
5129 || ('j' <= (c) && (c) <= 'r') \
5130 || ('s' <= (c) && (c) <= 'z'))
5131 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5134 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5139 for (i = 0; i < 256; i++)
5140 if (XOR (islower (i), ISLOWER (i))
5141 || toupper (i) != TOUPPER (i))
5146 rm -f conftest$ac_exeext
5147 if { (ac_try="$ac_link"
5149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5150 *) ac_try_echo=$ac_try;;
5152 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5153 $as_echo "$ac_try_echo") >&5
5154 (eval "$ac_link") 2>&5
5156 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5157 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5158 { (case "(($ac_try" in
5159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5160 *) ac_try_echo=$ac_try;;
5162 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5163 $as_echo "$ac_try_echo") >&5
5164 (eval "$ac_try") 2>&5
5166 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5167 (exit $ac_status); }; }; then
5170 $as_echo "$as_me: program exited with status
$ac_status" >&5
5171 $as_echo "$as_me: failed program was
:" >&5
5172 sed 's/^/| /' conftest.$ac_ext >&5
5175 ac_cv_header_stdc=no
5177 rm -rf conftest.dSYM
5178 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5184 { $as_echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
5185 $as_echo "$ac_cv_header_stdc" >&6; }
5186 if test $ac_cv_header_stdc = yes; then
5188 cat >>confdefs.h <<\_ACEOF
5189 #define STDC_HEADERS 1
5194 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5204 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5205 inttypes.h stdint.h unistd.h
5207 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
5208 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
5209 $as_echo_n "checking
for $ac_header...
" >&6; }
5210 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
5211 $as_echo_n "(cached
) " >&6
5213 cat >conftest.$ac_ext <<_ACEOF
5216 cat confdefs.h >>conftest.$ac_ext
5217 cat >>conftest.$ac_ext <<_ACEOF
5218 /* end confdefs.h. */
5219 $ac_includes_default
5221 #include <$ac_header>
5223 rm -f conftest.$ac_objext
5224 if { (ac_try="$ac_compile"
5226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5227 *) ac_try_echo=$ac_try;;
5229 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5230 $as_echo "$ac_try_echo") >&5
5231 (eval "$ac_compile") 2>conftest.er1
5233 grep -v '^ *+' conftest.er1 >conftest.err
5235 cat conftest.err >&5
5236 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5237 (exit $ac_status); } && {
5238 test -z "$ac_c_werror_flag" ||
5239 test ! -s conftest.err
5240 } && test -s conftest.$ac_objext; then
5241 eval "$as_ac_Header=yes"
5243 $as_echo "$as_me: failed program was
:" >&5
5244 sed 's/^/| /' conftest.$ac_ext >&5
5246 eval "$as_ac_Header=no
"
5249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5251 ac_res=`eval 'as_val=${'$as_ac_Header'}
5252 $as_echo "$as_val"'`
5253 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
5254 $as_echo "$ac_res" >&6; }
5255 as_val=`eval 'as_val=${'$as_ac_Header'}
5256 $as_echo "$as_val"'`
5257 if test "x
$as_val" = x""yes; then
5258 cat >>confdefs.h <<_ACEOF
5259 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
5269 for ac_header in sys/stropts.h sys/wait.h
5271 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
5272 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
5273 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
5274 $as_echo_n "checking
for $ac_header...
" >&6; }
5275 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
5276 $as_echo_n "(cached
) " >&6
5278 ac_res=`eval 'as_val=${'$as_ac_Header'}
5279 $as_echo "$as_val"'`
5280 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
5281 $as_echo "$ac_res" >&6; }
5283 # Is the header compilable?
5284 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
5285 $as_echo_n "checking
$ac_header usability...
" >&6; }
5286 cat >conftest.$ac_ext <<_ACEOF
5289 cat confdefs.h >>conftest.$ac_ext
5290 cat >>conftest.$ac_ext <<_ACEOF
5291 /* end confdefs.h. */
5292 $ac_includes_default
5293 #include <$ac_header>
5295 rm -f conftest.$ac_objext
5296 if { (ac_try="$ac_compile"
5298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5299 *) ac_try_echo=$ac_try;;
5301 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5302 $as_echo "$ac_try_echo") >&5
5303 (eval "$ac_compile") 2>conftest.er1
5305 grep -v '^ *+' conftest.er1 >conftest.err
5307 cat conftest.err >&5
5308 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5309 (exit $ac_status); } && {
5310 test -z "$ac_c_werror_flag" ||
5311 test ! -s conftest.err
5312 } && test -s conftest.$ac_objext; then
5313 ac_header_compiler=yes
5315 $as_echo "$as_me: failed program was
:" >&5
5316 sed 's/^/| /' conftest.$ac_ext >&5
5318 ac_header_compiler=no
5321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5322 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
5323 $as_echo "$ac_header_compiler" >&6; }
5325 # Is the header present?
5326 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
5327 $as_echo_n "checking
$ac_header presence...
" >&6; }
5328 cat >conftest.$ac_ext <<_ACEOF
5331 cat confdefs.h >>conftest.$ac_ext
5332 cat >>conftest.$ac_ext <<_ACEOF
5333 /* end confdefs.h. */
5334 #include <$ac_header>
5336 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5339 *) ac_try_echo=$ac_try;;
5341 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5342 $as_echo "$ac_try_echo") >&5
5343 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5345 grep -v '^ *+' conftest.er1 >conftest.err
5347 cat conftest.err >&5
5348 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5349 (exit $ac_status); } >/dev/null && {
5350 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5351 test ! -s conftest.err
5353 ac_header_preproc=yes
5355 $as_echo "$as_me: failed program was
:" >&5
5356 sed 's/^/| /' conftest.$ac_ext >&5
5358 ac_header_preproc=no
5361 rm -f conftest.err conftest.$ac_ext
5362 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
5363 $as_echo "$ac_header_preproc" >&6; }
5365 # So? What about this header?
5366 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5368 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
5369 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
5370 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
5371 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
5372 ac_header_preproc=yes
5375 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
5376 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
5377 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
5378 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
5379 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
5380 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
5381 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
5382 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
5383 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
5384 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
5385 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
5386 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
5390 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
5391 $as_echo_n "checking
for $ac_header...
" >&6; }
5392 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
5393 $as_echo_n "(cached
) " >&6
5395 eval "$as_ac_Header=\
$ac_header_preproc"
5397 ac_res=`eval 'as_val=${'$as_ac_Header'}
5398 $as_echo "$as_val"'`
5399 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
5400 $as_echo "$ac_res" >&6; }
5403 as_val=`eval 'as_val=${'$as_ac_Header'}
5404 $as_echo "$as_val"'`
5405 if test "x
$as_val" = x""yes; then
5406 cat >>confdefs.h <<_ACEOF
5407 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
5415 ac_config_files="$ac_config_files Makefile
"
5417 cat >confcache <<\_ACEOF
5418 # This file is a shell script that caches the results of configure
5419 # tests run on this system so they can be shared between configure
5420 # scripts and configure runs, see configure's option --config-cache.
5421 # It is not useful on other systems. If it contains results you don't
5422 # want to keep, you may remove or edit it.
5424 # config.status only pays attention to the cache file if you give it
5425 # the --recheck option to rerun configure.
5427 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5428 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5433 # The following way of writing the cache mishandles newlines in values,
5434 # but we know of no workaround that is simple, portable, and efficient.
5435 # So, we kill variables containing newlines.
5436 # Ultrix sh set writes to stderr and can't be redirected directly,
5437 # and sets the high bit in the cache file unless we assign to the vars.
5439 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5440 eval ac_val=\$$ac_var
5444 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING
: cache variable
$ac_var contains a newline
" >&5
5445 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
5448 _ | IFS | as_nl) ;; #(
5449 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5450 *) $as_unset $ac_var ;;
5456 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5457 *${as_nl}ac_space=\ *)
5458 # `set' does not quote correctly, so add quotes (double-quote
5459 # substitution turns \\\\ into \\, and sed turns \\ into \).
5462 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
5465 # `set' quotes correctly as required by POSIX, so do not add quotes.
5466 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
5475 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5477 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5479 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5480 if test -w "$cache_file"; then
5481 test "x
$cache_file" != "x
/dev
/null
" &&
5482 { $as_echo "$as_me:$LINENO: updating cache
$cache_file" >&5
5483 $as_echo "$as_me: updating cache
$cache_file" >&6;}
5484 cat confcache >$cache_file
5486 { $as_echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
5487 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
5492 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
5493 # Let make expand exec_prefix.
5494 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
5496 DEFS=-DHAVE_CONFIG_H
5500 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
5501 # 1. Remove the extension, and $U if already installed.
5502 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5503 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5504 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5505 # will be set to the directory where LIBOBJS objects are built.
5506 ac_libobjs="$ac_libobjs \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
5507 ac_ltlibobjs="$ac_ltlibobjs \
${LIBOBJDIR}$ac_i"'$U.lo'
5511 LTLIBOBJS=$ac_ltlibobjs
5515 : ${CONFIG_STATUS=./config.status}
5517 ac_clean_files_save=$ac_clean_files
5518 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5519 { $as_echo "$as_me:$LINENO: creating
$CONFIG_STATUS" >&5
5520 $as_echo "$as_me: creating
$CONFIG_STATUS" >&6;}
5521 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5523 # Generated by $as_me.
5524 # Run this file to recreate the current configuration.
5525 # Compiler output produced by configure, useful for debugging
5526 # configure, is in config.log if it exists.
5531 SHELL=\${CONFIG_SHELL-$SHELL}
5534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5535 ## --------------------- ##
5536 ## M4sh Initialization. ##
5537 ## --------------------- ##
5539 # Be more Bourne compatible
5540 DUALCASE=1; export DUALCASE # for MKS sh
5541 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5544 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5545 # is contrary to our usage. Disable this feature.
5546 alias -g '${1+"$@"}'='"$@
"'
5547 setopt NO_GLOB_SUBST
5549 case `(set -o) 2>/dev/null` in
5550 *posix*) set -o posix ;;
5559 # Avoid depending upon Character Ranges.
5560 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5561 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5562 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5563 as_cr_digits='0123456789'
5564 as_cr_alnum=$as_cr_Letters$as_cr_digits
5569 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5570 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5571 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5572 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5573 if (test "X
`printf %s $as_echo`" = "X
$as_echo") 2>/dev/null; then
5574 as_echo='printf %s\n'
5575 as_echo_n='printf %s'
5577 if test "X
`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n
$as_echo"; then
5578 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5579 as_echo_n='/usr/ucb/echo -n'
5581 as_echo_body='eval expr "X
$1" : "X
\\(.
*\\)"'
5582 as_echo_n_body='eval
5586 expr "X
$arg" : "X
\\(.
*\\)$as_nl";
5587 arg=`expr "X
$arg" : ".
*$as_nl\\(.
*\\)"`;;
5589 expr "X
$arg" : "X
\\(.
*\\)" | tr -d "$as_nl"
5591 export as_echo_n_body
5592 as_echo_n='sh -c $as_echo_n_body as_echo'
5595 as_echo='sh -c $as_echo_body as_echo'
5598 # The user is always right.
5599 if test "${PATH_SEPARATOR+set}" != set; then
5601 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5602 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5607 # Support unset when possible.
5608 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5616 # We need space, tab and new line, in precisely that order. Quoting is
5617 # there to prevent editors from complaining about space-tab.
5618 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5619 # splitting by setting IFS to empty value.)
5622 # Find who we are. Look in the path if we contain no directory separator.
5624 *[\\/]* ) as_myself=$0 ;;
5625 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5629 test -z "$as_dir" && as_dir=.
5630 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5636 # We did not find ourselves, most probably we were run as `sh COMMAND'
5637 # in which case we are not to be found in the path.
5638 if test "x
$as_myself" = x; then
5641 if test ! -f "$as_myself"; then
5642 $as_echo "$as_myself: error
: cannot
find myself
; rerun with an absolute
file name
" >&2
5643 { (exit 1); exit 1; }
5646 # Work around bugs in pre-3.0 UWIN ksh.
5647 for as_var in ENV MAIL MAILPATH
5648 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5660 # Required to use basename.
5661 if expr a : '\(a\)' >/dev/null 2>&1 &&
5662 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
5668 if (basename -- /) >/dev/null 2>&1 && test "X
`basename -- / 2>&1`" = "X
/"; then
5669 as_basename=basename
5675 # Name of the executable.
5676 as_me=`$as_basename -- "$0" ||
5677 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5678 X"$0" : 'X\(//\)$' \| \
5679 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5681 sed '/^.*\/\([^/][^/]*\)\/*$/{
5702 test "x
$as_lineno_1" != "x
$as_lineno_2" &&
5703 test "x
`expr $as_lineno_1 + 1`" = "x
$as_lineno_2" || {
5705 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5706 # uniformly replaced by the line number. The first 'sed' inserts a
5707 # line-number line after each line using $LINENO; the second 'sed'
5708 # does the real work. The second script uses 'N' to pair each
5709 # line-number line with the line containing $LINENO, and appends
5710 # trailing '-' during substitution so that $LINENO is not a special
5712 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5713 # scripts with optimization help from Paolo Bonzini. Blame Lee
5714 # E. McMahon (1931-1989) for sed's syntax. :-)
5726 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5730 chmod +x "$as_me.lineno
" ||
5731 { $as_echo "$as_me: error
: cannot create
$as_me.lineno
; rerun with a POSIX shell
" >&2
5732 { (exit 1); exit 1; }; }
5734 # Don't try to exec as it changes $[0], causing all sort of problems
5735 # (the dirname of $[0] is not the place where we might find the
5736 # original and so on. Autoconf is especially sensitive to this).
5738 # Exit status is that of the last command.
5743 if (as_dir=`dirname -- /` && test "X
$as_dir" = X/) >/dev/null 2>&1; then
5749 ECHO_C= ECHO_N= ECHO_T=
5752 case `echo 'x\c'` in
5753 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5759 if expr a : '\(a\)' >/dev/null 2>&1 &&
5760 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
5766 rm -f conf$$ conf$$.exe conf$$.file
5767 if test -d conf$$.dir; then
5768 rm -f conf$$.dir/conf$$.file
5771 mkdir conf$$.dir 2>/dev/null
5773 if (echo >conf$$.file) 2>/dev/null; then
5774 if ln -s conf$$.file conf$$ 2>/dev/null; then
5776 # ... but there are two gotchas:
5777 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5778 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5779 # In both cases, we have to default to `cp -p'.
5780 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5782 elif ln conf$$.file conf$$ 2>/dev/null; then
5790 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5791 rmdir conf$$.dir 2>/dev/null
5793 if mkdir -p . 2>/dev/null; then
5796 test -d ./-p && rmdir ./-p
5800 if test -x / >/dev/null 2>&1; then
5803 if ls -dL / >/dev/null 2>&1; then
5810 if test -d "$1"; then
5816 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5817 ???[sx]*):;;*)false;;esac;fi
5821 as_executable_p=$as_test_x
5823 # Sed expression to map a string onto a valid CPP name.
5824 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5826 # Sed expression to map a string onto a valid variable name.
5827 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5832 # Save the log message, to keep $[0] and so on meaningful, and to
5833 # report actual input values of CONFIG_FILES etc. instead of their
5834 # values after options handling.
5836 This
file was extended by
$as_me, which was
5837 generated by GNU Autoconf
2.63. Invocation
command line was
5839 CONFIG_FILES
= $CONFIG_FILES
5840 CONFIG_HEADERS
= $CONFIG_HEADERS
5841 CONFIG_LINKS
= $CONFIG_LINKS
5842 CONFIG_COMMANDS
= $CONFIG_COMMANDS
5845 on
`(hostname || uname -n) 2>/dev/null | sed 1q`
5850 case $ac_config_files in *"
5851 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5854 case $ac_config_headers in *"
5855 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5860 # Files that config.status was made for.
5861 config_files="$ac_config_files"
5862 config_headers="$ac_config_headers"
5866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5868 \
`$as_me' instantiates files from templates according to the
5869 current configuration.
5871 Usage: $0 [OPTION]... [FILE]...
5873 -h, --help print this help, then exit
5874 -V, --version print version number and configuration settings, then exit
5875 -q, --quiet, --silent
5876 do not print progress messages
5877 -d, --debug don't remove temporary files
5878 --recheck update $as_me by reconfiguring in the same conditions
5879 --file=FILE[:TEMPLATE]
5880 instantiate the configuration file FILE
5881 --header=FILE[:TEMPLATE]
5882 instantiate the configuration header FILE
5884 Configuration files:
5887 Configuration headers:
5890 Report bugs to <bug-autoconf@gnu.org>."
5893 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5896 configured by $0, generated by GNU Autoconf 2.63,
5897 with options \\"`$as_echo "$ac_configure_args" |
sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5899 Copyright (C) 2008 Free Software Foundation, Inc.
5900 This config.status script is free software; the Free Software Foundation
5901 gives unlimited permission to copy, distribute and modify it."
5906 test -n "\$AWK" || AWK=awk
5909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5910 # The default lists apply if the user does not specify any file.
5916 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5917 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5928 # Handling of the options.
5929 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5931 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5932 $as_echo "$ac_cs_version"; exit ;;
5933 --debug | --debu | --deb | --de | --d | -d )
5935 --file | --fil | --fi | --f )
5938 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
5940 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5941 ac_need_defaults=false;;
5942 --header | --heade | --head | --hea )
5945 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
5947 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
5948 ac_need_defaults=false;;
5950 # Conflict between --help and --header
5951 { $as_echo "$as_me: error: ambiguous option: $1
5952 Try \`$0 --help' for more information." >&2
5953 { (exit 1); exit 1; }; };;
5954 --help | --hel | -h )
5955 $as_echo "$ac_cs_usage"; exit ;;
5956 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5957 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5961 -*) { $as_echo "$as_me: error: unrecognized option: $1
5962 Try \`$0 --help' for more information.
" >&2
5963 { (exit 1); exit 1; }; } ;;
5965 *) ac_config_targets="$ac_config_targets $1"
5966 ac_need_defaults=false ;;
5972 ac_configure_extra_args=
5974 if $ac_cs_silent; then
5976 ac_configure_extra_args="$ac_configure_extra_args --silent"
5980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5981 if \$ac_cs_recheck; then
5982 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5984 \$as_echo "running CONFIG_SHELL
=$SHELL \$
*" >&6
5985 CONFIG_SHELL='$SHELL'
5991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5995 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5996 ## Running $as_me. ##
6002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6007 # Handling of arguments.
6008 for ac_config_target in $ac_config_targets
6010 case $ac_config_target in
6011 "config.h
") CONFIG_HEADERS="$CONFIG_HEADERS config.h
" ;;
6012 "Makefile
") CONFIG_FILES="$CONFIG_FILES Makefile
" ;;
6014 *) { { $as_echo "$as_me:$LINENO: error
: invalid argument
: $ac_config_target" >&5
6015 $as_echo "$as_me: error
: invalid argument
: $ac_config_target" >&2;}
6016 { (exit 1); exit 1; }; };;
6021 # If the user did not use the arguments to specify the items to instantiate,
6022 # then the envvar interface is used. Set only those that are not.
6023 # We use the long form for the default assignment because of an extremely
6024 # bizarre bug on SunOS 4.1.3.
6025 if $ac_need_defaults; then
6026 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6027 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6030 # Have a temporary directory for convenience. Make it in the build tree
6031 # simply because there is no reason against having it here, and in addition,
6032 # creating and moving files from /tmp can sometimes cause problems.
6033 # Hook for its removal unless debugging.
6034 # Note that there is a small window in which the directory will not be cleaned:
6035 # after its creation but before its name has been assigned to `$tmp'.
6039 trap 'exit_status=$?
6040 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6042 trap '{ (exit 1); exit 1; }' 1 2 13 15
6044 # Create a (secure) tmp directory for tmp files.
6047 tmp=`(umask 077 && mktemp -d ".
/confXXXXXX
") 2>/dev/null` &&
6048 test -n "$tmp" && test -d "$tmp"
6051 tmp=./conf$$-$RANDOM
6052 (umask 077 && mkdir "$tmp")
6055 $as_echo "$as_me: cannot create a temporary directory
in .
" >&2
6056 { (exit 1); exit 1; }
6059 # Set up the scripts for CONFIG_FILES section.
6060 # No need to generate them if there are no CONFIG_FILES.
6061 # This happens for instance with `./config.status config.h'.
6062 if test -n "$CONFIG_FILES"; then
6066 ac_cs_awk_cr=`$AWK 'BEGIN { print "a
\rb
" }' </dev/null 2>/dev/null`
6067 if test "$ac_cs_awk_cr" = "a
${ac_cr}b
"; then
6073 echo 'BEGIN {' >"$tmp/subs1.
awk" &&
6078 echo "cat >conf$
$subs.
awk <<_ACEOF" &&
6079 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6082 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
6083 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
6084 { (exit 1); exit 1; }; }
6085 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6087 for ac_last_try in false false false false false :; do
6088 . ./conf$$subs.sh ||
6089 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
6090 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
6091 { (exit 1); exit 1; }; }
6093 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6094 if test $ac_delim_n = $ac_delim_num; then
6096 elif $ac_last_try; then
6097 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
6098 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
6099 { (exit 1); exit 1; }; }
6101 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6106 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6107 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
6111 s/^/S["/; s
/!.
*/"]=/
6121 s/\(.\{148\}\).*/\1/
6123 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6128 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6135 s/\(.\{148\}\).*/\1/
6137 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6141 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6146 ' <conf$$subs.awk | sed '
6151 ' >>$CONFIG_STATUS || ac_write_fail=1
6152 rm -f conf$$subs.awk
6153 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6155 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
6156 for (key in S) S_is_set[key] = 1
6162 nfields = split(line, field, "@
")
6164 len = length(field[1])
6165 for (i = 2; i < nfields; i++) {
6167 keylen = length(key)
6168 if (S_is_set[key]) {
6170 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6171 len += length(value) + length(field[++i])
6182 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6183 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6184 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6187 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
6188 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
6189 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
6190 { (exit 1); exit 1; }; }
6193 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6194 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
6195 # trailing colons and then remove the whole line if VPATH becomes empty
6196 # (actually we leave an empty line to preserve line numbers).
6197 if test "x
$srcdir" = x.; then
6198 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6202 s/^\([^=]*=[ ]*\):*/\1/
6208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6209 fi # test -n "$CONFIG_FILES"
6211 # Set up the scripts for CONFIG_HEADERS section.
6212 # No need to generate them if there are no CONFIG_HEADERS.
6213 # This happens for instance with `./config.status Makefile'.
6214 if test -n "$CONFIG_HEADERS"; then
6215 cat >"$tmp/defines.
awk" <<\_ACAWK ||
6219 # Transform confdefs.h into an awk script `defines.awk', embedded as
6220 # here-document in config.status, that substitutes the proper values into
6221 # config.h.in to produce config.h.
6223 # Create a delimiter string that does not exist in confdefs.h, to ease
6224 # handling of long lines.
6226 for ac_last_try in false false :; do
6227 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
6228 if test -z "$ac_t"; then
6230 elif $ac_last_try; then
6231 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
6232 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
6233 { (exit 1); exit 1; }; }
6235 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6239 # For the awk script, D is an array of macro values keyed by name,
6240 # likewise P contains macro parameters if any. Preserve backslash
6241 # newline sequences.
6243 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6245 s/.\{148\}/&'"$ac_delim"'/g
6248 s/^[ ]*#[ ]*define[ ][ ]*/ /
6255 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6257 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6261 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6262 D["\
1"]=" \
3\\\\\\n
"\\/p
6264 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6269 s/.\{148\}/&'"$ac_delim"'/g
6274 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6277 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6279 ' <confdefs.h | sed '
6280 s/'"$ac_delim"'/"\\\
6281 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6284 for (key in D) D_is_set[key] = 1
6287 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6289 split(line, arg, " ")
6290 if (arg[1] == "#") {
6294 defundef
= substr
(arg
[1], 2)
6297 split(mac1
, mac2
, "(") #)
6299 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6300 if (D_is_set
[macro
]) {
6301 # Preserve the white space surrounding the "#".
6302 print prefix
"define", macro P
[macro
] D
[macro
]
6305 # Replace #undef with comments. This is necessary, for example,
6306 # in the case of _POSIX_SOURCE, which is predefined and required
6307 # on some systems where configure will not decide to define it.
6308 if (defundef
== "undef") {
6309 print
"/*", prefix defundef
, macro
, "*/"
6317 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6318 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6319 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6320 { (exit 1); exit 1; }; }
6321 fi # test -n "$CONFIG_HEADERS"
6324 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
6329 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6331 case $ac_mode$ac_tag in
6333 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6334 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6335 { (exit 1); exit 1; }; };;
6336 :[FH
]-) ac_tag
=-:-;;
6337 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6354 -) ac_f
="$tmp/stdin";;
6355 *) # Look for the file first in the build tree, then in the source tree
6356 # (if the path is not absolute). The absolute path cannot be DOS-style,
6357 # because $ac_f cannot contain `:'.
6361 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6363 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6364 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6365 { (exit 1); exit 1; }; };;
6367 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6368 ac_file_inputs
="$ac_file_inputs '$ac_f'"
6371 # Let's still pretend it is `configure' which instantiates (i.e., don't
6372 # use $as_me), people would be surprised to read:
6373 # /* config.h. Generated by config.status. */
6374 configure_input
='Generated from '`
6375 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6377 if test x
"$ac_file" != x-
; then
6378 configure_input
="$ac_file. $configure_input"
6379 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6380 $as_echo "$as_me: creating $ac_file" >&6;}
6382 # Neutralize special characters interpreted by sed in replacement strings.
6383 case $configure_input in #(
6384 *\
&* |
*\|
* |
*\\* )
6385 ac_sed_conf_input
=`$as_echo "$configure_input" |
6386 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6387 *) ac_sed_conf_input
=$configure_input;;
6391 *:-:* |
*:-) cat >"$tmp/stdin" \
6392 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6393 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6394 { (exit 1); exit 1; }; } ;;
6399 ac_dir
=`$as_dirname -- "$ac_file" ||
6400 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6401 X"$ac_file" : 'X\(//\)[^/]' \| \
6402 X"$ac_file" : 'X\(//\)$' \| \
6403 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6404 $as_echo X"$ac_file" |
6405 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6424 -*) as_dir
=.
/$as_dir;;
6426 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
6430 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6431 *) as_qdir
=$as_dir;;
6433 as_dirs
="'$as_qdir' $as_dirs"
6434 as_dir
=`$as_dirname -- "$as_dir" ||
6435 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6436 X"$as_dir" : 'X\(//\)[^/]' \| \
6437 X"$as_dir" : 'X\(//\)$' \| \
6438 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6439 $as_echo X"$as_dir" |
6440 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6457 test -d "$as_dir" && break
6459 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6460 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6461 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6462 { (exit 1); exit 1; }; }; }
6466 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6468 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6469 # A ".." for each directory in $ac_dir_suffix.
6470 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6471 case $ac_top_builddir_sub in
6472 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6473 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6476 ac_abs_top_builddir
=$ac_pwd
6477 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6478 # for backward compatibility:
6479 ac_top_builddir
=$ac_top_build_prefix
6482 .
) # We are building in place.
6484 ac_top_srcdir
=$ac_top_builddir_sub
6485 ac_abs_top_srcdir
=$ac_pwd ;;
6486 [\\/]* | ?
:[\\/]* ) # Absolute name.
6487 ac_srcdir
=$srcdir$ac_dir_suffix;
6488 ac_top_srcdir
=$srcdir
6489 ac_abs_top_srcdir
=$srcdir ;;
6491 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6492 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6493 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6495 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6506 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6507 # If the template does not know about datarootdir, expand it.
6508 # FIXME: This hack should be removed a few years after 2.60.
6509 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6522 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6523 *datarootdir
*) ac_datarootdir_seen
=yes;;
6524 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6525 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6526 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6529 ac_datarootdir_hack='
6530 s&@datadir@&$datadir&g
6531 s&@docdir@&$docdir&g
6532 s&@infodir@&$infodir&g
6533 s&@localedir@&$localedir&g
6534 s&@mandir@&$mandir&g
6535 s&\\\${datarootdir}&$datarootdir&g' ;;
6539 # Neutralize VPATH when `$srcdir' = `.'.
6540 # Shell code in configure.ac might set extrasub.
6541 # FIXME: do we really want to maintain this feature?
6542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6543 ac_sed_extra="$ac_vpsub
6546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6548 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6549 s|@configure_input@|
$ac_sed_conf_input|
;t t
6550 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6551 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6552 s
&@srcdir@
&$ac_srcdir&;t t
6553 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6554 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6555 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6556 s
&@builddir@
&$ac_builddir&;t t
6557 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6558 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6559 $ac_datarootdir_hack
6561 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
6562 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
6563 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
6564 { (exit 1); exit 1; }; }
6566 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6567 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
6568 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
6569 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6570 which seems to be undefined. Please make sure it is defined." >&5
6571 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6572 which seems to be undefined. Please make sure it is defined." >&2;}
6576 -) cat "$tmp/out" && rm -f "$tmp/out";;
6577 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6579 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6580 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6581 { (exit 1); exit 1; }; }
6587 if test x"$ac_file" != x-; then
6589 $as_echo "/* $configure_input */" \
6590 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6591 } >"$tmp/config.h" \
6592 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6593 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6594 { (exit 1); exit 1; }; }
6595 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6596 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6597 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6600 mv "$tmp/config.h" "$ac_file" \
6601 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6602 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6603 { (exit 1); exit 1; }; }
6606 $as_echo "/* $configure_input */" \
6607 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6608 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
6609 $as_echo "$as_me: error: could not create -" >&2;}
6610 { (exit 1); exit 1; }; }
6620 { (exit 0); exit 0; }
6622 chmod +x $CONFIG_STATUS
6623 ac_clean_files=$ac_clean_files_save
6625 test $ac_write_fail = 0 ||
6626 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6627 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6628 { (exit 1); exit 1; }; }
6631 # configure is writing to config.log, and then calls config.status.
6632 # config.status does its own redirection, appending to config.log.
6633 # Unfortunately, on DOS this fails, as config.log is still kept open
6634 # by configure, so config.status won't be able to
write to it
; its
6635 # output is simply discarded. So we exec the FD to /dev/null,
6636 # effectively closing config.log, so it can be properly (re)opened and
6637 # appended to by config.status. When coming back to configure, we
6638 # need to make the FD available again.
6639 if test "$no_create" != yes; then
6641 ac_config_status_args
=
6642 test "$silent" = yes &&
6643 ac_config_status_args
="$ac_config_status_args --quiet"
6645 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6647 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6648 # would make configure fail if this is the last instruction.
6649 $ac_cs_success ||
{ (exit 1); exit 1; }
6651 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6652 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6653 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}