2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 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 # Zsh 3.x and 4.x performs 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
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir -p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev
/null
6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix
=/usr
/local
564 ac_config_libobj_dir
=.
570 SHELL
=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file
="configure.in"
580 # Factoring default headers for most tests.
581 ac_includes_default
="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
625 program_transform_name
687 NEED_SOCKLEN_T_DEFINE
723 ac_precious_vars
='build_alias
737 # Initialize some variables set by options.
739 ac_init_version
=false
740 # The variables have the same names as the options, with
741 # dashes changed to underlines.
749 program_transform_name
=s
,x
,x
,
757 # Installation directory options.
758 # These are left unexpanded so users can "make install exec_prefix=/foo"
759 # and all the variables that are supposed to be based on exec_prefix
760 # by default will actually change.
761 # Use braces instead of parens because sh, perl, etc. also accept them.
762 # (The list follows the same order as the GNU Coding Standards.)
763 bindir
='${exec_prefix}/bin'
764 sbindir
='${exec_prefix}/sbin'
765 libexecdir
='${exec_prefix}/libexec'
766 datarootdir
='${prefix}/share'
767 datadir
='${datarootdir}'
768 sysconfdir
='${prefix}/etc'
769 sharedstatedir
='${prefix}/com'
770 localstatedir
='${prefix}/var'
771 includedir
='${prefix}/include'
772 oldincludedir
='/usr/include'
773 docdir
='${datarootdir}/doc/${PACKAGE}'
774 infodir
='${datarootdir}/info'
779 libdir
='${exec_prefix}/lib'
780 localedir
='${datarootdir}/locale'
781 mandir
='${datarootdir}/man'
787 # If the previous option needs an argument, assign it.
788 if test -n "$ac_prev"; then
789 eval $ac_prev=\
$ac_option
795 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
799 # Accept the important Cygnus configure options, so we can diagnose typos.
801 case $ac_dashdash$ac_option in
805 -bindir | --bindir | --bindi | --bind | --bin | --bi)
807 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
810 -build | --build | --buil | --bui | --bu)
811 ac_prev
=build_alias
;;
812 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
813 build_alias
=$ac_optarg ;;
815 -cache-file | --cache-file | --cache-fil | --cache-fi \
816 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
817 ac_prev
=cache_file
;;
818 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
819 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
820 cache_file
=$ac_optarg ;;
823 cache_file
=config.cache
;;
825 -datadir | --datadir | --datadi | --datad)
827 -datadir=* | --datadir=* | --datadi=* | --datad=*)
828 datadir
=$ac_optarg ;;
830 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
831 | --dataroo | --dataro | --datar)
832 ac_prev
=datarootdir
;;
833 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
834 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
835 datarootdir
=$ac_optarg ;;
837 -disable-* | --disable-*)
838 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
839 # Reject names that are not valid shell variable names.
840 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
841 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
842 { (exit 1); exit 1; }; }
843 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
844 eval enable_
$ac_feature=no
;;
846 -docdir | --docdir | --docdi | --doc | --do)
848 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
851 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
853 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
856 -enable-* | --enable-*)
857 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
858 # Reject names that are not valid shell variable names.
859 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
860 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
861 { (exit 1); exit 1; }; }
862 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
863 eval enable_
$ac_feature=\
$ac_optarg ;;
865 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
866 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
867 | --exec | --exe | --ex)
868 ac_prev
=exec_prefix
;;
869 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
870 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
871 | --exec=* | --exe=* | --ex=*)
872 exec_prefix
=$ac_optarg ;;
874 -gas | --gas | --ga | --g)
875 # Obsolete; use --with-gas.
878 -help | --help | --hel | --he | -h)
880 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
881 ac_init_help
=recursive
;;
882 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
883 ac_init_help
=short
;;
885 -host | --host | --hos | --ho)
886 ac_prev
=host_alias
;;
887 -host=* | --host=* | --hos=* | --ho=*)
888 host_alias
=$ac_optarg ;;
890 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
892 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
894 htmldir
=$ac_optarg ;;
896 -includedir | --includedir | --includedi | --included | --include \
897 | --includ | --inclu | --incl | --inc)
898 ac_prev
=includedir
;;
899 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
900 | --includ=* | --inclu=* | --incl=* | --inc=*)
901 includedir
=$ac_optarg ;;
903 -infodir | --infodir | --infodi | --infod | --info | --inf)
905 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
906 infodir
=$ac_optarg ;;
908 -libdir | --libdir | --libdi | --libd)
910 -libdir=* | --libdir=* | --libdi=* | --libd=*)
913 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
914 | --libexe | --libex | --libe)
915 ac_prev
=libexecdir
;;
916 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
917 | --libexe=* | --libex=* | --libe=*)
918 libexecdir
=$ac_optarg ;;
920 -localedir | --localedir | --localedi | --localed | --locale)
922 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
923 localedir
=$ac_optarg ;;
925 -localstatedir | --localstatedir | --localstatedi | --localstated \
926 | --localstate | --localstat | --localsta | --localst | --locals)
927 ac_prev
=localstatedir
;;
928 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
929 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
930 localstatedir
=$ac_optarg ;;
932 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
934 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
938 # Obsolete; use --without-fp.
941 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
942 | --no-cr | --no-c | -n)
945 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
946 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
949 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
950 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
951 | --oldin | --oldi | --old | --ol | --o)
952 ac_prev
=oldincludedir
;;
953 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
954 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
955 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
956 oldincludedir
=$ac_optarg ;;
958 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
960 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
963 -program-prefix | --program-prefix | --program-prefi | --program-pref \
964 | --program-pre | --program-pr | --program-p)
965 ac_prev
=program_prefix
;;
966 -program-prefix=* | --program-prefix=* | --program-prefi=* \
967 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
968 program_prefix
=$ac_optarg ;;
970 -program-suffix | --program-suffix | --program-suffi | --program-suff \
971 | --program-suf | --program-su | --program-s)
972 ac_prev
=program_suffix
;;
973 -program-suffix=* | --program-suffix=* | --program-suffi=* \
974 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
975 program_suffix
=$ac_optarg ;;
977 -program-transform-name | --program-transform-name \
978 | --program-transform-nam | --program-transform-na \
979 | --program-transform-n | --program-transform- \
980 | --program-transform | --program-transfor \
981 | --program-transfo | --program-transf \
982 | --program-trans | --program-tran \
983 | --progr-tra | --program-tr | --program-t)
984 ac_prev
=program_transform_name
;;
985 -program-transform-name=* | --program-transform-name=* \
986 | --program-transform-nam=* | --program-transform-na=* \
987 | --program-transform-n=* | --program-transform-=* \
988 | --program-transform=* | --program-transfor=* \
989 | --program-transfo=* | --program-transf=* \
990 | --program-trans=* | --program-tran=* \
991 | --progr-tra=* | --program-tr=* | --program-t=*)
992 program_transform_name
=$ac_optarg ;;
994 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
996 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
999 -psdir | --psdir | --psdi | --psd | --ps)
1001 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1004 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1005 | -silent | --silent | --silen | --sile | --sil)
1008 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1010 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1012 sbindir
=$ac_optarg ;;
1014 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1015 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1016 | --sharedst | --shareds | --shared | --share | --shar \
1018 ac_prev
=sharedstatedir
;;
1019 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1020 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1021 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1023 sharedstatedir
=$ac_optarg ;;
1025 -site | --site | --sit)
1027 -site=* | --site=* | --sit=*)
1030 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1032 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1033 srcdir
=$ac_optarg ;;
1035 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1036 | --syscon | --sysco | --sysc | --sys | --sy)
1037 ac_prev
=sysconfdir
;;
1038 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1039 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1040 sysconfdir
=$ac_optarg ;;
1042 -target | --target | --targe | --targ | --tar | --ta | --t)
1043 ac_prev
=target_alias
;;
1044 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1045 target_alias
=$ac_optarg ;;
1047 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1050 -version | --version | --versio | --versi | --vers | -V)
1051 ac_init_version
=: ;;
1054 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1055 # Reject names that are not valid shell variable names.
1056 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1057 { echo "$as_me: error: invalid package name: $ac_package" >&2
1058 { (exit 1); exit 1; }; }
1059 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1060 eval with_
$ac_package=\
$ac_optarg ;;
1062 -without-* | --without-*)
1063 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1064 # Reject names that are not valid shell variable names.
1065 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1066 { echo "$as_me: error: invalid package name: $ac_package" >&2
1067 { (exit 1); exit 1; }; }
1068 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1069 eval with_
$ac_package=no
;;
1072 # Obsolete; use --with-x.
1075 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1076 | --x-incl | --x-inc | --x-in | --x-i)
1077 ac_prev
=x_includes
;;
1078 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1079 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1080 x_includes
=$ac_optarg ;;
1082 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1083 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1084 ac_prev
=x_libraries
;;
1085 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1086 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1087 x_libraries
=$ac_optarg ;;
1089 -*) { echo "$as_me: error: unrecognized option: $ac_option
1090 Try \`$0 --help' for more information." >&2
1091 { (exit 1); exit 1; }; }
1095 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1096 # Reject names that are not valid shell variable names.
1097 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1098 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1099 { (exit 1); exit 1; }; }
1100 eval $ac_envvar=\
$ac_optarg
1101 export $ac_envvar ;;
1104 # FIXME: should be removed in autoconf 3.0.
1105 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1106 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1107 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1108 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1114 if test -n "$ac_prev"; then
1115 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1116 { echo "$as_me: error: missing argument to $ac_option" >&2
1117 { (exit 1); exit 1; }; }
1120 # Be sure to have absolute directory names.
1121 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1122 datadir sysconfdir sharedstatedir localstatedir includedir \
1123 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1124 libdir localedir mandir
1126 eval ac_val
=\$
$ac_var
1128 [\\/$
]* | ?
:[\\/]* ) continue;;
1129 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1131 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1132 { (exit 1); exit 1; }; }
1135 # There might be people who depend on the old broken behavior: `$host'
1136 # used to hold the argument of --host etc.
1137 # FIXME: To remove some day.
1140 target
=$target_alias
1142 # FIXME: To remove some day.
1143 if test "x$host_alias" != x
; then
1144 if test "x$build_alias" = x
; then
1145 cross_compiling
=maybe
1146 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1147 If a cross compiler is detected then cross compile mode will be used." >&2
1148 elif test "x$build_alias" != "x$host_alias"; then
1154 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1156 test "$silent" = yes && exec 6>/dev
/null
1159 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1160 ac_ls_di
=`ls -di .` &&
1161 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1162 { echo "$as_me: error: Working directory cannot be determined" >&2
1163 { (exit 1); exit 1; }; }
1164 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1165 { echo "$as_me: error: pwd does not report name of working directory" >&2
1166 { (exit 1); exit 1; }; }
1169 # Find the source files, if location was not specified.
1170 if test -z "$srcdir"; then
1171 ac_srcdir_defaulted
=yes
1172 # Try the directory containing this script, then the parent directory.
1173 ac_confdir
=`$as_dirname -- "$0" ||
1174 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1175 X"$0" : 'X\(//\)[^/]' \| \
1176 X"$0" : 'X\(//\)$' \| \
1177 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1197 if test ! -r "$srcdir/$ac_unique_file"; then
1201 ac_srcdir_defaulted
=no
1203 if test ! -r "$srcdir/$ac_unique_file"; then
1204 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1205 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1206 { (exit 1); exit 1; }; }
1208 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1210 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1211 { (exit 1); exit 1; }; }
1213 # When building in place, set srcdir=.
1214 if test "$ac_abs_confdir" = "$ac_pwd"; then
1217 # Remove unnecessary trailing slashes from srcdir.
1218 # Double slashes in file names in object file debugging info
1219 # mess up M-x gdb in Emacs.
1221 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1223 for ac_var
in $ac_precious_vars; do
1224 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1225 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1226 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1227 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1231 # Report the --help message.
1233 if test "$ac_init_help" = "long"; then
1234 # Omit some internal or obsolete options to make the list less imposing.
1235 # This message is too long to be a string in the A/UX 3.1 sh.
1237 \`configure' configures this package to adapt to many kinds of systems.
1239 Usage: $0 [OPTION]... [VAR=VALUE]...
1241 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1242 VAR=VALUE. See below for descriptions of some of the useful variables.
1244 Defaults for the options are specified in brackets.
1247 -h, --help display this help and exit
1248 --help=short display options specific to this package
1249 --help=recursive display the short help of all the included packages
1250 -V, --version display version information and exit
1251 -q, --quiet, --silent do not print \`checking...' messages
1252 --cache-file=FILE cache test results in FILE [disabled]
1253 -C, --config-cache alias for \`--cache-file=config.cache'
1254 -n, --no-create do not create output files
1255 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1257 Installation directories:
1258 --prefix=PREFIX install architecture-independent files in PREFIX
1259 [$ac_default_prefix]
1260 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1263 By default, \`make install' will install all the files in
1264 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1265 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1266 for instance \`--prefix=\$HOME'.
1268 For better control, use the options below.
1270 Fine tuning of the installation directories:
1271 --bindir=DIR user executables [EPREFIX/bin]
1272 --sbindir=DIR system admin executables [EPREFIX/sbin]
1273 --libexecdir=DIR program executables [EPREFIX/libexec]
1274 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1275 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1276 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1277 --libdir=DIR object code libraries [EPREFIX/lib]
1278 --includedir=DIR C header files [PREFIX/include]
1279 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1280 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1281 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1282 --infodir=DIR info documentation [DATAROOTDIR/info]
1283 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1284 --mandir=DIR man documentation [DATAROOTDIR/man]
1285 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1286 --htmldir=DIR html documentation [DOCDIR]
1287 --dvidir=DIR dvi documentation [DOCDIR]
1288 --pdfdir=DIR pdf documentation [DOCDIR]
1289 --psdir=DIR ps documentation [DOCDIR]
1295 --build=BUILD configure
for building on BUILD
[guessed
]
1296 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1297 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1301 if test -n "$ac_init_help"; then
1306 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1307 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1308 --disable-nls do not use Native Language Support
1309 --disable-rpath do not hardcode runtime library paths
1312 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1313 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1314 --with-cpus The number of cpus to be used
for building
(see
--with-procs, default
1)
1315 --with-getconf Enable automagical buildtime configuration
1316 --with-proc-multiply Multiply this
* number of cpus
for parallel making
(default
2).
1317 --with-procs The number of processes to run
in parallel during
make(num_cpus
* multiplier
).
1318 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1319 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1320 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1321 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1322 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1324 Some influential environment variables
:
1325 CC C compiler
command
1326 CFLAGS C compiler flags
1327 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1328 nonstandard directory
<lib dir
>
1329 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1330 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1331 you have headers
in a nonstandard directory
<include dir
>
1332 CXX C
++ compiler
command
1333 CXXFLAGS C
++ compiler flags
1336 Use these variables to override the choices made by
`configure' or to help
1337 it to find libraries and programs with nonstandard names/locations.
1343 if test "$ac_init_help" = "recursive"; then
1344 # If there are subdirs, report their specific --help.
1345 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1346 test -d "$ac_dir" || continue
1350 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1352 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1353 # A ".." for each directory in $ac_dir_suffix.
1354 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1355 case $ac_top_builddir_sub in
1356 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1357 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1360 ac_abs_top_builddir=$ac_pwd
1361 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1362 # for backward compatibility:
1363 ac_top_builddir=$ac_top_build_prefix
1366 .) # We are building in place.
1368 ac_top_srcdir=$ac_top_builddir_sub
1369 ac_abs_top_srcdir=$ac_pwd ;;
1370 [\\/]* | ?:[\\/]* ) # Absolute name.
1371 ac_srcdir=$srcdir$ac_dir_suffix;
1372 ac_top_srcdir=$srcdir
1373 ac_abs_top_srcdir=$srcdir ;;
1375 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1376 ac_top_srcdir=$ac_top_build_prefix$srcdir
1377 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1379 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1381 cd "$ac_dir" || { ac_status=$?; continue; }
1382 # Check for guested configure.
1383 if test -f "$ac_srcdir/configure.gnu"; then
1385 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1386 elif test -f "$ac_srcdir/configure"; then
1388 $SHELL "$ac_srcdir/configure" --help=recursive
1390 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1392 cd "$ac_pwd" || { ac_status=$?; break; }
1396 test -n "$ac_init_help" && exit $ac_status
1397 if $ac_init_version; then
1400 generated by GNU Autoconf 2.61
1402 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1403 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1404 This configure script is free software; the Free Software Foundation
1405 gives unlimited permission to copy, distribute and modify it.
1409 cat >config.log <<_ACEOF
1410 This file contains any messages produced by compilers while
1411 running configure, to aid debugging if configure makes a mistake.
1413 It was created by $as_me, which was
1414 generated by GNU Autoconf 2.61. Invocation command line was
1426 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1427 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1428 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1429 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1430 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1432 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1433 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1435 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1436 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1437 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1438 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
1439 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1440 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1441 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1449 test -z "$as_dir" && as_dir=.
1450 echo "PATH: $as_dir"
1466 # Keep a trace of the command line.
1467 # Strip out --no-create and --no-recursion so they do not pile up.
1468 # Strip out --silent because we don't want to record it for future runs.
1469 # Also quote any args containing shell meta-characters.
1470 # Make two passes to allow for proper duplicate-argument suppression.
1474 ac_must_keep_next=false
1480 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1481 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1482 | -silent | --silent | --silen | --sile | --sil)
1485 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1488 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1490 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1491 if test $ac_must_keep_next = true; then
1492 ac_must_keep_next=false # Got value, back to normal.
1495 *=* | --config-cache | -C | -disable-* | --disable-* \
1496 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1497 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1498 | -with-* | --with-* | -without-* | --without-* | --x)
1499 case "$ac_configure_args0 " in
1500 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1503 -* ) ac_must_keep_next=true ;;
1506 ac_configure_args="$ac_configure_args '$ac_arg'"
1511 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1512 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1514 # When interrupted or exit'd, cleanup temporary files, and complete
1515 # config.log. We remove comments because anyway the quotes in there
1516 # would cause problems or look ugly.
1517 # WARNING: Use '\'' to represent an apostrophe within the trap.
1518 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1519 trap 'exit_status=$?
1520 # Save into config.log some information that might help in debugging.
1525 ## ---------------- ##
1526 ## Cache variables. ##
1527 ## ---------------- ##
1530 # The following way of writing the cache mishandles newlines in values,
1532 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
1533 eval ac_val=\$$ac_var
1537 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1538 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1541 _ | IFS | as_nl) ;; #(
1542 *) $as_unset $ac_var ;;
1547 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1548 *${as_nl}ac_space=\ *)
1550 "s/'\''/'\''\\\\'\'''\''/g;
1551 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1554 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1562 ## ----------------- ##
1563 ## Output variables. ##
1564 ## ----------------- ##
1567 for ac_var in $ac_subst_vars
1569 eval ac_val=\$$ac_var
1571 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1573 echo "$ac_var='\''$ac_val'\''"
1577 if test -n "$ac_subst_files"; then
1579 ## ------------------- ##
1580 ## File substitutions. ##
1581 ## ------------------- ##
1584 for ac_var in $ac_subst_files
1586 eval ac_val=\$$ac_var
1588 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1590 echo "$ac_var='\''$ac_val'\''"
1595 if test -s confdefs.h; then
1605 test "$ac_signal" != 0 &&
1606 echo "$as_me: caught signal $ac_signal"
1607 echo "$as_me: exit $exit_status"
1609 rm -f core *.core core.conftest.* &&
1610 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1613 for ac_signal in 1 2 13 15; do
1614 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1618 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1619 rm -f -r conftest* confdefs.h
1621 # Predefined preprocessor variables.
1623 cat >>confdefs.h <<_ACEOF
1624 #define PACKAGE_NAME "$PACKAGE_NAME"
1628 cat >>confdefs.h <<_ACEOF
1629 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1633 cat >>confdefs.h <<_ACEOF
1634 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1638 cat >>confdefs.h <<_ACEOF
1639 #define PACKAGE_STRING "$PACKAGE_STRING"
1643 cat >>confdefs.h <<_ACEOF
1644 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1648 # Let the site file select an alternate cache file if it wants to.
1649 # Prefer explicitly selected file to automatically selected ones.
1650 if test -n "$CONFIG_SITE"; then
1651 set x "$CONFIG_SITE"
1652 elif test "x$prefix" != xNONE; then
1653 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1655 set x "$ac_default_prefix/share/config.site" \
1656 "$ac_default_prefix/etc/config.site"
1661 if test -r "$ac_site_file"; then
1662 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1663 echo "$as_me: loading site script $ac_site_file" >&6;}
1664 sed 's/^/| /' "$ac_site_file" >&5
1669 if test -r "$cache_file"; then
1670 # Some versions of bash will fail to source /dev/null (special
1671 # files actually), so we avoid doing that.
1672 if test -f "$cache_file"; then
1673 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1674 echo "$as_me: loading cache $cache_file" >&6;}
1676 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1677 *) . "./$cache_file";;
1681 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1682 echo "$as_me: creating cache $cache_file" >&6;}
1686 # Check that the precious variables saved in the cache have kept the same
1688 ac_cache_corrupted=false
1689 for ac_var in $ac_precious_vars; do
1690 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1691 eval ac_new_set=\$ac_env_${ac_var}_set
1692 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1693 eval ac_new_val=\$ac_env_${ac_var}_value
1694 case $ac_old_set,$ac_new_set in
1696 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1697 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1698 ac_cache_corrupted=: ;;
1700 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1701 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1702 ac_cache_corrupted=: ;;
1705 if test "x$ac_old_val" != "x$ac_new_val"; then
1706 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1707 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1708 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1709 echo "$as_me: former value
: $ac_old_val" >&2;}
1710 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1711 echo "$as_me: current value
: $ac_new_val" >&2;}
1712 ac_cache_corrupted=:
1715 # Pass precious variables to config.status.
1716 if test "$ac_new_set" = set; then
1718 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1719 *) ac_arg=$ac_var=$ac_new_val ;;
1721 case " $ac_configure_args " in
1722 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1723 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1727 if $ac_cache_corrupted; then
1728 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1729 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1730 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1731 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1732 { (exit 1); exit 1; }; }
1752 ac_cpp='$CPP $CPPFLAGS'
1753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1759 for ac_dir in buildlib "$srcdir"/buildlib; do
1760 if test -f "$ac_dir/install-sh"; then
1762 ac_install_sh="$ac_aux_dir/install-sh -c"
1764 elif test -f "$ac_dir/install.sh"; then
1766 ac_install_sh="$ac_aux_dir/install.sh -c"
1768 elif test -f "$ac_dir/shtool"; then
1770 ac_install_sh="$ac_aux_dir/shtool install -c"
1774 if test -z "$ac_aux_dir"; then
1775 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in buildlib \"$srcdir\"/buildlib" >&5
1776 echo "$as_me: error: cannot find install-sh or install.sh in buildlib \"$srcdir\"/buildlib" >&2;}
1777 { (exit 1); exit 1; }; }
1780 # These three variables are undocumented and unsupported,
1781 # and are intended to be withdrawn in a future Autoconf release.
1782 # They can cause serious problems if a builder's source tree is in a directory
1783 # whose full name contains unusual characters.
1784 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1785 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1786 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1789 ac_config_headers="$ac_config_headers include/config.h:buildlib/config.h.in include/apti18n.h:buildlib/apti18n.h.in"
1792 cat >>confdefs.h <<_ACEOF
1793 #define VERSION "0.6.46.4-0.1"
1797 cat >>confdefs.h <<_ACEOF
1798 #define PACKAGE "$PACKAGE"
1803 # Make sure we can run config.sub.
1804 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1805 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1806 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1807 { (exit 1); exit 1; }; }
1809 { echo "$as_me:$LINENO: checking build system type" >&5
1810 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1811 if test "${ac_cv_build+set}" = set; then
1812 echo $ECHO_N "(cached) $ECHO_C" >&6
1814 ac_build_alias=$build_alias
1815 test "x$ac_build_alias" = x &&
1816 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1817 test "x$ac_build_alias" = x &&
1818 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1819 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1820 { (exit 1); exit 1; }; }
1821 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1822 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1823 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1824 { (exit 1); exit 1; }; }
1827 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1828 echo "${ECHO_T}$ac_cv_build" >&6; }
1829 case $ac_cv_build in
1831 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1832 echo "$as_me: error: invalid value of canonical build" >&2;}
1833 { (exit 1); exit 1; }; };;
1836 ac_save_IFS=$IFS; IFS='-'
1842 # Remember, the first character of IFS is used to create $*,
1843 # except with old shells:
1846 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1849 { echo "$as_me:$LINENO: checking host system type" >&5
1850 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1851 if test "${ac_cv_host+set}" = set; then
1852 echo $ECHO_N "(cached) $ECHO_C" >&6
1854 if test "x$host_alias" = x; then
1855 ac_cv_host=$ac_cv_build
1857 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1858 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1859 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1860 { (exit 1); exit 1; }; }
1864 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1865 echo "${ECHO_T}$ac_cv_host" >&6; }
1868 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1869 echo "$as_me: error: invalid value of canonical host" >&2;}
1870 { (exit 1); exit 1; }; };;
1873 ac_save_IFS=$IFS; IFS='-'
1879 # Remember, the first character of IFS is used to create $*,
1880 # except with old shells:
1883 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1886 { echo "$as_me:$LINENO: checking target system type" >&5
1887 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1888 if test "${ac_cv_target+set}" = set; then
1889 echo $ECHO_N "(cached) $ECHO_C" >&6
1891 if test "x$target_alias" = x; then
1892 ac_cv_target=$ac_cv_host
1894 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1895 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1896 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1897 { (exit 1); exit 1; }; }
1901 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1902 echo "${ECHO_T}$ac_cv_target" >&6; }
1903 case $ac_cv_target in
1905 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1906 echo "$as_me: error: invalid value of canonical target" >&2;}
1907 { (exit 1); exit 1; }; };;
1909 target=$ac_cv_target
1910 ac_save_IFS=$IFS; IFS='-'
1916 # Remember, the first character of IFS is used to create $*,
1917 # except with old shells:
1920 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1923 # The aliases save the names the user supplied, while $host etc.
1924 # will get canonicalized.
1925 test -n "$target_alias" &&
1926 test "$program_prefix$program_suffix$program_transform_name" = \
1928 program_prefix=${target_alias}-
1932 ac_cpp='$CPP $CPPFLAGS'
1933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1936 if test -n "$ac_tool_prefix"; then
1937 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1938 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1939 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1941 if test "${ac_cv_prog_CC+set}" = set; then
1942 echo $ECHO_N "(cached) $ECHO_C" >&6
1944 if test -n "$CC"; then
1945 ac_cv_prog_CC="$CC" # Let the user override the test.
1947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1951 test -z "$as_dir" && as_dir=.
1952 for ac_exec_ext in '' $ac_executable_extensions; do
1953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1954 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1965 if test -n "$CC"; then
1966 { echo "$as_me:$LINENO: result: $CC" >&5
1967 echo "${ECHO_T}$CC" >&6; }
1969 { echo "$as_me:$LINENO: result: no" >&5
1970 echo "${ECHO_T}no" >&6; }
1975 if test -z "$ac_cv_prog_CC"; then
1977 # Extract the first word of "gcc", so it can be a program name with args.
1978 set dummy gcc; ac_word=$2
1979 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1981 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1982 echo $ECHO_N "(cached) $ECHO_C" >&6
1984 if test -n "$ac_ct_CC"; then
1985 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1991 test -z "$as_dir" && as_dir=.
1992 for ac_exec_ext in '' $ac_executable_extensions; do
1993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1994 ac_cv_prog_ac_ct_CC="gcc"
1995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2004 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2005 if test -n "$ac_ct_CC"; then
2006 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2007 echo "${ECHO_T}$ac_ct_CC" >&6; }
2009 { echo "$as_me:$LINENO: result: no" >&5
2010 echo "${ECHO_T}no" >&6; }
2013 if test "x$ac_ct_CC" = x; then
2016 case $cross_compiling:$ac_tool_warned in
2018 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2019 whose name does not start with the host triplet. If you think this
2020 configuration is useful to you, please write to autoconf@gnu.org." >&5
2021 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2022 whose name does not start with the host triplet. If you think this
2023 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2024 ac_tool_warned=yes ;;
2032 if test -z "$CC"; then
2033 if test -n "$ac_tool_prefix"; then
2034 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2035 set dummy ${ac_tool_prefix}cc; ac_word=$2
2036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2038 if test "${ac_cv_prog_CC+set}" = set; then
2039 echo $ECHO_N "(cached) $ECHO_C" >&6
2041 if test -n "$CC"; then
2042 ac_cv_prog_CC="$CC" # Let the user override the test.
2044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2048 test -z "$as_dir" && as_dir=.
2049 for ac_exec_ext in '' $ac_executable_extensions; do
2050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2051 ac_cv_prog_CC="${ac_tool_prefix}cc"
2052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2062 if test -n "$CC"; then
2063 { echo "$as_me:$LINENO: result: $CC" >&5
2064 echo "${ECHO_T}$CC" >&6; }
2066 { echo "$as_me:$LINENO: result: no" >&5
2067 echo "${ECHO_T}no" >&6; }
2073 if test -z "$CC"; then
2074 # Extract the first word of "cc", so it can be a program name with args.
2075 set dummy cc; ac_word=$2
2076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2078 if test "${ac_cv_prog_CC+set}" = set; then
2079 echo $ECHO_N "(cached) $ECHO_C" >&6
2081 if test -n "$CC"; then
2082 ac_cv_prog_CC="$CC" # Let the user override the test.
2085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2089 test -z "$as_dir" && as_dir=.
2090 for ac_exec_ext in '' $ac_executable_extensions; do
2091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2092 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2093 ac_prog_rejected=yes
2097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2104 if test $ac_prog_rejected = yes; then
2105 # We found a bogon in the path, so make sure we never use it.
2106 set dummy $ac_cv_prog_CC
2108 if test $# != 0; then
2109 # We chose a different compiler from the bogus one.
2110 # However, it has the same basename, so the bogon will be chosen
2111 # first if we set CC to just the basename; use the full file name.
2113 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2119 if test -n "$CC"; then
2120 { echo "$as_me:$LINENO: result: $CC" >&5
2121 echo "${ECHO_T}$CC" >&6; }
2123 { echo "$as_me:$LINENO: result: no" >&5
2124 echo "${ECHO_T}no" >&6; }
2129 if test -z "$CC"; then
2130 if test -n "$ac_tool_prefix"; then
2131 for ac_prog in cl.exe
2133 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2134 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2137 if test "${ac_cv_prog_CC+set}" = set; then
2138 echo $ECHO_N "(cached) $ECHO_C" >&6
2140 if test -n "$CC"; then
2141 ac_cv_prog_CC="$CC" # Let the user override the test.
2143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2147 test -z "$as_dir" && as_dir=.
2148 for ac_exec_ext in '' $ac_executable_extensions; do
2149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2150 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2161 if test -n "$CC"; then
2162 { echo "$as_me:$LINENO: result: $CC" >&5
2163 echo "${ECHO_T}$CC" >&6; }
2165 { echo "$as_me:$LINENO: result: no" >&5
2166 echo "${ECHO_T}no" >&6; }
2170 test -n "$CC" && break
2173 if test -z "$CC"; then
2175 for ac_prog in cl.exe
2177 # Extract the first word of "$ac_prog", so it can be a program name with args.
2178 set dummy $ac_prog; ac_word=$2
2179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2181 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2182 echo $ECHO_N "(cached) $ECHO_C" >&6
2184 if test -n "$ac_ct_CC"; then
2185 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2191 test -z "$as_dir" && as_dir=.
2192 for ac_exec_ext in '' $ac_executable_extensions; do
2193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2194 ac_cv_prog_ac_ct_CC="$ac_prog"
2195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2204 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2205 if test -n "$ac_ct_CC"; then
2206 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2207 echo "${ECHO_T}$ac_ct_CC" >&6; }
2209 { echo "$as_me:$LINENO: result: no" >&5
2210 echo "${ECHO_T}no" >&6; }
2214 test -n "$ac_ct_CC" && break
2217 if test "x$ac_ct_CC" = x; then
2220 case $cross_compiling:$ac_tool_warned in
2222 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2223 whose name does not start with the host triplet. If you think this
2224 configuration is useful to you, please write to autoconf@gnu.org." >&5
2225 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2226 whose name does not start with the host triplet. If you think this
2227 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2228 ac_tool_warned=yes ;;
2237 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2238 See \`config.log
' for more details." >&5
2239 echo "$as_me: error: no acceptable C compiler found in \$PATH
2240 See \`config.log' for more details.
" >&2;}
2241 { (exit 1); exit 1; }; }
2243 # Provide some information about the compiler.
2244 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2245 ac_compiler=`set X $ac_compile; echo $2`
2246 { (ac_try="$ac_compiler --version >&5"
2248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2249 *) ac_try_echo=$ac_try;;
2251 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2252 (eval "$ac_compiler --version >&5") 2>&5
2254 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2255 (exit $ac_status); }
2256 { (ac_try="$ac_compiler -v >&5"
2258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2259 *) ac_try_echo=$ac_try;;
2261 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2262 (eval "$ac_compiler -v >&5") 2>&5
2264 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2265 (exit $ac_status); }
2266 { (ac_try="$ac_compiler -V >&5"
2268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2269 *) ac_try_echo=$ac_try;;
2271 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2272 (eval "$ac_compiler -V >&5") 2>&5
2274 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2275 (exit $ac_status); }
2277 cat >conftest.$ac_ext <<_ACEOF
2280 cat confdefs.h >>conftest.$ac_ext
2281 cat >>conftest.$ac_ext <<_ACEOF
2282 /* end confdefs.h. */
2292 ac_clean_files_save=$ac_clean_files
2293 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2294 # Try to create an executable without -o first, disregard a.out.
2295 # It will help us diagnose broken compilers, and finding out an intuition
2297 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2298 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2299 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2301 # List of possible output files, starting from the most likely.
2302 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2303 # only as a last resort. b.out is created by i960 compilers.
2304 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2306 # The IRIX 6 linker writes into existing files which may not be
2307 # executable, retaining their permissions. Remove them first so a
2308 # subsequent execution test works.
2310 for ac_file in $ac_files
2313 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2314 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2319 if { (ac_try="$ac_link_default"
2321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2322 *) ac_try_echo=$ac_try;;
2324 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2325 (eval "$ac_link_default") 2>&5
2327 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2328 (exit $ac_status); }; then
2329 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2330 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2331 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2332 # so that the user can short-circuit this test for compilers unknown to
2334 for ac_file in $ac_files ''
2336 test -f "$ac_file" || continue
2338 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2341 # We found the default executable, but exeext='' is most
2345 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2347 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2349 # We set ac_cv_exeext here because the later test for it is not
2350 # safe: cross compilers may not add the suffix if given an `-o'
2351 # argument, so we may need to know it at that point already.
2352 # Even if this section looks crufty: it has the advantage of
2359 test "$ac_cv_exeext" = no && ac_cv_exeext=
2365 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2366 echo "${ECHO_T}$ac_file" >&6; }
2367 if test -z "$ac_file"; then
2368 echo "$as_me: failed program was
:" >&5
2369 sed 's/^/| /' conftest.$ac_ext >&5
2371 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2372 See \
`config.log' for more details." >&5
2373 echo "$as_me: error: C compiler cannot create executables
2374 See \`config.log
' for more details." >&2;}
2375 { (exit 77); exit 77; }; }
2378 ac_exeext=$ac_cv_exeext
2380 # Check that the compiler produces executables we can run. If not, either
2381 # the compiler is broken, or we cross compile.
2382 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2383 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2384 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2385 # If not cross compiling, check that we can run a simple program.
2386 if test "$cross_compiling" != yes; then
2387 if { ac_try='.
/$ac_file'
2388 { (case "(($ac_try" in
2389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2390 *) ac_try_echo=$ac_try;;
2392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2393 (eval "$ac_try") 2>&5
2395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 (exit $ac_status); }; }; then
2399 if test "$cross_compiling" = maybe; then
2402 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2403 If you meant to cross compile, use \`--host'.
2404 See \
`config.log' for more details." >&5
2405 echo "$as_me: error: cannot run C compiled programs.
2406 If you meant to cross compile, use \`--host'.
2407 See \`config.log' for more details.
" >&2;}
2408 { (exit 1); exit 1; }; }
2412 { echo "$as_me:$LINENO: result
: yes" >&5
2413 echo "${ECHO_T}yes" >&6; }
2415 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2416 ac_clean_files=$ac_clean_files_save
2417 # Check that the compiler produces executables we can run. If not, either
2418 # the compiler is broken, or we cross compile.
2419 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2420 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2421 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2422 echo "${ECHO_T}$cross_compiling" >&6; }
2424 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2425 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2426 if { (ac_try="$ac_link"
2428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2429 *) ac_try_echo=$ac_try;;
2431 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2432 (eval "$ac_link") 2>&5
2434 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2435 (exit $ac_status); }; then
2436 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2437 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2438 # work properly (i.e., refer to `conftest.exe'), while it won't with
2440 for ac_file in conftest.exe conftest conftest.*; do
2441 test -f "$ac_file" || continue
2443 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2444 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2450 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2451 See \
`config.log' for more details." >&5
2452 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2453 See \`config.log
' for more details." >&2;}
2454 { (exit 1); exit 1; }; }
2457 rm -f conftest$ac_cv_exeext
2458 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2459 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2461 rm -f conftest.$ac_ext
2462 EXEEXT=$ac_cv_exeext
2464 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2465 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2466 if test "${ac_cv_objext+set}" = set; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6
2469 cat >conftest.$ac_ext <<_ACEOF
2472 cat confdefs.h >>conftest.$ac_ext
2473 cat >>conftest.$ac_ext <<_ACEOF
2474 /* end confdefs.h. */
2484 rm -f conftest.o conftest.obj
2485 if { (ac_try="$ac_compile"
2487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2488 *) ac_try_echo=$ac_try;;
2490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2491 (eval "$ac_compile") 2>&5
2493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2494 (exit $ac_status); }; then
2495 for ac_file in conftest.o conftest.obj conftest.*; do
2496 test -f "$ac_file" || continue;
2498 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2499 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2504 echo "$as_me: failed program was:" >&5
2505 sed 's
/^
/| /' conftest.$ac_ext >&5
2507 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2508 See \`config.log' for more details.
" >&5
2509 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2510 See \
`config.log' for more details." >&2;}
2511 { (exit 1); exit 1; }; }
2514 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2516 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2517 echo "${ECHO_T}$ac_cv_objext" >&6; }
2518 OBJEXT=$ac_cv_objext
2520 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2521 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2522 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2523 echo $ECHO_N "(cached) $ECHO_C" >&6
2525 cat >conftest.$ac_ext <<_ACEOF
2528 cat confdefs.h >>conftest.$ac_ext
2529 cat >>conftest.$ac_ext <<_ACEOF
2530 /* end confdefs.h. */
2543 rm -f conftest.$ac_objext
2544 if { (ac_try="$ac_compile"
2546 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2547 *) ac_try_echo
=$ac_try;;
2549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2550 (eval "$ac_compile") 2>conftest.er1
2552 grep -v '^ *+' conftest.er1
>conftest.err
2554 cat conftest.err
>&5
2555 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 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
2569 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2572 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2573 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2574 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2575 ac_test_CFLAGS
=${CFLAGS+set}
2576 ac_save_CFLAGS
=$CFLAGS
2577 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2578 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2579 if test "${ac_cv_prog_cc_g+set}" = set; then
2580 echo $ECHO_N "(cached) $ECHO_C" >&6
2582 ac_save_c_werror_flag
=$ac_c_werror_flag
2583 ac_c_werror_flag
=yes
2586 cat >conftest.
$ac_ext <<_ACEOF
2589 cat confdefs.h
>>conftest.
$ac_ext
2590 cat >>conftest.
$ac_ext <<_ACEOF
2591 /* end confdefs.h. */
2601 rm -f conftest.
$ac_objext
2602 if { (ac_try
="$ac_compile"
2604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2605 *) ac_try_echo=$ac_try;;
2607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2608 (eval "$ac_compile") 2>conftest.er1
2610 grep -v '^ *+' conftest.er1 >conftest.err
2612 cat conftest.err >&5
2613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614 (exit $ac_status); } && {
2615 test -z "$ac_c_werror_flag" ||
2616 test ! -s conftest.err
2617 } && test -s conftest.$ac_objext; then
2620 echo "$as_me: failed program was:" >&5
2621 sed 's/^/| /' conftest.$ac_ext >&5
2624 cat >conftest.$ac_ext <<_ACEOF
2627 cat confdefs.h >>conftest.$ac_ext
2628 cat >>conftest.$ac_ext <<_ACEOF
2629 /* end confdefs.h. */
2639 rm -f conftest.$ac_objext
2640 if { (ac_try="$ac_compile"
2642 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2643 *) ac_try_echo
=$ac_try;;
2645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2646 (eval "$ac_compile") 2>conftest.er1
2648 grep -v '^ *+' conftest.er1
>conftest.err
2650 cat conftest.err
>&5
2651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652 (exit $ac_status); } && {
2653 test -z "$ac_c_werror_flag" ||
2654 test ! -s conftest.err
2655 } && test -s conftest.
$ac_objext; then
2658 echo "$as_me: failed program was:" >&5
2659 sed 's/^/| /' conftest.
$ac_ext >&5
2661 ac_c_werror_flag
=$ac_save_c_werror_flag
2663 cat >conftest.
$ac_ext <<_ACEOF
2666 cat confdefs.h
>>conftest.
$ac_ext
2667 cat >>conftest.
$ac_ext <<_ACEOF
2668 /* end confdefs.h. */
2678 rm -f conftest.
$ac_objext
2679 if { (ac_try
="$ac_compile"
2681 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2682 *) ac_try_echo=$ac_try;;
2684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2685 (eval "$ac_compile") 2>conftest.er1
2687 grep -v '^ *+' conftest.er1 >conftest.err
2689 cat conftest.err >&5
2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691 (exit $ac_status); } && {
2692 test -z "$ac_c_werror_flag" ||
2693 test ! -s conftest.err
2694 } && test -s conftest.$ac_objext; then
2697 echo "$as_me: failed program was:" >&5
2698 sed 's/^/| /' conftest.$ac_ext >&5
2703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2710 ac_c_werror_flag=$ac_save_c_werror_flag
2712 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2713 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2714 if test "$ac_test_CFLAGS" = set; then
2715 CFLAGS=$ac_save_CFLAGS
2716 elif test $ac_cv_prog_cc_g = yes; then
2717 if test "$GCC" = yes; then
2723 if test "$GCC" = yes; then
2729 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2730 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2731 if test "${ac_cv_prog_cc_c89+set}" = set; then
2732 echo $ECHO_N "(cached) $ECHO_C" >&6
2734 ac_cv_prog_cc_c89=no
2736 cat >conftest.$ac_ext <<_ACEOF
2739 cat confdefs.h >>conftest.$ac_ext
2740 cat >>conftest.$ac_ext <<_ACEOF
2741 /* end confdefs.h. */
2744 #include <sys/types.h>
2745 #include <sys/stat.h>
2746 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2747 struct buf { int x; };
2748 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2749 static char *e (p, i)
2755 static char *f (char * (*g) (char **, int), char **p, ...)
2760 s = g (p, va_arg (v,int));
2765 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2766 function prototypes and stuff, but not '\xHH' hex character constants.
2767 These don't provoke an error unfortunately, instead are silently treated
2768 as 'x'. The following induces an error, until -std is added to get
2769 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2770 array size at least. It's necessary to write '\x00'==0 to get something
2771 that's true only with -std. */
2772 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2774 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2775 inside strings and character constants. */
2777 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2779 int test (int i, double x);
2780 struct s1 {int (*f) (int a);};
2781 struct s2 {int (*f) (double a);};
2782 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2788 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2793 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2794 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2796 CC="$ac_save_CC $ac_arg"
2797 rm -f conftest.$ac_objext
2798 if { (ac_try="$ac_compile"
2800 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2801 *) ac_try_echo
=$ac_try;;
2803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2804 (eval "$ac_compile") 2>conftest.er1
2806 grep -v '^ *+' conftest.er1
>conftest.err
2808 cat conftest.err
>&5
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); } && {
2811 test -z "$ac_c_werror_flag" ||
2812 test ! -s conftest.err
2813 } && test -s conftest.
$ac_objext; then
2814 ac_cv_prog_cc_c89
=$ac_arg
2816 echo "$as_me: failed program was:" >&5
2817 sed 's/^/| /' conftest.
$ac_ext >&5
2822 rm -f core conftest.err conftest.
$ac_objext
2823 test "x$ac_cv_prog_cc_c89" != "xno" && break
2825 rm -f conftest.
$ac_ext
2830 case "x$ac_cv_prog_cc_c89" in
2832 { echo "$as_me:$LINENO: result: none needed" >&5
2833 echo "${ECHO_T}none needed" >&6; } ;;
2835 { echo "$as_me:$LINENO: result: unsupported" >&5
2836 echo "${ECHO_T}unsupported" >&6; } ;;
2838 CC
="$CC $ac_cv_prog_cc_c89"
2839 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2840 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2845 ac_cpp
='$CPP $CPPFLAGS'
2846 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2847 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2848 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2851 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
2852 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
2853 if test "${ac_cv_search_strerror+set}" = set; then
2854 echo $ECHO_N "(cached) $ECHO_C" >&6
2856 ac_func_search_save_LIBS
=$LIBS
2857 cat >conftest.
$ac_ext <<_ACEOF
2860 cat confdefs.h
>>conftest.
$ac_ext
2861 cat >>conftest.
$ac_ext <<_ACEOF
2862 /* end confdefs.h. */
2864 /* Override any GCC internal prototype to avoid an error.
2865 Use char because int might match the return type of a GCC
2866 builtin and then its argument prototype would still apply. */
2879 for ac_lib
in '' cposix
; do
2880 if test -z "$ac_lib"; then
2881 ac_res
="none required"
2884 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2886 rm -f conftest.
$ac_objext conftest
$ac_exeext
2887 if { (ac_try
="$ac_link"
2889 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2890 *) ac_try_echo=$ac_try;;
2892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2893 (eval "$ac_link") 2>conftest.er1
2895 grep -v '^ *+' conftest.er1 >conftest.err
2897 cat conftest.err >&5
2898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899 (exit $ac_status); } && {
2900 test -z "$ac_c_werror_flag" ||
2901 test ! -s conftest.err
2902 } && test -s conftest$ac_exeext &&
2903 $as_test_x conftest$ac_exeext; then
2904 ac_cv_search_strerror=$ac_res
2906 echo "$as_me: failed program was:" >&5
2907 sed 's/^/| /' conftest.$ac_ext >&5
2912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2914 if test "${ac_cv_search_strerror+set}" = set; then
2918 if test "${ac_cv_search_strerror+set}" = set; then
2921 ac_cv_search_strerror=no
2924 LIBS=$ac_func_search_save_LIBS
2926 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2927 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
2928 ac_res=$ac_cv_search_strerror
2929 if test "$ac_res" != no; then
2930 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
2936 ac_cpp='$CXXCPP $CPPFLAGS'
2937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2940 if test -z "$CXX"; then
2941 if test -n "$CCC"; then
2944 if test -n "$ac_tool_prefix"; then
2945 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2947 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2948 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2949 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2951 if test "${ac_cv_prog_CXX+set}" = set; then
2952 echo $ECHO_N "(cached) $ECHO_C" >&6
2954 if test -n "$CXX"; then
2955 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2961 test -z "$as_dir" && as_dir=.
2962 for ac_exec_ext in '' $ac_executable_extensions; do
2963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2964 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2975 if test -n "$CXX"; then
2976 { echo "$as_me:$LINENO: result: $CXX" >&5
2977 echo "${ECHO_T}$CXX" >&6; }
2979 { echo "$as_me:$LINENO: result: no" >&5
2980 echo "${ECHO_T}no" >&6; }
2984 test -n "$CXX" && break
2987 if test -z "$CXX"; then
2989 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2991 # Extract the first word of "$ac_prog", so it can be a program name with args.
2992 set dummy $ac_prog; ac_word=$2
2993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2995 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2996 echo $ECHO_N "(cached) $ECHO_C" >&6
2998 if test -n "$ac_ct_CXX"; then
2999 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3005 test -z "$as_dir" && as_dir=.
3006 for ac_exec_ext in '' $ac_executable_extensions; do
3007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3008 ac_cv_prog_ac_ct_CXX="$ac_prog"
3009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3018 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3019 if test -n "$ac_ct_CXX"; then
3020 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3021 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3023 { echo "$as_me:$LINENO: result: no" >&5
3024 echo "${ECHO_T}no" >&6; }
3028 test -n "$ac_ct_CXX" && break
3031 if test "x$ac_ct_CXX" = x; then
3034 case $cross_compiling:$ac_tool_warned in
3036 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3037 whose name does not start with the host triplet. If you think this
3038 configuration is useful to you, please write to autoconf@gnu.org." >&5
3039 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3040 whose name does not start with the host triplet. If you think this
3041 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3042 ac_tool_warned=yes ;;
3050 # Provide some information about the compiler.
3051 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3052 ac_compiler=`set X
$ac_compile; echo $2`
3053 { (ac_try="$ac_compiler --version >&5"
3055 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3056 *) ac_try_echo
=$ac_try;;
3058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3059 (eval "$ac_compiler --version >&5") 2>&5
3061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3062 (exit $ac_status); }
3063 { (ac_try
="$ac_compiler -v >&5"
3065 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3066 *) ac_try_echo=$ac_try;;
3068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3069 (eval "$ac_compiler -v >&5") 2>&5
3071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3072 (exit $ac_status); }
3073 { (ac_try="$ac_compiler -V >&5"
3075 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3076 *) ac_try_echo
=$ac_try;;
3078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3079 (eval "$ac_compiler -V >&5") 2>&5
3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); }
3084 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3085 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3086 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3087 echo $ECHO_N "(cached) $ECHO_C" >&6
3089 cat >conftest.
$ac_ext <<_ACEOF
3092 cat confdefs.h
>>conftest.
$ac_ext
3093 cat >>conftest.
$ac_ext <<_ACEOF
3094 /* end confdefs.h. */
3107 rm -f conftest.
$ac_objext
3108 if { (ac_try
="$ac_compile"
3110 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3111 *) ac_try_echo=$ac_try;;
3113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3114 (eval "$ac_compile") 2>conftest.er1
3116 grep -v '^ *+' conftest.er1 >conftest.err
3118 cat conftest.err >&5
3119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120 (exit $ac_status); } && {
3121 test -z "$ac_cxx_werror_flag" ||
3122 test ! -s conftest.err
3123 } && test -s conftest.$ac_objext; then
3126 echo "$as_me: failed program was:" >&5
3127 sed 's/^/| /' conftest.$ac_ext >&5
3132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3133 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3136 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3137 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3138 GXX=`test $ac_compiler_gnu = yes && echo yes`
3139 ac_test_CXXFLAGS=${CXXFLAGS+set}
3140 ac_save_CXXFLAGS=$CXXFLAGS
3141 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3142 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3143 if test "${ac_cv_prog_cxx_g+set}" = set; then
3144 echo $ECHO_N "(cached) $ECHO_C" >&6
3146 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3147 ac_cxx_werror_flag=yes
3150 cat >conftest.$ac_ext <<_ACEOF
3153 cat confdefs.h >>conftest.$ac_ext
3154 cat >>conftest.$ac_ext <<_ACEOF
3155 /* end confdefs.h. */
3165 rm -f conftest.$ac_objext
3166 if { (ac_try="$ac_compile"
3168 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3169 *) ac_try_echo
=$ac_try;;
3171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3172 (eval "$ac_compile") 2>conftest.er1
3174 grep -v '^ *+' conftest.er1
>conftest.err
3176 cat conftest.err
>&5
3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178 (exit $ac_status); } && {
3179 test -z "$ac_cxx_werror_flag" ||
3180 test ! -s conftest.err
3181 } && test -s conftest.
$ac_objext; then
3182 ac_cv_prog_cxx_g
=yes
3184 echo "$as_me: failed program was:" >&5
3185 sed 's/^/| /' conftest.
$ac_ext >&5
3188 cat >conftest.
$ac_ext <<_ACEOF
3191 cat confdefs.h
>>conftest.
$ac_ext
3192 cat >>conftest.
$ac_ext <<_ACEOF
3193 /* end confdefs.h. */
3203 rm -f conftest.
$ac_objext
3204 if { (ac_try
="$ac_compile"
3206 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3207 *) ac_try_echo=$ac_try;;
3209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3210 (eval "$ac_compile") 2>conftest.er1
3212 grep -v '^ *+' conftest.er1 >conftest.err
3214 cat conftest.err >&5
3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); } && {
3217 test -z "$ac_cxx_werror_flag" ||
3218 test ! -s conftest.err
3219 } && test -s conftest.$ac_objext; then
3222 echo "$as_me: failed program was:" >&5
3223 sed 's/^/| /' conftest.$ac_ext >&5
3225 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3227 cat >conftest.$ac_ext <<_ACEOF
3230 cat confdefs.h >>conftest.$ac_ext
3231 cat >>conftest.$ac_ext <<_ACEOF
3232 /* end confdefs.h. */
3242 rm -f conftest.$ac_objext
3243 if { (ac_try="$ac_compile"
3245 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3246 *) ac_try_echo
=$ac_try;;
3248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3249 (eval "$ac_compile") 2>conftest.er1
3251 grep -v '^ *+' conftest.er1
>conftest.err
3253 cat conftest.err
>&5
3254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 (exit $ac_status); } && {
3256 test -z "$ac_cxx_werror_flag" ||
3257 test ! -s conftest.err
3258 } && test -s conftest.
$ac_objext; then
3259 ac_cv_prog_cxx_g
=yes
3261 echo "$as_me: failed program was:" >&5
3262 sed 's/^/| /' conftest.
$ac_ext >&5
3267 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3273 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3274 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3276 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3277 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3278 if test "$ac_test_CXXFLAGS" = set; then
3279 CXXFLAGS
=$ac_save_CXXFLAGS
3280 elif test $ac_cv_prog_cxx_g = yes; then
3281 if test "$GXX" = yes; then
3287 if test "$GXX" = yes; then
3294 ac_cpp
='$CPP $CPPFLAGS'
3295 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3296 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3297 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3300 ac_cpp
='$CPP $CPPFLAGS'
3301 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3302 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3303 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3304 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3305 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3306 # On Suns, sometimes $CPP names a directory.
3307 if test -n "$CPP" && test -d "$CPP"; then
3310 if test -z "$CPP"; then
3311 if test "${ac_cv_prog_CPP+set}" = set; then
3312 echo $ECHO_N "(cached) $ECHO_C" >&6
3314 # Double quotes because CPP needs to be expanded
3315 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3318 for ac_c_preproc_warn_flag
in '' yes
3320 # Use a header file that comes with gcc, so configuring glibc
3321 # with a fresh cross-compiler works.
3322 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3323 # <limits.h> exists even on freestanding compilers.
3324 # On the NeXT, cc -E runs the code through the compiler's parser,
3325 # not just through cpp. "Syntax error" is here to catch this case.
3326 cat >conftest.
$ac_ext <<_ACEOF
3329 cat confdefs.h
>>conftest.
$ac_ext
3330 cat >>conftest.
$ac_ext <<_ACEOF
3331 /* end confdefs.h. */
3333 # include <limits.h>
3335 # include <assert.h>
3339 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3341 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3342 *) ac_try_echo=$ac_try;;
3344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3345 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3347 grep -v '^ *+' conftest.er1 >conftest.err
3349 cat conftest.err >&5
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); } >/dev/null && {
3352 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3353 test ! -s conftest.err
3357 echo "$as_me: failed program was:" >&5
3358 sed 's/^/| /' conftest.$ac_ext >&5
3360 # Broken: fails on valid input.
3364 rm -f conftest.err conftest.$ac_ext
3366 # OK, works on sane cases. Now check whether nonexistent headers
3367 # can be detected and how.
3368 cat >conftest.$ac_ext <<_ACEOF
3371 cat confdefs.h >>conftest.$ac_ext
3372 cat >>conftest.$ac_ext <<_ACEOF
3373 /* end confdefs.h. */
3374 #include <ac_nonexistent.h>
3376 if { (ac_try="$ac_cpp conftest.$ac_ext"
3378 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3379 *) ac_try_echo
=$ac_try;;
3381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3382 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3384 grep -v '^ *+' conftest.er1
>conftest.err
3386 cat conftest.err
>&5
3387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388 (exit $ac_status); } >/dev
/null
&& {
3389 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3390 test ! -s conftest.err
3392 # Broken: success on invalid input.
3395 echo "$as_me: failed program was:" >&5
3396 sed 's/^/| /' conftest.
$ac_ext >&5
3398 # Passes both tests.
3403 rm -f conftest.err conftest.
$ac_ext
3406 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3407 rm -f conftest.err conftest.
$ac_ext
3408 if $ac_preproc_ok; then
3420 { echo "$as_me:$LINENO: result: $CPP" >&5
3421 echo "${ECHO_T}$CPP" >&6; }
3423 for ac_c_preproc_warn_flag
in '' yes
3425 # Use a header file that comes with gcc, so configuring glibc
3426 # with a fresh cross-compiler works.
3427 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3428 # <limits.h> exists even on freestanding compilers.
3429 # On the NeXT, cc -E runs the code through the compiler's parser,
3430 # not just through cpp. "Syntax error" is here to catch this case.
3431 cat >conftest.
$ac_ext <<_ACEOF
3434 cat confdefs.h
>>conftest.
$ac_ext
3435 cat >>conftest.
$ac_ext <<_ACEOF
3436 /* end confdefs.h. */
3438 # include <limits.h>
3440 # include <assert.h>
3444 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3446 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3447 *) ac_try_echo=$ac_try;;
3449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3450 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3452 grep -v '^ *+' conftest.er1 >conftest.err
3454 cat conftest.err >&5
3455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3456 (exit $ac_status); } >/dev/null && {
3457 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3458 test ! -s conftest.err
3462 echo "$as_me: failed program was:" >&5
3463 sed 's/^/| /' conftest.$ac_ext >&5
3465 # Broken: fails on valid input.
3469 rm -f conftest.err conftest.$ac_ext
3471 # OK, works on sane cases. Now check whether nonexistent headers
3472 # can be detected and how.
3473 cat >conftest.$ac_ext <<_ACEOF
3476 cat confdefs.h >>conftest.$ac_ext
3477 cat >>conftest.$ac_ext <<_ACEOF
3478 /* end confdefs.h. */
3479 #include <ac_nonexistent.h>
3481 if { (ac_try="$ac_cpp conftest.$ac_ext"
3483 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3484 *) ac_try_echo
=$ac_try;;
3486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3487 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3489 grep -v '^ *+' conftest.er1
>conftest.err
3491 cat conftest.err
>&5
3492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493 (exit $ac_status); } >/dev
/null
&& {
3494 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3495 test ! -s conftest.err
3497 # Broken: success on invalid input.
3500 echo "$as_me: failed program was:" >&5
3501 sed 's/^/| /' conftest.
$ac_ext >&5
3503 # Passes both tests.
3508 rm -f conftest.err conftest.
$ac_ext
3511 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3512 rm -f conftest.err conftest.
$ac_ext
3513 if $ac_preproc_ok; then
3516 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3517 See \`config.log' for more details." >&5
3518 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3519 See \`config.log' for more details." >&2;}
3520 { (exit 1); exit 1; }; }
3524 ac_cpp
='$CPP $CPPFLAGS'
3525 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3526 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3527 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3529 if test -n "$ac_tool_prefix"; then
3530 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3531 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3534 if test "${ac_cv_prog_RANLIB+set}" = set; then
3535 echo $ECHO_N "(cached) $ECHO_C" >&6
3537 if test -n "$RANLIB"; then
3538 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3544 test -z "$as_dir" && as_dir
=.
3545 for ac_exec_ext
in '' $ac_executable_extensions; do
3546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3547 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3557 RANLIB
=$ac_cv_prog_RANLIB
3558 if test -n "$RANLIB"; then
3559 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3560 echo "${ECHO_T}$RANLIB" >&6; }
3562 { echo "$as_me:$LINENO: result: no" >&5
3563 echo "${ECHO_T}no" >&6; }
3568 if test -z "$ac_cv_prog_RANLIB"; then
3569 ac_ct_RANLIB
=$RANLIB
3570 # Extract the first word of "ranlib", so it can be a program name with args.
3571 set dummy ranlib
; ac_word
=$2
3572 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3574 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3575 echo $ECHO_N "(cached) $ECHO_C" >&6
3577 if test -n "$ac_ct_RANLIB"; then
3578 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3584 test -z "$as_dir" && as_dir
=.
3585 for ac_exec_ext
in '' $ac_executable_extensions; do
3586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3587 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3597 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3598 if test -n "$ac_ct_RANLIB"; then
3599 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3600 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3602 { echo "$as_me:$LINENO: result: no" >&5
3603 echo "${ECHO_T}no" >&6; }
3606 if test "x$ac_ct_RANLIB" = x
; then
3609 case $cross_compiling:$ac_tool_warned in
3611 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3612 whose name does not start with the host triplet. If you think this
3613 configuration is useful to you, please write to autoconf@gnu.org." >&5
3614 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3615 whose name does not start with the host triplet. If you think this
3616 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3617 ac_tool_warned
=yes ;;
3619 RANLIB
=$ac_ct_RANLIB
3622 RANLIB
="$ac_cv_prog_RANLIB"
3625 if test -n "$ac_tool_prefix"; then
3626 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3627 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3630 if test "${ac_cv_prog_AR+set}" = set; then
3631 echo $ECHO_N "(cached) $ECHO_C" >&6
3633 if test -n "$AR"; then
3634 ac_cv_prog_AR
="$AR" # Let the user override the test.
3636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3640 test -z "$as_dir" && as_dir
=.
3641 for ac_exec_ext
in '' $ac_executable_extensions; do
3642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3643 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3654 if test -n "$AR"; then
3655 { echo "$as_me:$LINENO: result: $AR" >&5
3656 echo "${ECHO_T}$AR" >&6; }
3658 { echo "$as_me:$LINENO: result: no" >&5
3659 echo "${ECHO_T}no" >&6; }
3664 if test -z "$ac_cv_prog_AR"; then
3666 # Extract the first word of "ar", so it can be a program name with args.
3667 set dummy
ar; ac_word
=$2
3668 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3670 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3671 echo $ECHO_N "(cached) $ECHO_C" >&6
3673 if test -n "$ac_ct_AR"; then
3674 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3680 test -z "$as_dir" && as_dir
=.
3681 for ac_exec_ext
in '' $ac_executable_extensions; do
3682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3683 ac_cv_prog_ac_ct_AR
="ar"
3684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3693 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3694 if test -n "$ac_ct_AR"; then
3695 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3696 echo "${ECHO_T}$ac_ct_AR" >&6; }
3698 { echo "$as_me:$LINENO: result: no" >&5
3699 echo "${ECHO_T}no" >&6; }
3702 if test "x$ac_ct_AR" = x
; then
3705 case $cross_compiling:$ac_tool_warned in
3707 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3708 whose name does not start with the host triplet. If you think this
3709 configuration is useful to you, please write to autoconf@gnu.org." >&5
3710 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3711 whose name does not start with the host triplet. If you think this
3712 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3713 ac_tool_warned
=yes ;;
3724 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
3725 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
3726 if test "${ac_cv_search_gethostbyname+set}" = set; then
3727 echo $ECHO_N "(cached) $ECHO_C" >&6
3729 ac_func_search_save_LIBS
=$LIBS
3730 cat >conftest.
$ac_ext <<_ACEOF
3733 cat confdefs.h
>>conftest.
$ac_ext
3734 cat >>conftest.
$ac_ext <<_ACEOF
3735 /* end confdefs.h. */
3737 /* Override any GCC internal prototype to avoid an error.
3738 Use char because int might match the return type of a GCC
3739 builtin and then its argument prototype would still apply. */
3743 char gethostbyname ();
3747 return gethostbyname ();
3752 for ac_lib
in '' nsl
; do
3753 if test -z "$ac_lib"; then
3754 ac_res
="none required"
3757 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3759 rm -f conftest.
$ac_objext conftest
$ac_exeext
3760 if { (ac_try
="$ac_link"
3762 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3763 *) ac_try_echo=$ac_try;;
3765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3766 (eval "$ac_link") 2>conftest.er1
3768 grep -v '^ *+' conftest.er1 >conftest.err
3770 cat conftest.err >&5
3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772 (exit $ac_status); } && {
3773 test -z "$ac_c_werror_flag" ||
3774 test ! -s conftest.err
3775 } && test -s conftest$ac_exeext &&
3776 $as_test_x conftest$ac_exeext; then
3777 ac_cv_search_gethostbyname=$ac_res
3779 echo "$as_me: failed program was:" >&5
3780 sed 's/^/| /' conftest.$ac_ext >&5
3785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3787 if test "${ac_cv_search_gethostbyname+set}" = set; then
3791 if test "${ac_cv_search_gethostbyname+set}" = set; then
3794 ac_cv_search_gethostbyname=no
3797 LIBS=$ac_func_search_save_LIBS
3799 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
3800 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
3801 ac_res=$ac_cv_search_gethostbyname
3802 if test "$ac_res" != no; then
3803 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3807 { echo "$as_me:$LINENO: checking for library containing connect" >&5
3808 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
3809 if test "${ac_cv_search_connect+set}" = set; then
3810 echo $ECHO_N "(cached) $ECHO_C" >&6
3812 ac_func_search_save_LIBS=$LIBS
3813 cat >conftest.$ac_ext <<_ACEOF
3816 cat confdefs.h >>conftest.$ac_ext
3817 cat >>conftest.$ac_ext <<_ACEOF
3818 /* end confdefs.h. */
3820 /* Override any GCC internal prototype to avoid an error.
3821 Use char because int might match the return type of a GCC
3822 builtin and then its argument prototype would still apply. */
3835 for ac_lib in '' socket; do
3836 if test -z "$ac_lib"; then
3837 ac_res="none required"
3840 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3842 rm -f conftest.$ac_objext conftest$ac_exeext
3843 if { (ac_try="$ac_link"
3845 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3846 *) ac_try_echo
=$ac_try;;
3848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3849 (eval "$ac_link") 2>conftest.er1
3851 grep -v '^ *+' conftest.er1
>conftest.err
3853 cat conftest.err
>&5
3854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3855 (exit $ac_status); } && {
3856 test -z "$ac_c_werror_flag" ||
3857 test ! -s conftest.err
3858 } && test -s conftest
$ac_exeext &&
3859 $as_test_x conftest
$ac_exeext; then
3860 ac_cv_search_connect
=$ac_res
3862 echo "$as_me: failed program was:" >&5
3863 sed 's/^/| /' conftest.
$ac_ext >&5
3868 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
3870 if test "${ac_cv_search_connect+set}" = set; then
3874 if test "${ac_cv_search_connect+set}" = set; then
3877 ac_cv_search_connect
=no
3880 LIBS
=$ac_func_search_save_LIBS
3882 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
3883 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
3884 ac_res
=$ac_cv_search_connect
3885 if test "$ac_res" != no
; then
3886 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
3900 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3901 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3902 if test "${ac_cv_path_GREP+set}" = set; then
3903 echo $ECHO_N "(cached) $ECHO_C" >&6
3905 # Extract the first word of "grep ggrep" to use in msg output
3906 if test -z "$GREP"; then
3907 set dummy
grep ggrep
; ac_prog_name
=$2
3908 if test "${ac_cv_path_GREP+set}" = set; then
3909 echo $ECHO_N "(cached) $ECHO_C" >&6
3911 ac_path_GREP_found
=false
3912 # Loop through the user's path and test for each of PROGNAME-LIST
3913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3914 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3917 test -z "$as_dir" && as_dir
=.
3918 for ac_prog
in grep ggrep
; do
3919 for ac_exec_ext
in '' $ac_executable_extensions; do
3920 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3921 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3922 # Check for GNU ac_path_GREP and select it if it is found.
3923 # Check for GNU $ac_path_GREP
3924 case `"$ac_path_GREP" --version 2>&1` in
3926 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3929 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3932 cat "conftest.in" "conftest.in" >"conftest.tmp"
3933 mv "conftest.tmp" "conftest.in"
3934 cp "conftest.in" "conftest.nl"
3935 echo 'GREP' >> "conftest.nl"
3936 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
3937 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
3938 ac_count
=`expr $ac_count + 1`
3939 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3940 # Best one so far, save it but keep looking for a better one
3941 ac_cv_path_GREP
="$ac_path_GREP"
3942 ac_path_GREP_max
=$ac_count
3944 # 10*(2^10) chars as input seems more than enough
3945 test $ac_count -gt 10 && break
3947 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3951 $ac_path_GREP_found && break 3
3961 GREP
="$ac_cv_path_GREP"
3962 if test -z "$GREP"; then
3963 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3964 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3965 { (exit 1); exit 1; }; }
3969 ac_cv_path_GREP
=$GREP
3974 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3975 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3976 GREP
="$ac_cv_path_GREP"
3979 { echo "$as_me:$LINENO: checking for egrep" >&5
3980 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3981 if test "${ac_cv_path_EGREP+set}" = set; then
3982 echo $ECHO_N "(cached) $ECHO_C" >&6
3984 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
3985 then ac_cv_path_EGREP
="$GREP -E"
3987 # Extract the first word of "egrep" to use in msg output
3988 if test -z "$EGREP"; then
3989 set dummy
egrep; ac_prog_name
=$2
3990 if test "${ac_cv_path_EGREP+set}" = set; then
3991 echo $ECHO_N "(cached) $ECHO_C" >&6
3993 ac_path_EGREP_found
=false
3994 # Loop through the user's path and test for each of PROGNAME-LIST
3995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3996 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3999 test -z "$as_dir" && as_dir
=.
4000 for ac_prog
in egrep; do
4001 for ac_exec_ext
in '' $ac_executable_extensions; do
4002 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4003 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4004 # Check for GNU ac_path_EGREP and select it if it is found.
4005 # Check for GNU $ac_path_EGREP
4006 case `"$ac_path_EGREP" --version 2>&1` in
4008 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4011 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4014 cat "conftest.in" "conftest.in" >"conftest.tmp"
4015 mv "conftest.tmp" "conftest.in"
4016 cp "conftest.in" "conftest.nl"
4017 echo 'EGREP' >> "conftest.nl"
4018 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4019 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4020 ac_count
=`expr $ac_count + 1`
4021 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4022 # Best one so far, save it but keep looking for a better one
4023 ac_cv_path_EGREP
="$ac_path_EGREP"
4024 ac_path_EGREP_max
=$ac_count
4026 # 10*(2^10) chars as input seems more than enough
4027 test $ac_count -gt 10 && break
4029 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4033 $ac_path_EGREP_found && break 3
4043 EGREP
="$ac_cv_path_EGREP"
4044 if test -z "$EGREP"; then
4045 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4046 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4047 { (exit 1); exit 1; }; }
4051 ac_cv_path_EGREP
=$EGREP
4057 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4058 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4059 EGREP
="$ac_cv_path_EGREP"
4062 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4063 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4064 if test "${ac_cv_header_stdc+set}" = set; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4067 cat >conftest.
$ac_ext <<_ACEOF
4070 cat confdefs.h
>>conftest.
$ac_ext
4071 cat >>conftest.
$ac_ext <<_ACEOF
4072 /* end confdefs.h. */
4086 rm -f conftest.
$ac_objext
4087 if { (ac_try
="$ac_compile"
4089 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4090 *) ac_try_echo=$ac_try;;
4092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4093 (eval "$ac_compile") 2>conftest.er1
4095 grep -v '^ *+' conftest.er1 >conftest.err
4097 cat conftest.err >&5
4098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099 (exit $ac_status); } && {
4100 test -z "$ac_c_werror_flag" ||
4101 test ! -s conftest.err
4102 } && test -s conftest.$ac_objext; then
4103 ac_cv_header_stdc=yes
4105 echo "$as_me: failed program was:" >&5
4106 sed 's/^/| /' conftest.$ac_ext >&5
4108 ac_cv_header_stdc=no
4111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4113 if test $ac_cv_header_stdc = yes; then
4114 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4115 cat >conftest.$ac_ext <<_ACEOF
4118 cat confdefs.h >>conftest.$ac_ext
4119 cat >>conftest.$ac_ext <<_ACEOF
4120 /* end confdefs.h. */
4124 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4125 $EGREP "memchr" >/dev/null 2>&1; then
4128 ac_cv_header_stdc=no
4134 if test $ac_cv_header_stdc = yes; then
4135 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4136 cat >conftest.$ac_ext <<_ACEOF
4139 cat confdefs.h >>conftest.$ac_ext
4140 cat >>conftest.$ac_ext <<_ACEOF
4141 /* end confdefs.h. */
4145 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4146 $EGREP "free" >/dev/null 2>&1; then
4149 ac_cv_header_stdc=no
4155 if test $ac_cv_header_stdc = yes; then
4156 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4157 if test "$cross_compiling" = yes; then
4160 cat >conftest.$ac_ext <<_ACEOF
4163 cat confdefs.h >>conftest.$ac_ext
4164 cat >>conftest.$ac_ext <<_ACEOF
4165 /* end confdefs.h. */
4168 #if ((' ' & 0x0FF) == 0x020)
4169 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4170 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4172 # define ISLOWER(c) \
4173 (('a' <= (c) && (c) <= 'i') \
4174 || ('j' <= (c) && (c) <= 'r') \
4175 || ('s' <= (c) && (c) <= 'z'))
4176 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4179 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4184 for (i = 0; i < 256; i++)
4185 if (XOR (islower (i), ISLOWER (i))
4186 || toupper (i) != TOUPPER (i))
4191 rm -f conftest$ac_exeext
4192 if { (ac_try="$ac_link"
4194 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4195 *) ac_try_echo
=$ac_try;;
4197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4198 (eval "$ac_link") 2>&5
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4202 { (case "(($ac_try" in
4203 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4204 *) ac_try_echo=$ac_try;;
4206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4207 (eval "$ac_try") 2>&5
4209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210 (exit $ac_status); }; }; then
4213 echo "$as_me: program exited with status $ac_status" >&5
4214 echo "$as_me: failed program was:" >&5
4215 sed 's/^/| /' conftest.$ac_ext >&5
4218 ac_cv_header_stdc=no
4220 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4226 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4227 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4228 if test $ac_cv_header_stdc = yes; then
4230 cat >>confdefs.h <<\_ACEOF
4231 #define STDC_HEADERS 1
4236 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4246 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4247 inttypes.h stdint.h unistd.h
4249 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4250 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4252 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4253 echo $ECHO_N "(cached) $ECHO_C" >&6
4255 cat >conftest.$ac_ext <<_ACEOF
4258 cat confdefs.h >>conftest.$ac_ext
4259 cat >>conftest.$ac_ext <<_ACEOF
4260 /* end confdefs.h. */
4261 $ac_includes_default
4263 #include <$ac_header>
4265 rm -f conftest.$ac_objext
4266 if { (ac_try="$ac_compile"
4268 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4269 *) ac_try_echo
=$ac_try;;
4271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4272 (eval "$ac_compile") 2>conftest.er1
4274 grep -v '^ *+' conftest.er1
>conftest.err
4276 cat conftest.err
>&5
4277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278 (exit $ac_status); } && {
4279 test -z "$ac_c_werror_flag" ||
4280 test ! -s conftest.err
4281 } && test -s conftest.
$ac_objext; then
4282 eval "$as_ac_Header=yes"
4284 echo "$as_me: failed program was:" >&5
4285 sed 's/^/| /' conftest.
$ac_ext >&5
4287 eval "$as_ac_Header=no"
4290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4292 ac_res
=`eval echo '${'$as_ac_Header'}'`
4293 { echo "$as_me:$LINENO: result: $ac_res" >&5
4294 echo "${ECHO_T}$ac_res" >&6; }
4295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4296 cat >>confdefs.h
<<_ACEOF
4297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4305 if test "${ac_cv_header_db_h+set}" = set; then
4306 { echo "$as_me:$LINENO: checking for db.h" >&5
4307 echo $ECHO_N "checking for db.h... $ECHO_C" >&6; }
4308 if test "${ac_cv_header_db_h+set}" = set; then
4309 echo $ECHO_N "(cached) $ECHO_C" >&6
4311 { echo "$as_me:$LINENO: result: $ac_cv_header_db_h" >&5
4312 echo "${ECHO_T}$ac_cv_header_db_h" >&6; }
4314 # Is the header compilable?
4315 { echo "$as_me:$LINENO: checking db.h usability" >&5
4316 echo $ECHO_N "checking db.h usability... $ECHO_C" >&6; }
4317 cat >conftest.
$ac_ext <<_ACEOF
4320 cat confdefs.h
>>conftest.
$ac_ext
4321 cat >>conftest.
$ac_ext <<_ACEOF
4322 /* end confdefs.h. */
4323 $ac_includes_default
4326 rm -f conftest.
$ac_objext
4327 if { (ac_try
="$ac_compile"
4329 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4330 *) ac_try_echo=$ac_try;;
4332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4333 (eval "$ac_compile") 2>conftest.er1
4335 grep -v '^ *+' conftest.er1 >conftest.err
4337 cat conftest.err >&5
4338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4339 (exit $ac_status); } && {
4340 test -z "$ac_c_werror_flag" ||
4341 test ! -s conftest.err
4342 } && test -s conftest.$ac_objext; then
4343 ac_header_compiler=yes
4345 echo "$as_me: failed program was:" >&5
4346 sed 's/^/| /' conftest.$ac_ext >&5
4348 ac_header_compiler=no
4351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4352 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4353 echo "${ECHO_T}$ac_header_compiler" >&6; }
4355 # Is the header present?
4356 { echo "$as_me:$LINENO: checking db.h presence" >&5
4357 echo $ECHO_N "checking db.h presence... $ECHO_C" >&6; }
4358 cat >conftest.$ac_ext <<_ACEOF
4361 cat confdefs.h >>conftest.$ac_ext
4362 cat >>conftest.$ac_ext <<_ACEOF
4363 /* end confdefs.h. */
4366 if { (ac_try="$ac_cpp conftest.$ac_ext"
4368 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4369 *) ac_try_echo
=$ac_try;;
4371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4372 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4374 grep -v '^ *+' conftest.er1
>conftest.err
4376 cat conftest.err
>&5
4377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378 (exit $ac_status); } >/dev
/null
&& {
4379 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4380 test ! -s conftest.err
4382 ac_header_preproc
=yes
4384 echo "$as_me: failed program was:" >&5
4385 sed 's/^/| /' conftest.
$ac_ext >&5
4387 ac_header_preproc
=no
4390 rm -f conftest.err conftest.
$ac_ext
4391 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4392 echo "${ECHO_T}$ac_header_preproc" >&6; }
4394 # So? What about this header?
4395 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4397 { echo "$as_me:$LINENO: WARNING: db.h: accepted by the compiler, rejected by the preprocessor!" >&5
4398 echo "$as_me: WARNING: db.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4399 { echo "$as_me:$LINENO: WARNING: db.h: proceeding with the compiler's result" >&5
4400 echo "$as_me: WARNING: db.h: proceeding with the compiler's result" >&2;}
4401 ac_header_preproc
=yes
4404 { echo "$as_me:$LINENO: WARNING: db.h: present but cannot be compiled" >&5
4405 echo "$as_me: WARNING: db.h: present but cannot be compiled" >&2;}
4406 { echo "$as_me:$LINENO: WARNING: db.h: check for missing prerequisite headers?" >&5
4407 echo "$as_me: WARNING: db.h: check for missing prerequisite headers?" >&2;}
4408 { echo "$as_me:$LINENO: WARNING: db.h: see the Autoconf documentation" >&5
4409 echo "$as_me: WARNING: db.h: see the Autoconf documentation" >&2;}
4410 { echo "$as_me:$LINENO: WARNING: db.h: section \"Present But Cannot Be Compiled\"" >&5
4411 echo "$as_me: WARNING: db.h: section \"Present But Cannot Be Compiled\"" >&2;}
4412 { echo "$as_me:$LINENO: WARNING: db.h: proceeding with the preprocessor's result" >&5
4413 echo "$as_me: WARNING: db.h: proceeding with the preprocessor's result" >&2;}
4414 { echo "$as_me:$LINENO: WARNING: db.h: in the future, the compiler will take precedence" >&5
4415 echo "$as_me: WARNING: db.h: in the future, the compiler will take precedence" >&2;}
4419 { echo "$as_me:$LINENO: checking for db.h" >&5
4420 echo $ECHO_N "checking for db.h... $ECHO_C" >&6; }
4421 if test "${ac_cv_header_db_h+set}" = set; then
4422 echo $ECHO_N "(cached) $ECHO_C" >&6
4424 ac_cv_header_db_h
=$ac_header_preproc
4426 { echo "$as_me:$LINENO: result: $ac_cv_header_db_h" >&5
4427 echo "${ECHO_T}$ac_cv_header_db_h" >&6; }
4430 if test $ac_cv_header_db_h = yes; then
4431 { echo "$as_me:$LINENO: checking if we can link against BerkeleyDB" >&5
4432 echo $ECHO_N "checking if we can link against BerkeleyDB... $ECHO_C" >&6; }
4433 cat >conftest.
$ac_ext <<_ACEOF
4436 cat confdefs.h
>>conftest.
$ac_ext
4437 cat >>conftest.
$ac_ext <<_ACEOF
4438 /* end confdefs.h. */
4443 int r, s, t; db_version(&r, &s, &t);
4449 rm -f conftest.
$ac_objext conftest
$ac_exeext
4450 if { (ac_try
="$ac_link"
4452 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4453 *) ac_try_echo=$ac_try;;
4455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4456 (eval "$ac_link") 2>conftest.er1
4458 grep -v '^ *+' conftest.er1 >conftest.err
4460 cat conftest.err >&5
4461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4462 (exit $ac_status); } && {
4463 test -z "$ac_c_werror_flag" ||
4464 test ! -s conftest.err
4465 } && test -s conftest$ac_exeext &&
4466 $as_test_x conftest$ac_exeext; then
4467 cat >>confdefs.h <<\_ACEOF
4472 { echo "$as_me:$LINENO: result: yes" >&5
4473 echo "${ECHO_T}yes" >&6; }
4475 echo "$as_me: failed program was:" >&5
4476 sed 's/^/| /' conftest.$ac_ext >&5
4479 { echo "$as_me:$LINENO: result: no" >&5
4480 echo "${ECHO_T}no" >&6; }
4484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4485 conftest$ac_exeext conftest.$ac_ext
4495 { echo "$as_me:$LINENO: checking system architecture" >&5
4496 echo $ECHO_N "checking system architecture... $ECHO_C" >&6; }
4497 archset="`awk \" ! /^
#|^\\\$/ { if(match(\\\"$target_cpu\\\",\\\"^\\\"\\\$1\\\"\\\$\\\")) {print \\\$2; exit}}\" $srcdir/buildlib/archtable`"
4498 if test "x$archset" = "x"; then
4499 { { echo "$as_me:$LINENO: error: failed: use --host= or check buildlib/archtable" >&5
4500 echo "$as_me: error: failed: use --host= or check buildlib/archtable" >&2;}
4501 { (exit 1); exit 1; }; }
4503 { echo "$as_me:$LINENO: result: $archset" >&5
4504 echo "${ECHO_T}$archset" >&6; }
4505 cat >>confdefs.h
<<_ACEOF
4506 #define COMMON_CPU "$archset"
4510 { echo "$as_me:$LINENO: checking system OS" >&5
4511 echo $ECHO_N "checking system OS... $ECHO_C" >&6; }
4512 osset
="`awk \" ! /^#|^\\\$/ {if (match(\\\"$target_vendor-$target_os\\\",\\\$1)) {print \\\$2; exit}}\" $srcdir/buildlib/ostable`"
4513 { echo "$as_me:$LINENO: result: $osset" >&5
4514 echo "${ECHO_T}$osset" >&6; }
4515 cat >>confdefs.h
<<_ACEOF
4516 #define COMMON_OS "$osset"
4520 { echo "$as_me:$LINENO: checking for C99 integer types" >&5
4521 echo $ECHO_N "checking for C99 integer types... $ECHO_C" >&6; }
4522 if test "${c9x_ints+set}" = set; then
4523 echo $ECHO_N "(cached) $ECHO_C" >&6
4526 cat >conftest.
$ac_ext <<_ACEOF
4529 cat confdefs.h
>>conftest.
$ac_ext
4530 cat >>conftest.
$ac_ext <<_ACEOF
4531 /* end confdefs.h. */
4532 #include <inttypes.h>
4536 uint8_t Foo1;uint16_t Foo2;uint32_t Foo3;
4541 rm -f conftest.
$ac_objext
4542 if { (ac_try
="$ac_compile"
4544 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4545 *) ac_try_echo=$ac_try;;
4547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4548 (eval "$ac_compile") 2>conftest.er1
4550 grep -v '^ *+' conftest.er1 >conftest.err
4552 cat conftest.err >&5
4553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554 (exit $ac_status); } && {
4555 test -z "$ac_c_werror_flag" ||
4556 test ! -s conftest.err
4557 } && test -s conftest.$ac_objext; then
4560 echo "$as_me: failed program was:" >&5
4561 sed 's/^/| /' conftest.$ac_ext >&5
4566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4568 { echo "$as_me:$LINENO: result: $c9x_ints" >&5
4569 echo "${ECHO_T}$c9x_ints" >&6; }
4571 { echo "$as_me:$LINENO: checking for statvfs" >&5
4572 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
4573 if test "${ac_cv_func_statvfs+set}" = set; then
4574 echo $ECHO_N "(cached) $ECHO_C" >&6
4576 cat >conftest.$ac_ext <<_ACEOF
4579 cat confdefs.h >>conftest.$ac_ext
4580 cat >>conftest.$ac_ext <<_ACEOF
4581 /* end confdefs.h. */
4582 /* Define statvfs to an innocuous variant, in case <limits.h> declares statvfs.
4583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4584 #define statvfs innocuous_statvfs
4586 /* System header to define __stub macros and hopefully few prototypes,
4587 which can conflict with char statvfs (); below.
4588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4589 <limits.h> exists even on freestanding compilers. */
4592 # include <limits.h>
4594 # include <assert.h>
4599 /* Override any GCC internal prototype to avoid an error.
4600 Use char because int might match the return type of a GCC
4601 builtin and then its argument prototype would still apply. */
4606 /* The GNU C library defines this for functions which it implements
4607 to always fail with ENOSYS. Some functions are actually named
4608 something starting with __ and the normal name is an alias. */
4609 #if defined __stub_statvfs || defined __stub___statvfs
4621 rm -f conftest.$ac_objext conftest$ac_exeext
4622 if { (ac_try="$ac_link"
4624 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4625 *) ac_try_echo
=$ac_try;;
4627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4628 (eval "$ac_link") 2>conftest.er1
4630 grep -v '^ *+' conftest.er1
>conftest.err
4632 cat conftest.err
>&5
4633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634 (exit $ac_status); } && {
4635 test -z "$ac_c_werror_flag" ||
4636 test ! -s conftest.err
4637 } && test -s conftest
$ac_exeext &&
4638 $as_test_x conftest
$ac_exeext; then
4639 ac_cv_func_statvfs
=yes
4641 echo "$as_me: failed program was:" >&5
4642 sed 's/^/| /' conftest.
$ac_ext >&5
4644 ac_cv_func_statvfs
=no
4647 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4648 conftest
$ac_exeext conftest.
$ac_ext
4650 { echo "$as_me:$LINENO: result: $ac_cv_func_statvfs" >&5
4651 echo "${ECHO_T}$ac_cv_func_statvfs" >&6; }
4652 if test $ac_cv_func_statvfs = yes; then
4658 if test x
"$HAVE_STATVFS" != x
"yes"; then
4659 cat >conftest.
$ac_ext <<_ACEOF
4662 cat confdefs.h
>>conftest.
$ac_ext
4663 cat >>conftest.
$ac_ext <<_ACEOF
4664 /* end confdefs.h. */
4665 #include <sys/vfs.h>
4668 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4669 $EGREP "statfs" >/dev
/null
2>&1; then
4670 cat >>confdefs.h
<<\_ACEOF
4671 #define HAVE_VFS_H 1
4676 cat >conftest.
$ac_ext <<_ACEOF
4679 cat confdefs.h
>>conftest.
$ac_ext
4680 cat >>conftest.
$ac_ext <<_ACEOF
4681 /* end confdefs.h. */
4682 #include <sys/mount.h>
4685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4686 $EGREP "statfs" >/dev
/null
2>&1; then
4687 cat >>confdefs.h
<<\_ACEOF
4688 #define HAVE_MOUNT_H 1
4692 { { echo "$as_me:$LINENO: error: failed: Need statvfs" >&5
4693 echo "$as_me: error: failed: Need statvfs" >&2;}
4694 { (exit 1); exit 1; }; }
4704 { echo "$as_me:$LINENO: checking for timegm" >&5
4705 echo $ECHO_N "checking for timegm... $ECHO_C" >&6; }
4706 if test "${ac_cv_func_timegm+set}" = set; then
4707 echo $ECHO_N "(cached) $ECHO_C" >&6
4709 cat >conftest.
$ac_ext <<_ACEOF
4712 cat confdefs.h
>>conftest.
$ac_ext
4713 cat >>conftest.
$ac_ext <<_ACEOF
4714 /* end confdefs.h. */
4715 /* Define timegm to an innocuous variant, in case <limits.h> declares timegm.
4716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4717 #define timegm innocuous_timegm
4719 /* System header to define __stub macros and hopefully few prototypes,
4720 which can conflict with char timegm (); below.
4721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4722 <limits.h> exists even on freestanding compilers. */
4725 # include <limits.h>
4727 # include <assert.h>
4732 /* Override any GCC internal prototype to avoid an error.
4733 Use char because int might match the return type of a GCC
4734 builtin and then its argument prototype would still apply. */
4739 /* The GNU C library defines this for functions which it implements
4740 to always fail with ENOSYS. Some functions are actually named
4741 something starting with __ and the normal name is an alias. */
4742 #if defined __stub_timegm || defined __stub___timegm
4754 rm -f conftest.
$ac_objext conftest
$ac_exeext
4755 if { (ac_try
="$ac_link"
4757 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4758 *) ac_try_echo=$ac_try;;
4760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4761 (eval "$ac_link") 2>conftest.er1
4763 grep -v '^ *+' conftest.er1 >conftest.err
4765 cat conftest.err >&5
4766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767 (exit $ac_status); } && {
4768 test -z "$ac_c_werror_flag" ||
4769 test ! -s conftest.err
4770 } && test -s conftest$ac_exeext &&
4771 $as_test_x conftest$ac_exeext; then
4772 ac_cv_func_timegm=yes
4774 echo "$as_me: failed program was:" >&5
4775 sed 's/^/| /' conftest.$ac_ext >&5
4777 ac_cv_func_timegm=no
4780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4781 conftest$ac_exeext conftest.$ac_ext
4783 { echo "$as_me:$LINENO: result: $ac_cv_func_timegm" >&5
4784 echo "${ECHO_T}$ac_cv_func_timegm" >&6; }
4785 if test $ac_cv_func_timegm = yes; then
4786 cat >>confdefs.h <<\_ACEOF
4787 #define HAVE_TIMEGM 1
4795 archline="`awk \" ! /^
#|^\\\$/ {if (match(\\\"$archset\\\",\\\$1)) {print; exit}}\" $srcdir/buildlib/sizetable | cut -f 2- -d ' '`"
4796 if test "x$archline" != "x"; then
4799 if test "$1" = "little"; then
4800 ac_cv_c_bigendian
=no
4802 ac_cv_c_bigendian
=yes
4810 if test "$cross_compiling" = "yes" -a "x$archline" = "x"; then
4811 { { echo "$as_me:$LINENO: error: When cross compiling" >&5
4812 echo "$as_me: error: When cross compiling" >&2;}
4813 { (exit architecture must be present
in sizetable
); exit architecture must be present
in sizetable
; }; }
4815 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4816 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
4817 if test "${ac_cv_c_bigendian+set}" = set; then
4818 echo $ECHO_N "(cached) $ECHO_C" >&6
4820 # See if sys/param.h defines the BYTE_ORDER macro.
4821 cat >conftest.
$ac_ext <<_ACEOF
4824 cat confdefs.h
>>conftest.
$ac_ext
4825 cat >>conftest.
$ac_ext <<_ACEOF
4826 /* end confdefs.h. */
4827 #include <sys/types.h>
4828 #include <sys/param.h>
4833 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
4834 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
4842 rm -f conftest.
$ac_objext
4843 if { (ac_try
="$ac_compile"
4845 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4846 *) ac_try_echo=$ac_try;;
4848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4849 (eval "$ac_compile") 2>conftest.er1
4851 grep -v '^ *+' conftest.er1 >conftest.err
4853 cat conftest.err >&5
4854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4855 (exit $ac_status); } && {
4856 test -z "$ac_c_werror_flag" ||
4857 test ! -s conftest.err
4858 } && test -s conftest.$ac_objext; then
4859 # It does; now see whether it defined to BIG_ENDIAN or not.
4860 cat >conftest.$ac_ext <<_ACEOF
4863 cat confdefs.h >>conftest.$ac_ext
4864 cat >>conftest.$ac_ext <<_ACEOF
4865 /* end confdefs.h. */
4866 #include <sys/types.h>
4867 #include <sys/param.h>
4872 #if BYTE_ORDER != BIG_ENDIAN
4880 rm -f conftest.$ac_objext
4881 if { (ac_try="$ac_compile"
4883 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4884 *) ac_try_echo
=$ac_try;;
4886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4887 (eval "$ac_compile") 2>conftest.er1
4889 grep -v '^ *+' conftest.er1
>conftest.err
4891 cat conftest.err
>&5
4892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893 (exit $ac_status); } && {
4894 test -z "$ac_c_werror_flag" ||
4895 test ! -s conftest.err
4896 } && test -s conftest.
$ac_objext; then
4897 ac_cv_c_bigendian
=yes
4899 echo "$as_me: failed program was:" >&5
4900 sed 's/^/| /' conftest.
$ac_ext >&5
4902 ac_cv_c_bigendian
=no
4905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4907 echo "$as_me: failed program was:" >&5
4908 sed 's/^/| /' conftest.
$ac_ext >&5
4910 # It does not; compile a test program.
4911 if test "$cross_compiling" = yes; then
4912 # try to guess the endianness by grepping values into an object file
4913 ac_cv_c_bigendian
=unknown
4914 cat >conftest.
$ac_ext <<_ACEOF
4917 cat confdefs.h
>>conftest.
$ac_ext
4918 cat >>conftest.
$ac_ext <<_ACEOF
4919 /* end confdefs.h. */
4920 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4921 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4922 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4923 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4924 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4925 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4929 _ascii (); _ebcdic ();
4934 rm -f conftest.
$ac_objext
4935 if { (ac_try
="$ac_compile"
4937 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4938 *) ac_try_echo=$ac_try;;
4940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4941 (eval "$ac_compile") 2>conftest.er1
4943 grep -v '^ *+' conftest.er1 >conftest.err
4945 cat conftest.err >&5
4946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947 (exit $ac_status); } && {
4948 test -z "$ac_c_werror_flag" ||
4949 test ! -s conftest.err
4950 } && test -s conftest.$ac_objext; then
4951 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4952 ac_cv_c_bigendian=yes
4954 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4955 if test "$ac_cv_c_bigendian" = unknown; then
4956 ac_cv_c_bigendian=no
4958 # finding both strings is unlikely to happen, but who knows?
4959 ac_cv_c_bigendian=unknown
4963 echo "$as_me: failed program was:" >&5
4964 sed 's/^/| /' conftest.$ac_ext >&5
4969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4971 cat >conftest.$ac_ext <<_ACEOF
4974 cat confdefs.h >>conftest.$ac_ext
4975 cat >>conftest.$ac_ext <<_ACEOF
4976 /* end confdefs.h. */
4977 $ac_includes_default
4982 /* Are we little or big endian? From Harbison&Steele. */
4986 char c[sizeof (long int)];
4989 return u.c[sizeof (long int) - 1] == 1;
4995 rm -f conftest$ac_exeext
4996 if { (ac_try="$ac_link"
4998 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4999 *) ac_try_echo
=$ac_try;;
5001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5002 (eval "$ac_link") 2>&5
5004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5006 { (case "(($ac_try" in
5007 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5008 *) ac_try_echo=$ac_try;;
5010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5011 (eval "$ac_try") 2>&5
5013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014 (exit $ac_status); }; }; then
5015 ac_cv_c_bigendian=no
5017 echo "$as_me: program exited with status $ac_status" >&5
5018 echo "$as_me: failed program was:" >&5
5019 sed 's/^/| /' conftest.$ac_ext >&5
5022 ac_cv_c_bigendian=yes
5024 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5032 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5033 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
5034 case $ac_cv_c_bigendian in
5037 cat >>confdefs.h <<\_ACEOF
5038 #define WORDS_BIGENDIAN 1
5044 { { echo "$as_me:$LINENO: error: unknown endianness
5045 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
5046 echo "$as_me: error: unknown endianness
5047 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
5048 { (exit 1); exit 1; }; } ;;
5053 if test x"$c9x_ints" = x"no"; then
5054 { echo "$as_me:$LINENO: checking for char" >&5
5055 echo $ECHO_N "checking for char... $ECHO_C" >&6; }
5056 if test "${ac_cv_type_char+set}" = set; then
5057 echo $ECHO_N "(cached) $ECHO_C" >&6
5059 cat >conftest.$ac_ext <<_ACEOF
5062 cat confdefs.h >>conftest.$ac_ext
5063 cat >>conftest.$ac_ext <<_ACEOF
5064 /* end confdefs.h. */
5065 $ac_includes_default
5066 typedef char ac__type_new_;
5070 if ((ac__type_new_ *) 0)
5072 if (sizeof (ac__type_new_))
5078 rm -f conftest.$ac_objext
5079 if { (ac_try="$ac_compile"
5081 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5082 *) ac_try_echo
=$ac_try;;
5084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5085 (eval "$ac_compile") 2>conftest.er1
5087 grep -v '^ *+' conftest.er1
>conftest.err
5089 cat conftest.err
>&5
5090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5091 (exit $ac_status); } && {
5092 test -z "$ac_c_werror_flag" ||
5093 test ! -s conftest.err
5094 } && test -s conftest.
$ac_objext; then
5097 echo "$as_me: failed program was:" >&5
5098 sed 's/^/| /' conftest.
$ac_ext >&5
5103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5105 { echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
5106 echo "${ECHO_T}$ac_cv_type_char" >&6; }
5108 # The cast to long int works around a bug in the HP C Compiler
5109 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5110 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5111 # This bug is HP SR number 8606223364.
5112 { echo "$as_me:$LINENO: checking size of char" >&5
5113 echo $ECHO_N "checking size of char... $ECHO_C" >&6; }
5114 if test "${ac_cv_sizeof_char+set}" = set; then
5115 echo $ECHO_N "(cached) $ECHO_C" >&6
5117 if test "$cross_compiling" = yes; then
5118 # Depending upon the size, compute the lo and hi bounds.
5119 cat >conftest.
$ac_ext <<_ACEOF
5122 cat confdefs.h
>>conftest.
$ac_ext
5123 cat >>conftest.
$ac_ext <<_ACEOF
5124 /* end confdefs.h. */
5125 $ac_includes_default
5126 typedef char ac__type_sizeof_;
5130 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5137 rm -f conftest.
$ac_objext
5138 if { (ac_try
="$ac_compile"
5140 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5141 *) ac_try_echo=$ac_try;;
5143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5144 (eval "$ac_compile") 2>conftest.er1
5146 grep -v '^ *+' conftest.er1 >conftest.err
5148 cat conftest.err >&5
5149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150 (exit $ac_status); } && {
5151 test -z "$ac_c_werror_flag" ||
5152 test ! -s conftest.err
5153 } && test -s conftest.$ac_objext; then
5156 cat >conftest.$ac_ext <<_ACEOF
5159 cat confdefs.h >>conftest.$ac_ext
5160 cat >>conftest.$ac_ext <<_ACEOF
5161 /* end confdefs.h. */
5162 $ac_includes_default
5163 typedef char ac__type_sizeof_;
5167 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5174 rm -f conftest.$ac_objext
5175 if { (ac_try="$ac_compile"
5177 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5178 *) ac_try_echo
=$ac_try;;
5180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5181 (eval "$ac_compile") 2>conftest.er1
5183 grep -v '^ *+' conftest.er1
>conftest.err
5185 cat conftest.err
>&5
5186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5187 (exit $ac_status); } && {
5188 test -z "$ac_c_werror_flag" ||
5189 test ! -s conftest.err
5190 } && test -s conftest.
$ac_objext; then
5191 ac_hi
=$ac_mid; break
5193 echo "$as_me: failed program was:" >&5
5194 sed 's/^/| /' conftest.
$ac_ext >&5
5196 ac_lo
=`expr $ac_mid + 1`
5197 if test $ac_lo -le $ac_mid; then
5201 ac_mid
=`expr 2 '*' $ac_mid + 1`
5204 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5207 echo "$as_me: failed program was:" >&5
5208 sed 's/^/| /' conftest.
$ac_ext >&5
5210 cat >conftest.
$ac_ext <<_ACEOF
5213 cat confdefs.h
>>conftest.
$ac_ext
5214 cat >>conftest.
$ac_ext <<_ACEOF
5215 /* end confdefs.h. */
5216 $ac_includes_default
5217 typedef char ac__type_sizeof_;
5221 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5228 rm -f conftest.
$ac_objext
5229 if { (ac_try
="$ac_compile"
5231 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5232 *) ac_try_echo=$ac_try;;
5234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5235 (eval "$ac_compile") 2>conftest.er1
5237 grep -v '^ *+' conftest.er1 >conftest.err
5239 cat conftest.err >&5
5240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5241 (exit $ac_status); } && {
5242 test -z "$ac_c_werror_flag" ||
5243 test ! -s conftest.err
5244 } && test -s conftest.$ac_objext; then
5247 cat >conftest.$ac_ext <<_ACEOF
5250 cat confdefs.h >>conftest.$ac_ext
5251 cat >>conftest.$ac_ext <<_ACEOF
5252 /* end confdefs.h. */
5253 $ac_includes_default
5254 typedef char ac__type_sizeof_;
5258 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5265 rm -f conftest.$ac_objext
5266 if { (ac_try="$ac_compile"
5268 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5269 *) ac_try_echo
=$ac_try;;
5271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5272 (eval "$ac_compile") 2>conftest.er1
5274 grep -v '^ *+' conftest.er1
>conftest.err
5276 cat conftest.err
>&5
5277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5278 (exit $ac_status); } && {
5279 test -z "$ac_c_werror_flag" ||
5280 test ! -s conftest.err
5281 } && test -s conftest.
$ac_objext; then
5282 ac_lo
=$ac_mid; break
5284 echo "$as_me: failed program was:" >&5
5285 sed 's/^/| /' conftest.
$ac_ext >&5
5287 ac_hi
=`expr '(' $ac_mid ')' - 1`
5288 if test $ac_mid -le $ac_hi; then
5292 ac_mid
=`expr 2 '*' $ac_mid`
5295 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5298 echo "$as_me: failed program was:" >&5
5299 sed 's/^/| /' conftest.
$ac_ext >&5
5304 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5308 # Binary search between lo and hi bounds.
5309 while test "x$ac_lo" != "x$ac_hi"; do
5310 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5311 cat >conftest.
$ac_ext <<_ACEOF
5314 cat confdefs.h
>>conftest.
$ac_ext
5315 cat >>conftest.
$ac_ext <<_ACEOF
5316 /* end confdefs.h. */
5317 $ac_includes_default
5318 typedef char ac__type_sizeof_;
5322 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5329 rm -f conftest.
$ac_objext
5330 if { (ac_try
="$ac_compile"
5332 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5333 *) ac_try_echo=$ac_try;;
5335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5336 (eval "$ac_compile") 2>conftest.er1
5338 grep -v '^ *+' conftest.er1 >conftest.err
5340 cat conftest.err >&5
5341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5342 (exit $ac_status); } && {
5343 test -z "$ac_c_werror_flag" ||
5344 test ! -s conftest.err
5345 } && test -s conftest.$ac_objext; then
5348 echo "$as_me: failed program was:" >&5
5349 sed 's/^/| /' conftest.$ac_ext >&5
5351 ac_lo=`expr '(' $ac_mid ')' + 1`
5354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5357 ?*) ac_cv_sizeof_char=$ac_lo;;
5358 '') if test "$ac_cv_type_char" = yes; then
5359 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
5360 See \`config.log
' for more details." >&5
5361 echo "$as_me: error: cannot compute sizeof (char)
5362 See \`config.log' for more details.
" >&2;}
5363 { (exit 77); exit 77; }; }
5369 cat >conftest.$ac_ext <<_ACEOF
5372 cat confdefs.h >>conftest.$ac_ext
5373 cat >>conftest.$ac_ext <<_ACEOF
5374 /* end confdefs.h. */
5375 $ac_includes_default
5376 typedef char ac__type_sizeof_;
5377 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5378 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5385 FILE *f = fopen ("conftest.val
", "w
");
5388 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5390 long int i = longval ();
5391 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5393 fprintf (f, "%ld
\n", i);
5397 unsigned long int i = ulongval ();
5398 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5400 fprintf (f, "%lu
\n", i);
5402 return ferror (f) || fclose (f) != 0;
5408 rm -f conftest$ac_exeext
5409 if { (ac_try="$ac_link"
5411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5412 *) ac_try_echo=$ac_try;;
5414 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5415 (eval "$ac_link") 2>&5
5417 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5418 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5419 { (case "(($ac_try" in
5420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5421 *) ac_try_echo=$ac_try;;
5423 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5424 (eval "$ac_try") 2>&5
5426 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5427 (exit $ac_status); }; }; then
5428 ac_cv_sizeof_char=`cat conftest.val`
5430 echo "$as_me: program exited with status
$ac_status" >&5
5431 echo "$as_me: failed program was
:" >&5
5432 sed 's/^/| /' conftest.$ac_ext >&5
5435 if test "$ac_cv_type_char" = yes; then
5436 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(char
)
5437 See \
`config.log' for more details." >&5
5438 echo "$as_me: error: cannot compute sizeof (char)
5439 See \`config.log
' for more details." >&2;}
5440 { (exit 77); exit 77; }; }
5445 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5449 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
5450 echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
5454 cat >>confdefs.h <<_ACEOF
5455 #define SIZEOF_CHAR $ac_cv_sizeof_char
5459 { echo "$as_me:$LINENO: checking for int" >&5
5460 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
5461 if test "${ac_cv_type_int+set}" = set; then
5462 echo $ECHO_N "(cached) $ECHO_C" >&6
5464 cat >conftest.$ac_ext <<_ACEOF
5467 cat confdefs.h >>conftest.$ac_ext
5468 cat >>conftest.$ac_ext <<_ACEOF
5469 /* end confdefs.h. */
5470 $ac_includes_default
5471 typedef int ac__type_new_;
5475 if ((ac__type_new_ *) 0)
5477 if (sizeof (ac__type_new_))
5483 rm -f conftest.$ac_objext
5484 if { (ac_try="$ac_compile"
5486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5487 *) ac_try_echo=$ac_try;;
5489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5490 (eval "$ac_compile") 2>conftest.er1
5492 grep -v '^
*+' conftest.er1 >conftest.err
5494 cat conftest.err >&5
5495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5496 (exit $ac_status); } && {
5497 test -z "$ac_c_werror_flag" ||
5498 test ! -s conftest.err
5499 } && test -s conftest.$ac_objext; then
5502 echo "$as_me: failed program was:" >&5
5503 sed 's
/^
/| /' conftest.$ac_ext >&5
5508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5510 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
5511 echo "${ECHO_T}$ac_cv_type_int" >&6; }
5513 # The cast to long int works around a bug in the HP C Compiler
5514 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5515 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5516 # This bug is HP SR number 8606223364.
5517 { echo "$as_me:$LINENO: checking size of int" >&5
5518 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
5519 if test "${ac_cv_sizeof_int+set}" = set; then
5520 echo $ECHO_N "(cached) $ECHO_C" >&6
5522 if test "$cross_compiling" = yes; then
5523 # Depending upon the size, compute the lo and hi bounds.
5524 cat >conftest.
$ac_ext <<_ACEOF
5527 cat confdefs.h
>>conftest.
$ac_ext
5528 cat >>conftest.
$ac_ext <<_ACEOF
5529 /* end confdefs.h. */
5530 $ac_includes_default
5531 typedef int ac__type_sizeof_;
5535 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5542 rm -f conftest.
$ac_objext
5543 if { (ac_try
="$ac_compile"
5545 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5546 *) ac_try_echo=$ac_try;;
5548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5549 (eval "$ac_compile") 2>conftest.er1
5551 grep -v '^ *+' conftest.er1 >conftest.err
5553 cat conftest.err >&5
5554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 (exit $ac_status); } && {
5556 test -z "$ac_c_werror_flag" ||
5557 test ! -s conftest.err
5558 } && test -s conftest.$ac_objext; then
5561 cat >conftest.$ac_ext <<_ACEOF
5564 cat confdefs.h >>conftest.$ac_ext
5565 cat >>conftest.$ac_ext <<_ACEOF
5566 /* end confdefs.h. */
5567 $ac_includes_default
5568 typedef int ac__type_sizeof_;
5572 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5579 rm -f conftest.$ac_objext
5580 if { (ac_try="$ac_compile"
5582 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5583 *) ac_try_echo
=$ac_try;;
5585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5586 (eval "$ac_compile") 2>conftest.er1
5588 grep -v '^ *+' conftest.er1
>conftest.err
5590 cat conftest.err
>&5
5591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5592 (exit $ac_status); } && {
5593 test -z "$ac_c_werror_flag" ||
5594 test ! -s conftest.err
5595 } && test -s conftest.
$ac_objext; then
5596 ac_hi
=$ac_mid; break
5598 echo "$as_me: failed program was:" >&5
5599 sed 's/^/| /' conftest.
$ac_ext >&5
5601 ac_lo
=`expr $ac_mid + 1`
5602 if test $ac_lo -le $ac_mid; then
5606 ac_mid
=`expr 2 '*' $ac_mid + 1`
5609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5612 echo "$as_me: failed program was:" >&5
5613 sed 's/^/| /' conftest.
$ac_ext >&5
5615 cat >conftest.
$ac_ext <<_ACEOF
5618 cat confdefs.h
>>conftest.
$ac_ext
5619 cat >>conftest.
$ac_ext <<_ACEOF
5620 /* end confdefs.h. */
5621 $ac_includes_default
5622 typedef int ac__type_sizeof_;
5626 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5633 rm -f conftest.
$ac_objext
5634 if { (ac_try
="$ac_compile"
5636 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5637 *) ac_try_echo=$ac_try;;
5639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5640 (eval "$ac_compile") 2>conftest.er1
5642 grep -v '^ *+' conftest.er1 >conftest.err
5644 cat conftest.err >&5
5645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5646 (exit $ac_status); } && {
5647 test -z "$ac_c_werror_flag" ||
5648 test ! -s conftest.err
5649 } && test -s conftest.$ac_objext; then
5652 cat >conftest.$ac_ext <<_ACEOF
5655 cat confdefs.h >>conftest.$ac_ext
5656 cat >>conftest.$ac_ext <<_ACEOF
5657 /* end confdefs.h. */
5658 $ac_includes_default
5659 typedef int ac__type_sizeof_;
5663 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5670 rm -f conftest.$ac_objext
5671 if { (ac_try="$ac_compile"
5673 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5674 *) ac_try_echo
=$ac_try;;
5676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5677 (eval "$ac_compile") 2>conftest.er1
5679 grep -v '^ *+' conftest.er1
>conftest.err
5681 cat conftest.err
>&5
5682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683 (exit $ac_status); } && {
5684 test -z "$ac_c_werror_flag" ||
5685 test ! -s conftest.err
5686 } && test -s conftest.
$ac_objext; then
5687 ac_lo
=$ac_mid; break
5689 echo "$as_me: failed program was:" >&5
5690 sed 's/^/| /' conftest.
$ac_ext >&5
5692 ac_hi
=`expr '(' $ac_mid ')' - 1`
5693 if test $ac_mid -le $ac_hi; then
5697 ac_mid
=`expr 2 '*' $ac_mid`
5700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5703 echo "$as_me: failed program was:" >&5
5704 sed 's/^/| /' conftest.
$ac_ext >&5
5709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5713 # Binary search between lo and hi bounds.
5714 while test "x$ac_lo" != "x$ac_hi"; do
5715 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5716 cat >conftest.
$ac_ext <<_ACEOF
5719 cat confdefs.h
>>conftest.
$ac_ext
5720 cat >>conftest.
$ac_ext <<_ACEOF
5721 /* end confdefs.h. */
5722 $ac_includes_default
5723 typedef int ac__type_sizeof_;
5727 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5734 rm -f conftest.
$ac_objext
5735 if { (ac_try
="$ac_compile"
5737 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5738 *) ac_try_echo=$ac_try;;
5740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5741 (eval "$ac_compile") 2>conftest.er1
5743 grep -v '^ *+' conftest.er1 >conftest.err
5745 cat conftest.err >&5
5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747 (exit $ac_status); } && {
5748 test -z "$ac_c_werror_flag" ||
5749 test ! -s conftest.err
5750 } && test -s conftest.$ac_objext; then
5753 echo "$as_me: failed program was:" >&5
5754 sed 's/^/| /' conftest.$ac_ext >&5
5756 ac_lo=`expr '(' $ac_mid ')' + 1`
5759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5762 ?*) ac_cv_sizeof_int=$ac_lo;;
5763 '') if test "$ac_cv_type_int" = yes; then
5764 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
5765 See \`config.log
' for more details." >&5
5766 echo "$as_me: error: cannot compute sizeof (int)
5767 See \`config.log' for more details.
" >&2;}
5768 { (exit 77); exit 77; }; }
5774 cat >conftest.$ac_ext <<_ACEOF
5777 cat confdefs.h >>conftest.$ac_ext
5778 cat >>conftest.$ac_ext <<_ACEOF
5779 /* end confdefs.h. */
5780 $ac_includes_default
5781 typedef int ac__type_sizeof_;
5782 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5783 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5790 FILE *f = fopen ("conftest.val
", "w
");
5793 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5795 long int i = longval ();
5796 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5798 fprintf (f, "%ld
\n", i);
5802 unsigned long int i = ulongval ();
5803 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5805 fprintf (f, "%lu
\n", i);
5807 return ferror (f) || fclose (f) != 0;
5813 rm -f conftest$ac_exeext
5814 if { (ac_try="$ac_link"
5816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5817 *) ac_try_echo=$ac_try;;
5819 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5820 (eval "$ac_link") 2>&5
5822 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5823 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5824 { (case "(($ac_try" in
5825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5826 *) ac_try_echo=$ac_try;;
5828 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5829 (eval "$ac_try") 2>&5
5831 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5832 (exit $ac_status); }; }; then
5833 ac_cv_sizeof_int=`cat conftest.val`
5835 echo "$as_me: program exited with status
$ac_status" >&5
5836 echo "$as_me: failed program was
:" >&5
5837 sed 's/^/| /' conftest.$ac_ext >&5
5840 if test "$ac_cv_type_int" = yes; then
5841 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
5842 See \
`config.log' for more details." >&5
5843 echo "$as_me: error: cannot compute sizeof (int)
5844 See \`config.log
' for more details." >&2;}
5845 { (exit 77); exit 77; }; }
5850 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5854 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
5855 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
5859 cat >>confdefs.h <<_ACEOF
5860 #define SIZEOF_INT $ac_cv_sizeof_int
5864 { echo "$as_me:$LINENO: checking for short" >&5
5865 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
5866 if test "${ac_cv_type_short+set}" = set; then
5867 echo $ECHO_N "(cached) $ECHO_C" >&6
5869 cat >conftest.$ac_ext <<_ACEOF
5872 cat confdefs.h >>conftest.$ac_ext
5873 cat >>conftest.$ac_ext <<_ACEOF
5874 /* end confdefs.h. */
5875 $ac_includes_default
5876 typedef short ac__type_new_;
5880 if ((ac__type_new_ *) 0)
5882 if (sizeof (ac__type_new_))
5888 rm -f conftest.$ac_objext
5889 if { (ac_try="$ac_compile"
5891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5892 *) ac_try_echo=$ac_try;;
5894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5895 (eval "$ac_compile") 2>conftest.er1
5897 grep -v '^
*+' conftest.er1 >conftest.err
5899 cat conftest.err >&5
5900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5901 (exit $ac_status); } && {
5902 test -z "$ac_c_werror_flag" ||
5903 test ! -s conftest.err
5904 } && test -s conftest.$ac_objext; then
5905 ac_cv_type_short=yes
5907 echo "$as_me: failed program was:" >&5
5908 sed 's
/^
/| /' conftest.$ac_ext >&5
5913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5915 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
5916 echo "${ECHO_T}$ac_cv_type_short" >&6; }
5918 # The cast to long int works around a bug in the HP C Compiler
5919 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5920 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5921 # This bug is HP SR number 8606223364.
5922 { echo "$as_me:$LINENO: checking size of short" >&5
5923 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
5924 if test "${ac_cv_sizeof_short+set}" = set; then
5925 echo $ECHO_N "(cached) $ECHO_C" >&6
5927 if test "$cross_compiling" = yes; then
5928 # Depending upon the size, compute the lo and hi bounds.
5929 cat >conftest.
$ac_ext <<_ACEOF
5932 cat confdefs.h
>>conftest.
$ac_ext
5933 cat >>conftest.
$ac_ext <<_ACEOF
5934 /* end confdefs.h. */
5935 $ac_includes_default
5936 typedef short ac__type_sizeof_;
5940 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5947 rm -f conftest.
$ac_objext
5948 if { (ac_try
="$ac_compile"
5950 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5951 *) ac_try_echo=$ac_try;;
5953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5954 (eval "$ac_compile") 2>conftest.er1
5956 grep -v '^ *+' conftest.er1 >conftest.err
5958 cat conftest.err >&5
5959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5960 (exit $ac_status); } && {
5961 test -z "$ac_c_werror_flag" ||
5962 test ! -s conftest.err
5963 } && test -s conftest.$ac_objext; then
5966 cat >conftest.$ac_ext <<_ACEOF
5969 cat confdefs.h >>conftest.$ac_ext
5970 cat >>conftest.$ac_ext <<_ACEOF
5971 /* end confdefs.h. */
5972 $ac_includes_default
5973 typedef short ac__type_sizeof_;
5977 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5984 rm -f conftest.$ac_objext
5985 if { (ac_try="$ac_compile"
5987 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5988 *) ac_try_echo
=$ac_try;;
5990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5991 (eval "$ac_compile") 2>conftest.er1
5993 grep -v '^ *+' conftest.er1
>conftest.err
5995 cat conftest.err
>&5
5996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5997 (exit $ac_status); } && {
5998 test -z "$ac_c_werror_flag" ||
5999 test ! -s conftest.err
6000 } && test -s conftest.
$ac_objext; then
6001 ac_hi
=$ac_mid; break
6003 echo "$as_me: failed program was:" >&5
6004 sed 's/^/| /' conftest.
$ac_ext >&5
6006 ac_lo
=`expr $ac_mid + 1`
6007 if test $ac_lo -le $ac_mid; then
6011 ac_mid
=`expr 2 '*' $ac_mid + 1`
6014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6017 echo "$as_me: failed program was:" >&5
6018 sed 's/^/| /' conftest.
$ac_ext >&5
6020 cat >conftest.
$ac_ext <<_ACEOF
6023 cat confdefs.h
>>conftest.
$ac_ext
6024 cat >>conftest.
$ac_ext <<_ACEOF
6025 /* end confdefs.h. */
6026 $ac_includes_default
6027 typedef short ac__type_sizeof_;
6031 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
6038 rm -f conftest.
$ac_objext
6039 if { (ac_try
="$ac_compile"
6041 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6042 *) ac_try_echo=$ac_try;;
6044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6045 (eval "$ac_compile") 2>conftest.er1
6047 grep -v '^ *+' conftest.er1 >conftest.err
6049 cat conftest.err >&5
6050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6051 (exit $ac_status); } && {
6052 test -z "$ac_c_werror_flag" ||
6053 test ! -s conftest.err
6054 } && test -s conftest.$ac_objext; then
6057 cat >conftest.$ac_ext <<_ACEOF
6060 cat confdefs.h >>conftest.$ac_ext
6061 cat >>conftest.$ac_ext <<_ACEOF
6062 /* end confdefs.h. */
6063 $ac_includes_default
6064 typedef short ac__type_sizeof_;
6068 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
6075 rm -f conftest.$ac_objext
6076 if { (ac_try="$ac_compile"
6078 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6079 *) ac_try_echo
=$ac_try;;
6081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6082 (eval "$ac_compile") 2>conftest.er1
6084 grep -v '^ *+' conftest.er1
>conftest.err
6086 cat conftest.err
>&5
6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6088 (exit $ac_status); } && {
6089 test -z "$ac_c_werror_flag" ||
6090 test ! -s conftest.err
6091 } && test -s conftest.
$ac_objext; then
6092 ac_lo
=$ac_mid; break
6094 echo "$as_me: failed program was:" >&5
6095 sed 's/^/| /' conftest.
$ac_ext >&5
6097 ac_hi
=`expr '(' $ac_mid ')' - 1`
6098 if test $ac_mid -le $ac_hi; then
6102 ac_mid
=`expr 2 '*' $ac_mid`
6105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6108 echo "$as_me: failed program was:" >&5
6109 sed 's/^/| /' conftest.
$ac_ext >&5
6114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6118 # Binary search between lo and hi bounds.
6119 while test "x$ac_lo" != "x$ac_hi"; do
6120 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6121 cat >conftest.
$ac_ext <<_ACEOF
6124 cat confdefs.h
>>conftest.
$ac_ext
6125 cat >>conftest.
$ac_ext <<_ACEOF
6126 /* end confdefs.h. */
6127 $ac_includes_default
6128 typedef short ac__type_sizeof_;
6132 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6139 rm -f conftest.
$ac_objext
6140 if { (ac_try
="$ac_compile"
6142 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6143 *) ac_try_echo=$ac_try;;
6145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6146 (eval "$ac_compile") 2>conftest.er1
6148 grep -v '^ *+' conftest.er1 >conftest.err
6150 cat conftest.err >&5
6151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 (exit $ac_status); } && {
6153 test -z "$ac_c_werror_flag" ||
6154 test ! -s conftest.err
6155 } && test -s conftest.$ac_objext; then
6158 echo "$as_me: failed program was:" >&5
6159 sed 's/^/| /' conftest.$ac_ext >&5
6161 ac_lo=`expr '(' $ac_mid ')' + 1`
6164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6167 ?*) ac_cv_sizeof_short=$ac_lo;;
6168 '') if test "$ac_cv_type_short" = yes; then
6169 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
6170 See \`config.log
' for more details." >&5
6171 echo "$as_me: error: cannot compute sizeof (short)
6172 See \`config.log' for more details.
" >&2;}
6173 { (exit 77); exit 77; }; }
6175 ac_cv_sizeof_short=0
6179 cat >conftest.$ac_ext <<_ACEOF
6182 cat confdefs.h >>conftest.$ac_ext
6183 cat >>conftest.$ac_ext <<_ACEOF
6184 /* end confdefs.h. */
6185 $ac_includes_default
6186 typedef short ac__type_sizeof_;
6187 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
6188 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
6195 FILE *f = fopen ("conftest.val
", "w
");
6198 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
6200 long int i = longval ();
6201 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6203 fprintf (f, "%ld
\n", i);
6207 unsigned long int i = ulongval ();
6208 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6210 fprintf (f, "%lu
\n", i);
6212 return ferror (f) || fclose (f) != 0;
6218 rm -f conftest$ac_exeext
6219 if { (ac_try="$ac_link"
6221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6222 *) ac_try_echo=$ac_try;;
6224 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6225 (eval "$ac_link") 2>&5
6227 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6228 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6229 { (case "(($ac_try" in
6230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6231 *) ac_try_echo=$ac_try;;
6233 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6234 (eval "$ac_try") 2>&5
6236 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6237 (exit $ac_status); }; }; then
6238 ac_cv_sizeof_short=`cat conftest.val`
6240 echo "$as_me: program exited with status
$ac_status" >&5
6241 echo "$as_me: failed program was
:" >&5
6242 sed 's/^/| /' conftest.$ac_ext >&5
6245 if test "$ac_cv_type_short" = yes; then
6246 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
6247 See \
`config.log' for more details." >&5
6248 echo "$as_me: error: cannot compute sizeof (short)
6249 See \`config.log
' for more details." >&2;}
6250 { (exit 77); exit 77; }; }
6252 ac_cv_sizeof_short=0
6255 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6259 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
6260 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
6264 cat >>confdefs.h <<_ACEOF
6265 #define SIZEOF_SHORT $ac_cv_sizeof_short
6269 { echo "$as_me:$LINENO: checking for long" >&5
6270 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
6271 if test "${ac_cv_type_long+set}" = set; then
6272 echo $ECHO_N "(cached) $ECHO_C" >&6
6274 cat >conftest.$ac_ext <<_ACEOF
6277 cat confdefs.h >>conftest.$ac_ext
6278 cat >>conftest.$ac_ext <<_ACEOF
6279 /* end confdefs.h. */
6280 $ac_includes_default
6281 typedef long ac__type_new_;
6285 if ((ac__type_new_ *) 0)
6287 if (sizeof (ac__type_new_))
6293 rm -f conftest.$ac_objext
6294 if { (ac_try="$ac_compile"
6296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6297 *) ac_try_echo=$ac_try;;
6299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6300 (eval "$ac_compile") 2>conftest.er1
6302 grep -v '^
*+' conftest.er1 >conftest.err
6304 cat conftest.err >&5
6305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6306 (exit $ac_status); } && {
6307 test -z "$ac_c_werror_flag" ||
6308 test ! -s conftest.err
6309 } && test -s conftest.$ac_objext; then
6312 echo "$as_me: failed program was:" >&5
6313 sed 's
/^
/| /' conftest.$ac_ext >&5
6318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6320 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
6321 echo "${ECHO_T}$ac_cv_type_long" >&6; }
6323 # The cast to long int works around a bug in the HP C Compiler
6324 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6325 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6326 # This bug is HP SR number 8606223364.
6327 { echo "$as_me:$LINENO: checking size of long" >&5
6328 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
6329 if test "${ac_cv_sizeof_long+set}" = set; then
6330 echo $ECHO_N "(cached) $ECHO_C" >&6
6332 if test "$cross_compiling" = yes; then
6333 # Depending upon the size, compute the lo and hi bounds.
6334 cat >conftest.
$ac_ext <<_ACEOF
6337 cat confdefs.h
>>conftest.
$ac_ext
6338 cat >>conftest.
$ac_ext <<_ACEOF
6339 /* end confdefs.h. */
6340 $ac_includes_default
6341 typedef long ac__type_sizeof_;
6345 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
6352 rm -f conftest.
$ac_objext
6353 if { (ac_try
="$ac_compile"
6355 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6356 *) ac_try_echo=$ac_try;;
6358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6359 (eval "$ac_compile") 2>conftest.er1
6361 grep -v '^ *+' conftest.er1 >conftest.err
6363 cat conftest.err >&5
6364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6365 (exit $ac_status); } && {
6366 test -z "$ac_c_werror_flag" ||
6367 test ! -s conftest.err
6368 } && test -s conftest.$ac_objext; then
6371 cat >conftest.$ac_ext <<_ACEOF
6374 cat confdefs.h >>conftest.$ac_ext
6375 cat >>conftest.$ac_ext <<_ACEOF
6376 /* end confdefs.h. */
6377 $ac_includes_default
6378 typedef long ac__type_sizeof_;
6382 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6389 rm -f conftest.$ac_objext
6390 if { (ac_try="$ac_compile"
6392 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6393 *) ac_try_echo
=$ac_try;;
6395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6396 (eval "$ac_compile") 2>conftest.er1
6398 grep -v '^ *+' conftest.er1
>conftest.err
6400 cat conftest.err
>&5
6401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6402 (exit $ac_status); } && {
6403 test -z "$ac_c_werror_flag" ||
6404 test ! -s conftest.err
6405 } && test -s conftest.
$ac_objext; then
6406 ac_hi
=$ac_mid; break
6408 echo "$as_me: failed program was:" >&5
6409 sed 's/^/| /' conftest.
$ac_ext >&5
6411 ac_lo
=`expr $ac_mid + 1`
6412 if test $ac_lo -le $ac_mid; then
6416 ac_mid
=`expr 2 '*' $ac_mid + 1`
6419 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6422 echo "$as_me: failed program was:" >&5
6423 sed 's/^/| /' conftest.
$ac_ext >&5
6425 cat >conftest.
$ac_ext <<_ACEOF
6428 cat confdefs.h
>>conftest.
$ac_ext
6429 cat >>conftest.
$ac_ext <<_ACEOF
6430 /* end confdefs.h. */
6431 $ac_includes_default
6432 typedef long ac__type_sizeof_;
6436 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
6443 rm -f conftest.
$ac_objext
6444 if { (ac_try
="$ac_compile"
6446 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6447 *) ac_try_echo=$ac_try;;
6449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6450 (eval "$ac_compile") 2>conftest.er1
6452 grep -v '^ *+' conftest.er1 >conftest.err
6454 cat conftest.err >&5
6455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456 (exit $ac_status); } && {
6457 test -z "$ac_c_werror_flag" ||
6458 test ! -s conftest.err
6459 } && test -s conftest.$ac_objext; then
6462 cat >conftest.$ac_ext <<_ACEOF
6465 cat confdefs.h >>conftest.$ac_ext
6466 cat >>conftest.$ac_ext <<_ACEOF
6467 /* end confdefs.h. */
6468 $ac_includes_default
6469 typedef long ac__type_sizeof_;
6473 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
6480 rm -f conftest.$ac_objext
6481 if { (ac_try="$ac_compile"
6483 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6484 *) ac_try_echo
=$ac_try;;
6486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6487 (eval "$ac_compile") 2>conftest.er1
6489 grep -v '^ *+' conftest.er1
>conftest.err
6491 cat conftest.err
>&5
6492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6493 (exit $ac_status); } && {
6494 test -z "$ac_c_werror_flag" ||
6495 test ! -s conftest.err
6496 } && test -s conftest.
$ac_objext; then
6497 ac_lo
=$ac_mid; break
6499 echo "$as_me: failed program was:" >&5
6500 sed 's/^/| /' conftest.
$ac_ext >&5
6502 ac_hi
=`expr '(' $ac_mid ')' - 1`
6503 if test $ac_mid -le $ac_hi; then
6507 ac_mid
=`expr 2 '*' $ac_mid`
6510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6513 echo "$as_me: failed program was:" >&5
6514 sed 's/^/| /' conftest.
$ac_ext >&5
6519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6523 # Binary search between lo and hi bounds.
6524 while test "x$ac_lo" != "x$ac_hi"; do
6525 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6526 cat >conftest.
$ac_ext <<_ACEOF
6529 cat confdefs.h
>>conftest.
$ac_ext
6530 cat >>conftest.
$ac_ext <<_ACEOF
6531 /* end confdefs.h. */
6532 $ac_includes_default
6533 typedef long ac__type_sizeof_;
6537 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6544 rm -f conftest.
$ac_objext
6545 if { (ac_try
="$ac_compile"
6547 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6548 *) ac_try_echo=$ac_try;;
6550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6551 (eval "$ac_compile") 2>conftest.er1
6553 grep -v '^ *+' conftest.er1 >conftest.err
6555 cat conftest.err >&5
6556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6557 (exit $ac_status); } && {
6558 test -z "$ac_c_werror_flag" ||
6559 test ! -s conftest.err
6560 } && test -s conftest.$ac_objext; then
6563 echo "$as_me: failed program was:" >&5
6564 sed 's/^/| /' conftest.$ac_ext >&5
6566 ac_lo=`expr '(' $ac_mid ')' + 1`
6569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6572 ?*) ac_cv_sizeof_long=$ac_lo;;
6573 '') if test "$ac_cv_type_long" = yes; then
6574 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
6575 See \`config.log
' for more details." >&5
6576 echo "$as_me: error: cannot compute sizeof (long)
6577 See \`config.log' for more details.
" >&2;}
6578 { (exit 77); exit 77; }; }
6584 cat >conftest.$ac_ext <<_ACEOF
6587 cat confdefs.h >>conftest.$ac_ext
6588 cat >>conftest.$ac_ext <<_ACEOF
6589 /* end confdefs.h. */
6590 $ac_includes_default
6591 typedef long ac__type_sizeof_;
6592 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
6593 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
6600 FILE *f = fopen ("conftest.val
", "w
");
6603 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
6605 long int i = longval ();
6606 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6608 fprintf (f, "%ld
\n", i);
6612 unsigned long int i = ulongval ();
6613 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6615 fprintf (f, "%lu
\n", i);
6617 return ferror (f) || fclose (f) != 0;
6623 rm -f conftest$ac_exeext
6624 if { (ac_try="$ac_link"
6626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6627 *) ac_try_echo=$ac_try;;
6629 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6630 (eval "$ac_link") 2>&5
6632 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6633 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6634 { (case "(($ac_try" in
6635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6636 *) ac_try_echo=$ac_try;;
6638 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6639 (eval "$ac_try") 2>&5
6641 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6642 (exit $ac_status); }; }; then
6643 ac_cv_sizeof_long=`cat conftest.val`
6645 echo "$as_me: program exited with status
$ac_status" >&5
6646 echo "$as_me: failed program was
:" >&5
6647 sed 's/^/| /' conftest.$ac_ext >&5
6650 if test "$ac_cv_type_long" = yes; then
6651 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
6652 See \
`config.log' for more details." >&5
6653 echo "$as_me: error: cannot compute sizeof (long)
6654 See \`config.log
' for more details." >&2;}
6655 { (exit 77); exit 77; }; }
6660 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6664 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
6665 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
6669 cat >>confdefs.h <<_ACEOF
6670 #define SIZEOF_LONG $ac_cv_sizeof_long
6679 { echo "$as_me:$LINENO: checking for missing socklen_t" >&5
6680 echo $ECHO_N "checking for missing socklen_t... $ECHO_C" >&6; }
6681 cat >conftest.$ac_ext <<_ACEOF
6684 cat confdefs.h >>conftest.$ac_ext
6685 cat >>conftest.$ac_ext <<_ACEOF
6686 /* end confdefs.h. */
6687 #include <sys/socket.h>
6690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6691 $EGREP "socklen_t" >/dev/null 2>&1; then
6692 { echo "$as_me:$LINENO: result: no" >&5
6693 echo "${ECHO_T}no" >&6; }
6696 cat >>confdefs.h <<\_ACEOF
6697 #define NEED_SOCKLEN_T_DEFINE 1
6700 NEED_SOCKLEN_T_DEFINE=yes
6701 { echo "$as_me:$LINENO: result: missing." >&5
6702 echo "${ECHO_T}missing." >&6; }
6708 { echo "$as_me:$LINENO: checking for h_errno" >&5
6709 echo $ECHO_N "checking for h_errno... $ECHO_C" >&6; }
6710 cat >conftest.$ac_ext <<_ACEOF
6713 cat confdefs.h >>conftest.$ac_ext
6714 cat >>conftest.$ac_ext <<_ACEOF
6715 /* end confdefs.h. */
6719 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6720 $EGREP "h_errno" >/dev/null 2>&1; then
6721 { echo "$as_me:$LINENO: result: normal" >&5
6722 echo "${ECHO_T}normal" >&6; }
6724 CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED"
6725 cat >conftest.$ac_ext <<_ACEOF
6728 cat confdefs.h >>conftest.$ac_ext
6729 cat >>conftest.$ac_ext <<_ACEOF
6730 /* end confdefs.h. */
6734 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6735 $EGREP "h_errno" >/dev/null 2>&1; then
6736 { echo "$as_me:$LINENO: result: needs _XOPEN_SOURCE_EXTENDED" >&5
6737 echo "${ECHO_T}needs _XOPEN_SOURCE_EXTENDED" >&6; }
6739 { { echo "$as_me:$LINENO: error: \"not found.\"" >&5
6740 echo "$as_me: error: \"not found.\"" >&2;}
6741 { (exit 1); exit 1; }; }
6750 # Extract the first word of "debiandoc2html", so it can be a program name with args.
6751 set dummy debiandoc2html; ac_word=$2
6752 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6754 if test "${ac_cv_path_DEBIANDOC_HTML+set}" = set; then
6755 echo $ECHO_N "(cached) $ECHO_C" >&6
6757 case $DEBIANDOC_HTML in
6759 ac_cv_path_DEBIANDOC_HTML="$DEBIANDOC_HTML" # Let the user override the test with a path.
6762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6766 test -z "$as_dir" && as_dir=.
6767 for ac_exec_ext in '' $ac_executable_extensions; do
6768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6769 ac_cv_path_DEBIANDOC_HTML="$as_dir/$ac_word$ac_exec_ext"
6770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6780 DEBIANDOC_HTML=$ac_cv_path_DEBIANDOC_HTML
6781 if test -n "$DEBIANDOC_HTML"; then
6782 { echo "$as_me:$LINENO: result: $DEBIANDOC_HTML" >&5
6783 echo "${ECHO_T}$DEBIANDOC_HTML" >&6; }
6785 { echo "$as_me:$LINENO: result: no" >&5
6786 echo "${ECHO_T}no" >&6; }
6790 # Extract the first word of "debiandoc2text", so it can be a program name with args.
6791 set dummy debiandoc2text; ac_word=$2
6792 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6794 if test "${ac_cv_path_DEBIANDOC_TEXT+set}" = set; then
6795 echo $ECHO_N "(cached) $ECHO_C" >&6
6797 case $DEBIANDOC_TEXT in
6799 ac_cv_path_DEBIANDOC_TEXT="$DEBIANDOC_TEXT" # Let the user override the test with a path.
6802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6806 test -z "$as_dir" && as_dir=.
6807 for ac_exec_ext in '' $ac_executable_extensions; do
6808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6809 ac_cv_path_DEBIANDOC_TEXT="$as_dir/$ac_word$ac_exec_ext"
6810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6820 DEBIANDOC_TEXT=$ac_cv_path_DEBIANDOC_TEXT
6821 if test -n "$DEBIANDOC_TEXT"; then
6822 { echo "$as_me:$LINENO: result: $DEBIANDOC_TEXT" >&5
6823 echo "${ECHO_T}$DEBIANDOC_TEXT" >&6; }
6825 { echo "$as_me:$LINENO: result: no" >&5
6826 echo "${ECHO_T}no" >&6; }
6831 # Extract the first word of "docbook2man", so it can be a program name with args.
6832 set dummy docbook2man; ac_word=$2
6833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6835 if test "${ac_cv_path_DOCBOOK2MAN+set}" = set; then
6836 echo $ECHO_N "(cached) $ECHO_C" >&6
6838 case $DOCBOOK2MAN in
6840 ac_cv_path_DOCBOOK2MAN="$DOCBOOK2MAN" # Let the user override the test with a path.
6843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6847 test -z "$as_dir" && as_dir=.
6848 for ac_exec_ext in '' $ac_executable_extensions; do
6849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6850 ac_cv_path_DOCBOOK2MAN="$as_dir/$ac_word$ac_exec_ext"
6851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6861 DOCBOOK2MAN=$ac_cv_path_DOCBOOK2MAN
6862 if test -n "$DOCBOOK2MAN"; then
6863 { echo "$as_me:$LINENO: result: $DOCBOOK2MAN" >&5
6864 echo "${ECHO_T}$DOCBOOK2MAN" >&6; }
6866 { echo "$as_me:$LINENO: result: no" >&5
6867 echo "${ECHO_T}no" >&6; }
6872 # Extract the first word of "xmlto", so it can be a program name with args.
6873 set dummy xmlto; ac_word=$2
6874 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6876 if test "${ac_cv_path_XMLTO+set}" = set; then
6877 echo $ECHO_N "(cached) $ECHO_C" >&6
6881 ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
6884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6888 test -z "$as_dir" && as_dir=.
6889 for ac_exec_ext in '' $ac_executable_extensions; do
6890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6891 ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
6892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6902 XMLTO=$ac_cv_path_XMLTO
6903 if test -n "$XMLTO"; then
6904 { echo "$as_me:$LINENO: result: $XMLTO" >&5
6905 echo "${ECHO_T}$XMLTO" >&6; }
6907 { echo "$as_me:$LINENO: result: no" >&5
6908 echo "${ECHO_T}no" >&6; }
6915 # Check whether --with-getconf was given.
6916 if test "${with_getconf+set}" = set; then
6917 withval=$with_getconf; if test "$withval" = "yes"; then
6918 # Extract the first word of "getconf", so it can be a program name with args.
6919 set dummy getconf; ac_word=$2
6920 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6922 if test "${ac_cv_path_GETCONF+set}" = set; then
6923 echo $ECHO_N "(cached) $ECHO_C" >&6
6927 ac_cv_path_GETCONF="$GETCONF" # Let the user override the test with a path.
6930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6934 test -z "$as_dir" && as_dir=.
6935 for ac_exec_ext in '' $ac_executable_extensions; do
6936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6937 ac_cv_path_GETCONF="$as_dir/$ac_word$ac_exec_ext"
6938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6948 GETCONF=$ac_cv_path_GETCONF
6949 if test -n "$GETCONF"; then
6950 { echo "$as_me:$LINENO: result: $GETCONF" >&5
6951 echo "${ECHO_T}$GETCONF" >&6; }
6953 { echo "$as_me:$LINENO: result: no" >&5
6954 echo "${ECHO_T}no" >&6; }
6958 elif test ! "$withval" = "no";then
6959 { echo "$as_me:$LINENO: checking getconf" >&5
6960 echo $ECHO_N "checking getconf... $ECHO_C" >&6; }
6961 { echo "$as_me:$LINENO: result: $withval" >&5
6962 echo "${ECHO_T}$withval" >&6; }
6966 # Extract the first word of "getconf", so it can be a program name with args.
6967 set dummy getconf; ac_word=$2
6968 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6970 if test "${ac_cv_path_GETCONF+set}" = set; then
6971 echo $ECHO_N "(cached) $ECHO_C" >&6
6975 ac_cv_path_GETCONF="$GETCONF" # Let the user override the test with a path.
6978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6982 test -z "$as_dir" && as_dir=.
6983 for ac_exec_ext in '' $ac_executable_extensions; do
6984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6985 ac_cv_path_GETCONF="$as_dir/$ac_word$ac_exec_ext"
6986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6996 GETCONF=$ac_cv_path_GETCONF
6997 if test -n "$GETCONF"; then
6998 { echo "$as_me:$LINENO: result: $GETCONF" >&5
6999 echo "${ECHO_T}$GETCONF" >&6; }
7001 { echo "$as_me:$LINENO: result: no" >&5
7002 echo "${ECHO_T}no" >&6; }
7011 { echo "$as_me:$LINENO: checking number of cpus" >&5
7012 echo $ECHO_N "checking number of cpus... $ECHO_C" >&6; }
7014 # Check whether --with-cpus was given.
7015 if test "${with_cpus+set}" = set; then
7017 if test "$withval" = "yes"; then
7019 if test ! -z "$GETCONF";then
7021 set -- SC_NPROCESSORS_ONLN _NPROCESSORS_ONLN
7022 while eval test -z \"\$NUM_CPUS\" -a ! -z \"$1\";do
7023 eval NUM_CPUS=`$GETCONF "$1" 2>/dev/null`
7027 if eval test -z \"\$NUM_CPUS\" -o \"\$NUM_CPUS\" = "-1";then
7031 elif test ! "$withval" = "no";then
7033 elif test "$withval" = "no";then
7038 if test ! -z "$GETCONF";then
7040 set -- SC_NPROCESSORS_ONLN _NPROCESSORS_ONLN
7041 while eval test -z \"\$NUM_CPUS\" -a ! -z \"$1\";do
7042 eval NUM_CPUS=`$GETCONF "$1" 2>/dev/null`
7046 if eval test -z \"\$NUM_CPUS\" -o \"\$NUM_CPUS\" = "-1";then
7053 ah_NUM_CPUS_msg="$NUM_CPUS"
7054 if test "$NUM_CPUS" = "0"; then
7055 # broken getconf, time to bitch.
7056 ah_NUM_CPUS_msg="found 0 cpus. Has someone done a lobotomy?"
7059 if test $NUM_CPUS = 1 ;then
7060 default_PROC_MULTIPLY=1
7062 default_PROC_MULTIPLY=2
7064 { echo "$as_me:$LINENO: result: $ah_NUM_CPUS_msg" >&5
7065 echo "${ECHO_T}$ah_NUM_CPUS_msg" >&6; }
7069 { echo "$as_me:$LINENO: checking processor multiplier" >&5
7070 echo $ECHO_N "checking processor multiplier... $ECHO_C" >&6; }
7072 # Check whether --with-proc-multiply was given.
7073 if test "${with_proc_multiply+set}" = set; then
7074 withval=$with_proc_multiply; if test "$withval" = "yes"; then
7075 PROC_MULTIPLY=$default_PROC_MULTIPLY
7076 elif test ! "$withval" = "no";then
7077 PROC_MULTIPLY=$withval
7080 PROC_MULTIPLY=$default_PROC_MULTIPLY
7084 { echo "$as_me:$LINENO: result: $PROC_MULTIPLY" >&5
7085 echo "${ECHO_T}$PROC_MULTIPLY" >&6; }
7090 { echo "$as_me:$LINENO: checking number of processes to run during make" >&5
7091 echo $ECHO_N "checking number of processes to run during make... $ECHO_C" >&6; }
7093 # Check whether --with-procs was given.
7094 if test "${with_procs+set}" = set; then
7095 withval=$with_procs; if test "$withval" = "yes"; then
7096 NUM_PROCS=`expr $NUM_CPUS \* $PROC_MULTIPLY`
7097 elif test ! "$withval" = "no";then
7101 NUM_PROCS=`expr $NUM_CPUS \* $PROC_MULTIPLY`
7105 { echo "$as_me:$LINENO: result: $NUM_PROCS" >&5
7106 echo "${ECHO_T}$NUM_PROCS" >&6; }
7109 { echo "$as_me:$LINENO: checking glibc version" >&5
7110 echo $ECHO_N "checking glibc version... $ECHO_C" >&6; }
7111 if test "${ac_cv_glibc_ver+set}" = set; then
7112 echo $ECHO_N "(cached) $ECHO_C" >&6
7115 cat <<_GLIBC_>$dummy.c
7116 #include <features.h>
7119 int main(int argc, char **argv) { printf("libc6.%d",__GLIBC_MINOR__); exit(0); }
7121 ${CC-cc} $dummy.c -o $dummy > /dev/null 2>&1
7122 if test "$?" = 0; then
7123 GLIBC_VER=`./$dummy`
7124 { echo "$as_me:$LINENO: result: $GLIBC_VER" >&5
7125 echo "${ECHO_T}$GLIBC_VER" >&6; }
7126 ac_cv_glibc_ver=$GLIBC_VER
7128 { echo "$as_me:$LINENO: WARNING: cannot determine GNU C library minor version number" >&5
7129 echo "$as_me: WARNING: cannot determine GNU C library minor version number" >&2;}
7131 rm -f $dummy $dummy.c
7135 GLIBC_VER="-$ac_cv_glibc_ver"
7138 { echo "$as_me:$LINENO: checking libstdc++ version" >&5
7139 echo $ECHO_N "checking libstdc++ version... $ECHO_C" >&6; }
7141 cat <<_LIBSTDCPP_>$dummy.cc
7142 #include <features.h>
7145 int main(int argc, char **argv) { exit(0); }
7147 ${CXX-c++} $dummy.cc -o $dummy > /dev/null 2>&1
7149 if test "$?" = 0; then
7150 soname=`objdump -p ./$dummy |grep NEEDED|grep libstd`
7151 LIBSTDCPP_VER=`echo $soname | sed -e 's
/.
*NEEDED.
*libstdc
++\
(-libc.
*\
(-.
*\
)\
)\?.so.\
(.
*\
)/\
3\
2/'`
7153 rm -f $dummy $dummy.cc
7155 if test -z "$LIBSTDCPP_VER"; then
7156 { echo "$as_me:$LINENO: WARNING: cannot determine standard C++ library version number" >&5
7157 echo "$as_me: WARNING: cannot determine standard C++ library version number" >&2;}
7159 { echo "$as_me:$LINENO: result: $LIBSTDCPP_VER" >&5
7160 echo "${ECHO_T}$LIBSTDCPP_VER" >&6; }
7161 LIBSTDCPP_VER="-$LIBSTDCPP_VER"
7166 { echo "$as_me:$LINENO: checking if $CXX -MD works" >&5
7167 echo $ECHO_N "checking if $CXX -MD works... $ECHO_C" >&6; }
7169 ${CXX-c++} -MD -o gcc3dep_test.o -c gcc3dep.cc
7170 rm -f gcc3dep.cc gcc3dep_test.o
7171 if test -e gcc3dep.d; then
7175 elif test -e gcc3dep_test.d; then
7176 rm -f gcc3dep_test.d
7180 { { echo "$as_me:$LINENO: error: no" >&5
7181 echo "$as_me: error: no" >&2;}
7182 { (exit 1); exit 1; }; }
7184 { echo "$as_me:$LINENO: result: yes, for $GCC_MD" >&5
7185 echo "${ECHO_T}yes, for $GCC_MD" >&6; }
7189 ALL_LINGUAS="bg bs ca cs cy da de dz el en_GB es eu fi fr gl hu it ja ko ku nb nl nn pl pt_BR pt ro ru sk sl sv tl vi zn_CN zh_TW"
7190 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7191 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
7192 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's
/+/p
/g
; s
/[^a
-zA-Z0-9_]/_
/g
'`
7193 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
7194 echo $ECHO_N "(cached) $ECHO_C" >&6
7196 cat >conftest.make <<\_ACEOF
7199 @echo '@@@
%%%=$(MAKE)=@@@
%%%'
7201 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7202 case `${MAKE-make} -f conftest.make 2>/dev/null` in
7204 eval ac_cv_prog_make_${ac_make}_set=yes;;
7206 eval ac_cv_prog_make_${ac_make}_set=no;;
7210 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
7211 { echo "$as_me:$LINENO: result: yes" >&5
7212 echo "${ECHO_T}yes" >&6; }
7215 { echo "$as_me:$LINENO: result: no" >&5
7216 echo "${ECHO_T}no" >&6; }
7217 SET_MAKE="MAKE=${MAKE-make}"
7220 # Find a good install program. We prefer a C program (faster),
7221 # so one script is as good as another. But avoid the broken or
7222 # incompatible versions:
7223 # SysV /etc/install, /usr/sbin/install
7224 # SunOS /usr/etc/install
7225 # IRIX /sbin/install
7227 # AmigaOS /C/install, which installs bootblocks on floppy discs
7228 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
7229 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7230 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7231 # OS/2's system install, which has a completely different semantic
7232 # ./install, which can be erroneously created by make from ./install.sh.
7233 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7234 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
7235 if test -z "$INSTALL"; then
7236 if test "${ac_cv_path_install+set}" = set; then
7237 echo $ECHO_N "(cached) $ECHO_C" >&6
7239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7243 test -z "$as_dir" && as_dir
=.
7244 # Account for people who put trailing slashes in PATH elements.
7246 .
/ | .
// | /cC
/* | \
7247 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
7248 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
7251 # OSF1 and SCO ODT 3.0 have their own names for install.
7252 # Don't use installbsd from OSF since it installs stuff as root
7254 for ac_prog
in ginstall scoinst
install; do
7255 for ac_exec_ext
in '' $ac_executable_extensions; do
7256 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
7257 if test $ac_prog = install &&
7258 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7259 # AIX install. It has an incompatible calling convention.
7261 elif test $ac_prog = install &&
7262 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7263 # program-specific install script used by HP pwplus--don't use.
7266 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
7279 if test "${ac_cv_path_install+set}" = set; then
7280 INSTALL
=$ac_cv_path_install
7282 # As a last resort, use the slow shell script. Don't cache a
7283 # value for INSTALL within a source directory, because that will
7284 # break other packages using the cache if that directory is
7285 # removed, or if the value is a relative name.
7286 INSTALL
=$ac_install_sh
7289 { echo "$as_me:$LINENO: result: $INSTALL" >&5
7290 echo "${ECHO_T}$INSTALL" >&6; }
7292 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7293 # It thinks the first close brace ends the variable substitution.
7294 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
7296 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
7298 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
7300 if mkdir -p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
7301 # We used to keeping the `.' as first argument, in order to
7302 # allow $(mkdir_p) to be used without argument. As in
7303 # $(mkdir_p) $(somedir)
7304 # where $(somedir) is conditionally defined. However this is wrong
7306 # 1. if the package is installed by a user who cannot write `.'
7307 # make install will fail,
7308 # 2. the above comment should most certainly read
7309 # $(mkdir_p) $(DESTDIR)$(somedir)
7310 # so it does not work when $(somedir) is undefined and
7311 # $(DESTDIR) is not.
7312 # To support the latter case, we have to write
7313 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
7314 # so the `.' trick is pointless.
7315 mkdir_p
='mkdir -p --'
7317 # On NextStep and OpenStep, the `mkdir' command does not
7318 # recognize any option. It will interpret all options as
7319 # directories to create, and then abort because `.' already
7321 for d
in .
/-p .
/--version;
7323 test -d $d && rmdir $d
7325 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
7326 if test -f "$ac_aux_dir/mkinstalldirs"; then
7327 mkdir_p
='$(mkinstalldirs)'
7329 mkdir_p
='$(install_sh) -d'
7334 { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7335 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
7336 # Check whether --enable-nls was given.
7337 if test "${enable_nls+set}" = set; then
7338 enableval
=$enable_nls; USE_NLS
=$enableval
7343 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
7344 echo "${ECHO_T}$USE_NLS" >&6; }
7351 # Prepare PATH_SEPARATOR.
7352 # The user is always right.
7353 if test "${PATH_SEPARATOR+set}" != set; then
7354 echo "#! /bin/sh" >conf$$.sh
7355 echo "exit 0" >>conf$$.sh
7357 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7365 # Find out how to test for executable files. Don't use a zero-byte file,
7366 # as systems may use methods other than mode bits to determine executability.
7367 cat >conf$$.
file <<_ASEOF
7371 chmod +x conf$$.
file
7372 if test -x conf$$.
file >/dev
/null
2>&1; then
7373 ac_executable_p
="test -x"
7375 ac_executable_p
="test -f"
7379 # Extract the first word of "msgfmt", so it can be a program name with args.
7380 set dummy msgfmt
; ac_word
=$2
7381 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7383 if test "${ac_cv_path_MSGFMT+set}" = set; then
7384 echo $ECHO_N "(cached) $ECHO_C" >&6
7388 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7391 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7392 for ac_dir
in $PATH; do
7394 test -z "$ac_dir" && ac_dir
=.
7395 for ac_exec_ext
in '' $ac_executable_extensions; do
7396 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7397 echo "$as_me: trying $ac_dir/$ac_word..." >&5
7398 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
7399 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null
| grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
7400 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
7407 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
7411 MSGFMT
="$ac_cv_path_MSGFMT"
7412 if test "$MSGFMT" != ":"; then
7413 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
7414 echo "${ECHO_T}$MSGFMT" >&6; }
7416 { echo "$as_me:$LINENO: result: no" >&5
7417 echo "${ECHO_T}no" >&6; }
7420 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7421 set dummy gmsgfmt
; ac_word
=$2
7422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7424 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7425 echo $ECHO_N "(cached) $ECHO_C" >&6
7429 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7436 test -z "$as_dir" && as_dir
=.
7437 for ac_exec_ext
in '' $ac_executable_extensions; do
7438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7439 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7447 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7451 GMSGFMT
=$ac_cv_path_GMSGFMT
7452 if test -n "$GMSGFMT"; then
7453 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7454 echo "${ECHO_T}$GMSGFMT" >&6; }
7456 { echo "$as_me:$LINENO: result: no" >&5
7457 echo "${ECHO_T}no" >&6; }
7462 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
7463 '' | 0.
[0-9] | 0.
[0-9].
* | 0.1[0-4] | 0.1[0-4].
*) MSGFMT_015
=: ;;
7464 *) MSGFMT_015
=$MSGFMT ;;
7467 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
7468 '' | 0.
[0-9] | 0.
[0-9].
* | 0.1[0-4] | 0.1[0-4].
*) GMSGFMT_015
=: ;;
7469 *) GMSGFMT_015
=$GMSGFMT ;;
7474 # Prepare PATH_SEPARATOR.
7475 # The user is always right.
7476 if test "${PATH_SEPARATOR+set}" != set; then
7477 echo "#! /bin/sh" >conf$$.sh
7478 echo "exit 0" >>conf$$.sh
7480 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7488 # Find out how to test for executable files. Don't use a zero-byte file,
7489 # as systems may use methods other than mode bits to determine executability.
7490 cat >conf$$.
file <<_ASEOF
7494 chmod +x conf$$.
file
7495 if test -x conf$$.
file >/dev
/null
2>&1; then
7496 ac_executable_p
="test -x"
7498 ac_executable_p
="test -f"
7502 # Extract the first word of "xgettext", so it can be a program name with args.
7503 set dummy xgettext
; ac_word
=$2
7504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7506 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7507 echo $ECHO_N "(cached) $ECHO_C" >&6
7511 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7514 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7515 for ac_dir
in $PATH; do
7517 test -z "$ac_dir" && ac_dir
=.
7518 for ac_exec_ext
in '' $ac_executable_extensions; do
7519 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7520 echo "$as_me: trying $ac_dir/$ac_word..." >&5
7521 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
7522 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null
| grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
7523 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
7530 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7534 XGETTEXT
="$ac_cv_path_XGETTEXT"
7535 if test "$XGETTEXT" != ":"; then
7536 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7537 echo "${ECHO_T}$XGETTEXT" >&6; }
7539 { echo "$as_me:$LINENO: result: no" >&5
7540 echo "${ECHO_T}no" >&6; }
7545 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
7546 '' | 0.
[0-9] | 0.
[0-9].
* | 0.1[0-4] | 0.1[0-4].
*) XGETTEXT_015
=: ;;
7547 *) XGETTEXT_015
=$XGETTEXT ;;
7552 # Prepare PATH_SEPARATOR.
7553 # The user is always right.
7554 if test "${PATH_SEPARATOR+set}" != set; then
7555 echo "#! /bin/sh" >conf$$.sh
7556 echo "exit 0" >>conf$$.sh
7558 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7566 # Find out how to test for executable files. Don't use a zero-byte file,
7567 # as systems may use methods other than mode bits to determine executability.
7568 cat >conf$$.
file <<_ASEOF
7572 chmod +x conf$$.
file
7573 if test -x conf$$.
file >/dev
/null
2>&1; then
7574 ac_executable_p
="test -x"
7576 ac_executable_p
="test -f"
7580 # Extract the first word of "msgmerge", so it can be a program name with args.
7581 set dummy msgmerge
; ac_word
=$2
7582 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7584 if test "${ac_cv_path_MSGMERGE+set}" = set; then
7585 echo $ECHO_N "(cached) $ECHO_C" >&6
7589 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
7592 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7593 for ac_dir
in $PATH; do
7595 test -z "$ac_dir" && ac_dir
=.
7596 for ac_exec_ext
in '' $ac_executable_extensions; do
7597 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7598 echo "$as_me: trying $ac_dir/$ac_word..." >&5
7599 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
7600 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
7607 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
7611 MSGMERGE
="$ac_cv_path_MSGMERGE"
7612 if test "$MSGMERGE" != ":"; then
7613 { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
7614 echo "${ECHO_T}$MSGMERGE" >&6; }
7616 { echo "$as_me:$LINENO: result: no" >&5
7617 echo "${ECHO_T}no" >&6; }
7621 test -n "$localedir" || localedir
='${datadir}/locale'
7624 ac_config_commands
="$ac_config_commands po-directories"
7628 if test "X$prefix" = "XNONE"; then
7629 acl_final_prefix
="$ac_default_prefix"
7631 acl_final_prefix
="$prefix"
7633 if test "X$exec_prefix" = "XNONE"; then
7634 acl_final_exec_prefix
='${prefix}'
7636 acl_final_exec_prefix
="$exec_prefix"
7638 acl_save_prefix
="$prefix"
7639 prefix
="$acl_final_prefix"
7640 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
7641 prefix
="$acl_save_prefix"
7644 # Check whether --with-gnu-ld was given.
7645 if test "${with_gnu_ld+set}" = set; then
7646 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
7651 # Prepare PATH_SEPARATOR.
7652 # The user is always right.
7653 if test "${PATH_SEPARATOR+set}" != set; then
7654 echo "#! /bin/sh" >conf$$.sh
7655 echo "exit 0" >>conf$$.sh
7657 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7665 if test "$GCC" = yes; then
7666 # Check if gcc -print-prog-name=ld gives a path.
7667 { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
7668 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
7671 # gcc leaves a trailing carriage return which upsets mingw
7672 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7674 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7677 # Accept absolute paths.
7678 [\\/]* | [A
-Za-z]:[\\/]*)
7679 re_direlt
='/[^/][^/]*/\.\./'
7680 # Canonicalize the path of ld
7681 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
7682 while echo $ac_prog | grep "$re_direlt" > /dev
/null
2>&1; do
7683 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
7685 test -z "$LD" && LD
="$ac_prog"
7688 # If it fails, then pretend we aren't using GCC.
7692 # If it is relative, then search for the first ld in PATH.
7696 elif test "$with_gnu_ld" = yes; then
7697 { echo "$as_me:$LINENO: checking for GNU ld" >&5
7698 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
7700 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7701 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
7703 if test "${acl_cv_path_LD+set}" = set; then
7704 echo $ECHO_N "(cached) $ECHO_C" >&6
7706 if test -z "$LD"; then
7707 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}${PATH_SEPARATOR-:}"
7708 for ac_dir
in $PATH; do
7709 test -z "$ac_dir" && ac_dir
=.
7710 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7711 acl_cv_path_LD
="$ac_dir/$ac_prog"
7712 # Check to see if the program is GNU ld. I'd rather use --version,
7713 # but apparently some GNU ld's only accept -v.
7714 # Break only if it was the GNU/non-GNU ld that we prefer.
7715 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
7716 *GNU
* | *'with BFD'*)
7717 test "$with_gnu_ld" != no
&& break ;;
7719 test "$with_gnu_ld" != yes && break ;;
7725 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
7729 LD
="$acl_cv_path_LD"
7730 if test -n "$LD"; then
7731 { echo "$as_me:$LINENO: result: $LD" >&5
7732 echo "${ECHO_T}$LD" >&6; }
7734 { echo "$as_me:$LINENO: result: no" >&5
7735 echo "${ECHO_T}no" >&6; }
7737 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7738 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7739 { (exit 1); exit 1; }; }
7740 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7741 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
7742 if test "${acl_cv_prog_gnu_ld+set}" = set; then
7743 echo $ECHO_N "(cached) $ECHO_C" >&6
7745 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
7746 case `$LD -v 2>&1 </dev/null` in
7747 *GNU
* | *'with BFD'*)
7748 acl_cv_prog_gnu_ld
=yes ;;
7750 acl_cv_prog_gnu_ld
=no
;;
7753 { echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
7754 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
7755 with_gnu_ld
=$acl_cv_prog_gnu_ld
7760 { echo "$as_me:$LINENO: checking for shared library run path origin" >&5
7761 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
7762 if test "${acl_cv_rpath+set}" = set; then
7763 echo $ECHO_N "(cached) $ECHO_C" >&6
7766 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
7767 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
7773 { echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
7774 echo "${ECHO_T}$acl_cv_rpath" >&6; }
7776 libext
="$acl_cv_libext"
7777 shlibext
="$acl_cv_shlibext"
7778 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
7779 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
7780 hardcode_direct
="$acl_cv_hardcode_direct"
7781 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
7782 # Check whether --enable-rpath was given.
7783 if test "${enable_rpath+set}" = set; then
7784 enableval
=$enable_rpath; :
7792 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
7793 if test -n "$searchpath"; then
7794 acl_save_IFS
="${IFS= }"; IFS
=":"
7795 for searchdir
in $searchpath; do
7796 if test -d "$searchdir"; then
7797 case "$searchdir" in
7798 */lib
64/ | */lib64
) acl_libdirstem
=lib64
;;
7799 *) searchdir
=`cd "$searchdir" && pwd`
7800 case "$searchdir" in
7801 */lib64
) acl_libdirstem
=lib64
;;
7818 acl_save_prefix
="$prefix"
7819 prefix
="$acl_final_prefix"
7820 acl_save_exec_prefix
="$exec_prefix"
7821 exec_prefix
="$acl_final_exec_prefix"
7823 eval additional_includedir
=\"$includedir\"
7824 eval additional_libdir
=\"$libdir\"
7826 exec_prefix
="$acl_save_exec_prefix"
7827 prefix
="$acl_save_prefix"
7830 # Check whether --with-libiconv-prefix was given.
7831 if test "${with_libiconv_prefix+set}" = set; then
7832 withval
=$with_libiconv_prefix;
7833 if test "X$withval" = "Xno"; then
7836 if test "X$withval" = "X"; then
7838 acl_save_prefix
="$prefix"
7839 prefix
="$acl_final_prefix"
7840 acl_save_exec_prefix
="$exec_prefix"
7841 exec_prefix
="$acl_final_exec_prefix"
7843 eval additional_includedir
=\"$includedir\"
7844 eval additional_libdir
=\"$libdir\"
7846 exec_prefix
="$acl_save_exec_prefix"
7847 prefix
="$acl_save_prefix"
7850 additional_includedir
="$withval/include"
7851 additional_libdir
="$withval/$acl_libdirstem"
7862 names_already_handled
=
7863 names_next_round
='iconv '
7864 while test -n "$names_next_round"; do
7865 names_this_round
="$names_next_round"
7867 for name
in $names_this_round; do
7869 for n
in $names_already_handled; do
7870 if test "$n" = "$name"; then
7875 if test -z "$already_handled"; then
7876 names_already_handled
="$names_already_handled $name"
7877 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
7878 eval value
=\"\
$HAVE_LIB$uppername\"
7879 if test -n "$value"; then
7880 if test "$value" = yes; then
7881 eval value
=\"\
$LIB$uppername\"
7882 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
7883 eval value
=\"\
$LTLIB$uppername\"
7884 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
7893 if test $use_additional = yes; then
7894 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
7895 found_dir
="$additional_libdir"
7896 found_so
="$additional_libdir/lib$name.$shlibext"
7897 if test -f "$additional_libdir/lib$name.la"; then
7898 found_la
="$additional_libdir/lib$name.la"
7901 if test -f "$additional_libdir/lib$name.$libext"; then
7902 found_dir
="$additional_libdir"
7903 found_a
="$additional_libdir/lib$name.$libext"
7904 if test -f "$additional_libdir/lib$name.la"; then
7905 found_la
="$additional_libdir/lib$name.la"
7910 if test "X$found_dir" = "X"; then
7911 for x
in $LDFLAGS $LTLIBICONV; do
7913 acl_save_prefix
="$prefix"
7914 prefix
="$acl_final_prefix"
7915 acl_save_exec_prefix
="$exec_prefix"
7916 exec_prefix
="$acl_final_exec_prefix"
7918 exec_prefix
="$acl_save_exec_prefix"
7919 prefix
="$acl_save_prefix"
7923 dir
=`echo "X$x" | sed -e 's/^X-L//'`
7924 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
7926 found_so
="$dir/lib$name.$shlibext"
7927 if test -f "$dir/lib$name.la"; then
7928 found_la
="$dir/lib$name.la"
7931 if test -f "$dir/lib$name.$libext"; then
7933 found_a
="$dir/lib$name.$libext"
7934 if test -f "$dir/lib$name.la"; then
7935 found_la
="$dir/lib$name.la"
7941 if test "X$found_dir" != "X"; then
7946 if test "X$found_dir" != "X"; then
7947 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
7948 if test "X$found_so" != "X"; then
7949 if test "$enable_rpath" = no
|| test "X$found_dir" = "X/usr/$acl_libdirstem"; then
7950 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7953 for x
in $ltrpathdirs; do
7954 if test "X$x" = "X$found_dir"; then
7959 if test -z "$haveit"; then
7960 ltrpathdirs
="$ltrpathdirs $found_dir"
7962 if test "$hardcode_direct" = yes; then
7963 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7965 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
7966 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7968 for x
in $rpathdirs; do
7969 if test "X$x" = "X$found_dir"; then
7974 if test -z "$haveit"; then
7975 rpathdirs
="$rpathdirs $found_dir"
7979 for x
in $LDFLAGS $LIBICONV; do
7981 acl_save_prefix
="$prefix"
7982 prefix
="$acl_final_prefix"
7983 acl_save_exec_prefix
="$exec_prefix"
7984 exec_prefix
="$acl_final_exec_prefix"
7986 exec_prefix
="$acl_save_exec_prefix"
7987 prefix
="$acl_save_prefix"
7989 if test "X$x" = "X-L$found_dir"; then
7994 if test -z "$haveit"; then
7995 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
7997 if test "$hardcode_minus_L" != no
; then
7998 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8000 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
8006 if test "X$found_a" != "X"; then
8007 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
8009 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
8012 additional_includedir
=
8013 case "$found_dir" in
8014 */$acl_libdirstem | */$acl_libdirstem/)
8015 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
8016 additional_includedir
="$basedir/include"
8019 if test "X$additional_includedir" != "X"; then
8020 if test "X$additional_includedir" != "X/usr/include"; then
8022 if test "X$additional_includedir" = "X/usr/local/include"; then
8023 if test -n "$GCC"; then
8025 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
8029 if test -z "$haveit"; then
8030 for x
in $CPPFLAGS $INCICONV; do
8032 acl_save_prefix
="$prefix"
8033 prefix
="$acl_final_prefix"
8034 acl_save_exec_prefix
="$exec_prefix"
8035 exec_prefix
="$acl_final_exec_prefix"
8037 exec_prefix
="$acl_save_exec_prefix"
8038 prefix
="$acl_save_prefix"
8040 if test "X$x" = "X-I$additional_includedir"; then
8045 if test -z "$haveit"; then
8046 if test -d "$additional_includedir"; then
8047 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
8053 if test -n "$found_la"; then
8054 save_libdir
="$libdir"
8056 */* | *\\*) .
"$found_la" ;;
8057 *) .
"./$found_la" ;;
8059 libdir
="$save_libdir"
8060 for dep
in $dependency_libs; do
8063 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
8064 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
8066 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
8067 if test -n "$GCC"; then
8069 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
8073 if test -z "$haveit"; then
8075 for x
in $LDFLAGS $LIBICONV; do
8077 acl_save_prefix
="$prefix"
8078 prefix
="$acl_final_prefix"
8079 acl_save_exec_prefix
="$exec_prefix"
8080 exec_prefix
="$acl_final_exec_prefix"
8082 exec_prefix
="$acl_save_exec_prefix"
8083 prefix
="$acl_save_prefix"
8085 if test "X$x" = "X-L$additional_libdir"; then
8090 if test -z "$haveit"; then
8091 if test -d "$additional_libdir"; then
8092 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
8096 for x
in $LDFLAGS $LTLIBICONV; do
8098 acl_save_prefix
="$prefix"
8099 prefix
="$acl_final_prefix"
8100 acl_save_exec_prefix
="$exec_prefix"
8101 exec_prefix
="$acl_final_exec_prefix"
8103 exec_prefix
="$acl_save_exec_prefix"
8104 prefix
="$acl_save_prefix"
8106 if test "X$x" = "X-L$additional_libdir"; then
8111 if test -z "$haveit"; then
8112 if test -d "$additional_libdir"; then
8113 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
8120 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
8121 if test "$enable_rpath" != no
; then
8123 for x
in $rpathdirs; do
8124 if test "X$x" = "X$dir"; then
8129 if test -z "$haveit"; then
8130 rpathdirs
="$rpathdirs $dir"
8133 for x
in $ltrpathdirs; do
8134 if test "X$x" = "X$dir"; then
8139 if test -z "$haveit"; then
8140 ltrpathdirs
="$ltrpathdirs $dir"
8145 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8148 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8151 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
8152 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
8158 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
8159 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
8165 if test "X$rpathdirs" != "X"; then
8166 if test -n "$hardcode_libdir_separator"; then
8168 for found_dir
in $rpathdirs; do
8169 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
8171 acl_save_libdir
="$libdir"
8173 eval flag
=\"$hardcode_libdir_flag_spec\"
8174 libdir
="$acl_save_libdir"
8175 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
8177 for found_dir
in $rpathdirs; do
8178 acl_save_libdir
="$libdir"
8180 eval flag
=\"$hardcode_libdir_flag_spec\"
8181 libdir
="$acl_save_libdir"
8182 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
8186 if test "X$ltrpathdirs" != "X"; then
8187 for found_dir
in $ltrpathdirs; do
8188 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
8209 { echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
8210 echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6; }
8211 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
8212 echo $ECHO_N "(cached) $ECHO_C" >&6
8214 gt_save_LIBS
="$LIBS"
8215 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
8216 cat >conftest.
$ac_ext <<_ACEOF
8219 cat confdefs.h
>>conftest.
$ac_ext
8220 cat >>conftest.
$ac_ext <<_ACEOF
8221 /* end confdefs.h. */
8222 #include <CoreFoundation/CFPreferences.h>
8226 CFPreferencesCopyAppValue(NULL, NULL)
8231 rm -f conftest.
$ac_objext conftest
$ac_exeext
8232 if { (ac_try
="$ac_link"
8234 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8235 *) ac_try_echo=$ac_try;;
8237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8238 (eval "$ac_link") 2>conftest.er1
8240 grep -v '^ *+' conftest.er1 >conftest.err
8242 cat conftest.err >&5
8243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8244 (exit $ac_status); } && {
8245 test -z "$ac_c_werror_flag" ||
8246 test ! -s conftest.err
8247 } && test -s conftest$ac_exeext &&
8248 $as_test_x conftest$ac_exeext; then
8249 gt_cv_func_CFPreferencesCopyAppValue=yes
8251 echo "$as_me: failed program was:" >&5
8252 sed 's/^/| /' conftest.$ac_ext >&5
8254 gt_cv_func_CFPreferencesCopyAppValue=no
8257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8258 conftest$ac_exeext conftest.$ac_ext
8259 LIBS="$gt_save_LIBS"
8261 { echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
8262 echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
8263 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
8265 cat >>confdefs.h <<\_ACEOF
8266 #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
8270 { echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
8271 echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6; }
8272 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
8273 echo $ECHO_N "(cached) $ECHO_C" >&6
8275 gt_save_LIBS="$LIBS"
8276 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
8277 cat >conftest.$ac_ext <<_ACEOF
8280 cat confdefs.h >>conftest.$ac_ext
8281 cat >>conftest.$ac_ext <<_ACEOF
8282 /* end confdefs.h. */
8283 #include <CoreFoundation/CFLocale.h>
8287 CFLocaleCopyCurrent();
8292 rm -f conftest.$ac_objext conftest$ac_exeext
8293 if { (ac_try="$ac_link"
8295 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8296 *) ac_try_echo
=$ac_try;;
8298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8299 (eval "$ac_link") 2>conftest.er1
8301 grep -v '^ *+' conftest.er1
>conftest.err
8303 cat conftest.err
>&5
8304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8305 (exit $ac_status); } && {
8306 test -z "$ac_c_werror_flag" ||
8307 test ! -s conftest.err
8308 } && test -s conftest
$ac_exeext &&
8309 $as_test_x conftest
$ac_exeext; then
8310 gt_cv_func_CFLocaleCopyCurrent
=yes
8312 echo "$as_me: failed program was:" >&5
8313 sed 's/^/| /' conftest.
$ac_ext >&5
8315 gt_cv_func_CFLocaleCopyCurrent
=no
8318 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8319 conftest
$ac_exeext conftest.
$ac_ext
8320 LIBS
="$gt_save_LIBS"
8322 { echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
8323 echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6; }
8324 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
8326 cat >>confdefs.h
<<\_ACEOF
8327 #define HAVE_CFLOCALECOPYCURRENT 1
8332 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
8333 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
8345 if test "$USE_NLS" = "yes"; then
8346 gt_use_preinstalled_gnugettext
=no
8353 { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
8354 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; }
8355 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
8356 echo $ECHO_N "(cached) $ECHO_C" >&6
8358 cat >conftest.
$ac_ext <<_ACEOF
8361 cat confdefs.h
>>conftest.
$ac_ext
8362 cat >>conftest.
$ac_ext <<_ACEOF
8363 /* end confdefs.h. */
8364 #include <libintl.h>
8365 extern int _nl_msg_cat_cntr;
8366 extern int *_nl_domain_bindings;
8370 bindtextdomain ("", "");
8371 return * gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
8376 rm -f conftest.
$ac_objext conftest
$ac_exeext
8377 if { (ac_try
="$ac_link"
8379 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8380 *) ac_try_echo=$ac_try;;
8382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8383 (eval "$ac_link") 2>conftest.er1
8385 grep -v '^ *+' conftest.er1 >conftest.err
8387 cat conftest.err >&5
8388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8389 (exit $ac_status); } && {
8390 test -z "$ac_c_werror_flag" ||
8391 test ! -s conftest.err
8392 } && test -s conftest$ac_exeext &&
8393 $as_test_x conftest$ac_exeext; then
8394 gt_cv_func_gnugettext1_libc=yes
8396 echo "$as_me: failed program was:" >&5
8397 sed 's/^/| /' conftest.$ac_ext >&5
8399 gt_cv_func_gnugettext1_libc=no
8402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8403 conftest$ac_exeext conftest.$ac_ext
8405 { echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
8406 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6; }
8408 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
8414 am_save_CPPFLAGS="$CPPFLAGS"
8416 for element in $INCICONV; do
8418 for x in $CPPFLAGS; do
8420 acl_save_prefix="$prefix"
8421 prefix="$acl_final_prefix"
8422 acl_save_exec_prefix="$exec_prefix"
8423 exec_prefix="$acl_final_exec_prefix"
8425 exec_prefix="$acl_save_exec_prefix"
8426 prefix="$acl_save_prefix"
8428 if test "X$x" = "X$element"; then
8433 if test -z "$haveit"; then
8434 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
8439 { echo "$as_me:$LINENO: checking for iconv" >&5
8440 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
8441 if test "${am_cv_func_iconv+set}" = set; then
8442 echo $ECHO_N "(cached) $ECHO_C" >&6
8445 am_cv_func_iconv="no, consider installing GNU libiconv"
8447 cat >conftest.$ac_ext <<_ACEOF
8450 cat confdefs.h >>conftest.$ac_ext
8451 cat >>conftest.$ac_ext <<_ACEOF
8452 /* end confdefs.h. */
8458 iconv_t cd = iconv_open("","");
8459 iconv(cd,NULL,NULL,NULL,NULL);
8465 rm -f conftest.$ac_objext conftest$ac_exeext
8466 if { (ac_try="$ac_link"
8468 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8469 *) ac_try_echo
=$ac_try;;
8471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8472 (eval "$ac_link") 2>conftest.er1
8474 grep -v '^ *+' conftest.er1
>conftest.err
8476 cat conftest.err
>&5
8477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478 (exit $ac_status); } && {
8479 test -z "$ac_c_werror_flag" ||
8480 test ! -s conftest.err
8481 } && test -s conftest
$ac_exeext &&
8482 $as_test_x conftest
$ac_exeext; then
8483 am_cv_func_iconv
=yes
8485 echo "$as_me: failed program was:" >&5
8486 sed 's/^/| /' conftest.
$ac_ext >&5
8491 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8492 conftest
$ac_exeext conftest.
$ac_ext
8493 if test "$am_cv_func_iconv" != yes; then
8494 am_save_LIBS
="$LIBS"
8495 LIBS
="$LIBS $LIBICONV"
8496 cat >conftest.
$ac_ext <<_ACEOF
8499 cat confdefs.h
>>conftest.
$ac_ext
8500 cat >>conftest.
$ac_ext <<_ACEOF
8501 /* end confdefs.h. */
8507 iconv_t cd = iconv_open("","");
8508 iconv(cd,NULL,NULL,NULL,NULL);
8514 rm -f conftest.
$ac_objext conftest
$ac_exeext
8515 if { (ac_try
="$ac_link"
8517 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8518 *) ac_try_echo=$ac_try;;
8520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8521 (eval "$ac_link") 2>conftest.er1
8523 grep -v '^ *+' conftest.er1 >conftest.err
8525 cat conftest.err >&5
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 (exit $ac_status); } && {
8528 test -z "$ac_c_werror_flag" ||
8529 test ! -s conftest.err
8530 } && test -s conftest$ac_exeext &&
8531 $as_test_x conftest$ac_exeext; then
8533 am_cv_func_iconv=yes
8535 echo "$as_me: failed program was:" >&5
8536 sed 's/^/| /' conftest.$ac_ext >&5
8541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8542 conftest$ac_exeext conftest.$ac_ext
8543 LIBS="$am_save_LIBS"
8547 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
8548 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
8549 if test "$am_cv_func_iconv" = yes; then
8551 cat >>confdefs.h <<\_ACEOF
8552 #define HAVE_ICONV 1
8556 if test "$am_cv_lib_iconv" = yes; then
8557 { echo "$as_me:$LINENO: checking how to link with libiconv" >&5
8558 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
8559 { echo "$as_me:$LINENO: result: $LIBICONV" >&5
8560 echo "${ECHO_T}$LIBICONV" >&6; }
8562 CPPFLAGS="$am_save_CPPFLAGS"
8575 acl_save_prefix="$prefix"
8576 prefix="$acl_final_prefix"
8577 acl_save_exec_prefix="$exec_prefix"
8578 exec_prefix="$acl_final_exec_prefix"
8580 eval additional_includedir=\"$includedir\"
8581 eval additional_libdir=\"$libdir\"
8583 exec_prefix="$acl_save_exec_prefix"
8584 prefix="$acl_save_prefix"
8587 # Check whether --with-libintl-prefix was given.
8588 if test "${with_libintl_prefix+set}" = set; then
8589 withval=$with_libintl_prefix;
8590 if test "X$withval" = "Xno"; then
8593 if test "X$withval" = "X"; then
8595 acl_save_prefix="$prefix"
8596 prefix="$acl_final_prefix"
8597 acl_save_exec_prefix="$exec_prefix"
8598 exec_prefix="$acl_final_exec_prefix"
8600 eval additional_includedir=\"$includedir\"
8601 eval additional_libdir=\"$libdir\"
8603 exec_prefix="$acl_save_exec_prefix"
8604 prefix="$acl_save_prefix"
8607 additional_includedir="$withval/include"
8608 additional_libdir="$withval/$acl_libdirstem"
8619 names_already_handled=
8620 names_next_round='intl '
8621 while test -n "$names_next_round"; do
8622 names_this_round="$names_next_round"
8624 for name in $names_this_round; do
8626 for n in $names_already_handled; do
8627 if test "$n" = "$name"; then
8632 if test -z "$already_handled"; then
8633 names_already_handled="$names_already_handled $name"
8634 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
8635 eval value=\"\$HAVE_LIB$uppername\"
8636 if test -n "$value"; then
8637 if test "$value" = yes; then
8638 eval value=\"\$LIB$uppername\"
8639 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
8640 eval value=\"\$LTLIB$uppername\"
8641 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
8650 if test $use_additional = yes; then
8651 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
8652 found_dir="$additional_libdir"
8653 found_so="$additional_libdir/lib$name.$shlibext"
8654 if test -f "$additional_libdir/lib$name.la"; then
8655 found_la="$additional_libdir/lib$name.la"
8658 if test -f "$additional_libdir/lib$name.$libext"; then
8659 found_dir="$additional_libdir"
8660 found_a="$additional_libdir/lib$name.$libext"
8661 if test -f "$additional_libdir/lib$name.la"; then
8662 found_la="$additional_libdir/lib$name.la"
8667 if test "X$found_dir" = "X"; then
8668 for x in $LDFLAGS $LTLIBINTL; do
8670 acl_save_prefix="$prefix"
8671 prefix="$acl_final_prefix"
8672 acl_save_exec_prefix="$exec_prefix"
8673 exec_prefix="$acl_final_exec_prefix"
8675 exec_prefix="$acl_save_exec_prefix"
8676 prefix="$acl_save_prefix"
8680 dir=`echo "X$x" | sed -e 's/^X-L//'`
8681 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
8683 found_so="$dir/lib$name.$shlibext"
8684 if test -f "$dir/lib$name.la"; then
8685 found_la="$dir/lib$name.la"
8688 if test -f "$dir/lib$name.$libext"; then
8690 found_a="$dir/lib$name.$libext"
8691 if test -f "$dir/lib$name.la"; then
8692 found_la="$dir/lib$name.la"
8698 if test "X$found_dir" != "X"; then
8703 if test "X$found_dir" != "X"; then
8704 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
8705 if test "X$found_so" != "X"; then
8706 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
8707 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8710 for x in $ltrpathdirs; do
8711 if test "X$x" = "X$found_dir"; then
8716 if test -z "$haveit"; then
8717 ltrpathdirs="$ltrpathdirs $found_dir"
8719 if test "$hardcode_direct" = yes; then
8720 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8722 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
8723 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8725 for x in $rpathdirs; do
8726 if test "X$x" = "X$found_dir"; then
8731 if test -z "$haveit"; then
8732 rpathdirs="$rpathdirs $found_dir"
8736 for x in $LDFLAGS $LIBINTL; do
8738 acl_save_prefix="$prefix"
8739 prefix="$acl_final_prefix"
8740 acl_save_exec_prefix="$exec_prefix"
8741 exec_prefix="$acl_final_exec_prefix"
8743 exec_prefix="$acl_save_exec_prefix"
8744 prefix="$acl_save_prefix"
8746 if test "X$x" = "X-L$found_dir"; then
8751 if test -z "$haveit"; then
8752 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
8754 if test "$hardcode_minus_L" != no; then
8755 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8757 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
8763 if test "X$found_a" != "X"; then
8764 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
8766 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
8769 additional_includedir=
8770 case "$found_dir" in
8771 */$acl_libdirstem | */$acl_libdirstem/)
8772 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
8773 additional_includedir="$basedir/include"
8776 if test "X$additional_includedir" != "X"; then
8777 if test "X$additional_includedir" != "X/usr/include"; then
8779 if test "X$additional_includedir" = "X/usr/local/include"; then
8780 if test -n "$GCC"; then
8782 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
8786 if test -z "$haveit"; then
8787 for x in $CPPFLAGS $INCINTL; do
8789 acl_save_prefix="$prefix"
8790 prefix="$acl_final_prefix"
8791 acl_save_exec_prefix="$exec_prefix"
8792 exec_prefix="$acl_final_exec_prefix"
8794 exec_prefix="$acl_save_exec_prefix"
8795 prefix="$acl_save_prefix"
8797 if test "X$x" = "X-I$additional_includedir"; then
8802 if test -z "$haveit"; then
8803 if test -d "$additional_includedir"; then
8804 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
8810 if test -n "$found_la"; then
8811 save_libdir="$libdir"
8813 */* | *\\*) . "$found_la" ;;
8814 *) . "./$found_la" ;;
8816 libdir="$save_libdir"
8817 for dep in $dependency_libs; do
8820 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
8821 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
8823 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
8824 if test -n "$GCC"; then
8826 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
8830 if test -z "$haveit"; then
8832 for x in $LDFLAGS $LIBINTL; do
8834 acl_save_prefix="$prefix"
8835 prefix="$acl_final_prefix"
8836 acl_save_exec_prefix="$exec_prefix"
8837 exec_prefix="$acl_final_exec_prefix"
8839 exec_prefix="$acl_save_exec_prefix"
8840 prefix="$acl_save_prefix"
8842 if test "X$x" = "X-L$additional_libdir"; then
8847 if test -z "$haveit"; then
8848 if test -d "$additional_libdir"; then
8849 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
8853 for x in $LDFLAGS $LTLIBINTL; do
8855 acl_save_prefix="$prefix"
8856 prefix="$acl_final_prefix"
8857 acl_save_exec_prefix="$exec_prefix"
8858 exec_prefix="$acl_final_exec_prefix"
8860 exec_prefix="$acl_save_exec_prefix"
8861 prefix="$acl_save_prefix"
8863 if test "X$x" = "X-L$additional_libdir"; then
8868 if test -z "$haveit"; then
8869 if test -d "$additional_libdir"; then
8870 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
8877 dir=`echo "X$dep" | sed -e 's/^X-R//'`
8878 if test "$enable_rpath" != no; then
8880 for x in $rpathdirs; do
8881 if test "X$x" = "X$dir"; then
8886 if test -z "$haveit"; then
8887 rpathdirs="$rpathdirs $dir"
8890 for x in $ltrpathdirs; do
8891 if test "X$x" = "X$dir"; then
8896 if test -z "$haveit"; then
8897 ltrpathdirs="$ltrpathdirs $dir"
8902 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8905 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8908 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
8909 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
8915 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
8916 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
8922 if test "X$rpathdirs" != "X"; then
8923 if test -n "$hardcode_libdir_separator"; then
8925 for found_dir in $rpathdirs; do
8926 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
8928 acl_save_libdir="$libdir"
8930 eval flag=\"$hardcode_libdir_flag_spec\"
8931 libdir="$acl_save_libdir"
8932 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
8934 for found_dir in $rpathdirs; do
8935 acl_save_libdir="$libdir"
8937 eval flag=\"$hardcode_libdir_flag_spec\"
8938 libdir="$acl_save_libdir"
8939 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
8943 if test "X$ltrpathdirs" != "X"; then
8944 for found_dir in $ltrpathdirs; do
8945 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
8949 { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
8950 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; }
8951 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
8952 echo $ECHO_N "(cached) $ECHO_C" >&6
8954 gt_save_CPPFLAGS="$CPPFLAGS"
8955 CPPFLAGS="$CPPFLAGS $INCINTL"
8956 gt_save_LIBS="$LIBS"
8957 LIBS="$LIBS $LIBINTL"
8958 cat >conftest.$ac_ext <<_ACEOF
8961 cat confdefs.h >>conftest.$ac_ext
8962 cat >>conftest.$ac_ext <<_ACEOF
8963 /* end confdefs.h. */
8964 #include <libintl.h>
8965 extern int _nl_msg_cat_cntr;
8970 const char *_nl_expand_alias (const char *);
8974 bindtextdomain ("", "");
8975 return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
8980 rm -f conftest.$ac_objext conftest$ac_exeext
8981 if { (ac_try="$ac_link"
8983 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8984 *) ac_try_echo
=$ac_try;;
8986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8987 (eval "$ac_link") 2>conftest.er1
8989 grep -v '^ *+' conftest.er1
>conftest.err
8991 cat conftest.err
>&5
8992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8993 (exit $ac_status); } && {
8994 test -z "$ac_c_werror_flag" ||
8995 test ! -s conftest.err
8996 } && test -s conftest
$ac_exeext &&
8997 $as_test_x conftest
$ac_exeext; then
8998 gt_cv_func_gnugettext1_libintl
=yes
9000 echo "$as_me: failed program was:" >&5
9001 sed 's/^/| /' conftest.
$ac_ext >&5
9003 gt_cv_func_gnugettext1_libintl
=no
9006 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9007 conftest
$ac_exeext conftest.
$ac_ext
9008 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
9009 LIBS
="$LIBS $LIBICONV"
9010 cat >conftest.
$ac_ext <<_ACEOF
9013 cat confdefs.h
>>conftest.
$ac_ext
9014 cat >>conftest.
$ac_ext <<_ACEOF
9015 /* end confdefs.h. */
9016 #include <libintl.h>
9017 extern int _nl_msg_cat_cntr;
9022 const char *_nl_expand_alias (const char *);
9026 bindtextdomain ("", "");
9027 return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
9032 rm -f conftest.
$ac_objext conftest
$ac_exeext
9033 if { (ac_try
="$ac_link"
9035 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9036 *) ac_try_echo=$ac_try;;
9038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9039 (eval "$ac_link") 2>conftest.er1
9041 grep -v '^ *+' conftest.er1 >conftest.err
9043 cat conftest.err >&5
9044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9045 (exit $ac_status); } && {
9046 test -z "$ac_c_werror_flag" ||
9047 test ! -s conftest.err
9048 } && test -s conftest$ac_exeext &&
9049 $as_test_x conftest$ac_exeext; then
9050 LIBINTL="$LIBINTL $LIBICONV"
9051 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
9052 gt_cv_func_gnugettext1_libintl=yes
9055 echo "$as_me: failed program was:" >&5
9056 sed 's/^/| /' conftest.$ac_ext >&5
9061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9062 conftest$ac_exeext conftest.$ac_ext
9064 CPPFLAGS="$gt_save_CPPFLAGS"
9065 LIBS="$gt_save_LIBS"
9067 { echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
9068 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6; }
9071 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
9072 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
9073 && test "$PACKAGE" != gettext-runtime \
9074 && test "$PACKAGE" != gettext-tools; }; then
9075 gt_use_preinstalled_gnugettext=yes
9084 if test -n "$INTL_MACOSX_LIBS"; then
9085 if test "$gt_use_preinstalled_gnugettext" = "yes" \
9086 || test "$nls_cv_use_gnu_gettext" = "yes"; then
9087 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
9088 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
9092 if test "$gt_use_preinstalled_gnugettext" = "yes" \
9093 || test "$nls_cv_use_gnu_gettext" = "yes"; then
9095 cat >>confdefs.h <<\_ACEOF
9096 #define ENABLE_NLS 1
9104 { echo "$as_me:$LINENO: checking whether to use NLS" >&5
9105 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6; }
9106 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
9107 echo "${ECHO_T}$USE_NLS" >&6; }
9108 if test "$USE_NLS" = "yes"; then
9109 { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
9110 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; }
9111 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
9112 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
9113 gt_source="external libintl"
9118 gt_source="included intl directory"
9120 { echo "$as_me:$LINENO: result: $gt_source" >&5
9121 echo "${ECHO_T}$gt_source" >&6; }
9124 if test "$USE_NLS" = "yes"; then
9126 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
9127 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
9128 { echo "$as_me:$LINENO: checking how to link with libintl" >&5
9129 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; }
9130 { echo "$as_me:$LINENO: result: $LIBINTL" >&5
9131 echo "${ECHO_T}$LIBINTL" >&6; }
9133 for element in $INCINTL; do
9135 for x in $CPPFLAGS; do
9137 acl_save_prefix="$prefix"
9138 prefix="$acl_final_prefix"
9139 acl_save_exec_prefix="$exec_prefix"
9140 exec_prefix="$acl_final_exec_prefix"
9142 exec_prefix="$acl_save_exec_prefix"
9143 prefix="$acl_save_prefix"
9145 if test "X$x" = "X$element"; then
9150 if test -z "$haveit"; then
9151 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
9158 cat >>confdefs.h <<\_ACEOF
9159 #define HAVE_GETTEXT 1
9163 cat >>confdefs.h <<\_ACEOF
9164 #define HAVE_DCGETTEXT 1
9181 if test x"$USE_NLS" = "xyes"; then
9182 cat >>confdefs.h <<\_ACEOF
9188 # Extract the first word of "bash", so it can be a program name with args.
9189 set dummy bash; ac_word=$2
9190 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9192 if test "${ac_cv_path_BASH+set}" = set; then
9193 echo $ECHO_N "(cached) $ECHO_C" >&6
9197 ac_cv_path_BASH="$BASH" # Let the user override the test with a path.
9200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9204 test -z "$as_dir" && as_dir=.
9205 for ac_exec_ext in '' $ac_executable_extensions; do
9206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9207 ac_cv_path_BASH="$as_dir/$ac_word$ac_exec_ext"
9208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9218 BASH=$ac_cv_path_BASH
9219 if test -n "$BASH"; then
9220 { echo "$as_me:$LINENO: result: $BASH" >&5
9221 echo "${ECHO_T}$BASH" >&6; }
9223 { echo "$as_me:$LINENO: result: no" >&5
9224 echo "${ECHO_T}no" >&6; }
9229 ac_config_files="$ac_config_files environment.mak:buildlib/environment.mak.in makefile:buildlib/makefile.in"
9231 ac_config_commands="$ac_config_commands default"
9233 cat >confcache <<\_ACEOF
9234 # This file is a shell script that caches the results of configure
9235 # tests run on this system so they can be shared between configure
9236 # scripts and configure runs, see configure's option --config-cache.
9237 # It is not useful on other systems. If it contains results you don't
9238 # want to keep, you may remove or edit it.
9240 # config.status only pays attention to the cache file if you give it
9241 # the --recheck option to rerun configure.
9243 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
9244 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9249 # The following way of writing the cache mishandles newlines in values,
9250 # but we know of no workaround that is simple, portable, and efficient.
9251 # So, we kill variables containing newlines.
9252 # Ultrix sh set writes to stderr and can't be redirected directly,
9253 # and sets the high bit in the cache file unless we assign to the vars.
9255 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9256 eval ac_val
=\$
$ac_var
9260 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
9261 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
9264 _
| IFS
| as_nl
) ;; #(
9265 *) $as_unset $ac_var ;;
9271 case $as_nl`(ac_space=' '; set) 2>&1` in #(
9272 *${as_nl}ac_space
=\
*)
9273 # `set' does not quote correctly, so add quotes (double-quote
9274 # substitution turns \\\\ into \\, and sed turns \\ into \).
9277 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9280 # `set' quotes correctly as required by POSIX, so do not add quotes.
9281 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9290 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9292 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9294 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
9295 if test -w "$cache_file"; then
9296 test "x$cache_file" != "x/dev/null" &&
9297 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
9298 echo "$as_me: updating cache $cache_file" >&6;}
9299 cat confcache
>$cache_file
9301 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
9302 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9307 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
9308 # Let make expand exec_prefix.
9309 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
9311 DEFS
=-DHAVE_CONFIG_H
9315 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
9316 # 1. Remove the extension, and $U if already installed.
9317 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
9318 ac_i
=`echo "$ac_i" | sed "$ac_script"`
9319 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9320 # will be set to the directory where LIBOBJS objects are built.
9321 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9322 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
9326 LTLIBOBJS
=$ac_ltlibobjs
9330 : ${CONFIG_STATUS=./config.status}
9331 ac_clean_files_save
=$ac_clean_files
9332 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
9333 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9334 echo "$as_me: creating $CONFIG_STATUS" >&6;}
9335 cat >$CONFIG_STATUS <<_ACEOF
9337 # Generated by $as_me.
9338 # Run this file to recreate the current configuration.
9339 # Compiler output produced by configure, useful for debugging
9340 # configure, is in config.log if it exists.
9345 SHELL=\${CONFIG_SHELL-$SHELL}
9348 cat >>$CONFIG_STATUS <<\_ACEOF
9349 ## --------------------- ##
9350 ## M4sh Initialization. ##
9351 ## --------------------- ##
9353 # Be more Bourne compatible
9354 DUALCASE
=1; export DUALCASE
# for MKS sh
9355 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
9358 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9359 # is contrary to our usage. Disable this feature.
9360 alias -g '${1+"$@"}'='"$@"'
9361 setopt NO_GLOB_SUBST
9363 case `(set -o) 2>/dev/null` in
9364 *posix
*) set -o posix
;;
9373 # Avoid depending upon Character Ranges.
9374 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9375 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9376 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9377 as_cr_digits
='0123456789'
9378 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9380 # The user is always right.
9381 if test "${PATH_SEPARATOR+set}" != set; then
9382 echo "#! /bin/sh" >conf$$.sh
9383 echo "exit 0" >>conf$$.sh
9385 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9393 # Support unset when possible.
9394 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
9402 # We need space, tab and new line, in precisely that order. Quoting is
9403 # there to prevent editors from complaining about space-tab.
9404 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9405 # splitting by setting IFS to empty value.)
9410 # Find who we are. Look in the path if we contain no directory separator.
9412 *[\\/]* ) as_myself
=$0 ;;
9413 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9417 test -z "$as_dir" && as_dir
=.
9418 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
9424 # We did not find ourselves, most probably we were run as `sh COMMAND'
9425 # in which case we are not to be found in the path.
9426 if test "x$as_myself" = x
; then
9429 if test ! -f "$as_myself"; then
9430 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9431 { (exit 1); exit 1; }
9434 # Work around bugs in pre-3.0 UWIN ksh.
9435 for as_var
in ENV MAIL MAILPATH
9436 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
9444 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9445 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9446 LC_TELEPHONE LC_TIME
9448 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9449 eval $as_var=C
; export $as_var
9451 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
9455 # Required to use basename.
9456 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9457 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9463 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9464 as_basename
=basename
9470 # Name of the executable.
9471 as_me
=`$as_basename -- "$0" ||
9472 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9473 X"$0" : 'X\(//\)$' \| \
9474 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9476 sed '/^.*\/\([^/][^/]*\)\/*$/{
9497 test "x$as_lineno_1" != "x$as_lineno_2" &&
9498 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
9500 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9501 # uniformly replaced by the line number. The first 'sed' inserts a
9502 # line-number line after each line using $LINENO; the second 'sed'
9503 # does the real work. The second script uses 'N' to pair each
9504 # line-number line with the line containing $LINENO, and appends
9505 # trailing '-' during substitution so that $LINENO is not a special
9507 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9508 # scripts with optimization help from Paolo Bonzini. Blame Lee
9509 # E. McMahon (1931-1989) for sed's syntax. :-)
9521 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
9525 chmod +x
"$as_me.lineno" ||
9526 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9527 { (exit 1); exit 1; }; }
9529 # Don't try to exec as it changes $[0], causing all sort of problems
9530 # (the dirname of $[0] is not the place where we might find the
9531 # original and so on. Autoconf is especially sensitive to this).
9533 # Exit status is that of the last command.
9538 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
9544 ECHO_C
= ECHO_N
= ECHO_T
=
9547 case `echo 'x\c'` in
9548 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
9555 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9556 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9562 rm -f conf$$ conf$$.exe conf$$.
file
9563 if test -d conf$$.dir
; then
9564 rm -f conf$$.dir
/conf$$.
file
9570 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9572 # ... but there are two gotchas:
9573 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9574 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9575 # In both cases, we have to default to `cp -p'.
9576 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
9578 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9583 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
9584 rmdir conf$$.dir
2>/dev
/null
9586 if mkdir -p .
2>/dev
/null
; then
9589 test -d .
/-p && rmdir .
/-p
9593 if test -x / >/dev
/null
2>&1; then
9596 if ls -dL / >/dev
/null
2>&1; then
9603 if test -d "$1"; then
9609 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
9610 ???[sx]*):;;*)false;;esac;fi
9614 as_executable_p
=$as_test_x
9616 # Sed expression to map a string onto a valid CPP name.
9617 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9619 # Sed expression to map a string onto a valid variable name.
9620 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9625 # Save the log message, to keep $[0] and so on meaningful, and to
9626 # report actual input values of CONFIG_FILES etc. instead of their
9627 # values after options handling.
9629 This file was extended by $as_me, which was
9630 generated by GNU Autoconf 2.61. Invocation command line was
9632 CONFIG_FILES = $CONFIG_FILES
9633 CONFIG_HEADERS = $CONFIG_HEADERS
9634 CONFIG_LINKS = $CONFIG_LINKS
9635 CONFIG_COMMANDS = $CONFIG_COMMANDS
9638 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9643 cat >>$CONFIG_STATUS <<_ACEOF
9644 # Files that config.status was made for.
9645 config_files="$ac_config_files"
9646 config_headers="$ac_config_headers"
9647 config_commands="$ac_config_commands"
9651 cat >>$CONFIG_STATUS <<\_ACEOF
9653 \`$as_me' instantiates files from templates according to the
9654 current configuration.
9656 Usage: $0 [OPTIONS] [FILE]...
9658 -h, --help print this help, then exit
9659 -V, --version print version number and configuration settings, then exit
9660 -q, --quiet do not print progress messages
9661 -d, --debug don't remove temporary files
9662 --recheck update $as_me by reconfiguring in the same conditions
9663 --file=FILE[:TEMPLATE]
9664 instantiate the configuration file FILE
9665 --header=FILE[:TEMPLATE]
9666 instantiate the configuration header FILE
9668 Configuration files:
9671 Configuration headers:
9674 Configuration commands:
9677 Report bugs to <bug-autoconf@gnu.org>."
9680 cat >>$CONFIG_STATUS <<_ACEOF
9683 configured by $0, generated by GNU Autoconf 2.61,
9684 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9686 Copyright (C) 2006 Free Software Foundation, Inc.
9687 This config.status script is free software; the Free Software Foundation
9688 gives unlimited permission to copy, distribute and modify it."
9695 cat >>$CONFIG_STATUS <<\_ACEOF
9696 # If no file are specified by the user, then we need to provide default
9697 # value. By we need to know if files were specified by the user.
9703 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
9704 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
9715 # Handling of the options.
9716 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9718 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9719 echo "$ac_cs_version"; exit ;;
9720 --debug | --debu | --deb | --de | --d | -d )
9722 --file | --fil | --fi | --f )
9724 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
9725 ac_need_defaults
=false
;;
9726 --header | --heade | --head | --hea )
9728 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
9729 ac_need_defaults
=false
;;
9731 # Conflict between --help and --header
9732 { echo "$as_me: error: ambiguous option: $1
9733 Try \`$0 --help' for more information." >&2
9734 { (exit 1); exit 1; }; };;
9735 --help | --hel | -h )
9736 echo "$ac_cs_usage"; exit ;;
9737 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9738 | -silent | --silent | --silen | --sile | --sil | --si | --s)
9742 -*) { echo "$as_me: error: unrecognized option: $1
9743 Try \`$0 --help' for more information." >&2
9744 { (exit 1); exit 1; }; } ;;
9746 *) ac_config_targets
="$ac_config_targets $1"
9747 ac_need_defaults
=false
;;
9753 ac_configure_extra_args
=
9755 if $ac_cs_silent; then
9757 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9761 cat >>$CONFIG_STATUS <<_ACEOF
9762 if \$ac_cs_recheck; then
9763 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9766 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9770 cat >>$CONFIG_STATUS <<\_ACEOF
9774 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9775 ## Running $as_me. ##
9781 cat >>$CONFIG_STATUS <<_ACEOF
9785 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
9786 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
9787 # from automake < 1.5.
9788 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
9789 # Capture the value of LINGUAS because we need it to compute CATALOGS.
9790 LINGUAS="${LINGUAS-%UNSET%}"
9795 cat >>$CONFIG_STATUS <<\_ACEOF
9797 # Handling of arguments.
9798 for ac_config_target
in $ac_config_targets
9800 case $ac_config_target in
9801 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h:buildlib/config.h.in" ;;
9802 "include/apti18n.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/apti18n.h:buildlib/apti18n.h.in" ;;
9803 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
9804 "environment.mak") CONFIG_FILES
="$CONFIG_FILES environment.mak:buildlib/environment.mak.in" ;;
9805 "makefile") CONFIG_FILES
="$CONFIG_FILES makefile:buildlib/makefile.in" ;;
9806 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
9808 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9809 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9810 { (exit 1); exit 1; }; };;
9815 # If the user did not use the arguments to specify the items to instantiate,
9816 # then the envvar interface is used. Set only those that are not.
9817 # We use the long form for the default assignment because of an extremely
9818 # bizarre bug on SunOS 4.1.3.
9819 if $ac_need_defaults; then
9820 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9821 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9822 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9825 # Have a temporary directory for convenience. Make it in the build tree
9826 # simply because there is no reason against having it here, and in addition,
9827 # creating and moving files from /tmp can sometimes cause problems.
9828 # Hook for its removal unless debugging.
9829 # Note that there is a small window in which the directory will not be cleaned:
9830 # after its creation but before its name has been assigned to `$tmp'.
9834 trap 'exit_status=$?
9835 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9837 trap '{ (exit 1); exit 1; }' 1 2 13 15
9839 # Create a (secure) tmp directory for tmp files.
9842 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9843 test -n "$tmp" && test -d "$tmp"
9846 tmp
=.
/conf$$
-$RANDOM
9847 (umask 077 && mkdir "$tmp")
9850 echo "$me: cannot create a temporary directory in ." >&2
9851 { (exit 1); exit 1; }
9855 # Set up the sed scripts for CONFIG_FILES section.
9858 # No need to generate the scripts if there are no CONFIG_FILES.
9859 # This happens for instance when ./config.status config.h
9860 if test -n "$CONFIG_FILES"; then
9867 for ac_last_try
in false false false false false
:; do
9868 cat >conf$
$subs.
sed <<_ACEOF
9869 SHELL!$SHELL$ac_delim
9870 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
9871 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
9872 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
9873 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
9874 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
9875 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
9876 exec_prefix!$exec_prefix$ac_delim
9877 prefix!$prefix$ac_delim
9878 program_transform_name!$program_transform_name$ac_delim
9879 bindir!$bindir$ac_delim
9880 sbindir!$sbindir$ac_delim
9881 libexecdir!$libexecdir$ac_delim
9882 datarootdir!$datarootdir$ac_delim
9883 datadir!$datadir$ac_delim
9884 sysconfdir!$sysconfdir$ac_delim
9885 sharedstatedir!$sharedstatedir$ac_delim
9886 localstatedir!$localstatedir$ac_delim
9887 includedir!$includedir$ac_delim
9888 oldincludedir!$oldincludedir$ac_delim
9889 docdir!$docdir$ac_delim
9890 infodir!$infodir$ac_delim
9891 htmldir!$htmldir$ac_delim
9892 dvidir!$dvidir$ac_delim
9893 pdfdir!$pdfdir$ac_delim
9894 psdir!$psdir$ac_delim
9895 libdir!$libdir$ac_delim
9896 localedir!$localedir$ac_delim
9897 mandir!$mandir$ac_delim
9899 ECHO_C!$ECHO_C$ac_delim
9900 ECHO_N!$ECHO_N$ac_delim
9901 ECHO_T!$ECHO_T$ac_delim
9903 build_alias!$build_alias$ac_delim
9904 host_alias!$host_alias$ac_delim
9905 target_alias!$target_alias$ac_delim
9906 PACKAGE!$PACKAGE$ac_delim
9907 build!$build$ac_delim
9908 build_cpu!$build_cpu$ac_delim
9909 build_vendor!$build_vendor$ac_delim
9910 build_os!$build_os$ac_delim
9912 host_cpu!$host_cpu$ac_delim
9913 host_vendor!$host_vendor$ac_delim
9914 host_os!$host_os$ac_delim
9915 target!$target$ac_delim
9916 target_cpu!$target_cpu$ac_delim
9917 target_vendor!$target_vendor$ac_delim
9918 target_os!$target_os$ac_delim
9920 CFLAGS!$CFLAGS$ac_delim
9921 LDFLAGS!$LDFLAGS$ac_delim
9922 CPPFLAGS!$CPPFLAGS$ac_delim
9923 ac_ct_CC!$ac_ct_CC$ac_delim
9924 EXEEXT!$EXEEXT$ac_delim
9925 OBJEXT!$OBJEXT$ac_delim
9927 CXXFLAGS!$CXXFLAGS$ac_delim
9928 ac_ct_CXX!$ac_ct_CXX$ac_delim
9930 RANLIB!$RANLIB$ac_delim
9932 SOCKETLIBS!$SOCKETLIBS$ac_delim
9933 PTHREADLIB!$PTHREADLIB$ac_delim
9935 EGREP!$EGREP$ac_delim
9936 BDBLIB!$BDBLIB$ac_delim
9937 HAVE_STATVFS!$HAVE_STATVFS$ac_delim
9938 HAVE_TIMEGM!$HAVE_TIMEGM$ac_delim
9939 HAVE_C9X!$HAVE_C9X$ac_delim
9940 NEED_SOCKLEN_T_DEFINE!$NEED_SOCKLEN_T_DEFINE$ac_delim
9941 DEBIANDOC_HTML!$DEBIANDOC_HTML$ac_delim
9942 DEBIANDOC_TEXT!$DEBIANDOC_TEXT$ac_delim
9943 DOCBOOK2MAN!$DOCBOOK2MAN$ac_delim
9944 XMLTO!$XMLTO$ac_delim
9945 GETCONF!$GETCONF$ac_delim
9946 NUM_CPUS!$NUM_CPUS$ac_delim
9947 PROC_MULTIPLY!$PROC_MULTIPLY$ac_delim
9948 NUM_PROCS!$NUM_PROCS$ac_delim
9949 GLIBC_VER!$GLIBC_VER$ac_delim
9950 LIBSTDCPP_VER!$LIBSTDCPP_VER$ac_delim
9951 GCC3DEP!$GCC3DEP$ac_delim
9952 SET_MAKE!$SET_MAKE$ac_delim
9953 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
9954 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
9955 INSTALL_DATA!$INSTALL_DATA$ac_delim
9956 mkdir_p!$mkdir_p$ac_delim
9957 USE_NLS!$USE_NLS$ac_delim
9958 MSGFMT!$MSGFMT$ac_delim
9959 GMSGFMT!$GMSGFMT$ac_delim
9960 MSGFMT_015!$MSGFMT_015$ac_delim
9961 GMSGFMT_015!$GMSGFMT_015$ac_delim
9962 XGETTEXT!$XGETTEXT$ac_delim
9963 XGETTEXT_015!$XGETTEXT_015$ac_delim
9964 MSGMERGE!$MSGMERGE$ac_delim
9965 INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim
9968 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
9970 elif $ac_last_try; then
9971 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9972 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9973 { (exit 1); exit 1; }; }
9975 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
9979 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
9980 if test -n "$ac_eof"; then
9981 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
9982 ac_eof
=`expr $ac_eof + 1`
9985 cat >>$CONFIG_STATUS <<_ACEOF
9986 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
9987 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9990 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9991 s/^/s,@/; s/!/@,|#_!!_#|/
9994 s/'"$ac_delim"'$/,g/; t
9996 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
9997 ' >>$CONFIG_STATUS <conf$
$subs.
sed
9998 rm -f conf$
$subs.
sed
9999 cat >>$CONFIG_STATUS <<_ACEOF
10005 for ac_last_try
in false false false false false
:; do
10006 cat >conf$
$subs.
sed <<_ACEOF
10007 LIBICONV!$LIBICONV$ac_delim
10008 LTLIBICONV!$LTLIBICONV$ac_delim
10009 INTLLIBS!$INTLLIBS$ac_delim
10010 LIBINTL!$LIBINTL$ac_delim
10011 LTLIBINTL!$LTLIBINTL$ac_delim
10012 POSUB!$POSUB$ac_delim
10013 BASH!$BASH$ac_delim
10014 LIBOBJS!$LIBOBJS$ac_delim
10015 LTLIBOBJS!$LTLIBOBJS$ac_delim
10018 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
10020 elif $ac_last_try; then
10021 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10022 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10023 { (exit 1); exit 1; }; }
10025 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
10029 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10030 if test -n "$ac_eof"; then
10031 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
10032 ac_eof
=`expr $ac_eof + 1`
10035 cat >>$CONFIG_STATUS <<_ACEOF
10036 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
10037 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
10040 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10041 s/^/s,@/; s/!/@,|#_!!_#|/
10044 s/'"$ac_delim"'$/,g/; t
10046 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10047 ' >>$CONFIG_STATUS <conf$
$subs.
sed
10048 rm -f conf$
$subs.
sed
10049 cat >>$CONFIG_STATUS <<_ACEOF
10056 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10057 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10058 # trailing colons and then remove the whole line if VPATH becomes empty
10059 # (actually we leave an empty line to preserve line numbers).
10060 if test "x$srcdir" = x.
; then
10061 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
10062 s/:*\$(srcdir):*/:/
10063 s/:*\${srcdir}:*/:/
10065 s/^\([^=]*=[ ]*\):*/\1/
10071 cat >>$CONFIG_STATUS <<\_ACEOF
10072 fi # test -n "$CONFIG_FILES"
10075 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
10078 :[FHLC
]) ac_mode
=$ac_tag; continue;;
10080 case $ac_mode$ac_tag in
10082 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
10083 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
10084 { (exit 1); exit 1; }; };;
10085 :[FH
]-) ac_tag
=-:-;;
10086 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
10103 -) ac_f
="$tmp/stdin";;
10104 *) # Look for the file first in the build tree, then in the source tree
10105 # (if the path is not absolute). The absolute path cannot be DOS-style,
10106 # because $ac_f cannot contain `:'.
10110 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
10112 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
10113 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
10114 { (exit 1); exit 1; }; };;
10116 ac_file_inputs
="$ac_file_inputs $ac_f"
10119 # Let's still pretend it is `configure' which instantiates (i.e., don't
10120 # use $as_me), people would be surprised to read:
10121 # /* config.h. Generated by config.status. */
10122 configure_input
="Generated from "`IFS=:
10123 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
10124 if test x
"$ac_file" != x
-; then
10125 configure_input
="$ac_file. $configure_input"
10126 { echo "$as_me:$LINENO: creating $ac_file" >&5
10127 echo "$as_me: creating $ac_file" >&6;}
10131 *:-:* | *:-) cat >"$tmp/stdin";;
10136 ac_dir
=`$as_dirname -- "$ac_file" ||
10137 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10138 X"$ac_file" : 'X\(//\)[^/]' \| \
10139 X"$ac_file" : 'X\(//\)$' \| \
10140 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10142 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10146 /^X\(\/\/\)[^/].*/{
10161 -*) as_dir
=.
/$as_dir;;
10163 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
10167 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10168 *) as_qdir
=$as_dir;;
10170 as_dirs
="'$as_qdir' $as_dirs"
10171 as_dir
=`$as_dirname -- "$as_dir" ||
10172 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10173 X"$as_dir" : 'X\(//\)[^/]' \| \
10174 X"$as_dir" : 'X\(//\)$' \| \
10175 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10177 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10181 /^X\(\/\/\)[^/].*/{
10194 test -d "$as_dir" && break
10196 test -z "$as_dirs" || eval "mkdir $as_dirs"
10197 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10198 echo "$as_me: error: cannot create directory $as_dir" >&2;}
10199 { (exit 1); exit 1; }; }; }
10203 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10205 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10206 # A ".." for each directory in $ac_dir_suffix.
10207 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
10208 case $ac_top_builddir_sub in
10209 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10210 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
10213 ac_abs_top_builddir
=$ac_pwd
10214 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
10215 # for backward compatibility:
10216 ac_top_builddir
=$ac_top_build_prefix
10219 .
) # We are building in place.
10221 ac_top_srcdir
=$ac_top_builddir_sub
10222 ac_abs_top_srcdir
=$ac_pwd ;;
10223 [\\/]* | ?
:[\\/]* ) # Absolute name.
10224 ac_srcdir
=$srcdir$ac_dir_suffix;
10225 ac_top_srcdir
=$srcdir
10226 ac_abs_top_srcdir
=$srcdir ;;
10227 *) # Relative name.
10228 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
10229 ac_top_srcdir
=$ac_top_build_prefix$srcdir
10230 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
10232 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
10242 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
10243 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
10247 cat >>$CONFIG_STATUS <<\_ACEOF
10248 # If the template does not know about datarootdir, expand it.
10249 # FIXME: This hack should be removed a few years after 2.60.
10250 ac_datarootdir_hack
=; ac_datarootdir_seen
=
10252 case `sed -n '/datarootdir/ {
10261 ' $ac_file_inputs` in
10262 *datarootdir
*) ac_datarootdir_seen
=yes;;
10263 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
10264 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10265 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10267 cat >>$CONFIG_STATUS <<_ACEOF
10268 ac_datarootdir_hack='
10269 s&@datadir@&$datadir&g
10270 s&@docdir@&$docdir&g
10271 s&@infodir@&$infodir&g
10272 s&@localedir@&$localedir&g
10273 s&@mandir@&$mandir&g
10274 s&\\\${datarootdir}&$datarootdir&g' ;;
10278 # Neutralize VPATH when `$srcdir' = `.'.
10279 # Shell code in configure.ac might set extrasub.
10280 # FIXME: do we really want to maintain this feature?
10281 cat >>$CONFIG_STATUS <<_ACEOF
10285 cat >>$CONFIG_STATUS <<\_ACEOF
10287 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
10288 s
&@configure_input@
&$configure_input&;t t
10289 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
10290 s
&@srcdir@
&$ac_srcdir&;t t
10291 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
10292 s
&@top_srcdir@
&$ac_top_srcdir&;t t
10293 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
10294 s
&@builddir@
&$ac_builddir&;t t
10295 s
&@abs_builddir@
&$ac_abs_builddir&;t t
10296 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
10297 s
&@INSTALL@
&$ac_INSTALL&;t t
10298 $ac_datarootdir_hack
10299 " $ac_file_inputs | sed -f "$tmp/subs
-1.
sed" | sed -f "$tmp/subs
-2.
sed" >$tmp/out
10301 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10302 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
10303 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
10304 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
10305 which seems to be undefined. Please make sure it is defined." >&5
10306 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
10307 which seems to be undefined. Please make sure it is defined." >&2;}
10311 -) cat "$tmp/out"; rm -f "$tmp/out";;
10312 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
10321 # Transform confdefs.h into a sed script `conftest.defines', that
10322 # substitutes the proper values into config.h.in to produce config.h.
10323 rm -f conftest.defines conftest.
tail
10324 # First, append a space to every undef/define line, to ease matching.
10325 echo 's/$/ /' >conftest.defines
10326 # Then, protect against being on the right side of a sed subst, or in
10327 # an unquoted here document, in config.status. If some macros were
10328 # called several times there might be several #defines for the same
10329 # symbol, which is useless. But do not sort them, since the last
10330 # AC_DEFINE must be honored.
10331 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
10332 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
10333 # NAME is the cpp macro being defined, VALUE is the value it is being given.
10334 # PARAMS is the parameter list in the macro definition--in most cases, it's
10335 # just an empty string.
10336 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
10337 ac_dB
='\\)[ (].*,\\1define\\2'
10345 s/^[ ]*#[ ]*define[ ][ ]*//
10350 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
10351 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
10352 ' >>conftest.defines
10354 # Remove the space that was appended to ease matching.
10355 # Then replace #undef with comments. This is necessary, for
10356 # example, in the case of _POSIX_SOURCE, which is predefined and required
10357 # on some systems where configure will not decide to define it.
10358 # (The regexp can be short, since the line contains either #define or #undef.)
10360 s,^[ #]*u.*,/* & */,' >>conftest.defines
10362 # Break up conftest.defines:
10363 ac_max_sed_lines
=50
10365 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
10366 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
10367 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
10369 ac_in
='$ac_file_inputs'
10370 ac_out
='"$tmp/out1"'
10371 ac_nxt
='"$tmp/out2"'
10375 # Write a here document:
10376 cat >>$CONFIG_STATUS <<_ACEOF
10377 # First, check the format of the line:
10378 cat >"\$tmp/defines.sed" <<\\CEOF
10379 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
10380 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
10384 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
10386 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
10387 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
10388 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
10389 grep . conftest.
tail >/dev
/null
|| break
10390 rm -f conftest.defines
10391 mv conftest.
tail conftest.defines
10393 rm -f conftest.defines conftest.
tail
10395 echo "ac_result=$ac_in" >>$CONFIG_STATUS
10396 cat >>$CONFIG_STATUS <<\_ACEOF
10397 if test x
"$ac_file" != x
-; then
10398 echo "/* $configure_input */" >"$tmp/config.h"
10399 cat "$ac_result" >>"$tmp/config.h"
10400 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
10401 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10402 echo "$as_me: $ac_file is unchanged" >&6;}
10405 mv "$tmp/config.h" $ac_file
10408 echo "/* $configure_input */"
10414 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
10415 echo "$as_me: executing $ac_file commands" >&6;}
10420 case $ac_file$ac_mode in
10421 "po-directories":C
)
10422 for ac_file
in $CONFIG_FILES; do
10423 # Support "outfile[:infile[:infile...]]"
10425 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
10427 # PO directories have a Makefile.in generated from Makefile.in.in.
10428 case "$ac_file" in */Makefile.
in)
10429 # Adjust a relative srcdir.
10430 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
10431 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
10432 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
10433 # In autoconf-2.13 it is called $ac_given_srcdir.
10434 # In autoconf-2.50 it is called $srcdir.
10435 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
10436 case "$ac_given_srcdir" in
10437 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
10438 /*) top_srcdir
="$ac_given_srcdir" ;;
10439 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
10441 # Treat a directory as a PO directory if and only if it has a
10442 # POTFILES.in file. This allows packages to have multiple PO
10443 # directories under different names or in different locations.
10444 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
10445 rm -f "$ac_dir/POTFILES"
10446 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
10447 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
10448 POMAKEFILEDEPS
="POTFILES.in"
10449 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
10450 # on $ac_dir but don't depend on user-specified configuration
10452 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
10453 # The LINGUAS file contains the set of available languages.
10454 if test -n "$OBSOLETE_ALL_LINGUAS"; then
10455 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
10457 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
10458 # Hide the ALL_LINGUAS assigment from automake < 1.5.
10459 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
10460 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
10462 # The set of available languages was given in configure.in.
10463 # Hide the ALL_LINGUAS assigment from automake < 1.5.
10464 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
10467 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
10468 # Compute UPDATEPOFILES
10469 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
10470 # Compute DUMMYPOFILES
10471 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
10473 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
10474 case "$ac_given_srcdir" in
10476 *) srcdirpre
='$(srcdir)/' ;;
10482 for lang
in $ALL_LINGUAS; do
10483 POFILES
="$POFILES $srcdirpre$lang.po"
10484 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
10485 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
10486 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
10488 # CATALOGS depends on both $ac_dir and the user's LINGUAS
10489 # environment variable.
10491 if test -n "$ALL_LINGUAS"; then
10492 for presentlang
in $ALL_LINGUAS; do
10494 if test "%UNSET%" != "$LINGUAS"; then
10495 desiredlanguages
="$LINGUAS"
10497 desiredlanguages
="$ALL_LINGUAS"
10499 for desiredlang
in $desiredlanguages; do
10500 # Use the presentlang catalog if desiredlang is
10501 # a. equal to presentlang, or
10502 # b. a variant of presentlang (because in this case,
10503 # presentlang can be used as a fallback for messages
10504 # which are not translated in the desiredlang catalog).
10505 case "$desiredlang" in
10506 "$presentlang"*) useit
=yes;;
10509 if test $useit = yes; then
10510 INST_LINGUAS
="$INST_LINGUAS $presentlang"
10515 if test -n "$INST_LINGUAS"; then
10516 for lang
in $INST_LINGUAS; do
10517 CATALOGS
="$CATALOGS $lang.gmo"
10520 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
10521 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
10522 for f
in "$ac_given_srcdir/$ac_dir"/Rules
-*; do
10523 if test -f "$f"; then
10525 *.orig
| *.bak
| *~
) ;;
10526 *) cat "$f" >> "$ac_dir/Makefile" ;;
10534 "default":C
) make -s dirs ;;
10540 { (exit 0); exit 0; }
10542 chmod +x
$CONFIG_STATUS
10543 ac_clean_files
=$ac_clean_files_save
10546 # configure is writing to config.log, and then calls config.status.
10547 # config.status does its own redirection, appending to config.log.
10548 # Unfortunately, on DOS this fails, as config.log is still kept open
10549 # by configure, so config.status won't be able to write to it; its
10550 # output is simply discarded. So we exec the FD to /dev/null,
10551 # effectively closing config.log, so it can be properly (re)opened and
10552 # appended to by config.status. When coming back to configure, we
10553 # need to make the FD available again.
10554 if test "$no_create" != yes; then
10556 ac_config_status_args
=
10557 test "$silent" = yes &&
10558 ac_config_status_args
="$ac_config_status_args --quiet"
10560 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10562 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10563 # would make configure fail if this is the last instruction.
10564 $ac_cs_success || { (exit 1); exit 1; }